📘See the NEAR RPC API connection guide.
| Method | Notes | Compute Unit Value |
|---|
query (view_access_key) | Returns one access key for an account. | 5 |
query (view_access_key_list) | Returns all access keys for an account. | 5 |
EXPERIMENTAL_changes (single_access_key_changes) | Returns changes to one access key. | 10 |
EXPERIMENTAL_changes (all_access_key_changes) | Returns access-key changes for an account. | 10 |
| Method | Notes | Compute Unit Value |
|---|
query (view_account) | Returns the state of an account. | 5 |
EXPERIMENTAL_changes (account_changes) | Returns account-state changes over a block range. | 10 |
query (view_code) | Returns deployed contract code for an account. | 5 |
query (view_state) | Returns contract storage values by prefix. | 5 |
EXPERIMENTAL_changes (data_changes) | Returns contract data changes over a block range. | 10 |
EXPERIMENTAL_changes (contract_code_changes) | Returns contract code changes over a block range. | 10 |
query (call_function) | Calls a contract view function without changing state. | 5 |
| Method | Notes | Compute Unit Value |
|---|
block | Returns block details by height, hash, or finality. | 5 |
chunk | Returns a chunk by hash or block-shard identifier. | 1 |
EXPERIMENTAL_changes_in_block | Returns state changes recorded in one block. | 10 |
| Method | Notes | Compute Unit Value |
|---|
gas_price | Returns the gas price at a requested block or finality. | 5 |
EXPERIMENTAL_genesis_config | Returns the chain's genesis configuration. | 10 |
| Method | Notes | Compute Unit Value |
|---|
status | Returns node, network, and latest-block status. | 5 |
| Method | Notes | Compute Unit Value |
|---|
broadcast_tx_async | Broadcasts a signed transaction and returns its hash without waiting for execution. | 50 |
broadcast_tx_commit | Broadcasts a signed transaction and waits for the final execution outcome. | 100 |
tx | Returns a transaction's execution outcome by hash and sender. | 5 |
EXPERIMENTAL_tx_status | Returns transaction status with receipts by hash and sender. | 10 |
EXPERIMENTAL_receipt | Returns a receipt by receipt ID. | 10 |