PHPH1 elephant logo

Description

  • Gets a staking transaction information using the supplied block hash and index.

    There may be more information in the PHPH1 Class Documentation.

Parameters

  • String - Block hash
  • Number - Staking transaction index

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
  • gas - Number:
    Gas limit of transaction
  • gasPrice - Number:
    Gas price of transaction in Atto
  • hash - String:
    Transaction hash
  • msg - Object:
    Staking transaction data, depending on the type of staking transaction
  • nonce - Number:
    Wallet nonce of transaction
  • r - String:
    First 32 bytes of ECDSA signature
  • s - String:
    Second 32 bytes of ECDSA signature
  • timestamp - Number:
    Unix time at which transaction was finalized
  • transactionIndex - Number:
    Staking transaction index within block
  • type - String:
    Type of staking transaction
  • v - String:
    Final 1 byte of ECDSA signature