curl --request POST \
--url https://rpc.mainnet.near.org/client_config \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "client_config",
"params": null
}
'{
"result": {
"archive": true,
"block_fetch_horizon": 1,
"block_header_fetch_horizon": 1,
"block_production_tracking_delay": [
1
],
"catchup_step_period": [
1
],
"chain_id": "<string>",
"chunk_distribution_network": {
"enabled": true,
"uris": {
"get": "<string>",
"set": "<string>"
}
},
"chunk_request_retry_period": [
1
],
"chunk_validation_threads": 1,
"chunk_wait_mult": [
123
],
"chunks_cache_height_horizon": 1,
"client_background_migration_threads": 1,
"cloud_archival_writer": {
"archive_block_data": false,
"polling_interval": {
"nanos": 0,
"secs": 1
}
},
"disable_tx_routing": true,
"doomslug_step_period": [
1
],
"enable_early_prepare_transactions": true,
"enable_multiline_logging": true,
"enable_statistics_export": true,
"epoch_length": 1,
"epoch_sync": {
"epoch_sync_horizon_num_epochs": 2,
"timeout_for_epoch_sync": {
"nanos": 123,
"secs": 123
}
},
"expected_shutdown": "<string>",
"gc": {
"gc_blocks_limit": 2,
"gc_fork_clean_step": 100,
"gc_num_epochs_to_keep": 5,
"gc_step_period": {
"nanos": 500000000,
"secs": 0
}
},
"header_sync_expected_height_per_second": 1,
"header_sync_initial_timeout": [
1
],
"header_sync_progress_timeout": [
1
],
"header_sync_stall_ban_timeout": [
1
],
"log_summary_period": [
1
],
"log_summary_style": "plain",
"max_block_production_delay": [
1
],
"max_block_wait_delay": [
1
],
"max_gas_burnt_view": 1,
"min_block_production_delay": [
1
],
"min_num_peers": 1,
"num_block_producer_seats": 1,
"orphan_state_witness_max_size": 1,
"orphan_state_witness_pool_size": 1,
"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_state_changes": true,
"save_trie_changes": true,
"save_tx_outcomes": true,
"save_untracked_partial_chunks_parts": true,
"skip_sync_wait": true,
"state_request_server_threads": 1,
"state_request_throttle_period": [
1
],
"state_requests_per_throttle_period": 1,
"state_sync": {
"concurrency": {
"apply": 127,
"apply_during_catchup": 127,
"peer_downloads": 127,
"per_shard": 127
},
"dump": {
"credentials_file": "<string>",
"iteration_delay": {
"nanos": 123,
"secs": 123
},
"location": {
"S3": {
"bucket": "<string>",
"region": "<string>"
}
},
"restart_dump_for_shards": [
1
]
},
"parts_compression_lvl": 1,
"sync": "Peers"
},
"state_sync_enabled": true,
"state_sync_external_backoff": [
1
],
"state_sync_external_timeout": [
1
],
"state_sync_p2p_timeout": [
1
],
"state_sync_retry_backoff": [
1
],
"sync_check_period": [
1
],
"sync_height_threshold": 1,
"sync_max_block_requests": 1,
"sync_step_period": [
1
],
"tracked_shards_config": "NoShards",
"transaction_pool_size_limit": 1,
"transaction_request_handler_threads": 1,
"trie_viewer_state_size_limit": 1,
"ttl_account_id_router": [
1
],
"tx_routing_height_horizon": 1,
"version": {
"build": "<string>",
"commit": "<string>",
"version": "<string>",
"rustc_version": ""
},
"view_client_threads": 1
},
"id": "<string>",
"jsonrpc": "<string>"
}Queries client node configuration
curl --request POST \
--url https://rpc.mainnet.near.org/client_config \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "client_config",
"params": null
}
'{
"result": {
"archive": true,
"block_fetch_horizon": 1,
"block_header_fetch_horizon": 1,
"block_production_tracking_delay": [
1
],
"catchup_step_period": [
1
],
"chain_id": "<string>",
"chunk_distribution_network": {
"enabled": true,
"uris": {
"get": "<string>",
"set": "<string>"
}
},
"chunk_request_retry_period": [
1
],
"chunk_validation_threads": 1,
"chunk_wait_mult": [
123
],
"chunks_cache_height_horizon": 1,
"client_background_migration_threads": 1,
"cloud_archival_writer": {
"archive_block_data": false,
"polling_interval": {
"nanos": 0,
"secs": 1
}
},
"disable_tx_routing": true,
"doomslug_step_period": [
1
],
"enable_early_prepare_transactions": true,
"enable_multiline_logging": true,
"enable_statistics_export": true,
"epoch_length": 1,
"epoch_sync": {
"epoch_sync_horizon_num_epochs": 2,
"timeout_for_epoch_sync": {
"nanos": 123,
"secs": 123
}
},
"expected_shutdown": "<string>",
"gc": {
"gc_blocks_limit": 2,
"gc_fork_clean_step": 100,
"gc_num_epochs_to_keep": 5,
"gc_step_period": {
"nanos": 500000000,
"secs": 0
}
},
"header_sync_expected_height_per_second": 1,
"header_sync_initial_timeout": [
1
],
"header_sync_progress_timeout": [
1
],
"header_sync_stall_ban_timeout": [
1
],
"log_summary_period": [
1
],
"log_summary_style": "plain",
"max_block_production_delay": [
1
],
"max_block_wait_delay": [
1
],
"max_gas_burnt_view": 1,
"min_block_production_delay": [
1
],
"min_num_peers": 1,
"num_block_producer_seats": 1,
"orphan_state_witness_max_size": 1,
"orphan_state_witness_pool_size": 1,
"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_state_changes": true,
"save_trie_changes": true,
"save_tx_outcomes": true,
"save_untracked_partial_chunks_parts": true,
"skip_sync_wait": true,
"state_request_server_threads": 1,
"state_request_throttle_period": [
1
],
"state_requests_per_throttle_period": 1,
"state_sync": {
"concurrency": {
"apply": 127,
"apply_during_catchup": 127,
"peer_downloads": 127,
"per_shard": 127
},
"dump": {
"credentials_file": "<string>",
"iteration_delay": {
"nanos": 123,
"secs": 123
},
"location": {
"S3": {
"bucket": "<string>",
"region": "<string>"
}
},
"restart_dump_for_shards": [
1
]
},
"parts_compression_lvl": 1,
"sync": "Peers"
},
"state_sync_enabled": true,
"state_sync_external_backoff": [
1
],
"state_sync_external_timeout": [
1
],
"state_sync_p2p_timeout": [
1
],
"state_sync_retry_backoff": [
1
],
"sync_check_period": [
1
],
"sync_height_threshold": 1,
"sync_max_block_requests": 1,
"sync_step_period": [
1
],
"tracked_shards_config": "NoShards",
"transaction_pool_size_limit": 1,
"transaction_request_handler_threads": 1,
"trie_viewer_state_size_limit": 1,
"ttl_account_id_router": [
1
],
"tx_routing_height_horizon": 1,
"version": {
"build": "<string>",
"commit": "<string>",
"version": "<string>",
"rustc_version": ""
},
"view_client_threads": 1
},
"id": "<string>",
"jsonrpc": "<string>"
}