Properties
Optional
DECIMALS
DECIMALS?: number
use_pending
use_pending: boolean
Methods
call
- call(payload): Promise<Record<string, string>>
Parameters
- payload: Record<string, any>
Returns Promise<Record<string, string>>
get_account_info
- get_account_info(account, include_confirmed?, representative?, weight?, pending?): Promise<AccountInfoRPC>
Parameters
- account: `ban_${string}` | `nano_${string}`
Optional
include_confirmed: booleanOptional
representative: booleanOptional
weight: booleanOptional
pending: boolean
Implement this interface if the built-in RPC class does not fit your needs. The easiest way to do this is by just extending the built-in RPC class