tryLocateTx - Ton
tryLocateTx. Attempts to find and retrieve information about a specified transaction on the TON blockchain, including its status and related details.
tryLocateTx - ton [Value: 100CU]
Attempts to find and retrieve information about a specified transaction on the TON blockchain, including its status and related details.
Use cases
- Locate a transaction in TON
- Track transaction status
- Verify transaction details
Constraints
- Needs valid transaction ID
- Only finds existing transactions
- Depends on node sync
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/tryLocateTx?source=UQAX2d4C2d48JeA-0y2_peGabRVumnKY22xPvkuEayC3zTI1&destination=UQBP4mzpDIywL1SV-Wp9ZuBBlzprR9eXQgSYGEXiUEHm73vA&created_lt=47597573000002' \
--header 'accept: application/json'
Response
200
{
"block": {
"workchain": 0,
"shard": "string",
"seqno": 0,
"root_hash": "string",
"file_hash": "string"
},
"transaction_id": {
"lt": "string",
"hash": "string"
}
}
Request params
string
sourcestring
Required. The source address of the transaction.
destinationstring
Required. The destination address of the transaction.
created_ltstring
Required. The logical time when the transaction was created.
Response
200
Response params
object
blockobject
Details of the block where the transaction is located.
object
workchaininteger
The ID of the workchain.
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
Identifier details of the transaction.
object
ltstring
The logical time of the transaction.
hashstring
The hash of the transaction.