wallet
Wallet RPC methods
getBalance
Gets the balance of the account.
Parameters
Parameter | Type | Description |
address | string | FIL address of the account |
transfer
Transfers tokens to another account
Parameters
Parameter | Type | Description |
to | string | Receiver's account |
amount | BigNumber | Amount to transfer |
gasLimit | number | Gas limit value |
privateKey | string | Private key of the sender |
network | Network | mainnet or testnet |
waitMsg | boolean | Boolean indicating whether to wait for the message to confirm or not |
Last updated