curl https://mainnet.casper.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"id":1,"jsonrpc":"2.0","method":"chain_get_block","params":[]}'
This method returns the JSON representation of a Block from the network.
This method will use 15
Compute Units.
block_identifier
- object
the block identifier hash or height [BlockIdentifier]
api_version
- string
RPC API version
block
- JSON representation of a block [reference]
body
deploy_hashes
- list of hex-encoded Hashes
proposer
- string
hex-encoded public key including algorithm tag prefix
transfer_hashes
- list of hex-encoded Hashes
hash
- string
hash of the block
header
accumulated_seed
- string
accumulated seed hash digest
body_hash
- string
body hash digest
era_end
- integer
EraID
era_id
- integer
EraID
height
- integer
block height
parent_hash
- string
hash of the parent block
protocol_version
- string
Casper Platform protocol version
random_bit
- boolean
randomness bit
state_root_hash
- string
the state root hash digest
timestamp
- string
RFC 3339 timestamp
proofs
- list of proofs
public_key
- string
hex-encoded public key including algorithm tag prefix
signature
- string
hex-encoded cryptographic signature, including the algorithm tag prefix