GETGet traces
https://ton-mainnet.nodit.io/api/v3/tracesQuery traces that match the specified filters. Specify at most one of account, trace_id, tx_hash, and msg_hash.
Action type or version shortcut. Overrides supported_action_types when supplied. Defaults to latest when neither is supplied.
Account address in hex, base64, or base64url form.
Find traces by trace ID.
Find traces by transaction hash.
Find traces by message hash.
Query traces completed in the masterchain block with the specified sequence number.
Query traces finished at or after the specified timestamp.
Query traces finished at or before the specified timestamp.
Query traces where end_lt is at or above the specified value.
Query traces where end_lt is at or below the specified value.
Include trace actions.
Supported action types or version shortcuts. See classification presets.
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 traces by lt.
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.
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.
Actions classified from the trace. Returned for requests that include actions, such as include_actions=true.
Raw action data, included when the indexer cannot decode the action type.
Addresses of the accounts involved in the action, in raw format workchain:hex. Returned only when include_accounts is true.
Unique identifier of the action, base64 encoded.
Action details. The fields depend on the action type. The fields below are for a ton_transfer action, shown as a representative example. Refer to the action types reference for the fields of each action type.
Address of the sender account in raw format workchain:hex.
Address of the recipient account in raw format workchain:hex.
Amount of GRAM transferred, in nanograms, as a decimal string.
Extra currencies transferred, as a map from currency ID to amount (decimal string). Empty when no extra currencies are transferred.
Text comment attached to the transfer. null when the transfer has no comment.
Whether the attached comment is encrypted.
Logical time (lt) at which the action ends, as a decimal string.
Example: 0
Unix timestamp in seconds at which the action ends.
Finality state: pending, confirmed, or finalized.
Logical time (lt) at which the action starts, as a decimal string.
Example: 0
Unix timestamp in seconds at which the action starts.
Whether the action completed successfully.
Logical time (lt) at which the trace that contains the action ends, as a decimal string.
Example: 0
Unix timestamp in seconds at which the trace that contains the action ends.
Hash of the external message that started the trace containing the action, base64 encoded.
Normalized hash of the external message that started the trace containing the action, base64 encoded.
Identifier of the trace that contains the action, base64 encoded.
Seqno of the masterchain block in which the trace containing the action ends.
Hashes of the transactions that make up the action, base64 encoded.
Full transaction objects for the transactions that make up the action. Returned only when include_transactions is true. Each object has the same structure as a transaction returned by the transactions API.
Action type, for example ton_transfer or jetton_transfer. Determines the shape of details.
The action_id of the gasless_request action that directly produced this action.
Logical time (lt) at which the trace ended, as a decimal string. null if it is not yet available.
Example: 0
Unix timestamp in seconds at which the trace ended. null if it is not yet available.
Hash of the incoming message of the root transaction, typically the external message that started the trace, in base64.
true if the trace is returned without its full contents, for example when it has too many transactions to return; otherwise false. See warning for the reason.
Sequence number (seqno) of the masterchain block in which the trace ended, as a decimal string.
Example: 0
Sequence number (seqno) of the masterchain block in which the trace started, as a decimal string.
Example: 0
Logical time (lt) at which the trace started, as a decimal string.
Example: 0
Unix timestamp in seconds at which the trace started.
Root node of the trace tree. Each node references a transaction and the transactions caused by its outgoing messages.
Child nodes of this node: the transactions caused by the outgoing messages of this transaction.
Incoming message that triggered the transaction of this node. Omitted when the full message is not included. It has the same structure as the in_msg of a transaction returned by the transactions API.
Hash of the incoming message that triggered the transaction of this node, in base64.
Transaction of this node. Omitted when the full transaction is not included; look it up in the transactions map of the trace by tx_hash. It has the same structure as a transaction returned by the transactions API.
Hash of the transaction of this node, in base64.
Identifier of the trace in base64. It equals the hash of the root transaction of the trace.
Summary of the trace: its state, message and transaction counts, and action classification state.
State of action classification for the trace: unclassified, ok, failed, or broken.
Number of messages in the trace.
Number of messages in the trace that have not been processed yet.
State of the trace: complete, pending, or broken.
Number of transactions in the trace.
Transactions of the trace as a map from transaction hash (base64) to transaction object.
Transaction object. The key is the transaction hash in base64. It has the same structure as a transaction returned by the transactions API.
Hashes of the transactions in the trace in base64, ordered by logical time (lt). Use them as keys of transactions.
Warning message about the returned trace data, such as trace is too large. Omitted when there is no warning.