get_deployments_info - Nervos

Returns statistics about the chain.

Parameters

  • none.

Returns

Deployments information.

Example

Request

curl --location --request POST 'https://ckb-mirana.unifra.io/v1/4fb36720a57340d39aee4cf68511064a' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": 42,
  "jsonrpc": "2.0",
  "method": "get_deployments_info",
  "params": []
}'

Result

{
  "id": 42,
  "jsonrpc": "2.0",
  "result": {
    "epoch": "0x1",
    "hash": "0xa5f5c85987a15de25661e5a214f2c1449cd803f071acc7999820f25246471f40",
       "deployments": {
           "Testdummy": {
               "bit": 1,
               "min_activation_epoch": "0x0",
               "start": "0x0",
               "state": "Failed",
               "timeout": "0x0"
           }
       }
  }
}
Language
Click Try It! to start a request and see the response here!