POSTGet transactions
https://ton-mainnet.nodit.io/api/v2/getTransactionsReturns transaction history for an account. Transactions are returned newest-first. Each transaction shows the incoming message that triggered it, all outgoing messages, and fees paid. For pagination: use the lt and hash from the oldest transaction as the starting point for the next request.
Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.
Logical time of the transaction. Use together with its hash for pagination and lookups.
Hash of the starting transaction for pagination. Use together with lt from a previous response's transaction_id.
Stop returning items at this logical time.
Whether to use archival nodes for old data.
Maximum number of items to return.
Returns true if the request succeeded; otherwise false. See the error field for details.
TonLib type identifier for extended transaction objects with decoded messages. Refer to the TonLib type reference for a full list.
Account address object for this transaction.
TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.
The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.
Account address in raw format.
Unix timestamp when this transaction was executed.
Full transaction data serialized as BoC, base64 encoded.
The transaction identifier, represented by logical time and transaction hash.
TonLib type identifier for transaction ID references. Refer to the TonLib type reference for a full list.
Logical time of the transaction. Use together with its hash for pagination and lookups.
SHA-256 hash of this transaction, encoded in base64.
Total fees paid for this transaction, in nanograms.
Storage fees in nanograms deducted from the account balance during the storage phase of this transaction. Covers the cost of storing the contract state on-chain since the last transaction.
Fees in nanograms deducted from the account balance during the computation and action phases of this transaction. Covers the cost of TVM execution and processing outgoing messages.
The inbound message that triggered this transaction.
TonLib type identifier for extended message objects with decoded comments. Refer to the TonLib type reference for a full list.
SHA-256 hash of this message, encoded in base64.
Sender address. Empty for external inbound messages.
Recipient address.
GRAM amount transferred with this message, in nanograms.
Array of extra currencies (native blockchain-level tokens, distinct from Jettons) transferred in this message. Each entry contains a currency ID (integer) and amount (decimal string). Empty array if no extra currencies were transferred.
TonLib type identifier for extra currency balance entries. Refer to the TonLib type reference for a full list.
A 32-bit integer identifying the extra currency. Currency IDs are defined at the blockchain configuration level and stored in ConfigParam 7 of the masterchain. The extra-currency minting documentation describes the process.
Currency balance amount as a decimal string.
Forwarding fee deducted from the message value, in nanograms.
Instant Hypercube Routing (IHR) fee in nanograms.
Logical time when this message was created.
Hash of the message body. Useful for verifying content without the full payload.
Message body payload (raw, text comment, or encrypted).
TonLib type identifier for raw (binary) message bodies. Refer to the TonLib type reference for a full list.
Raw message body in BoC format, base64 encoded.
Contract init state (code + data) attached to this message, base64 encoded. Present only for deploy messages.
TonLib type identifier for plain text comment message bodies. Refer to the TonLib type reference for a full list.
UTF-8 text comment, base64 encoded.
TonLib type identifier for decrypted text message bodies. Refer to the TonLib type reference for a full list.
Decrypted UTF-8 text content, base64 encoded.
TonLib type identifier for encrypted text message bodies. Refer to the TonLib type reference for a full list.
Encrypted message payload, base64 encoded.
Decoded UTF-8 text comment from the message body. Present only when the message body is a plain text comment (opcode 0x00000000). Empty string otherwise.
Error description if the message body could not be decoded as a text comment.
Array of outbound messages produced by this transaction. Each message contains sender, recipient, GRAM amount (nanograms as string), forwarding fee, message body, and optional decoded text comment.
TonLib type identifier for extended message objects with decoded comments. Refer to the TonLib type reference for a full list.
SHA-256 hash of this message, encoded in base64.
Sender address. Empty for external inbound messages.
Recipient address.
GRAM amount transferred with this message, in nanograms.
Array of extra currencies (native blockchain-level tokens, distinct from Jettons) transferred in this message. Each entry contains a currency ID (integer) and amount (decimal string). Empty array if no extra currencies were transferred.
TonLib type identifier for extra currency balance entries. Refer to the TonLib type reference for a full list.
A 32-bit integer identifying the extra currency. Currency IDs are defined at the blockchain configuration level and stored in ConfigParam 7 of the masterchain. The extra-currency minting documentation describes the process.
Currency balance amount as a decimal string.
Forwarding fee deducted from the message value, in nanograms.
Instant Hypercube Routing (IHR) fee in nanograms.
Logical time when this message was created.
Hash of the message body. Useful for verifying content without the full payload.
Message body payload (raw, text comment, or encrypted).
TonLib type identifier for raw (binary) message bodies. Refer to the TonLib type reference for a full list.
Raw message body in BoC format, base64 encoded.
Contract init state (code + data) attached to this message, base64 encoded. Present only for deploy messages.
TonLib type identifier for plain text comment message bodies. Refer to the TonLib type reference for a full list.
UTF-8 text comment, base64 encoded.
TonLib type identifier for decrypted text message bodies. Refer to the TonLib type reference for a full list.
Decrypted UTF-8 text content, base64 encoded.
TonLib type identifier for encrypted text message bodies. Refer to the TonLib type reference for a full list.
Encrypted message payload, base64 encoded.
Decoded UTF-8 text comment from the message body. Present only when the message body is a plain text comment (opcode 0x00000000). Empty string otherwise.
Error description if the message body could not be decoded as a text comment.
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.