GETGet messages
https://ton-mainnet.nodit.io/api/v3/messagesQuery messages that match the specified filters.
Message hash in hex, base64, or base64url form.
Hash of message body.
Source account address in hex, base64, or base64url form. Set this parameter to null to return external messages.
Destination account address in hex, base64, or base64url form. Set this parameter to null to return log messages.
Opcode of message in hex or signed 32-bit decimal form. An unprefixed value that parses as unsigned 32-bit hexadecimal is interpreted as hexadecimal.
Query messages where created_at is at or after the specified timestamp.
Query messages where created_at is at or before the specified timestamp.
Query messages where created_lt is at or above the specified value.
Query messages where created_lt is at or below the specified value.
Direction of the message.
Exclude external messages.
Return only external messages.
Limit the number of rows to return. Use with offset to batch requests.
Skip the first N rows. Use with limit to batch requests.
Sort messages by lt. To return the latest messages with sort=desc, set start_lt to 1.
Address book entry. The key is an address that appears in the response, in raw format workchain:hex.
TON DNS domain linked to the address. null when no domain is associated.
Contract interfaces detected for the address, for example wallet_v4r2. Can be null or empty when none are detected.
Address in user-friendly base64url format.
Bounce flag of an internal message. If true, the message is returned to the sender when its processing fails. null for external messages.
Returns true if this internal message is itself a bounced message returned after a failed delivery; otherwise false. null for external messages.
Unix timestamp in seconds when the message was created, as a decimal string. null for external inbound messages.
Example: 0
Logical time (lt) when the message was created, as a decimal string. null for external inbound messages.
Example: 0
Human-readable name of opcode when it is recognized, for example jetton_transfer. null if the opcode is unknown.
Recipient account address in raw format workchain:hex. null for external outbound messages.
Extra flags of an internal message as a decimal string. The value occupies the message header field that previously held ihr_fee. null for external messages.
Forwarding fee paid for delivering this internal message, in nanograms. null for external messages.
Example: 0
Hash of the message, base64 encoded.
Normalized hash of an external inbound message, base64 encoded. It stays the same across re-serializations of the message, as defined in TEP-467. Present only for external inbound messages.
Returns true if Instant Hypercube Routing (IHR) is disabled for this internal message; otherwise false. null for external messages.
Instant Hypercube Routing (IHR) fee of an internal message, in nanograms. null for external messages.
Example: 0
Import fee of an external inbound message, in nanograms. null for other message types.
Example: 0
Hash of the transaction that received this message as its inbound message, base64 encoded. Omitted if that transaction is not known.
StateInit attached to the message (contract code and initial data used for deployment): its hash, base64-encoded BoC, and decoded form. null if the message carries no StateInit.
Serialized content (the message body, or the StateInit when used as init_state) in BoC format, base64 encoded.
Content decoded into a structured object when its format is recognized, for example a text comment or a known contract message. null if it cannot be decoded.
Hash of the content cell, base64 encoded.
Body of the message: its hash, base64-encoded BoC, and decoded form when the body is recognized.
Serialized content (the message body, or the StateInit when used as init_state) in BoC format, base64 encoded.
Content decoded into a structured object when its format is recognized, for example a text comment or a known contract message. null if it cannot be decoded.
Hash of the content cell, base64 encoded.
Operation code (opcode) of the message, taken from the first 32 bits of the message body. The API returns it as a hexadecimal string such as 0x0f8a7ea5; null if the body has no opcode.
Hash of the transaction that created this message as one of its outbound messages, base64 encoded. Omitted for messages that were not sent by a transaction, such as external inbound messages.
Sender account address in raw format workchain:hex. null for external inbound messages.
Amount of GRAM transferred with this internal message, in nanograms. null for external messages.
Example: 0
Extra currencies transferred with this message, as a map from currency ID to amount (decimal string). Empty if no extra currency is transferred.
Metadata entry. The key is the address of the token contract, in raw format workchain:hex.
Whether the metadata for this address has been indexed. When false, token_info may not be available yet.
List of token metadata entries (Jetton, NFT collection, or NFT item) associated with the address.
Description of the token from its metadata.
Additional metadata fields that are not covered by the other properties, for example decimals, uri, and resized image URLs.
URL of the token image from its metadata.
Whether the token is flagged as NSFW (not safe for work) content.
Whether the token is flagged as a scam.
Name of the token from its metadata.
Index of the NFT item within its collection, as a decimal string. Present only for NFT items.
Ticker symbol of the token from its metadata. Present for Jettons.
Kind of token contract the metadata belongs to, for example jetton_masters, nft_collections, or nft_items.
Whether the token metadata was retrieved and parsed successfully.