curl --request GET \
--url https://iris-api-sandbox.circle.com/v2/messages/{sourceDomainId}{
"messages": [
{
"message": "0x00000000000000050000000300000000000194c2a65fc943419a5ad590042fd67c9791fd015acf53a54cc823edb8ff81b9ed722e00000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a000000000000000000000000fc05ad74c6fe2e7046e091d6ad4f660d2a15976200000000c6fa7af3bedbad3a3d65f36aabc97431b1bbe4c2d2f6e0e47ca60203452f5d610000000000000000000000002d475f4746419c83be23056309a8e2ac33b30e3b0000000000000000000000000000000000000000000000000000000002b67df0feae5e08f5e6bf04d8c1de7dada9235c56996f4420b14371d6c6f3ddd2f2da78",
"eventNonce": "9682",
"attestation": "0x6edd90f4a0ad0212fd9fbbd5058a25aa8ee10ce77e4fc143567bbe73fb6e164f384a3e14d350c8a4fc50b781177297e03c16b304e8d7656391df0f59a75a271f1b",
"decodedMessage": {
"sourceDomain": "7",
"destinationDomain": "5",
"nonce": "569",
"sender": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
"recipient": "0xb7317b4EFEa194a22bEB42506065D3772C2E95EF",
"destinationCaller": "0xf2Edb1Ad445C6abb1260049AcDDCA9E84D7D8aaA",
"messageBody": "0x00000000000000050000000300000000000194c2a65fc943419a5ad590042fd67c9791fd015acf53a54cc823edb8ff81b9ed722e00000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a000000000000000000000000fc05ad74c6fe2e7046e091d6ad4f660d2a15976200000000c6fa7af3bedbad3a3d65f36aabc97431b1bbe4c2d2f6e0e47ca60203452f5d610000000000000000000000002d475f4746419c83be23056309a8e2ac33b30e3b0000000000000000000000000000000000000000000000000000000002b67df0feae5e08f5e6bf04d8c1de7dada9235c56996f4420b14371d6c6f3ddd2f2da78",
"decodedMessageBody": {
"burnToken": "0x4Bc078D75390C0f5CCc3e7f59Ae2159557C5eb85",
"mintRecipient": "0xb7317b4EFEa194a22bEB42506065D3772C2E95EF",
"amount": "5000",
"messageSender": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
}
},
"cctpVersion": "2",
"status": "complete"
}
]
}Retrieves messages and attestations for a given transaction hash or nonce. Each message for a given transaction hash is ordered by ascending log index.
curl --request GET \
--url https://iris-api-sandbox.circle.com/v2/messages/{sourceDomainId}{
"messages": [
{
"message": "0x00000000000000050000000300000000000194c2a65fc943419a5ad590042fd67c9791fd015acf53a54cc823edb8ff81b9ed722e00000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a000000000000000000000000fc05ad74c6fe2e7046e091d6ad4f660d2a15976200000000c6fa7af3bedbad3a3d65f36aabc97431b1bbe4c2d2f6e0e47ca60203452f5d610000000000000000000000002d475f4746419c83be23056309a8e2ac33b30e3b0000000000000000000000000000000000000000000000000000000002b67df0feae5e08f5e6bf04d8c1de7dada9235c56996f4420b14371d6c6f3ddd2f2da78",
"eventNonce": "9682",
"attestation": "0x6edd90f4a0ad0212fd9fbbd5058a25aa8ee10ce77e4fc143567bbe73fb6e164f384a3e14d350c8a4fc50b781177297e03c16b304e8d7656391df0f59a75a271f1b",
"decodedMessage": {
"sourceDomain": "7",
"destinationDomain": "5",
"nonce": "569",
"sender": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
"recipient": "0xb7317b4EFEa194a22bEB42506065D3772C2E95EF",
"destinationCaller": "0xf2Edb1Ad445C6abb1260049AcDDCA9E84D7D8aaA",
"messageBody": "0x00000000000000050000000300000000000194c2a65fc943419a5ad590042fd67c9791fd015acf53a54cc823edb8ff81b9ed722e00000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a000000000000000000000000fc05ad74c6fe2e7046e091d6ad4f660d2a15976200000000c6fa7af3bedbad3a3d65f36aabc97431b1bbe4c2d2f6e0e47ca60203452f5d610000000000000000000000002d475f4746419c83be23056309a8e2ac33b30e3b0000000000000000000000000000000000000000000000000000000002b67df0feae5e08f5e6bf04d8c1de7dada9235c56996f4420b14371d6c6f3ddd2f2da78",
"decodedMessageBody": {
"burnToken": "0x4Bc078D75390C0f5CCc3e7f59Ae2159557C5eb85",
"mintRecipient": "0xb7317b4EFEa194a22bEB42506065D3772C2E95EF",
"amount": "5000",
"messageSender": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
}
},
"cctpVersion": "2",
"status": "complete"
}
]
}Source domain identifier for a blockchain on CCTP.
x >= 03
The transaction hash to filter messages. At least one of transactionHash or nonce is required.
"0x912f22a13e9ccb979b621500f6952b2afd6e75be7eadaed93fc2625fe11c52a2"
The nonce to filter messages. At least one of transactionHash or nonce is required.
"234"
Successfully retrieved messages.
Show child attributes
The hex-encoded message. 0x if the attestation is not yet available.
"0x00000000000000050000000300000000000194c2a65fc943419a5ad590042fd67c9791fd015acf53a54cc823edb8ff81b9ed722e00000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a000000000000000000000000fc05ad74c6fe2e7046e091d6ad4f660d2a15976200000000c6fa7af3bedbad3a3d65f36aabc97431b1bbe4c2d2f6e0e47ca60203452f5d610000000000000000000000002d475f4746419c83be23056309a8e2ac33b30e3b0000000000000000000000000000000000000000000000000000000002b67df0feae5e08f5e6bf04d8c1de7dada9235c56996f4420b14371d6c6f3ddd2f2da78"
The nonce associated with the message.
"9682"
The attestation. PENDING if the attestation is not yet available.
"0x6edd90f4a0ad0212fd9fbbd5058a25aa8ee10ce77e4fc143567bbe73fb6e164f384a3e14d350c8a4fc50b781177297e03c16b304e8d7656391df0f59a75a271f1b"
Decoded representation of the message. Null or empty if decoding fails.
Show child attributes
The ID of a CCTP domain.
"0"
The ID of a CCTP domain.
"0"
The nonce associated with the message.
"9682"
Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
Minimum finality threshold before allowed to attest.
1000, 2000 Actual finality threshold executed from source chain.
1000, 2000 Application-specific message to be handled by recipient.
Decoded representation of the message body. Null or empty if decoding fails or is not applicable.
Show child attributes
Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
Amount of burned tokens
"10000"
Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
Maximum fee to pay on the destination domain, specified in units of burnToken.
"1000"
Actual fee charged on the destination domain, specified in units of burnToken.
"1000"
Block number at which the message expires.
"12345678"
Arbitrary data to be included in the depositForBurn on source domain that is executed on destination domain.
1, 2 "2"
Status of the attestation, whether it is signed or awaiting more block confirmations.
complete, pending_confirmations Reason for message processing delay.
insufficient_fee, amount_above_max, insufficient_allowance_available Was this page helpful?