GET
/
{chainName}
/
v1
/
block
/
{blockHeight}
curl --request GET \
  --url https://data-api.cloud.ormi.dev/{chainName}/v1/block/{blockHeight}
{
  "base_fee_per_gas": "<string>",
  "difficulty": "<string>",
  "extra_data": "<string>",
  "gas_limit": "<string>",
  "gas_used": "<string>",
  "hash": "<string>",
  "logs_bloom": "<string>",
  "miner": "<string>",
  "nonce": "<string>",
  "number": 123,
  "parent_hash": "<string>",
  "receipt_root": "<string>",
  "sha3_uncles": "<string>",
  "size": 123,
  "state_root": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "total_difficulty": "<string>",
  "transaction_count": 123,
  "transactions_root": "<string>",
  "withdrawals_root": "<string>"
}

Path Parameters

blockHeight
string
required

Block height or latest to get latest block.

chainName
string
required

Name of the blockchain (e.g., ethereum, polygon, bsc)

Response

200 - application/json
OK
base_fee_per_gas
string
required
difficulty
string
required
extra_data
string
required
gas_limit
string
required
gas_used
string
required
hash
string
required
logs_bloom
string
required
miner
string
required
nonce
string
required
number
integer
required
parent_hash
string
required
receipt_root
string
required
sha3_uncles
string
required
size
integer
required
state_root
string
required
timestamp
string
required
total_difficulty
string
required
transaction_count
integer
required
transactions_root
string
required
withdrawals_root
string
required