Archives: Docs

Docs

Accounts

Login with NEARIntroduction Please see the documentation for accounts for basic information. For exchanges, NEAR supports implicit account creation which allows the creation of accounts without paying for transactions. You can create an implicit account by following the steps in this guide. Accounts must have enough tokens to cover its storage which currently costs 0.0001 …

Accounts Read More »

RPC Endpoints

Login with NEARThe RPC API enables you to send transactions and query their status. Send transaction Sends transaction. Returns the guaranteed execution status and the results the blockchain can provide at the moment. method: send_tx params: signed_tx_base64: SignedTransaction encoded in base64 [Optional] wait_until: the required minimal execution level. Read more here. The default value is …

RPC Endpoints Read More »

Setup

Login with NEARIn order to use the RPC API you will need to setup the correct RPC endpoints. RPC Endpoint Setup POST for all methods JSON RPC 2.0 `- endpoint URL varies by network: mainnet https://rpc.mainnet.near.org testnet https://rpc.testnet.near.org betanet https://rpc.betanet.near.org (may be unstable) localnet http://localhost:3030 Limits Maximum number of requests per IP: 600 req/min Querying …

Setup Read More »

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 »

Protocol

Login with NEARThe RPC API enables you to retrieve the current genesis and protocol configuration. Genesis Config Returns current genesis configuration. method: EXPERIMENTAL_genesis_config params: none Example: “`json { “jsonrpc”: “2.0”, “id”: “dontcare”, “method”: “EXPERIMENTAL_genesis_config” } “` “`js const response = await near.connection.provider.experimental_genesisConfig(); “` “`bash http post https://rpc.testnet.near.org jsonrpc=2.0 id=dontcare method=EXPERIMENTAL_genesis_config “` Example response: “`json { …

Protocol 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 »

Scroll to Top