CryptoApis::ListLatestMinedBlocksRIBSEC

Properties

Name Type Description Notes
difficulty String Represents a mathematical value of how hard it is to find a valid hash for this block.
extra_data String Represents any data that can be included by the miner in the block.
gas_limit String Defines the total gas limit of all transactions in the block.
gas_used String Represents the total amount of gas used by all transactions in this block.
mined_in_seconds Integer Specifies the amount of time required for the block to be mined in seconds.
nonce String Represents a random value that can be adjusted to satisfy the proof of work
sha3_uncles String Defines the combined hash of all uncles for a given parent.
size Integer Represents the total size of the block in Bytes.
total_difficulty String Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block.
uncles Array<String>

Example

require 'crypto_apis'

instance = CryptoApis::ListLatestMinedBlocksRIBSEC.new(
  difficulty: 21448277761059.71,
  extra_data: 0xd983010203844765746887676f312e342e328777696e646f7773,
  gas_limit: 7999992,
  gas_used: 6494,
  mined_in_seconds: 6,
  nonce: 2113101077,
  sha3_uncles: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347,
  size: 1408113,
  total_difficulty: 1086033282060494457577,
  uncles: null
)