Parameters
- finalitystring
The assurance that the transaction cannot be altered, reversed, or canceled after completion. For finality=final, it means that it has been validated on at least 66% of the nodes in the network, and for finality=optimistic, it uses the latest block recorded on the node that responded to the query passed
- block_idint/string
The block id which could be either a block number or a block hash
Returns
- avg_hidden_validator_seats_per_shardarray
(Optional) The average number of hidden validator seats that are allocated to each shard in the network
- block_producer_kickout_thresholdinteger
The number of blocks that a block producer node can miss before being removed from the active validator set
- chain_idstring
The id of the chain
- chunk_producer_kickout_thresholdinteger
The number of chunks that a chunk producer node can miss before being removed from the active validator set
- dynamic_reshardingboolean
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_lengthinteger
The length of an epoch in the NEAR Protocol
- fishermen_thresholdstring
The minimum number of validation failures required for a validator node to be reported as a fisherman in the NEAR Protocol
- gas_limitinteger
The maximum amount of gas that can be used for a single transaction
- gas_price_adjustment_ratearray
The rate at which the gas price can adjust over time
- genesis_heightinteger
The block height at which the genesis state was created
- genesis_timestring
The timestamp of the genesis block in the NEAR Protocol
- max_gas_pricestring
The maximum gas price allowed for a single transaction
- max_inflation_ratearray
The maximum annual inflation rate for the NEAR Protocol token supply
- min_gas_pricestring
The minimum gas price allowed for a single transaction
- minimum_stake_divisorinteger
The minimum divisor for staking
- num_block_producer_seatsinteger
The total number of block producer seats available in the NEAR Protocol
- num_block_producer_seats_per_shardarray
(Optional) The number of block producer seats available per shard in the NEAR Protocol
- num_blocks_per_yearinteger
The expected number of blocks to be created in a single year
- online_max_thresholdarray
The maximum percentage of validators that can be online at any given time in the NEAR Protocol
- online_min_thresholdarray
The minimum percentage of validators that can be online at any given time in the NEAR Protocol
- protocol_reward_ratearray
The rate at which new tokens are minted and distributed as rewards to validators and other network participants
- protocol_treasury_accountstring
The address of the account that holds the protocol treasury
- protocol_upgrade_stake_thresholdarray
The minimum amount of stake required to initiate a protocol upgrade
- protocol_versioninteger
The current version of the protocol
- runtime_configobject
The set of runtime configuration options
- account_creation_configobject
It is used to specify the configuration options
- min_allowed_top_level_account_lengthinteger
The minimum length of top-level account names
- registrar_account_idstring
It is used to specify the account that will be responsible for registering new account names
- storage_amount_per_bytestring
It is used to specify the amount of NEAR tokens that will be required to store one byte of data on NEAR chain
- transaction_costsobject
The gas costs associated with various operations on NEAR chain
- action_creation_configobject
The configuration options for creating new actions on the NEAR chain
- add_key_costobject
The cost of adding a new public key to an existing account
- full_access_costobject
The cost of granting full access to an account on NEAR chain
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- function_call_costobject
The base cost of calling a function on the NEAR chain
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- function_call_cost_per_byteobject
The additional cost of calling a function based on the size of the function's input data
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- create_account_costobject
The cost of creating a new account on the NEAR chain
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- delegate_costobject
The cost of delegating stake to a validator
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- delete_account_costobject
The cost of deleting an account on the NEAR chain
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- delete_key_costobject
The cost of deleting a public key from an account on the NEAR chain
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- deploy_contract_costobject
The base cost of deploying a new smart contract on the NEAR chain
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- deploy_contract_cost_per_byteobject
The additional cost of deploying a smart contract based on the size of its code
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- function_call_costobject
The base cost of calling a function
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- function_call_cost_per_byteobject
The additional cost of calling a function based on the size of the function's input data
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- stake_costobject
The cost of staking NEAR tokens to participate in the network's consensus process
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- transfer_costobject
The cost of transferring NEAR tokens between accounts on the network
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- action_receipt_creation_configobject
The configuration for the creation of action receipts
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- burnt_gas_rewardinteger
(Optional) The amount of NEAR tokens that are rewarded to validators for burning gas during transaction execution
- data_receipt_creation_configobject
The configuration for the creation of data receipts
- base_costobject
The base cost is the minimum amount of gas required to execute a transaction, regardless of the complexity of the transaction
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- cost_per_byteobject
The cost per byte of data that is included in a transaction
- executioninteger
The execution context for a given operation
- send_not_sirinteger
The gas cost associated with sending a transaction to an account that does not require a specific function to be called
- send_sirinteger
The gas cost associated with sending a transaction to an account that requires a specific function to be called
- pessimistic_gas_price_inflation_ratiointeger
(Optional) The maximum ratio by which the gas price can be inflated during transaction execution
- storage_usage_configobject
The amount of space used to store data on the blockchain
- num_bytes_accountinteger
(Optional) The maximum number of bytes that can be used to store an account on the blockchain
- num_extra_bytes_recordinteger
(Optional) The maximum number of extra bytes that can be used to store additional information in a record on the blockchain
- wasm_configobject
The configuration for running WebAssembly (Wasm) smart contracts on the NEAR chain
- ext_costsobject
The extra costs associated with executing a transaction
- alt_bn128_g1_multiexp_baseinteger
The base point for a multi-exponentiation operation on the alt_bn128 elliptic curve
- alt_bn128_g1_multiexp_elementinteger
The list of scalar values to be used in a multi-exponentiation operation on the alt_bn128 elliptic curve
- alt_bn128_g1_sum_baseinteger
The base point for a sum operation on the alt_bn128 elliptic curve
- alt_bn128_g1_sum_elementinteger
The list of points to be used in a sum operation on the alt_bn128 elliptic curve
- alt_bn128_pairing_check_baseinteger
The base points for a pairing check operation on the alt_bn128 elliptic curve
- alt_bn128_pairing_check_elementinteger
The list of points to be used in a pairing check operation on the alt_bn128 elliptic curve
- baseinteger
The base fee for a transaction
- contract_compile_baseinteger
The base cost for compiling a smart contract on the NEAR chain
- contract_compile_bytesinteger
(Optional) The cost per byte of code that is compiled for a smart contract on the NEAR chain
- contract_loading_baseinteger
The base cost for loading a smart contract into memory on the NEAR chain
- contract_loading_bytesinteger
(Optional) The cost per byte of code that is loaded into memory for a smart contract on the NEAR chain
- ecrecover_baseinteger
The base cost for performing an ECDSA signature recovery operation
- ed25519_verify_baseinteger
The base cost for verifying an Ed25519 signature on the NEAR chain
- ed25519_verify_byteinteger
The cost per byte of message that is verified for an Ed25519 signature on the NEAR chain
- keccak256_baseinteger
The base cost for computing the Keccak-256 hash of a message on the NEAR chain
- keccak256_byteinteger
The cost per byte of message that is hashed using Keccak-256 on the NEAR chain
- keccak512_baseinteger
The base cost for computing the Keccak-512 hash of a message on the NEAR chain
- keccak512_byteinteger
The cost per byte of message that is hashed using Keccak-512 on the NEAR chain
- log_baseinteger
The base cost for writing a log entry on the NEAR chain
- log_byteinteger
The cost per byte of data that is written to a log entry on the NEAR the cost per byte of data that is written to a log entry on the NEAR chain
- promise_and_baseinteger
The base cost for creating a promise on the NEAR chain
- promise_and_per_promiseinteger
The additional cost per promise created in a smart contract on the NEAR chain
- promise_returninteger
The cost for returning a promise result to the caller of a smart contract on the NEAR chain
- read_cached_trie_nodeinteger
The cost for reading a node from the trie data structure that is used to store account and contract state on the NEAR chain
- read_memory_baseinteger
The base cost for reading data from memory in a smart contract
- read_memory_byteinteger
The cost per byte of data that is read from memory in a smart contract
- read_register_baseinteger
The base cost for reading a value from a register in a smart contract
- read_register_byteinteger
The cost per byte of data that is read from a register in a smart contract
- ripemd160_baseinteger
The base cost for performing the RIPEMD-160 cryptographic hash function in a smart contract
- ripemd160_blockinteger
The additional cost per block of data that is processed by the RIPEMD-160 hash function in a smart contract
- sha256_baseinteger
The base cost for performing the SHA-256 cryptographic hash function in a smart contract
- sha256_byteinteger
The additional cost per byte of data that is processed by the SHA-256 hash function in a smart contract
- storage_has_key_baseinteger
The base cost for checking if a key exists in the persistent storage of a smart contract
- storage_has_key_byteinteger
The additional cost per byte of data that is checked when verifying if a key exists in the persistent storage of a smart contract
- storage_iter_create_from_byteinteger
The base cost for creating a new storage iterator that starts from a given byte key in the persistent storage of a smart contract
- storage_iter_create_prefix_baseinteger
The base cost for creating a new storage iterator that iterates over all keys in the persistent storage of a smart contract
- storage_iter_create_prefix_byteinteger
The additional cost per byte of the prefix used to create a new storage iterator that iterates over all keys in the persistent storage of a smart contract
- storage_iter_create_range_baseinteger
The base cost for creating a new storage iterator that iterates over a range of keys in the persistent storage of a smart contract
- storage_iter_create_to_byteinteger
The base cost for creating a new storage iterator that stops at a given byte key in the persistent storage of a smart contract
- storage_iter_next_baseinteger
The base cost for advancing the iterator to the next key in the persistent storage of a smart contract
- storage_iter_next_key_byteinteger
The additional cost per byte of the key returned by the iterator when advancing to the next key in the persistent storage of a smart contract
- storage_iter_next_value_byteinteger
The additional cost per byte of the value returned by the iterator when advancing to the next key in the persistent storage of a smart contract
- storage_read_baseinteger
The base cost for reading a value from the persistent storage of a smart contract
- storage_read_key_byteinteger
The additional cost per byte of the key used to read a value from the persistent storage of a smart contract
- storage_read_value_byteinteger
The additional cost per byte of the value read from the persistent storage of a smart contract
- storage_remove_baseinteger
The base cost for removing a key-value pair from the persistent storage of a smart contract
- storage_remove_key_byteinteger
The additional cost per byte of the key used to remove a key-value pair from the persistent storage of a smart contract
- storage_remove_ret_value_byteinteger
The additional cost per byte of the value returned when removing a key-value pair from the persistent storage of a smart contract
- storage_write_baseinteger
The base cost for writing to storage
- storage_write_evicted_byteinteger
The cost per byte for evicted storage write operations
- storage_write_key_byteinteger
The cost per byte for writing a key to storage
- storage_write_value_byteinteger
The cost per byte for writing a value to storage
- touching_trie_nodeinteger
The cost for touching a trie node during a state access
- utf16_decoding_baseinteger
The base cost for UTF-16 decoding
- utf16_decoding_byteinteger
The cost per byte for UTF-16 decoding
- utf8_decoding_baseinteger
The base cost for UTF-8 decoding
- utf8_decoding_byteinteger
The cost per byte for UTF-8 decoding
- validator_stake_baseinteger
The base cost for a validator's stake
- validator_total_stake_baseinteger
The base cost for the total stake in the network
- write_memory_baseinteger
The base cost for writing to memory
- write_memory_byteinteger
The cost per byte for writing to memory
- write_register_baseinteger
The base cost for writing to a register
- write_register_byteinteger
The cost per byte for writing to a register
- grow_mem_costinteger
The cost for growing memory
- limit_configobject
The configuration for various resource limits, such as the maximum number of contract calls per transaction and the maximum number of contract state changes per block
- account_id_validity_rules_versioninteger
(Optional) The version of the account ID validity rules
- initial_memory_pagesinteger
The initial number of memory pages allocated to a contract
- max_actions_per_receiptinteger
The maximum number of actions that can be included in a single receipt
- max_arguments_lengthinteger
(Optional) The maximum length of arguments that can be passed to a function call
- max_contract_sizeinteger
The maximum size of a contract that can be deployed on the network
- max_functions_number_per_contractinteger
The maximum number of functions that can be defined in a single contract
- max_gas_burntinteger
(Optional) The maximum amount of gas that can be consumed by a single transaction or contract call
- max_length_method_nameinteger
(Optional) The maximum length of a method name
- max_length_returned_datainteger
(Optional) The maximum length of the data that can be returned by a function call
- max_length_storage_keyinteger
(Optional) The maximum length of a storage key
- max_length_storage_valueinteger
(Optional) The maximum length of a storage value
- max_locals_per_contractinteger
The maximum number of local variables that can be defined in a single contract function
- max_memory_pagesinteger
The maximum number of memory pages that can be allocated to a contract
- max_number_bytes_method_namesinteger
(Optional) The maximum number of bytes that can be used to represent method names across all functions in a single contract
- max_number_input_data_dependenciesinteger
The maximum number of input data dependencies that can be included in a single contract function call
- max_number_logsinteger
The maximum number of logs that can be emitted by a single contract function call
- max_number_registersinteger
The maximum number of registers that can be used in a single contract function
- max_promises_per_function_call_actioninteger
The maximum number of promises that can be created in a single contract function call
- max_register_sizeinteger
The maximum size of a single register
- max_stack_heightinteger
(Optional) The maximum allowed height of the runtime execution stack
- max_total_log_lengthinteger
(Optional) The maximum total length of all logs that can be emitted during a single transaction
- max_total_prepaid_gasinteger
(Optional) The maximum amount of gas that can be prepaid for a single transaction
- max_transaction_sizeinteger
The maximum allowed size of a single transaction in bytes
- registers_memory_limitinteger
The maximum amount of memory that can be used for register storage
- stack_limiter_versioninteger
(Optional) The version of the stack limiter algorithm used in the protocol
- wasmer2_stack_limitinteger
(Optional) The maximum stack size allowed by the Wasmer 2 runtime
- regular_op_costinteger
The base cost for executing a regular operation
- transaction_validity_periodinteger
The validity period of a transaction, after which it cannot be included in a block