GETGet pending actions

TON Mainnethttps://ton-mainnet.nodit.io/api/v3/pendingActions
CU40

Query pending actions that match the specified filters. Specify account or ext_msg_hash. If both are supplied, account takes precedence.

Header Parameters
X-Actions-Versionstring

Action type or version shortcut. Overrides supported_action_types when supplied. Defaults to latest when neither is supplied.

Query Parameters
accountstring

Account address in hex, base64, or base64url form.

ext_msg_hashstring[]

Find actions by the external trace hash.

supported_action_typesstring[]

Supported action types or version shortcuts. See classification presets.

include_transactionsboolean

Include the transactions_full array with detailed transaction data for each action in the response.

Responses
raw_actionobject

Raw action data, included when the indexer cannot decode the action type.

accountsstring[]

Addresses of the accounts involved in the action, in raw format workchain:hex. Returned only when include_accounts is true.

action_idstring

Unique identifier of the action, base64 encoded.

detailsobject

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.

sourcestring

Address of the sender account in raw format workchain:hex.

destinationstring

Address of the recipient account in raw format workchain:hex.

valuestring

Amount of GRAM transferred, in nanograms, as a decimal string.

value_extra_currenciesobject

Extra currencies transferred, as a map from currency ID to amount (decimal string). Empty when no extra currencies are transferred.

commentstring

Text comment attached to the transfer. null when the transfer has no comment.

encryptedboolean

Whether the attached comment is encrypted.

end_ltstring

Logical time (lt) at which the action ends, as a decimal string.

Example: 0

end_utimeinteger

Unix timestamp in seconds at which the action ends.

finalitystring (enum)

Finality state: pending, confirmed, or finalized.

start_ltstring

Logical time (lt) at which the action starts, as a decimal string.

Example: 0

start_utimeinteger

Unix timestamp in seconds at which the action starts.

successboolean

Whether the action completed successfully.

trace_end_ltstring

Logical time (lt) at which the trace that contains the action ends, as a decimal string.

Example: 0

trace_end_utimeinteger

Unix timestamp in seconds at which the trace that contains the action ends.

trace_external_hashstring

Hash of the external message that started the trace containing the action, base64 encoded.

trace_external_hash_normstring

Normalized hash of the external message that started the trace containing the action, base64 encoded.

trace_idstring

Identifier of the trace that contains the action, base64 encoded.

trace_mc_seqno_endinteger

Seqno of the masterchain block in which the trace containing the action ends.

transactionsstring[]

Hashes of the transactions that make up the action, base64 encoded.

transactions_fullobject[]

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.

typestring

Action type, for example ton_transfer or jetton_transfer. Determines the shape of details.

parent_gasless_actionstring

The action_id of the gasless_request action that directly produced this action.

{address}object

Address book entry. The key is an address that appears in the response, in raw format workchain:hex.

domainstring

TON DNS domain linked to the address. null when no domain is associated.

interfacesstring[]

Contract interfaces detected for the address, for example wallet_v4r2. Can be null or empty when none are detected.

user_friendlystring

Address in user-friendly base64url format.

{address}object

Metadata entry. The key is the address of the token contract, in raw format workchain:hex.

is_indexedboolean

Whether the metadata for this address has been indexed. When false, token_info may not be available yet.

token_infoobject[]

List of token metadata entries (Jetton, NFT collection, or NFT item) associated with the address.

descriptionstring

Description of the token from its metadata.

extraobject

Additional metadata fields that are not covered by the other properties, for example decimals, uri, and resized image URLs.

imagestring

URL of the token image from its metadata.

is_nsfwboolean

Whether the token is flagged as NSFW (not safe for work) content.

is_scamboolean

Whether the token is flagged as a scam.

namestring

Name of the token from its metadata.

nft_indexstring

Index of the NFT item within its collection, as a decimal string. Present only for NFT items.

symbolstring

Ticker symbol of the token from its metadata. Present for Jettons.

typestring

Kind of token contract the metadata belongs to, for example jetton_masters, nft_collections, or nft_items.

validboolean

Whether the token metadata was retrieved and parsed successfully.

next_cursorstring

Opaque pagination cursor. Pass it as the cursor parameter with the same filters and sort order to fetch the next page.

X-API-KEY
Request
cURL
curl -X GET "https://ton-mainnet.nodit.io/api/v3/pendingActions?account=EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN&include_transactions=false" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "X-Actions-Version: {X-Actions-Version}"
Response
Example · 200
{
  "actions": [],
  "address_book": {},
  "metadata": {}
}