TON
getTransactions34 créditos
Returns the transactions of an account, newest first.
Parámetros
| Nombre | Tipo | Descripción |
|---|---|---|
| address | string | Account address, in raw (`0:<hex>`) or user-friendly (base64, base64url) form. |
| limit | number | Number of transactions, 1 to 100. Default 10. (opcional) |
| lt | number | Logical time of the transaction to start from (goes with hash). The newest when omitted. (opcional) |
| hash | string | Hash (base64) of the transaction to start from; goes with lt. (opcional) |
| to_lt | number | Stop at this logical time (the transactions after it only). Default 0. (opcional) |
| archival | boolean | Ask 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
}
}'