Genesis chunked

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.

GEThttps://luna-tendermint.nownodes.io/genesis_chunked
Query parameters
Response

Genesis chunk response.

Body
jsonrpc*string
Example: "2.0"
id*integer
Example: 0
result*object
Request
const response = await fetch('https://luna-tendermint.nownodes.io/genesis_chunked', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "chunk": 0,
    "total": 1,
    "data": "Z2VuZXNpcwo="
  }
}