Transactions
/api/all_transactions/
Get all block transaction data
Request Method
GET
Request Address
Request Parameters
chain
chain type(default/tm)
string
default
no
size
request data size per page
int
50
no
page
request pagination
int
1
no
Return Data Description
Trias return data
code
int
status code, 200 for success
total_size
int
sum of block sizes
page
int
pagination
total_page
int
total pages
return_data
list dict
block transaction list
Block transaction
blockHash
string
transaction block hash
source
string
transaction source
toaddr
string
transaction to address
hash
string
transaction hash
blockNumber
int
transaction block number
timestamp
int
block timestamp
recipients
list
recipients transaction log information
tokenamount
string
transfer token amount
tokenname
string
token name
to
string
to contract address
value
string
transaction value
total_value
string
transaction total value
fee
int
transaction fees
status
string
execution status
method
string
execute contract method
time
string
transaction time
Return Data Example
Trias return data example
/api/transaction_info/
Get transaction details
Request Method
GET
Request Address
Request Parameters
chain
chain type(default/tm)
string
default
no
txhash
transaction hash
string
no
yes
Return Data Description
Trias return data
code
int
status code, 200 for success
return_data
dict
transaction details
Transaction details
blockHash
string
transaction blockHash
blockNumber
int
transaction block number
source
string
transaction from address
toaddr
string
transaction to address
gas
int
transaction gas
gasPrice
int
transaction gas price
nonce
int
transaction nonce
hash
string
transaction hash
transactionIndex
int
transaction block Index
value
int
transaction value
v
int
transaction signature v field value
r
string
transaction signature r field value
s
string
transaction signature s field value
gasUsed
int
gas used size
timestamp
int
transaction timesatmp
tx_str
string
transaction input string
type1
int
transaction type
fee
int
transaction fee
recipients
list
recipient transaction log info
recipient
string
recipient address
tokenamount
string
transfer token amount
gasamount
string
transfer native token amount
method
string
contract method
tokenname
string
token name
status
string
status
transfer_list
obj
contract transfer list
contract_label
bool
contract label
gasLimit
int
transaction gas limit
gas_rate
string
transaction gas rate
time
string
block time
to_address
string
token contrat address
Return Data Example
Trias return data example
Last updated