Development
Retrieve detailed information about a specific block using either its number or hash.
cURL
curl --request GET \ --url https://indexer.testnet.incentiv.net/api/blocks/{hashOrNumber}
{ "hash": "<string>", "number": 123, "timestamp": 123, "gasUsed": "<string>", "gasLimit": "<string>", "baseFeePerGas": "<string>", "miner": "<string>", "txCount": 123, "userOpCount": 123 }
The block hash or block number to retrieve.
Block details.
The response is of type object.
object