{"static":{"subdirs":{"suffixes":[{"name":"blocks","tree":{"static":{"subdirs":{"dynamic_dispatch":{"arg":{"id":"single","name":"block_id","descr":"A block identifier. This can take one of the following values:\n\t1.Block-hash - Hash in Base58Check notation.\n\t2.Alias - One of the following:'genesis/ head/ caboose/ savepoint/ checkpoint'.\n\t3.Block-level - index(integer) in the chain.\n\tOne can also specify the relative positions of block with respect to above three block identifiers. For ex. 'checkpoint~N' or checkpoint+N, where N is an integer, denotes the Nth block before(~) or after (+) the checkpoint."},"tree":{"dynamic":null}}}}}},{"name":"chain_id","tree":{"static":{"get_service":{"meth":"GET","path":["chain_id"],"description":"The chain unique identifier.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","title":"Network identifier (Base58Check-encoded)","$ref":"#/definitions/unistring","definitions":{"unistring":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Chain_id","layout":{"kind":"Bytes"},"data_kind":{"size":4,"kind":"Fixed"},"kind":"named"}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","description":"An error trace. The full list of errors is available with the global RPC `GET errors`"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"is_bootstrapped","tree":{"static":{"get_service":{"meth":"GET","path":["is_bootstrapped"],"description":"The bootstrap status of a chain","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"bootstrapped":{"type":"boolean"},"sync_state":{"$ref":"#/definitions/chain_status"}},"required":["sync_state","bootstrapped"],"additionalProperties":false,"definitions":{"chain_status":{"description":"If 'unsynced', the node is not currently synchronized with of its peers (it is probably still bootstrapping and its head is lagging behind the chain's).\nIf 'synced', the node considers itself synchronized with its peers and the current head timestamp is recent.\nIf 'stuck', the node considers itself synchronized with its peers but the chain seems to be halted from its viewpoint.","type":"string","enum":["stuck","synced","unsynced"]}}},"binary_schema":{"toplevel":{"fields":[{"name":"bootstrapped","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Fixed"},"kind":"named"},{"name":"sync_state","layout":{"size":"Uint8","reference":"chain_status","kind":"Enum"},"data_kind":{"size":1,"kind":"Fixed"},"kind":"named"}]},"fields":[{"description":{"title":"chain_status"},"encoding":{"size":"Uint8","cases":[[0,"synced"],[1,"unsynced"],[2,"stuck"]]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","description":"An error trace. The full list of errors is available with the global RPC `GET errors`"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}}]}}}
