hmy_getTransactionsHistory
hmy_getTransactionsHistory
Description
hmy_getTransactionsHistory get transactions history for an address
Parameters
String
- one address ("one1...")txHistoryArgs
- json argstxType
-String
: optional, Received or Sent, shows all transactions by defaultfullTx
-Bool
: optional, shows full transaction or just its hash, default is falsepageSize
-Number
: optional, pagination page size, how much tx to show in single page, default is 100pageIndex
-Number
: optional, pagination which page to show, default is 0txType
-String
: optional, "ALL", "RECEIVED", "SENT", default is "ALL"order
-String
: optional, "ASC", "DESC", default is "ASC", order by timestamp
API v1
Returns
Array
- either returns list of transactionshash
-String
: Hash of the transaction.nonce
-Number
: The number of transactions made by the sender prior to this one.blockHash
-String
: Hash of the block where this transaction was in.null
when it's pending.blockNumber
-Number
: Block number where this transaction was in.null
when it's pending.transactionIndex
-Number
: Integer of the transaction's index position in the block.null
when its pending.from
-String
: Address of the sender.to
-String
: Address of the receiver.value
-String
: Value transferred in ATTO.gasPrice
-String
: Gas price provided by the sender.gas
-Number
: Gas provided by the sender.input
-String
: The data sent along with the transaction.
Array
ofString
- or list of transactions hashes
Sample Curl Request 0
Sample Curl Response 0
Sample Curl Request 1
Sample Curl Response 1
API v2
Returns
Array
- either returns list of transactionshash
-String
: Hash of the transaction.nonce
-Number
: The number of transactions made by the sender prior to this one.blockHash
-String
: Hash of the block where this transaction was in.null
when it's pending.blockNumber
-Number
: Block number where this transaction was in.null
when it's pending.transactionIndex
-Number
: Integer of the transaction's index position in the block.null
when its pending.from
-String
: Address of the sender.to
-String
: Address of the receiver.value
-Number
: Value transferred in ATTO.gasPrice
-Number
: Gas price provided by the sender.gas
-Number
: Gas provided by the sender.input
-String
: The data sent along with the transaction.
Array
ofString
- or list of transactions hashes
Sample Curl Request 0
Sample Curl Response 0
Sample Curl Request 1
Sample Curl Response 1
Last updated