Docs Category: 284

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 »

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 »

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 »

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 »

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 »

Access Keys

Login with NEARThe RPC API enables you to retrieve information about an account’s access keys. View access key Returns information about a single access key for given account. If permission of the key is FunctionCall, it will return more details such as the allowance, receiver_id, and method_names. method: query params: request_type: view_access_key finality OR block_id …

Access Keys Read More »

Scroll to Top