Module methods

Module methods 

Source
Expand description

This module contains all the RPC methods.

Modules§

EXPERIMENTAL_changes
Returns account changes from transactions in a given account.
EXPERIMENTAL_changes_in_block
Returns the changes in a block.
EXPERIMENTAL_genesis_config
Queries the genesis config of the network.
EXPERIMENTAL_protocol_config
Queries the protocol config of the blockchain at a given block.
EXPERIMENTAL_receipt
Fetches a receipt by it’s ID
EXPERIMENTAL_tx_status
Queries the status of a transaction.
EXPERIMENTAL_validators_ordered
Returns the ordered validators of a block.
block
Queries data from a specific block on the network.
broadcast_tx_async
Sends asynchronous transactions.
broadcast_tx_commit
Sends blocking transactions.
chunk
Returns details of a specific chunk.
gas_price
Returns the gas price for a specific block height or block hash.
health
Requests the health status of the RPC node.
light_client_proof
Returns the proofs for a transaction execution.
network_info
Queries the current state of node network connections.
next_light_client_block
Returns the next light client block.
query
This module allows you to make generic requests to the network.
sandbox_fast_forward
Fast forwards a sandboxed node by a specific height.
sandbox_patch_state
Patch account, access keys, contract code, or contract state.
send_tx
Sends a transaction.
status
Requests the status of the connected RPC node.
tx
Queries the status of a transaction.
validators
Queries active validators on the network.

Structs§

RpcAnyRequest

Traits§

RpcHandlerError
A trait identifying valid NEAR JSON-RPC errors.
RpcHandlerResponse
A trait identifying valid NEAR JSON-RPC method responses.
RpcMethod
A trait identifying valid NEAR JSON-RPC methods.

Functions§

any
to_json
Converts an RPC Method into JSON.