callContract
Recommended unified contract-call entry on wallet client.
const result = await walletClient.callContract({
contract: 'token.iost',
action: 'transfer',
args: ['iost', 'from', 'to', '1', 'memo'],
gasRatio: 1,
gasLimit: 2000000,
})Returns:
{ hash: string }