Methods
balance
- balance(accountId: string): Promise<{ available: string; staked: string; stateStaked: string; total: string }>
Parameters
Returns Promise<{ available: string; staked: string; stateStaked: string; total: string }>
view
- view(contractId: string, methodName: string, args?: unknown): Promise<any>
Parameters
contractId: string
methodName: string
Optional args: unknown
Returns Promise<any>