starknet_blockHashAndNumber

Get the most recent accepted block hash and number

Path parameters

apiKeystringRequired

Response

The latest block hash and number

block_hashstringformat: "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$"

The hash identifying a block

block_numberinteger>=0

The block’s number (its height)