PreciosGitHubPanel

TON

getTransactions34 créditos

Returns the transactions of an account, newest first.

Red: ton

Parámetros

NombreTipoDescripción
addressstringAccount address, in raw (`0:<hex>`) or user-friendly (base64, base64url) form.
limitnumberNumber of transactions, 1 to 100. Default 10. (opcional)
ltnumberLogical time of the transaction to start from (goes with hash). The newest when omitted. (opcional)
hashstringHash (base64) of the transaction to start from; goes with lt. (opcional)
to_ltnumberStop at this logical time (the transactions after it only). Default 0. (opcional)
archivalbooleanAsk only nodes that keep the full history. Default false. (opcional)

Valor devuelto

Tipo

Array<Object>

Transactions: utime, transaction_id (lt, hash), fee, storage_fee, other_fee, in_msg and out_msgs.

Ejemplos de código

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": "getTransactions",
  "params": {
    "address": "EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N",
    "limit": 10
  }
}'