PHPH1 elephant logo

Description

  • Gets a staking transaction details using the transaction block hash.

    There may be more information in the PHPH1 Class Documentation.

Parameters

  • String:
    Hash (NOT block hash)

    Returns

  • Object:
  • blockHash - String:
    Block hash in which transaction was finalized
  • blockNumber - Number:
    Block number in which transaction was finalized
  • from - String:
    Sender wallet address
  • timestamp - Number:
    Unix time at which transaction was finalized
  • gas - Number:
    Gas limit of transaction
  • gasPrice - Number:
    Gas price of transaction in Atto
  • hash - String:
    Transaction hash
  • nonce - Number:
    Wallet nonce of transaction
  • transactionIndex - Number:
    Staking transaction index within block
  • type - String:
    Type of staking transaction
  • msg - Object:
    Staking transaction data, depending on the type of staking transaction