API Reference
Get Genesis in multiple chunks
Get genesis document in multiple chunks to make it easier to iterate through larger genesis structures. Each chunk is produced by converting the genesis document to JSON and then splitting the resulting payload into 16MB blocks, and then Base64-encoding each block.
Upon success, the Cache-Control header will be set with the default
maximum age.
Query Parameters
chunk?integer
Sequence number of the chunk to download.
Default
0Response Body
application/json
application/json
curl -X GET "https://mainnet-beta.rpc.hyperpaxeer.com/genesis_chunked"{
"jsonrpc": "2.0",
"id": 0,
"result": {
"chunk": 0,
"total": 1,
"data": "Z2VuZXNpcwo="
}
}{
"id": 0,
"jsonrpc": "2.0",
"error": "Description of failure"
}