PHPH1 elephant logo

Description

Parameters

  • Object:
    Transaction history args
  • address - String:
    Wallet address
  • pageIndex - Number:
    Optional, which page of transactions to return, default 0
  • pageSize - Number:
    Optional, how many transactions to display per page, default 1000
  • fullTx - Bool:
    Optional, return full transaction data or just transaction hashes, default false
  • txType - String:
    Optional, which type of transactions to display ("ALL", "RECEIVED", or "SENT"), default "ALL"
  • order - String:
    Optional, sort transactions in ascending or descending order based on timestamp ("ASC" or "DESC"), default "ASC"

Returns

If fullTx is true:

  • Array of Object:
  • blockHash - String:
    Block hash that transaction was finalized. null if the transaction is pending
  • blockNumber - Number:
    Block number that transaction was finalized. null if the transaction is pending
  • from - String:
    Wallet address
  • gas - Number:
    Gas limit in Atto
  • gasPrice - Number:
    Gas price in Atto
  • hash - String:
    Transaction hash
  • msg - Array:
    • amount - Number:
      FIXME
    • delegatorAddress - String:
      FIXME
    • validatorAddress - String:
      FIXME
  • nonce - Number:
    Wallet nonce for the transaction
  • r - String:
    First 32 bytes of ECDSA signature
  • s - String:
    Second 32 bytes of ECDSA signature
  • timestamp - Number:
    Timestamp in Unix time when transaction was finalized
  • transactionIndex - Number:
    Index of transaction in block. null if the transaction is pending
  • type - String:
    FIXME
  • v - String:
    Final 1 byte of ECDSA signature

If fullTx is false:

  • Array of String:
    List of transaction hashes