Config

Config

get

Return the runtime node configuration (this takes into account the command-line arguments and the on-disk configuration file)

Authorizations
api-keystringRequired
Responses
chevron-right
200

Valid response

application/json
data-dirone ofOptional

Location of the data dir on disk.

stringOptional
or
disable-config-validationbooleanOptional

Disable the node configuration validation.

internal-eventsone ofOptional

Configuration of the structured logging framework

or
networkone ofOptional

Configuration of which network/blockchain to connect to

string · enumOptionalPossible values:
or
get
/config

History mode

get

Returns the history mode of the node's underlying storage.

Authorizations
api-keystringRequired
Responses
chevron-right
200

Valid response

application/json
history_modeone ofRequired

Storage mode for the Tezos shell.

string · enumOptional

Archive mode retains every block and operations since the genesis block including their metadata and their associated contexts.

Possible values:
or
or
or
string · enumOptional

Full mode with default number of additional cycles.

Possible values:
get
/config/history_mode

Config network dal

get

Configuration for the DAL

Authorizations
api-keystringRequired
Responses
chevron-right
200

Valid response

application/json
activatedbooleanRequired
use_mock_srs_for_testingbooleanRequired
get
/config/network/dal

User activated protocol overrides

get

List of protocols which replace other protocols

Authorizations
api-keystringRequired
Responses
chevron-right
200

Valid response

application/json

User activated protocol overrides: activate a protocol instead of another.

replaced_protocolone ofRequired
stringOptional
or
replacement_protocolone ofRequired
stringOptional
or
get
/config/network/user_activated_protocol_overrides

User activated upgrades

get

List of protocols to switch to at given levels

Authorizations
api-keystringRequired
Responses
chevron-right
200

Valid response

application/json

User activated upgrades: at given level, switch to given protocol.

levelinteger · min: -2147483648 · max: 2147483647Required
replacement_protocolone ofRequired
stringOptional
or
get
/config/network/user_activated_upgrades

Last updated