PHPH1 elephant logo

Description

  • Gets transaction data using the transaction hash (NOT block hash).

    There may be more information in the PHPH1 Class Documentation.

Parameters

  • String :
    Transaction hash

Returns

  • Object:
  • blockHash - String:
    Block hash in which transaction was finalized
  • blockNumber - Number:
    Block number in which transaction was finalized
  • ethHash - String:
    ETH hash
  • from - String:
    Sender wallet address
  • gas - Number:
    Gas limit of transaction
  • gasPrice - Number:
    Gas price of transaction in Atto
  • hash - String:
    Transaction hash
  • input - String:
    Input in hex
  • nonce - Number:
    Wallet nonce of transaction
  • r - String:
    First 32 bytes of ECDSA signature
  • s - String:
    Second 32 bytes of ECDSA signature
  • shardID - Number:
    Shard ID
  • timestamp - Number:
    Unix time at which transaction was finalized
  • to - String:
    To wallet address
  • toShardID - Number:
    What shard the transaction was sent to
  • transactionIndex - Number:
    Staking transaction index within block
  • v - String:
    Final 1 byte of ECDSA signature
  • value - Number:
    value in atto