agent.owner_balance

owner_balance() → Balance

Retrieve the OKRW balance of the human owner's primary wallet.

Parameters

This method has no parameters.

Returns

Type: object

{ address, balance, balanceWei, unit } for the owner wallet: balance is a human-readable decimal OKRW string (e.g. "4800.129"), balanceWei is the same amount in base units as an integer string (atokrw on the testnet, where 1 wei = 1 atokrw), and unit is "OKRW".

Examples

Check Owner Balance

{}
ESC
Type to search