Get status information about a lifuel transaction

get/v1/gas/status

Request

Query parameters

txHashstring required

The transaction hash that started the gas refilling process

Headers

x-lifi-api-keystring

Authentication header, register in the LI.FI Partner Portal (https://portal.li.fi/ ) to get your API Key.

Response

The status of a lifuel operation

status'NOT_FOUND' | 'PENDING' | 'DONE'

Example response

{
  "sending": {
    "txHash": "0x74546ce8aac58d33c212474293dcfeeadecef115847da75131a2ff6692e03b96",
    "txLink": "https://polygonscan.com/tx/0x74546ce8aac58d33c212474293dcfeeadecef115847da75131a2ff6692e03b96",
    "amount": "10000",
    "token": {
      "address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
      "symbol": "DAI",
      "decimals": 18,
      "chainId": 137,
      "name": "(PoS) Dai Stablecoin",
      "coinKey": "DAI",
      "priceUSD": "1",
      "logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png"
    },
    "chainId": 137,
    "block": 39397739
  },
  "receiving": {
    "txHash": "0x74546ce8aac58d33c212474293dcfeeadecef115847da75131a2ff6692e03b96",
    "txLink": "https://polygonscan.com/tx/0x74546ce8aac58d33c212474293dcfeeadecef115847da75131a2ff6692e03b96",
    "amount": "10000",
    "token": {
      "address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
      "symbol": "DAI",
      "decimals": 18,
      "chainId": 137,
      "name": "(PoS) Dai Stablecoin",
      "coinKey": "DAI",
      "priceUSD": "1",
      "logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png"
    },
    "chainId": 137,
    "block": 39397739
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.