Check the status of a cross chain transfer
Cross chain transfers might take a while to complete. Waiting on the transaction on the sending chain doesn't help here. For this reason we build a simple endpoint that let's you check the status of your transfer. Important: A transaction that is not currently found may return HTTP 404 with code 1003. Clients should also handle a 200 response with status NOT_FOUND. Neither response proves execution failure or authorizes resubmission. Poll within a bounded window, then reconcile the original hash against the source chain; a polling timeout leaves the outcome unknown. While none of the parameters fromChain, toChain and bridge are required, passing the fromChain parameter will speed up the request and is therefore encouraged. If you want to learn more about how to use this endpoint please have a look at our guide.
Request
- Base URLhttps://li.quest
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The transaction hash on the sending chain, destination chain or lifi step id
Identifier for a bridge tool. Retrieve the latest bridge keys from the /v1/tools endpoint. Keywords such as all, none, default, and [] are also supported where applicable.
The bridging tool used for the transfer
The sending chain. Can be the chain id or chain key
The receiving chain. Can be the chain id or chain key
Headers
Authentication header, register in the LI.FI Partner Portal (https://portal.li.fi/ ) to get your API Key.
Response
Response of the Status request
Example response
{
"sending": {
"txHash": "0xd3ad8fb8798d8440f3a1ec7fd51e102a88e4690f9365fad4eff1a17020376b4a",
"txLink": "https://polygonscan.com/tx/0xd3ad8fb8798d8440f3a1ec7fd51e102a88e4690f9365fad4eff1a17020376b4a",
"amount": "13000000",
"token": {
"address": "0xd69b31c3225728cc57ddaf9be532a4ee1620be51",
"symbol": "anyUSDC",
"decimals": 6,
"chainId": 137,
"name": "USDC",
"coinKey": "anyUSDC",
"priceUSD": "0",
"logoURI": ""
},
"chainId": 137,
"gasToken": {
"address": "0x0000000000000000000000000000000000001010",
"symbol": "MATIC",
"decimals": 18,
"chainId": 137,
"name": "MATIC",
"coinKey": "MATIC",
"priceUSD": "0",
"logoURI": ""
},
"gasAmount": "10000",
"gasAmountUSD": "0.0",
"gasPrice": "1000",
"gasUsed": "1000",
"timestamp": 1720545119,
"value": "0"
},
"receiving": {
"txHash": "0xba2793065e20835ef60993144d92e6bc1a86529a70e16c357f66ad13774868ad",
"txLink": "https://bscscan.com/tx/0xba2793065e20835ef60993144d92e6bc1a86529a70e16c357f66ad13774868ad",
"amount": "12100000000000000000",
"token": {
"address": "0x8965349fb649a33a30cbfda057d8ec2c48abe2a2",
"symbol": "anyUSDC",
"decimals": 18,
"chainId": 56,
"name": "USDC",
"coinKey": "anyUSDC",
"priceUSD": "0",
"logoURI": ""
},
"chainId": 56,
"gasToken": {
"address": "0x0000000000000000000000000000000000001010",
"symbol": "BNB",
"decimals": 18,
"chainId": 56,
"name": "BNB",
"coinKey": "BNB",
"priceUSD": "0",
"logoURI": ""
},
"gasAmount": "10000",
"gasAmountUSD": "0.0",
"gasPrice": "1000",
"gasUsed": "1000",
"timestamp": 1720560232,
"value": "0"
},
"tool": "anyswap",
"status": "DONE",
"substatus": "COMPLETED",
"substatusMessage": "The transfer is complete.",
"transactionId": "0x0000000000000000000000000000000000001010",
"fromAddress": "0x0000000000000000000000000000000000001010",
"toAddress": "0x0000000000000000000000000000000000001010",
"lifiExplorerLink": "https://scan.li.fi/tx/0xd3ad8fb8798d8440f3a1ec7fd51e102a88e4690f9365fad4eff1a17020376b4a",
"metadata": {
"integrator": "jumper.exchange"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.