Back to Sway

To Address

docs/reference/src/documentation/operations/asset/transfer/address.md

0.71.0390 B
Original Source

To Address

To use the function we must import it.

sway
{{#include ../../../../code/operations/asset_operations/src/lib.sw:transfer_import}}

To transfer some amount of an asset we specify the amount that we would like to transfer, the asset and the Address to send it to.

sway
{{#include ../../../../code/operations/asset_operations/src/lib.sw:transfer_to_address}}