POSTGet transactions (standard)

TON Mainnethttps://ton-mainnet.nodit.io/api/v2/getTransactionsStd
CU40

Returns transaction history for an account in a standardized format. Transactions are returned newest-first. Each transaction includes the triggering inbound message, all outbound messages, and fees paid. The response includes a previous_transaction_id cursor for paginating through older transactions.

Request Body
addressstringrequired

Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.

ltstring

Logical time of the transaction. Use together with its hash for pagination and lookups.

hashstring

Hash of the starting transaction for pagination. Use together with lt from a previous response's transaction_id.

to_ltstring

Stop returning items at this logical time.

archivalstring

Whether to use archival nodes for old data.

limitinteger (int64)

Maximum number of items to return.

Responses
okbooleanrequired

Returns true if the request succeeded; otherwise false. See the error field for details.

@typestring (enum)required

TonLib type identifier for paginated raw transaction lists. Refer to the TonLib type reference for a full list.

transactionsobject[]required

Array of transaction objects in standardized format. Each transaction contains address, timestamps, inbound/outbound messages, fees in nanograms, and raw BoC (base64).

@typestring (enum)required

TonLib type identifier for raw transaction objects. Refer to the TonLib type reference for a full list.

addressobjectrequired

Account address object for this transaction.

@typestring (enum)required

TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.

account_addressstringrequired

The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.

utimeintegerrequired

Unix timestamp when this transaction was executed.

datastringrequired

Full transaction data serialized as BoC, base64 encoded.

transaction_idobjectrequired

The transaction identifier, represented by logical time and transaction hash.

@typestring (enum)required

TonLib type identifier for transaction ID references. Refer to the TonLib type reference for a full list.

ltstringrequired

Logical time of the transaction. Use together with its hash for pagination and lookups.

hashstringrequired

SHA-256 hash of this transaction, encoded in base64.

feestringrequired

Total fees paid for this transaction, in nanograms.

storage_feestringrequired

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.

other_feestringrequired

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.

in_msgobject

The inbound message that triggered this transaction.

@typestring (enum)required

TonLib type identifier for raw message objects. Refer to the TonLib type reference for a full list.

hashstringrequired

SHA-256 hash of this message, encoded in base64.

sourceobjectrequired

Sender account address. Empty for external inbound messages.

@typestring (enum)required

TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.

account_addressstringrequired

The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.

destinationobjectrequired

Recipient account address.

@typestring (enum)required

TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.

account_addressstringrequired

The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.

valuestringrequired

GRAM amount transferred with this message, in nanograms.

extra_currenciesobject[]required

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.

@typestring (enum)required

TonLib type identifier for extra currency balance entries. Refer to the TonLib type reference for a full list.

idinteger (int32)required

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.

amountstringrequired

Currency balance amount as a decimal string.

fwd_feestringrequired

Forwarding fee deducted from the message value, in nanograms.

ihr_feestringrequired

Instant Hypercube Routing (IHR) fee in nanograms.

created_ltstringrequired

Logical time when this message was created.

body_hashstringrequired

Hash of the message body.

msg_dataoneOfrequired

Message body payload (raw, text comment, or encrypted).

object 1object
@typestring (enum)

TonLib type identifier for raw (binary) message bodies. Refer to the TonLib type reference for a full list.

bodystring

Raw message body in BoC format, base64 encoded.

init_statestring

Contract init state (code + data) attached to this message, base64 encoded. Present only for deploy messages.

object 2object
@typestring (enum)

TonLib type identifier for plain text comment message bodies. Refer to the TonLib type reference for a full list.

textstring

UTF-8 text comment, base64 encoded.

object 3object
@typestring (enum)

TonLib type identifier for decrypted text message bodies. Refer to the TonLib type reference for a full list.

textstring

Decrypted UTF-8 text content, base64 encoded.

object 4object
@typestring (enum)

TonLib type identifier for encrypted text message bodies. Refer to the TonLib type reference for a full list.

textstring

Encrypted message payload, base64 encoded.

out_msgsobject[]required

Array of outbound messages produced by this transaction. Each message contains sender and recipient address objects, GRAM amount (nanograms as string), forwarding fee, and raw message body.

@typestring (enum)required

TonLib type identifier for raw message objects. Refer to the TonLib type reference for a full list.

hashstringrequired

SHA-256 hash of this message, encoded in base64.

sourceobjectrequired

Sender account address. Empty for external inbound messages.

@typestring (enum)required

TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.

account_addressstringrequired

The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.

destinationobjectrequired

Recipient account address.

@typestring (enum)required

TonLib type identifier for account address objects. Refer to the TonLib type reference for a full list.

account_addressstringrequired

The account address in raw format (workchain:hex), e.g. 0:abc123.... Use the pack address endpoint to convert to user-friendly base64 format.

valuestringrequired

GRAM amount transferred with this message, in nanograms.

extra_currenciesobject[]required

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.

@typestring (enum)required

TonLib type identifier for extra currency balance entries. Refer to the TonLib type reference for a full list.

idinteger (int32)required

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.

amountstringrequired

Currency balance amount as a decimal string.

fwd_feestringrequired

Forwarding fee deducted from the message value, in nanograms.

ihr_feestringrequired

Instant Hypercube Routing (IHR) fee in nanograms.

created_ltstringrequired

Logical time when this message was created.

body_hashstringrequired

Hash of the message body.

msg_dataoneOfrequired

Message body payload (raw, text comment, or encrypted).

object 1object
@typestring (enum)

TonLib type identifier for raw (binary) message bodies. Refer to the TonLib type reference for a full list.

