NEAR Protocol RPC: Get client config (1.0.0)

Queries client node configuration

Download OpenAPI description
Languages
Servers
Mainnet
https://rpc.mainnet.fastnear.com/
Testnet
https://rpc.testnet.fastnear.com/

Get client config

Request

Queries client node configuration

Bodyapplication/jsonrequired
jsonrpcstringrequired
Value"2.0"
idstringrequired
Example: "fastnear"
methodstringrequired
Value"client_config"
paramsArray of arrays<= 0 itemsrequired

Empty array as this method takes no parameters

Example: []
curl -i -X POST \
  https://rpc.mainnet.fastnear.com/ \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": "fastnear",
    "method": "client_config",
    "params": []
  }'

Responses

Successful response

Bodyapplication/json
jsonrpcstringrequired
Value"2.0"
idstring or numberrequired
One of:
string
resultobject

ClientConfig where some fields can be updated at runtime.

errorobject
Response
application/json
{ "jsonrpc": "2.0", "id": "string", "result": { "archive": true, "block_fetch_horizon": 0, "block_header_fetch_horizon": 0, "block_production_tracking_delay": [], "catchup_step_period": [], "chain_id": "string", "chunk_distribution_network": {}, "chunk_request_retry_period": [], "chunk_validation_threads": 0, "chunk_wait_mult": [], "client_background_migration_threads": 0, "cloud_archival_writer": {}, "doomslug_step_period": [], "dynamic_resharding_dry_run": true, "enable_early_prepare_transactions": true, "enable_multiline_logging": true, "enable_statistics_export": true, "epoch_length": 0, "epoch_sync": {}, "expected_shutdown": "string", "gc": {}, "header_sync_expected_height_per_second": 0, "header_sync_initial_timeout": [], "header_sync_progress_timeout": [], "header_sync_stall_ban_timeout": [], "log_summary_period": [], "log_summary_style": "plain", "max_block_production_delay": [], "max_block_wait_delay": [], "max_gas_burnt_view": "string", "min_block_production_delay": [], "min_num_peers": 0, "num_block_producer_seats": 0, "orphan_state_witness_max_size": 0, "orphan_state_witness_pool_size": 0, "produce_chunk_add_transactions_time_limit": "string", "produce_empty_blocks": true, "protocol_version_check": "Next", "resharding_config": "string", "rpc_addr": "string", "save_invalid_witnesses": true, "save_latest_witnesses": true, "save_trie_changes": true, "save_tx_outcomes": true, "save_untracked_partial_chunks_parts": true, "skip_sync_wait": true, "state_request_server_threads": 0, "state_request_throttle_period": [], "state_requests_per_throttle_period": 0, "state_sync": {}, "state_sync_enabled": true, "state_sync_external_backoff": [], "state_sync_external_timeout": [], "state_sync_p2p_timeout": [], "state_sync_retry_backoff": [], "sync_check_period": [], "sync_height_threshold": 0, "sync_max_block_requests": 0, "sync_step_period": [], "tracked_shards_config": {}, "transaction_pool_size_limit": 0, "transaction_request_handler_threads": 0, "trie_viewer_state_size_limit": 0, "ttl_account_id_router": [], "tx_routing_height_horizon": 0, "version": {}, "view_client_threads": 0 }, "error": { "code": 0, "message": "string", "data": {} } }