TarifsGitHubTableau de bord

TON

tryLocateSourceTx34 crédits

Finds the transaction at the sender that sent an incoming message.

Réseau: ton

Paramètres

NomTypeDescription
sourcestringAddress of the sender of the message.
destinationstringAddress of the receiver of the message.
created_ltnumberLogical time at which the message was created.

Valeur renvoyée

Type

Object

The transaction that sent the message: utime, transaction_id (lt, hash), fee, in_msg and out_msgs.

Exemples de code

curl https://holy-burned-sky-ton-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tryLocateSourceTx",
  "params": {
    "source": "EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N",
    "destination": "EQBYivdc0GAk-nnczaMnYNuSjpeXu2nJS3DZ4KqLjosX5sVC",
    "created_lt": 40000000000001
  }
}'