Skip to main content

EXPERIMENTAL_genesis_config RPC Method

Returns the current genesis and protocol configuration.

Updated on
Oct 4, 2023

EXPERIMENTAL_genesis_config RPC Method

Parameters

This method does not accept any parameters

Returns

avg_hidden_validator_seats_per_shard
The average number of hidden validator seats that are allocated to each shard in the network
block_producer_kickout_threshold
The number of blocks that a block producer node can miss before being removed from the active validator set
chain_id
The id of the chain
chunk_producer_kickout_threshold
The number of chunks that a chunk producer node can miss before being removed from the active validator set
dynamic_resharding
It is a boolean value that indicates whether dynamic resharding is enabled in the NEAR Protocol, allowing on-demand reshuffling of shards for optimal network performance
epoch_length
The length of an epoch in the NEAR Protocol
fishermen_threshold
The minimum number of validation failures required for a validator node to be reported as a fisherman in the NEAR Protocol
gas_limit
The maximum amount of gas that can be used for a single transaction
gas_price_adjustment_rate
The rate at which the gas price can adjust over time
genesis_height
The block height at which the genesis state was created
genesis_time
The timestamp of the genesis block in the NEAR Protocol
max_gas_price
The maximum gas price allowed for a single transaction
max_inflation_rate
The maximum annual inflation rate for the NEAR Protocol token supply
max_kickout_stake_perc
The maximum percentage of total staked tokens that can be kicked out of the validation pool
min_gas_price
The minimum gas price allowed for a single transaction
minimum_stake_divisor
The minimum divisor for staking
minimum_stake_ratio
The minimum stake required to become a validator in the NEAR Protocol
minimum_validators_per_shard
The minimum number of validators required per shard in the NEAR Protocol
num_block_producer_seats
The total number of block producer seats available in the NEAR Protocol
num_block_producer_seats_per_shard
The number of block producer seats available per shard in the NEAR Protocol
num_blocks_per_year
The expected number of blocks to be created in a single year
num_chunk_only_producer_seats
The total number of chunk-only producer seats available
online_max_threshold
The maximum percentage of validators that can be online at any given time in the NEAR Protocol
online_min_threshold
The minimum percentage of validators that can be online at any given time in the NEAR Protocol
protocol_reward_rate
The rate at which new tokens are minted and distributed as rewards to validators and other network participants
protocol_treasury_account
The address of the account that holds the protocol treasury
protocol_upgrade_num_epochs
The number of epochs that must pass before a protocol upgrade can be activated in the NEAR Protocol
protocol_upgrade_stake_threshold
The minimum amount of stake required to initiate a protocol upgrade
protocol_version
The current version of the protocol
shard_layout
The current layout of the shards in the NEAR Protocol
v0
It contains the configuration options related to the initial launch of the NEAR Protocol
num_shards
The current number of shards in the NEAR network
version
The version number
total_supply
The total number of NEAR tokens in circulation
transaction_validity_period
The maximum amount of time (in seconds) that a transaction is considered valid by the network
use_production_config
It is a boolean that indicates whether the current configuration is intended for production use
validators
An array that contains information about the validators on the NEAR network
account_id
The account id
amount
The amount of NEAR tokens involved in a transaction
public_key
The public key associated with a NEAR account
Request
1
curl https://docs-demo.near-mainnet.quiknode.pro/ \
2
--request POST \
3
--header "Content-Type: application/json" \
4
--data '{"method":"EXPERIMENTAL_genesis_config","id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free