Index
Constructors
constructor
- new RPC(rpc_url, use_pending?): RPC
Parameters
- rpc_url: string
Optional use_pending: boolean = false
Returns RPC
Properties
headers
headers: Record<string, string>
Readonly rpc_url
rpc_url: string
Readonly use_pending
use_pending: boolean
Methods
call
- call(payload): Promise<Record<string, any>>
Parameters
- payload: Record<string, any>
Returns Promise<Record<string, any>>
\ No newline at end of file
+
Sends RPC requests to the RPC node, also has wrappers for actions that only read the network (write actions are handled by the Wallet class)
-