curl --request GET \
--url https://li.quest/v1/analytics/transfers{
"transfers": [
{
"transactionId": "0x8c58bf99537331b38f15f5ca9718b6fcf86bdb678a2935cf0ca2106066f07550",
"sending": {
"txHash": "0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"txLink": "https://explorer.zksync.io/tx/0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"amount": "1000000",
"token": {
"address": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
"chainId": 324,
"symbol": "USDC",
"decimals": 6,
"name": "USD Coin",
"coinKey": "USDC",
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png",
"priceUSD": "1.00"
},
"chainId": 324,
"gasPrice": "250000000",
"gasUsed": "1428505",
"gasToken": {
"address": "0x0000000000000000000000000000000000000000",
"chainId": 324,
"symbol": "ETH",
"decimals": 18,
"name": "ETH",
"coinKey": "ETH",
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png",
"priceUSD": "1676.49"
},
"gasAmount": "357126250000000",
"gasAmountUSD": "0.60",
"amountUSD": "1.0000",
"timestamp": 1698076232,
"value": "0"
},
"receiving": {
"txHash": "0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"txLink": "https://explorer.zksync.io/tx/0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"amount": "999255",
"token": {
"address": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
"chainId": 324,
"symbol": "USDT",
"decimals": 6,
"name": "Tether USD",
"coinKey": "USDT",
"logoURI": "https://static.debank.com/image/brise_token/logo_url/0xc7e6d7e08a89209f02af47965337714153c529f0/3c1a718331e468abe1fc2ebe319f6c77.png",
"priceUSD": "1.0000"
},
"chainId": 324,
"gasPrice": "250000000",
"gasUsed": "1428505",
"gasToken": {
"address": "0x0000000000000000000000000000000000000000",
"chainId": 324,
"symbol": "ETH",
"decimals": 18,
"name": "ETH",
"coinKey": "ETH",
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png",
"priceUSD": "1676.49"
},
"gasAmount": "357126250000000",
"gasAmountUSD": "0.60",
"amountUSD": "1.0000",
"timestamp": 1698076232,
"value": "0"
},
"lifiExplorerLink": "https://explorer.li.fi/tx/0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"fromAddress": "0x552008c0f6870c2f77e5cc1d2eb9bdff03e30ea0",
"toAddress": "0x552008c0f6870c2f77e5cc1d2eb9bdff03e30ea0",
"tool": "solver3",
"status": "DONE",
"substatus": "COMPLETED",
"substatusMessage": "The transfer is complete."
}
]
}此端点返回根据指定条件过滤的转账列表,可用于分析和监控跨链转账活动。
curl --request GET \
--url https://li.quest/v1/analytics/transfers{
"transfers": [
{
"transactionId": "0x8c58bf99537331b38f15f5ca9718b6fcf86bdb678a2935cf0ca2106066f07550",
"sending": {
"txHash": "0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"txLink": "https://explorer.zksync.io/tx/0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"amount": "1000000",
"token": {
"address": "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
"chainId": 324,
"symbol": "USDC",
"decimals": 6,
"name": "USD Coin",
"coinKey": "USDC",
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png",
"priceUSD": "1.00"
},
"chainId": 324,
"gasPrice": "250000000",
"gasUsed": "1428505",
"gasToken": {
"address": "0x0000000000000000000000000000000000000000",
"chainId": 324,
"symbol": "ETH",
"decimals": 18,
"name": "ETH",
"coinKey": "ETH",
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png",
"priceUSD": "1676.49"
},
"gasAmount": "357126250000000",
"gasAmountUSD": "0.60",
"amountUSD": "1.0000",
"timestamp": 1698076232,
"value": "0"
},
"receiving": {
"txHash": "0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"txLink": "https://explorer.zksync.io/tx/0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"amount": "999255",
"token": {
"address": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
"chainId": 324,
"symbol": "USDT",
"decimals": 6,
"name": "Tether USD",
"coinKey": "USDT",
"logoURI": "https://static.debank.com/image/brise_token/logo_url/0xc7e6d7e08a89209f02af47965337714153c529f0/3c1a718331e468abe1fc2ebe319f6c77.png",
"priceUSD": "1.0000"
},
"chainId": 324,
"gasPrice": "250000000",
"gasUsed": "1428505",
"gasToken": {
"address": "0x0000000000000000000000000000000000000000",
"chainId": 324,
"symbol": "ETH",
"decimals": 18,
"name": "ETH",
"coinKey": "ETH",
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png",
"priceUSD": "1676.49"
},
"gasAmount": "357126250000000",
"gasAmountUSD": "0.60",
"amountUSD": "1.0000",
"timestamp": 1698076232,
"value": "0"
},
"lifiExplorerLink": "https://explorer.li.fi/tx/0x37b56ab04df432aa84f14d94f3af2ef65c10141df37ffe60f216c0505fc43178",
"fromAddress": "0x552008c0f6870c2f77e5cc1d2eb9bdff03e30ea0",
"toAddress": "0x552008c0f6870c2f77e5cc1d2eb9bdff03e30ea0",
"tool": "solver3",
"status": "DONE",
"substatus": "COMPLETED",
"substatusMessage": "The transfer is complete."
}
]
}The integrator string to filter by
The sending OR receiving wallet address
The status of the transfers. Possible values are ALL, DONE, PENDING, and FAILED. The default is DONE
The oldest timestamp that should be taken into consideration. Defaults to 30 days ago
The newest timestamp that should be taken into consideration. Defaults to now
The chain where the transfer originates from.
The chain where the transfer ends.
The token transferred from the originating chain. To use this parameter fromChain must be set.
The token received on the destination chain. To use this parameter toChain must be set.
Response for GET /analytics/transfers endpoint
显示 子属性
The transaction on the sending chain
显示 子属性
The hash of the transaction
Link to a block explorer showing the transaction
The amount of the transaction
Information about the token
显示 子属性
Address of the token
Number of decimals the token uses
Symbol of the token
Id of the token's chain
Name of the token
Identifier for the token
Logo of the token
Token price in USD
{
"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"
}The id of the chain
The token in which gas was paid
显示 子属性
Address of the token
Number of decimals the token uses
Symbol of the token
Id of the token's chain
Name of the token
Identifier for the token
Logo of the token
Token price in USD
{
"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"
}The amount of the gas that was paid
The amount of the gas that was paid in USD
The price of the gas
The amount of the gas that was used
The transaction timestamp
The transaction value
An array of swap or protocol steps included in the LI.FI transaction
显示 子属性
The tool used for this step
The amount that was sent to the tool
The token that was sent to the tool
The amount that was received from the tool
The token that was received from the tool
The amount that was sent to the bridge
{
"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": ""
},
"gasToken": {
"address": "0x0000000000000000000000000000000000001010",
"symbol": "MATIC",
"decimals": 18,
"chainId": 137,
"name": "MATIC",
"coinKey": "MATIC",
"priceUSD": "0",
"logoURI": ""
},
"chainId": 137,
"gasAmount": "10000",
"gasAmountUSD": "0.0",
"gasPrice": "1000",
"gasUsed": "1000",
"timestamp": 1720545119,
"value": "0"
}The current status of the transfer. Can be PENDING, DONE, NOT_FOUND or FAILED
NOT_FOUND, INVALID, PENDING, DONE, FAILED The tool used for this transfer
The transaction on the receiving chain
显示 子属性
The hash of the transaction
Link to a block explorer showing the transaction
The amount of the transaction
Information about the token
显示 子属性
Address of the token
Number of decimals the token uses
Symbol of the token
Id of the token's chain
Name of the token
Identifier for the token
Logo of the token
Token price in USD
{
"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"
}The id of the chain
The token in which gas was paid
显示 子属性
Address of the token
Number of decimals the token uses
Symbol of the token
Id of the token's chain
Name of the token
Identifier for the token
Logo of the token
Token price in USD
{
"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"
}The amount of the gas that was paid
The amount of the gas that was paid in USD
The price of the gas
The amount of the gas that was used
The transaction timestamp
The transaction value
An array of swap or protocol steps included in the LI.FI transaction
显示 子属性
The tool used for this step
The amount that was sent to the tool
The token that was sent to the tool
The amount that was received from the tool
The token that was received from the tool
The amount that was sent to the bridge
{
"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": ""
},
"gasToken": {
"address": "0x0000000000000000000000000000000000001010",
"symbol": "MATIC",
"decimals": 18,
"chainId": 137,
"name": "MATIC",
"coinKey": "MATIC",
"priceUSD": "0",
"logoURI": ""
},
"chainId": 137,
"gasAmount": "10000",
"gasAmountUSD": "0.0",
"gasPrice": "1000",
"gasUsed": "1000",
"timestamp": 1720545119,
"value": "0"
}An array of fee costs for the transaction
显示 子属性
A more specific substatus. This is available for PENDING and DONE statuses. More information can be found here: https://docs.li.fi/introduction/user-flows-and-examples/status-tracking
WAIT_SOURCE_CONFIRMATIONS, WAIT_DESTINATION_TRANSACTION, BRIDGE_NOT_AVAILABLE, CHAIN_NOT_AVAILABLE, REFUND_IN_PROGRESS, UNKNOWN_ERROR, COMPLETED, PARTIAL, REFUNDED A message that describes the substatus
The ID of this transfer (NOT a transaction hash).
The address of the sender.
The address of the receiver.
The link to the LI.FI explorer.