useTransferNativeToken
A hook to transfer native token (of the active chain) to another wallet
Example
Returns
A Mutation object to transfer native tokens
options
The mutation function takes an object containing to
and amount
properties.
to
- The wallet address to transfer tokens to. Must be astring
.amount
- The amount of tokens to transfer. Must be anumber
.