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.
NEAR RPC - Quick Links
API | Description |
---|---|
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. |
mẹo
You can access the JSON RPC 2.0 endpoints using Postman, JavaScript, and HTTPie.