Overview
Sending assets uses the standardwallet.send() method. Specify the recipient address, an optional BTC amount (in satoshis), and the assets to transfer. The recipient does not need to be online.
Setup
Import the SDK and create a wallet:Your wallet needs an offchain balance to cover transaction fees. See Receiving Payments to fund your wallet.
Receive Assets
You can either receive assets directly to your Arkade address, or issue a new asset:Send a Partial Amount
Transfer some units of an asset to another wallet. The remaining units stay in your wallet as change.Send All Units
First, calculate your remaining balance:Send with BTC
Attach a BTC amount alongside the asset transfer:Send Multiple Assets
Pass multiple entries in theassets array to send several assets in one transaction: