Get Transactions
curl --request GET \
--url https://toncenter.com/api/v2/getTransactions{
"ok": true,
"result": [
{
"@type": "ext.transaction",
"address": {
"@type": "accountAddress",
"account_address": "<string>"
},
"account": "<string>",
"utime": 123,
"data": "<string>",
"transaction_id": {
"@type": "internal.transactionId",
"lt": "<string>",
"hash": "<string>"
},
"fee": "<string>",
"storage_fee": "<string>",
"other_fee": "<string>",
"out_msgs": [
{
"@type": "ext.message",
"hash": "<string>",
"source": "<string>",
"destination": "<string>",
"value": "<string>",
"extra_currencies": [
{
"@type": "extraCurrency",
"id": 123,
"amount": "<string>"
}
],
"fwd_fee": "<string>",
"ihr_fee": "<string>",
"created_lt": "<string>",
"body_hash": "<string>",
"msg_data": {
"@type": "msg.dataRaw",
"body": "<string>",
"init_state": "<string>"
},
"message": "<string>",
"message_decode_error": "<string>"
}
],
"in_msg": {
"@type": "ext.message",
"hash": "<string>",
"source": "<string>",
"destination": "<string>",
"value": "<string>",
"extra_currencies": [
{
"@type": "extraCurrency",
"id": 123,
"amount": "<string>"
}
],
"fwd_fee": "<string>",
"ihr_fee": "<string>",
"created_lt": "<string>",
"body_hash": "<string>",
"msg_data": {
"@type": "msg.dataRaw",
"body": "<string>",
"init_state": "<string>"
},
"message": "<string>",
"message_decode_error": "<string>"
}
}
]
}Get Transactions
Get transactions for specified address
GET
/
api
/
v2
/
getTransactions
Get Transactions
curl --request GET \
--url https://toncenter.com/api/v2/getTransactions{
"ok": true,
"result": [
{
"@type": "ext.transaction",
"address": {
"@type": "accountAddress",
"account_address": "<string>"
},
"account": "<string>",
"utime": 123,
"data": "<string>",
"transaction_id": {
"@type": "internal.transactionId",
"lt": "<string>",
"hash": "<string>"
},
"fee": "<string>",
"storage_fee": "<string>",
"other_fee": "<string>",
"out_msgs": [
{
"@type": "ext.message",
"hash": "<string>",
"source": "<string>",
"destination": "<string>",
"value": "<string>",
"extra_currencies": [
{
"@type": "extraCurrency",
"id": 123,
"amount": "<string>"
}
],
"fwd_fee": "<string>",
"ihr_fee": "<string>",
"created_lt": "<string>",
"body_hash": "<string>",
"msg_data": {
"@type": "msg.dataRaw",
"body": "<string>",
"init_state": "<string>"
},
"message": "<string>",
"message_decode_error": "<string>"
}
],
"in_msg": {
"@type": "ext.message",
"hash": "<string>",
"source": "<string>",
"destination": "<string>",
"value": "<string>",
"extra_currencies": [
{
"@type": "extraCurrency",
"id": 123,
"amount": "<string>"
}
],
"fwd_fee": "<string>",
"ihr_fee": "<string>",
"created_lt": "<string>",
"body_hash": "<string>",
"msg_data": {
"@type": "msg.dataRaw",
"body": "<string>",
"init_state": "<string>"
},
"message": "<string>",
"message_decode_error": "<string>"
}
}
]
}Query Parameters
Identifier of target TON account in any form
Maximum number of items in response
Logical time of the transaction to start from
The 256-bit hash in any form
Logical time to stop at
Whether to use archival node
Was this page helpful?
⌘I