Assets Pallet Extrinsics
Transfer
Transfer amount
of asset
from origin
to dest
.
Errors
- When
origin
is not signed. - If the account has insufficient free balance to make the transfer, or if
keep_alive
cannot be respected. - If the
dest
cannot be looked up.
Transfer Native
Transfer amount
of the native asset from origin
to dest
. This is slightly
cheaper to call, as it avoids an asset lookup.
Errors
- When
origin
is not signed. - If the account has insufficient free balance to make the transfer, or if
keep_alive
cannot be respected. - If the
dest
cannot be looked up.
Force Transfer
Transfer amount
of the asset
from origin
to dest
. This requires root.
Errors
- When
origin
is not root. - If the account has insufficient free balance to make the transfer, or if
keep_alive
cannot be respected. - If the
dest
cannot be looked up.
Force Transfer Native
Transfer amount
of the the native asset from origin
to dest
. This requires root.
Errors
- When
origin
is not root. - If the account has insufficient free balance to make the transfer, or if
keep_alive
cannot be respected. - If the
dest
cannot be looked up.
Transfer All
Transfer all free balance of the asset
from origin
to dest
.
Errors
- When
origin
is not signed. - If the
dest
cannot be looked up.
Transfer All Native
Transfer all free balance of the native asset from origin
to dest
.
Errors
- When
origin
is not signed. - If the
dest
cannot be looked up.
Mint Initialize
Creates a new asset, minting amount
of funds into the dest
account. Intented to be
used for creating wrapped assets, not associated with any project.
Mint Initialize With Governance
mint_initialize_with_governance
Creates a new asset, minting amount
of funds into the dest
account. The dest
account can use the democracy pallet to mint further assets, or if the governance_origin
is set to an owned account, using signed transactions. In general the
governance_origin
should be generated from the pallet id.
Mint Into
Mints amount
of asset_id
into the dest
account.
Burn From
Mints amount
of asset_id
into the dest
account.