Connection info
Optionaloptions: Partial<RequestOptions>Gets access key changes for a given array of accountIds See docs for more info
Gets account changes for a given array of accountIds pass block_id OR finality as blockQuery, not both See docs for more info
Query changes in block from the RPC pass block_id OR finality as blockQuery, not both
Gets contract code changes for a given array of accountIds pass block_id OR finality as blockQuery, not both Note: Change is returned in a base64 encoded WASM file See docs for more info
Gets contract state changes for a given array of accountIds pass block_id OR finality as blockQuery, not both Note: If you pass a keyPrefix it must be base64 encoded See docs for more info
Gets the protocol config at a block from RPC
specifies the block to get the protocol config for
Gets a light client execution proof for verifying execution outcomes
Returns the next light client block as far in the future as possible from the last known hash to still be able to validate from that hash. This will either return the last block of the next epoch, or the last final known block.
Query the RPC by passing an RpcQueryRequest
Sends a signed transaction to the RPC and waits until transaction is fully complete
The signed transaction being sent
Sends a signed transaction to the RPC and immediately returns transaction hash See docs for more info
The signed transaction being sent
Sends a signed transaction to the RPC
The signed transaction being sent
Gets single access key changes for a given array of access keys pass block_id OR finality as blockQuery, not both See docs for more info
OptionalblockId: BlockIdQuery validators of an epoch.
Optionalparams: ViewValidatorsArgsObject specifying either a block or epoch to query.
{ blockId }: Block hash or height.{ epochId }: Epoch hash.null: Current epoch.
Client class to interact with the NEAR RPC API.
See
https://github.com/near/nearcore/tree/master/chain/jsonrpc