Archives: Docs

Docs

RPC Providers

Login with NEARThere are multiple RPC providers from which you can choose from. These providers will work as intermediaries to help you interact with the NEAR network. You’ll experience different latency levels depending on the provider’s location. You can potentially use multiple providers for redundancy and balancing. tip If you want to use a custom …

RPC Providers Read More »

Protocol

Login with NEARThe RPC API enables you to retrieve the current genesis and protocol configuration. Genesis Config Returns current genesis configuration. method: EXPERIMENTAL_genesis_config params: none Example: “`json { “jsonrpc”: “2.0”, “id”: “dontcare”, “method”: “EXPERIMENTAL_genesis_config” } “` “`js const response = await near.connection.provider.experimental_genesisConfig(); “` “`bash http post https://rpc.testnet.near.org jsonrpc=2.0 id=dontcare method=EXPERIMENTAL_genesis_config “` Example response: “`json { …

Protocol Read More »

Maintenance Windows

Login with NEARThe RPC API enables you to query future maintenance windows for a specific validator in current epoch Maintenance windows The maintenance windows for a specific validator are future block height ranges in current epoch, in which the validator does not need produce block or chunk If the provided account is not a validator, …

Maintenance Windows Read More »

Network

Login with NEARThe RPC API enables you to query status information for nodes and validators. Node Status Returns general status of a given node (sync status, nearcore node version, protocol version, etc), and the current set of validators. method: status params: [] Example: “`json { “jsonrpc”: “2.0”, “id”: “dontcare”, “method”: “status”, “params”: [] } “` …

Network Read More »

NEAR RPC API

Login with NEARThe RPC API allows you to communicate directly with the NEAR network. For example, tools such as near-api-js are just abstractions making RPC calls. RPC Providers There are multiple RPC providers which you can choose from. These providers will work as intermediaries to help you interact with the NEAR network. NEAR RPC – …

NEAR RPC API Read More »

Gas

Login with NEARThe RPC API enables you to query the gas price for a specific block or hash. Gas Price Returns gas price for a specific block_height or block_hash. Using [null] will return the most recent block’s gas price. method: gas_price params: [block_height], [“block_hash”], or [null] [block_height] “`json { “jsonrpc”: “2.0”, “id”: “dontcare”, “method”: “gas_price”, …

Gas Read More »

Block / Chunk

Login with NEARThe RPC API enables you to query the network and get details about specific blocks or chunks. Block details Queries network and returns block for given height or hash. You can also use finality param to return latest block details. Note: You may choose to search by a specific block or finality, you …

Block / Chunk Read More »

Accounts / Contracts

Login with NEARThe RPC API enables you to view details about accounts and contracts as well as perform contract calls. View account Returns basic account information. method: query params: request_type: view_account finality OR block_id account_id: “example.testnet” Example: “`json { “jsonrpc”: “2.0”, “id”: “dontcare”, “method”: “query”, “params”: { “request_type”: “view_account”, “finality”: “final”, “account_id”: “nearkat.testnet” } } …

Accounts / Contracts Read More »

Tools

Login with NEARWelcome! The NEAR ecosystem has a complete set of tools for you to make the most out of the NEAR network. In this page you will find: Wallets to handle your assets. Explorers to quickly obtain information from the blockchain. Websites to simplify creating and participating on governance projects. Developer tools to deploy …

Tools Read More »

Scroll to Top