GET
/
v1
/
gas
/
refetch
In case a transaction was missed by a relayer, this endpoint can be used to force a tx to be re-fetched.
curl --request GET \
  --url https://li.quest/v1/gas/refetch
{
  "status": "NOT_FOUND",
  "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
  }
}

Headers

x-lifi-api-key
string

Authentication header, contact support if you want to get registered.

Query Parameters

txHash
string
required

The transaction hash that started the gas refilling process

chainId
string
required

The chain where the deposit was originally made

Response

200 - application/json

The status of a lifuel operation

The response is of type object.