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.
Maintenance WindowsQuery the maintenance windows in current epoch for a validator.
You can access the JSON RPC 2.0 endpoints using Postman, JavaScript, and HTTPie. :::

Contact us​

If you have any questions, or simply would want to chat with us, please do through one of our official channels. Also, jump into our Discord server and join our Office Hours every weekday!