Skip to main content
GET
/
blockchain
blockchain
curl --request GET \
  --url https://rpc.cosmos.directory/cosmoshub/blockchain
{
  "id": 0,
  "jsonrpc": "2.0"
}

Query Parameters

minHeight
integer

Minimum block height to return

Example:

1

maxHeight
integer

Maximum block height to return

Example:

2

Response

Block headers, returned in descending order (highest first).

Blockchain info

id
integer
Example:

0

jsonrpc
string
Example:

"2.0"

result
object