JavaScript
import { Avalanche } from "@avalanche-sdk/chainkit"; const avalanche = new Avalanche(); async function run() { const result = await avalanche.data.icm.get({ messageId: "acf1c8b06f9aec48e9fcbefbbe576ae8a7ca3b327fcae111396e7cc99956674d", }); console.log(result); } run();
{ "messageId": "<string>", "icmContractAddress": "<string>", "sourceBlockchainId": "<string>", "destinationBlockchainId": "<string>", "sourceEvmChainId": "<string>", "destinationEvmChainId": "<string>", "messageNonce": "<string>", "from": "<string>", "to": "<string>", "messageExecuted": true, "receipts": [ { "receivedMessageNonce": "<string>", "relayerRewardAddress": "<string>" } ], "receiptDelivered": true, "rewardDetails": { "address": "<string>", "name": "<string>", "symbol": "<string>", "decimals": 123, "ercType": "ERC-20", "value": "<string>", "logoUri": "<string>", "price": { "currencyCode": "usd", "value": 123 } }, "sourceTransaction": { "txHash": "<string>", "timestamp": 123, "gasSpent": "<string>" }, "status": "pending", "data": "<string>" }
Gets an ICM message by teleporter message ID.
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
The teleporter message ID of the ICM message.
Successful response
Show child attributes
A wallet or contract address in mixed-case checksum encoding.
The contract name.
The contract symbol.
The number of decimals the token uses. For example 6, means to divide the token amount by 1000000 to get its user representation.
6
1000000
ERC-20
The logo uri for the address.
The token price, if available.
ISO 4217 currency code.
usd
eur
aud
cad
chf
clp
cny
czk
dkk
gbp
hkd
huf
jpy
nzd
Monetary value in base 10 decimals.
pending
Was this page helpful?