Skip to main content

NEAR RPC API

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 KeysRetrieve information about an account's access keys.
Accounts / ContractsView details about accounts and contracts as well as perform contract calls.
Block / ChunkQuery the network and get details about specific blocks or chunks.
GasGet gas price for a specific block or hash.
ProtocolRetrieve current genesis and protocol configuration.
NetworkReturn status information for nodes and validators.
TransactionsSend transactions and query their status.
tip

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

Was this page helpful?