Transfer Native Token
Using ethers-io
Transferring native tokens like ETH
is quite straightforward. One can use the token transfer methods provided by libraries like ethers
.
For more detailed information about ethers
, please refer to the link: ethers-io.
Using Nectar SDK
Properties
ticker
The ticker of the token to transfer
requestAmount
The amount to transfer in the base (human-readable) unit
symbol
(optional)Market symbol can be specified. If not specified, it will use the market information for the market that is first found with the ticker.
signer
(optional)It's possible to specify a wallet other than the default user wallet provided by the Nectar SDK.
market
(optional)Directly specifying the market can reduce the load caused by market queries.