Skip to main content

/api/v1/transactions REST API Endpoint

Lists transactions on the network. This includes successful and unsuccessful transactions.

Updated on
Aug 23, 2024

/api/v1/transactions REST API Endpoint

Please note that this method is currently available only on the testnet and will be accessible on the mainnet soon.

Query Parameters

account.id
string
The ID of the account to return information for
limit
integer
The maximum number of items to return
order
string
The order in which items are listed (asc or desc)
timestamp
array
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator
transactiontype
string
The transaction type, which can be: CONSENSUSCREATETOPIC, CONSENSUSDELETETOPIC, CONSENSUSSUBMITMESSAGE, CONSENSUSUPDATETOPIC, CONTRACTCALL, CONTRACTCREATEINSTANCE, CONTRACTDELETEINSTANCE, CONTRACTUPDATEINSTANCE, CRYPTOADDLIVEHASH, CRYPTOAPPROVEALLOWANCE, CRYPTOCREATEACCOUNT, CRYPTODELETE, CRYPTODELETEALLOWANCE, CRYPTODELETELIVEHASH, CRYPTOTRANSFER, CRYPTOUPDATEACCOUNT, ETHEREUMTRANSACTION, FILEAPPEND, FILECREATE, FILEDELETE, FILEUPDATE, FREEZE, NODECREATE, NODEDELETE, NODESTAKEUPDATE, NODEUPDATE, SCHEDULECREATE, SCHEDULEDELETE, SCHEDULESIGN, SYSTEMDELETE, SYSTEMUNDELETE, TOKENASSOCIATE, TOKENBURN, TOKENCREATION, TOKENDELETION, TOKENDISSOCIATE, TOKENFEESCHEDULEUPDATE, TOKENFREEZE, TOKENGRANTKYC, TOKENMINT, TOKENPAUSE, TOKENREJECT, TOKENREVOKEKYC, TOKENUNFREEZE, TOKENUNPAUSE, TOKENUPDATE, TOKENUPDATENFTS, TOKENWIPE, UNCHECKEDSUBMIT, UNKNOWN, UTILPRNG
result
string
The transaction success type (success or fail)
type
string
The transaction account balance modification type (credit or debit)

Returns

transactions
array
An array of objects, each representing a transaction on the Hedera network
bytes
string
The raw bytes of the transaction
charged_tx_fee
integer
The fee charged for processing the transaction
consensus_timestamp
string
The consensus timestamp when the transaction was processed
entity_id
string
The ID of the entity involved in the transaction
max_fee
string
The maximum fee the payer is willing to pay for the transaction
memo_base64
string
The memo field of the transaction, encoded in Base64
name
string
The name/type of the transaction
nft_transfers
array
An array of NFT transfers associated with the transaction
node
string
The ID of the node that processed the transaction
nonce
integer
The nonce value for the transaction
parent_consensus_timestamp
string
The consensus timestamp of the parent transaction
result
string
The result of the transaction processing
scheduled
boolean
A boolean indicating whether the transaction was scheduled
staking_reward_transfers
array
An array of staking reward transfers associated with the transaction
token_transfers
array
An array of token transfers associated with the transaction
transaction_hash
string
The hash of the transaction
transaction_id
string
The unique identifier of the transaction, combining the account ID and valid start timestamp
transfers
array
An array of HBAR transfers associated with the transaction
account
string
The account ID involved in the transfer
amount
integer
The amount transferred
is_approval
boolean
A boolean indicating whether the transfer was an approval
valid_duration_seconds
string
The duration in seconds for which the transaction is valid
valid_start_timestamp
string
The start timestamp when the transaction becomes valid
links
object
An object containing pagination links
next
string
The URL for the next set of results if available
Request
1
curl 'https://docs-demo.hedera-mainnet.quiknode.pro/api/v1/transactions'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free