Info

Get Genesis

Get genesis.

Upon success, the Cache-Control header will be set with the default maximum age.

get/genesis

Response

Genesis results.

jsonrpcstring required
idinteger required

Example response

{
  "jsonrpc": "2.0",
  "result": {
    "genesis": {
      "genesis_time": "2019-04-22T17:00:00Z",
      "chain_id": "cosmoshub-2",
      "initial_height": "2",
      "consensus_params": {
        "block": {
          "max_bytes": "22020096",
          "max_gas": "1000",
          "time_iota_ms": "1000"
        },
        "evidence": {
          "max_age_num_blocks": "100000",
          "max_age_duration": "172800000000000"
        },
        "validator": {
          "pub_key_types": [
            "ed25519"
          ]
        }
      },
      "validators": [
        {
          "address": "B00A6323737F321EB0B8D59C6FD497A14B60938A",
          "pub_key": {
            "type": "tendermint/PubKeyEd25519",
            "value": "cOQZvh/h9ZioSeUMZB/1Vy1Xo5x2sjrVjlE/qHnYifM="
          },
          "power": "9328525",
          "name": "Certus One"
        }
      ]
    }
  }
}

Changes

Changed in 2 of the 18 revisions of this API.33

    • removed the required property result/genesis/consensus_params/evidence/max_age from the response with the 200 status

      response-required-property-removed

    • added the required property result/genesis/consensus_params/evidence/max_age_duration to the response with the 200 status

      response-required-property-added

    • added the required property result/genesis/consensus_params/evidence/max_age_num_blocks to the response with the 200 status

      response-required-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • c329db0eaf5621See the full diff
    • removed the required property result/genesis/consensus_params/evidence/max_age_duration from the response with the 200 status

      response-required-property-removed

    • removed the required property result/genesis/consensus_params/evidence/max_age_num_blocks from the response with the 200 status

      response-required-property-removed

    • added the required property result/genesis/consensus_params/evidence/max_age to the response with the 200 status

      response-required-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 18 revisions, 1 has no diff computed.