In case a transaction was missed by a relayer, this endpoint can be used to force a tx to be re-fetched.
get/v1/gas/refetch
Request
- Base URLhttps://li.quest
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
txHashstring required
The transaction hash that started the gas refilling process
chainIdstring required
The chain where the deposit was originally made
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
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.