Skip to main content

EXPERIMENTAL_genesis_config RPC Method

Returns the current genesis and protocol configuration.

Updated on
Oct 04, 2023

Parameters

This method does not accept any parameters

Returns

avg_hidden_validator_seats_per_shard
array

(Optional) The average number of hidden validator seats that are allocated to each shard in the network

block_producer_kickout_threshold
integer

The number of blocks that a block producer node can miss before being removed from the active validator set

chain_id
string

The id of the chain

chunk_producer_kickout_threshold
integer

The number of chunks that a chunk producer node can miss before being removed from the active validator set

dynamic_resharding
boolean

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
integer

The length of an epoch in the NEAR Protocol

fishermen_threshold
string

The minimum number of validation failures required for a validator node to be reported as a fisherman in the NEAR Protocol

gas_limit
integer

The maximum amount of gas that can be used for a single transaction

gas_price_adjustment_rate
array

The rate at which the gas price can adjust over time

genesis_height
integer

The block height at which the genesis state was created

genesis_time
string

The timestamp of the genesis block in the NEAR Protocol

max_gas_price
string

The maximum gas price allowed for a single transaction

max_inflation_rate
array

The maximum annual inflation rate for the NEAR Protocol token supply

max_kickout_stake_perc
integer

The maximum percentage of total staked tokens that can be kicked out of the validation pool

min_gas_price
string

The minimum gas price allowed for a single transaction

minimum_stake_divisor
integer

The minimum divisor for staking

minimum_stake_ratio
array

The minimum stake required to become a validator in the NEAR Protocol

minimum_validators_per_shard
integer

The minimum number of validators required per shard in the NEAR Protocol

num_block_producer_seats
integer

The total number of block producer seats available in the NEAR Protocol

num_block_producer_seats_per_shard
array

(Optional) The number of block producer seats available per shard in the NEAR Protocol

num_blocks_per_year
integer

The expected number of blocks to be created in a single year

num_chunk_only_producer_seats
integer

(Optional) The total number of chunk-only producer seats available

online_max_threshold
array

The maximum percentage of validators that can be online at any given time in the NEAR Protocol

online_min_threshold
array

The minimum percentage of validators that can be online at any given time in the NEAR Protocol

protocol_reward_rate
array

The rate at which new tokens are minted and distributed as rewards to validators and other network participants

protocol_treasury_account
string

The address of the account that holds the protocol treasury

protocol_upgrade_num_epochs
integer

(Optional) The number of epochs that must pass before a protocol upgrade can be activated in the NEAR Protocol

protocol_upgrade_stake_threshold
array

The minimum amount of stake required to initiate a protocol upgrade

protocol_version
integer

The current version of the protocol

shard_layout
object

The current layout of the shards in the NEAR Protocol

v0
object

(Optional) It contains the configuration options related to the initial launch of the NEAR Protocol

num_shards
integer

(Optional) The current number of shards in the NEAR network

version
integer

(Optional) The version number

total_supply
string

The total number of NEAR tokens in circulation

transaction_validity_period
integer

The maximum amount of time (in seconds) that a transaction is considered valid by the network

use_production_config
boolean

It is a boolean that indicates whether the current configuration is intended for production use

validators
array

An array that contains information about the validators on the NEAR network

account_id
string

The account id

amount
string

The amount of NEAR tokens involved in a transaction

public_key
string

The public key associated with a NEAR account

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free