NEAR RPC API

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import ContactUs from '@site/src/components/ContactUs.mdx';

The 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.


APIDescription

Access Keys

Retrieve information about an account's access keys.

Accounts / Contracts

View details about accounts and contracts as well as perform contract calls.

Block / Chunk

Query the network and get details about specific blocks or chunks.

Gas

Get gas price for a specific block or hash.

Protocol

Retrieve current genesis and protocol configuration.

Network

Return status information for nodes and validators.

Transactions

Send transactions and query their status.

Maintenance Windows

Query the maintenance windows in current epoch for a validator.

:::tip You can access the JSON RPC 2.0 endpoints using Postman, JavaScript, and HTTPie. :::