PHPH1 elephant logo

Description

Parameters

  • Number:
    Block number.
  • Object:
  • fullTx - Bool:
    Include full transaction data
  • inclTx - Bool:
    Include regular transactions
  • inclStaking - Bool:
    Include staking transactions
  • withSigners - Bool:
    Include signers

Returns

  • Object:
  • number - Number:
    Block number
  • viewID - Number:
    View ID
  • epoch - Number:
    Epoch number of block
  • hash - String:
    Block hash
  • parentHash - String:
    Hash of parent block
  • nonce - Number:
    Unused, legacy from Eth
  • mixHash - String:
    Unused, legacy from Eth
  • logsBloom - String:
    Bloom logs
  • stateRoot - String:
    Hash of state root
  • miner - String:
    Wallet address of the leader that proposed this block
  • difficulty - Number:
    Unused, legacy from Eth
  • extraData - String:
    Hex representation of extra data in the block
  • size - Number:
    Block size in bytes
  • gasLimit - Number:
    Maximum gas that can be used for transactions in the block
  • gasUsed - Number:
    Amount of gas used for transactions in the block
  • vrf - String:
    vrf string in hex
  • vrfproof - String:
    vrfproof string in hex
  • timestamp - Number:
    Unix timestamp of the block
  • transactionsRoot - String:
    Hash of transactions root
  • receiptsRoot - String:
    Hash of transaction receipt root
  • uncles - JSON Array:
    Unused, legacy from Eth
  • transactions - JSON Array:
    List of transactions finalized in this block
    • blockHash - String:
      Transaction block hash
    • blockNumber - Number:
      Transaction block number
    • from - String:
      From address
    • timestamp - Number:
      Timestamp
    • gas - Number:
      Gas
    • gasPrice - Number:
      Gas price for the transaction
    • hash - String:
      Transaction hash
    • ethHash - String:
      Transaction ETH hash
    • input - String:
      FIXME
    • nonce - Number:
      Wallet nonce of transaction
    • to - String:
      Transaction to address
    • transactionIndex - Number:
      Transaction index
    • value - Number:
      Transaction amount
    • shardID - Number:
      Shard ID of the sender
    • toShardID - Number:
      Shard ID of the receiver
    • v - String:
      Final 1 byte of ECDSA signature
    • r - String:
      First 32 bytes of ECDSA signature
    • s - String:
      Second 32 bytes of ECDSA signature
  • stakingTransactions - JSON Array:
    List of staking transactions finalized in this block
    • blockHash - String:
      Transaction block hash
    • blockNumber - Number:
      Transaction block number
    • from - String:
      From address
    • timestamp - Number:
      Timestamp
    • gas - Number:
      Gas
    • gasPrice - Number:
      Gas price for the transaction
    • hash - String:
      Transaction hash
    • nonce - Number:
      Wallet nonce of transaction
    • transactionIndex - Number:
      Transaction index
    • v - String:
      Final 1 byte of ECDSA signature
    • r - String:
      First 32 bytes of ECDSA signature
    • s - String:
      Second 32 bytes of ECDSA signature
    • type - String:
      The type of staking transaction
    • msg - Array:
    • shardID - Number:
      Shard ID of the sender
    • toShardID - Number:
      Shard ID of the receiver
      • delegatorAddress - String:
        The delegator walletaddress
      • validatorAddress - String:
        The validator wallet address
      • amount - Number:
        The amount staked in atto
  • signers - JSON Array:
    List of block signer addresses for this block