Skip to main content

/getTransactions REST API Endpoint

Get transaction history of a given address.

Updated on
Oct 23, 2024

/getTransactions REST API Endpoint

Query Parameters

address
string
REQUIRED
An identifier of target TON account in any form
limit
integer
Maximum number of transactions in response. The maximum value is 100
lt
integer
Logical time of transaction to start with, must be sent with hash
hash
string
The Hash of transaction to start with, in base64 or hex encoding , must be sent with lt
to_lt
integer
Logical time of transaction to finish with (to get tx from lt to to_lt). Default value is 0
archival
boolean
By default getTransaction request is processed by any available liteserver. If archival=true only liteservers with full history are used

Returns

ok
boolean
Indicates whether the response was successful
result
object
The result object which contains the following fields:
@type
string
Specifies the type of object representing a short transaction ID
address
object
The address object which contains the following fields:
@type
string
Type that holds the account address information
account_address
string
The account address for this transaction
utime
integer
The Unix timestamp when the transaction occurred
data
string
The raw transaction data in base64 format
transaction_id
object
The transaction_id object which contains the following fields:
@type
string
The type of transaction
to_lt
string
The logical time of the transaction
hash
string
The hash of the transaction
fee
string
Total fee paid for the transaction
storage_fee
string
The storage fee paid for this transaction
other_fee
string
Any other fees associated with this transaction
in_msg
object
The in_msg object which contains the following fields:
@type
string
Specifies the message type as raw
source
string
The source address
destination
string
The destination address
value
string
The value transferred in this message, expressed in nanotons
fwd_fee
string
The forwarding fe
ihr_fee
string
The Instant Hypercube Routing (IHR) fee
created_lt
string
Logical time when the message was created
body_hash
string
The hash of the message body
msg_data
object
The msg_data object which contains the following fields:
@type
string
Indicates that the message data is in raw format
body
string
The body of the message, encoded in base64
init_state
string
The initial state of the message
message
string
The message body
out_msgs
array
An outgoing messages associated with the transaction
@type
string
Specifies the message type as raw
source
string
The source address
destination
string
The destination address
value
string
The value transferred in this message, expressed in nanotons
fwd_fee
string
The forwarding fe
ihr_fee
string
The Instant Hypercube Routing (IHR) fee
created_lt
string
Logical time when the message was created
body_hash
string
The hash of the message body
msg_data
object
The msg_data object which contains the following fields:
@type
string
Indicates that the message data is in raw format
body
string
The body of the message, encoded in base64
init_state
string
The initial state of the message
message
string
The message body
Request
1
curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/getTransactions?address=EQCg1gU0NGQ0fZTAf8v7H6tPkY0P7l17U09lKDU8NfRB8Dyq&limit=10&to_lt=0&archival=false' \
2
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free