PHPH1 elephant logo

Description

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

    There may be more information in the PHPH1 Class Documentation.

Parameters

  • String :
    Hash.

    Returns

    • 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.
    • contractAddress - String:
      Smart contract address
    • cumulativeGasUsed - Number:
      Gas used for transaction
    • from - String:
      Sender wallet address
    • gasUsed - Number:
      Gas used for the transaction
    • logs - Array
      • address - String:
      • blockHash - String:
        Block hash
      • blockNumber - Number:
        Block number
      • data - String:
        Data in hex
      • logIndex - String:
        Log index in hex
      • removed - Boolean:
        Yes or no
      • topics - Array:
        List of topics in hex
      • transactionHash - String:
        Transaction hash
      • transactionIndex - String:
        Transaction index in hex
    • logsBloom - String:
      Bloom logs
    • root - String:
      FIXME
    • shardID - Number :
      Shard ID
    • status - Number:
      Status of transaction (0: pending, 1: success)
    • to - String:
      Receiver wallet address
    • transactionHash - String:
      Transaction hash
    • transactionIndex - Number:
      Transaction index within block