bodystring

Raw message body in BoC format, base64 encoded.

init_statestring

Contract init state (code + data) attached to this message, base64 encoded. Present only for deploy messages.

object 2object
@typestring (enum)

TonLib type identifier for plain text comment message bodies. Refer to the TonLib type reference for a full list.

textstring

UTF-8 text comment, base64 encoded.

object 3object
@typestring (enum)

TonLib type identifier for decrypted text message bodies. Refer to the TonLib type reference for a full list.

textstring

Decrypted UTF-8 text content, base64 encoded.

object 4object
@typestring (enum)

TonLib type identifier for encrypted text message bodies. Refer to the TonLib type reference for a full list.

textstring

Encrypted message payload, base64 encoded.

previous_transaction_idobjectrequired

Use this as cursor to fetch the next page of older transactions.

@typestring (enum)required

TonLib type identifier for transaction ID references. Refer to the TonLib type reference for a full list.

ltstringrequired

Logical time of the transaction. Use together with its hash for pagination and lookups.

hashstringrequired

SHA-256 hash of this transaction, encoded in base64.

@extrastring

Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.

X-API-KEY
Request
cURL
curl -X POST "https://ton-mainnet.nodit.io/api/v2/getTransactionsStd" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN",
    "limit": 2
  }'
Response
Example · 200
{
  "ok": true,
  "result": {
    "@type": "raw.transactions",
    "transactions": [
      {
        "@type": "raw.transaction",
        "address": {
          "@type": "accountAddress",
          "account_address": "EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN"
        },
        "utime": 1795684362,
        "data": "te6cckECBwEAAZYAA7V7lB5iDfWCBaWQsNbr6RnGa5vOp/z9NPdWM9Iht/pDCoAABsY67Jc4vI5wNCrxy3QPX/LbLBn1N+0WP9fKOcEYObY73t1zuRRQAAbGOuyXOIawf4CgABRgIEKIAQIDAQGgBACCchDROWtCApXEZti5E5UbMhxrDOy8qUyZ7wM2MsQAop+yIMLH...",
        "transaction_id": {
          "@type": "internal.transactionId",
          "lt": "119175390000011",
          "hash": "C7wzkIjnoos2+Ar+8AdwpZnDKY9PW59Ic1NwqQ1EWcU="
        },
        "fee": "66068",
        "storage_fee": "0",
        "other_fee": "66068",
        "in_msg": {
          "@type": "raw.message",
          "hash": "jDO7clbuEiCSPR1fo6RWcdspGjoMlR1Gy83+Lj2LGxQ=",
          "source": {
            "@type": "accountAddress",
            "account_address": "EQD3YYnU0swn2nKPmcFmCOC7SJoi1P5_A9fPYxshMndUHWCf"
          },
          "destination": {
            "@type": "accountAddress",
            "account_address": "EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN"
          },
          "value": "175226197",
          "extra_currencies": [],
          "fwd_fee": "44446",
          "ihr_fee": "0",
          "created_lt": "119175390000010",
          "body_hash": "t2TRClbJFULmYZNwgR/YdxL78U9c9PnF81H5skBwCWs=",
          "msg_data": {
            "@type": "msg.dataRaw",
            "body": "te6cckEBAQEABwAACoD0xVswHtJ4cQ==",
            "init_state": ""
          }
        },
        "out_msgs": []
      },
      {
        "@type": "raw.transaction",
        "address": {
          "@type": "accountAddress",
          "account_address": "EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN"
        },
        "utime": 1795684362,
        "data": "te6cckECBwEAAZ0AA7V7lB5iDfWCBaWQsNbr6RnGa5vOp/z9NPdWM9Iht/pDCoAABsY67Jc4ig4dx+O6SkOM5uxnMdhswCoWC6gHlxCKHEKS49cu6PVgAAbGOuyXOBawf4CgABRgIEKIAQIDAQGgBACCckKgN/T7Azt85jKy3YoTAP+ON+5fs2cgxeVpeEAAHWZRENE5...",
        "transaction_id": {
          "@type": "internal.transactionId",
          "lt": "119175390000008",
          "hash": "yOcDQq8ct0D1/y2ywZ9TftFj/XyjnBGDm2O97dc7kUU="
        },
        "fee": "66068",
        "storage_fee": "0",
        "other_fee": "66068",
        "in_msg": {
          "@type": "raw.message",
          "hash": "Y8CEIay7RWiR5LlVOk7PZwz5DT+O91fDE2YntSBLZo0=",
          "source": {
            "@type": "accountAddress",
            "account_address": "EQAFbVItAokA9p0I1SaZd2PEg7FZQIp449mTcAsD_Qrlfa9a"
          },
          "destination": {
            "@type": "accountAddress",
            "account_address": "EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN"
          },
          "value": "44443728",
          "extra_currencies": [],
          "fwd_fee": "44446",
          "ihr_fee": "0",
          "created_lt": "119175390000007",
          "body_hash": "la37uGspaEdb70INRgaUtfLiBGlqXsrLMlKwhwvngQY=",
          "msg_data": {
            "@type": "msg.dataRaw",
            "body": "te6cckEBAQEADgAAGNUydtsAAAAAAAAAAPfBmNw=",
            "init_state": ""
          }
        },
        "out_msgs": []
      }
    ],
    "previous_transaction_id": {
      "@type": "internal.transactionId",
      "lt": "119175390000001",
      "hash": "oOHcfjukpDjObsZzHYbMAqFguoB5cQihxCkuPXLuj1Y="
    }
  },
  "@extra": "1795684386:2:10.924"
}