tryLocateSourceTx - Ton

tryLocateSourceTx. Attempts to locate the source transaction associated with a specified transaction hash on the TON blockchain, providing details about its origin and status.

tryLocateSourceTx - ton [Value: 100CU]
Attempts to locate the source transaction associated with a specified transaction hash on the TON blockchain, providing details about its origin and status.
Use cases

Use cases

  • Find the source transaction in TON
  • Trace transaction origins
  • Verify source transaction details
Constraints

Constraints

  • Requires a valid source transaction ID
  • Only locates existing source transactions
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request GET \
     --url 'https://ton.drpc.org/rest/tryLocateSourceTx?source=UQAX2d4C2d48JeA-0y2_peGabRVumnKY22xPvkuEayC3zTI1&destination=UQBP4mzpDIywL1SV-Wp9ZuBBlzprR9eXQgSYGEXiUEHm73vA&created_lt=47597573000002' \
     --header 'accept: application/json'
Copy
Response
200
{
    "ok": true,
    "result": {
        "transaction_id": "0:abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
        "status": "completed",
        "lt": 47597573000002,
        "from": "UQAX2d4C2d48JeA-0y2_peGabRVumnKY22xPvkuEayC3zTI1",
        "to": "UQBP4mzpDIywL1SV-Wp9ZuBBlzprR9eXQgSYGEXiUEHm73vA",
        "amount": "1000000000",
        "timestamp": 1693527600,
        "fee": "50000",
        "message": "Payment for services",
        "block_id": "0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
    }
}
Copy

Request params

Parametersobject
object
sourcestring
Required. The source address of the result transaction.
destinationstring
Required. The destination address of the result transaction.
created_ltstring
Required. The logical time when the result transaction was created.

Response

200

Response params

object
blockobject
Details of the block associated with the transaction.
object
workchaininteger
The workchain ID of the block.
shardstring
The identifier of the shard.
seqnointeger
The sequence number of the block.
root_hashstring
The root hash of the block.
file_hashstring
The file hash associated with the block.
transaction_idobject
Details of the transaction ID.
object
ltstring
The logical time of the transaction.
hashstring
The hash of the transaction.