GETTry locate result transaction

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

Finds the transaction that received a specific message. Given message parameters, returns the transaction on the destination account that processed the incoming message. Use this to trace message delivery across accounts.

Query Parameters
sourcestringrequired

Source account address.

destinationstringrequired

Destination account address.

created_ltstringrequired

The logical time when the message was created. Available in the created_lt field of message objects.

Responses
okbooleanrequired

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

@typestring (enum)required

TonLib type identifier for extended transaction objects with decoded messages. 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.

accountstringrequired

Account address in raw 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 extended message objects with decoded comments. Refer to the TonLib type reference for a full list.

hashstringrequired

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

sourcestringrequired

Sender address. Empty for external inbound messages.

destinationstringrequired

Recipient address.

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. Useful for verifying content without the full payload.

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.

messagestring

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.

message_decode_errorstring

Error description if the message body could not be decoded as a text comment.

out_msgsobject[]required

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.

@typestring (enum)required

TonLib type identifier for extended message objects with decoded comments. Refer to the TonLib type reference for a full list.

hashstringrequired

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

sourcestringrequired

Sender address. Empty for external inbound messages.

destinationstringrequired

Recipient address.

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. Useful for verifying content without the full payload.

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.

messagestring

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.

message_decode_errorstring

Error description if the message body could not be decoded as a text comment.

@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 GET "https://ton-mainnet.nodit.io/api/v2/tryLocateResultTx?source=0%3AB941E620DF58205A590B0D6EBE919C66B9BCEA7FCFD34F75633D221B7FA430A8&destination=0%3A3CF5B3063BCD0A49C9562D1DEF8EBB9905B1D060276F6597130B4B86D2B1E26B&created_lt=119175197000014" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "ok": true,
  "result": {
    "@type": "ext.transaction",
    "address": {
      "@type": "accountAddress",
      "account_address": "EQA89bMGO80KSclWLR3vjruZBbHQYCdvZZcTC0uG0rHia9fE"
    },
    "account": "0:3CF5B3063BCD0A49C9562D1DEF8EBB9905B1D060276F6597130B4B86D2B1E26B",
    "utime": 1795684285,
    "data": "te6cckECBwEAAaAAA7Nzz1swY7zQpJyVYtHe+Ou5kFsdBgJ29llxMLS4bSseJrAABsY6NIgU/cGY5QOILhyBj/J9wSjsiQHbmTNry+P0KeRud4LR4j6QAAbGOV0ATQawf3vQABRSySgBAgMBAaAEAIJywvaJBZ2cHFRXgkRtNEnRU/7jf7XDS56YiGLzMtCWZ+08CfWz...",
    "transaction_id": {
      "@type": "internal.transactionId",
      "lt": "119175197000015",
      "hash": "MXm6btsym4Z+DgN386N4Gt3fO0nRkx87rfQgcCpL1i4="
    },
    "fee": "38473",
    "storage_fee": "5",
    "other_fee": "38468",
    "in_msg": {
      "@type": "ext.message",
      "hash": "8JqQCxMvovGe0AgMgcHGNkE4Nqk112zQavBKkK1ZtuA=",
      "source": "EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN",
      "destination": "EQA89bMGO80KSclWLR3vjruZBbHQYCdvZZcTC0uG0rHia9fE",
      "value": "15000000",
      "extra_currencies": [],
      "fwd_fee": "44446",
      "ihr_fee": "0",
      "created_lt": "119175197000014",
      "body_hash": "B3hlNIFe3NaloEpo5fKjHwl5swyUzUytbfWMBXGs0HY=",
      "msg_data": {
        "@type": "msg.dataText",
        "text": "RXhlY3V0aW9uIGZlZS4="
      },
      "message": "Execution fee."
    },
    "out_msgs": []
  },
  "@extra": "1795684531:8:26.946"
}