Module-level declarations
Node Management API
Types
Information about a blockchain configuration
Information about a blockchain
Information about a container image
Information about container rate limits.
Information about an inactive blockchain
Information about a blockchain migration for a node
Functions
Queries
Returns NM API Version NM API Version: 1
Returns a list of blockchains to be launched or to be initialized on a node (RUNNING, PAUSED, IMPORTING, UNARCHIVING) NM API Version: 4 Compatibility:
NM API Version 4-8: Returns RUNNING or PAUSED blockchains
NM API Version 9-11: Returns RUNNING or PAUSED or IMPORTING blockchains
Returns list of blockchains to be launched NM API Version: 1
Configuration updates are found in two tables. Both must be checked to get next configuration height. NM API Version: 1
Finds the next height blockchains were deactivated (removed, archived) at and returns found blockchain RIDs and heights. Returns an empty list if there are no blockchains deactivated after height
. NM API Version 11
Configuration updates are found in two tables. Both must be checked to get previous configuration height. NM API Version: 21
Merge content of blockchain_configuration and blockchain_configuration_signers NM API Version: 1
Returns blockchain configuration as a struct NM API Version: 18
Returns blockchain_configuration_options structure for given blockchain and height or null NM API Version 8
NM API Version: 5
Returns a list of containers running on a node. NM API Version: 14
Returns a list of brids with corresponding container that this blockchain is dependent on. At the given height. NM API Version: 3
NM API Version: 4
Returns the blockchain signers from the latest configuration NM API Version 9
Returns current state of blockchain NM API Version: 6
NM API Version: 3
Returns the time when the container was created, or null
if that information is not available.
NM API Version: 23
Returns container blockchain is running in. NM API Version: 3
Returns the Docker image required to run subnode for container, or null
if the container does not specify any image.
NM API Version: 20
Returns the Docker image required to run subnode for container, or the default subnode image if the container does not specify any image, or null
if default image is not specified in directory chain.
NM API Version: 22
NM API Version: 3
Returns rate limit configuration for container as a map of task type to rate limit configuration for that type of tasks. If there is no rate limit for a particular task type for a container, it will be absent in the map. If there are no rate limits for anything for a container, the returned map will be empty.
NM API Version: 23
Returns node containers NM API Version: 3
Precise Configuration Update: Returns a faulty blockchain config by height or null NM API Version: 5
Returns Blockchain RID of management chain NM API Version: 7
Returns migrating (moving or unarchiving) blockchain info. NM API Version 15
Returns peer info list NM API Version: 1 (API expects array, so we need suppress naming)
Precise Configuration Update: Returns list of pending configs with minimum_height <= height NM API Version: 5
Precise Configuration Update: Returns a pending blockchain config by config hash or null NM API Version: 5
Returns true if pubkey is allowed to deploy to blockchain, otherwise false. NM API Version 19