Runtime Pallets
AssetsExt
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
api.tx.assetsExt.burnFrom
function burnFrom(
asset_id: u32,
who: SeedPrimitivesSignatureAccountId20,
amount: Compact<u128>
)
api.tx.assetsExt.createAsset
function createAsset(
name: Bytes,
symbol: Bytes,
decimals: u8,
min_balance: Option<u128>,
owner: Option<SeedPrimitivesSignatureAccountId20>
)
api.tx.assetsExt.mint
function mint(
asset_id: u32,
beneficiary: SeedPrimitivesSignatureAccountId20,
amount: Compact<u128>
)
api.tx.assetsExt.setAssetDeposit
function setAssetDeposit(
asset_deposit: u128
)
api.tx.assetsExt.transfer
function transfer(
asset_id: u32,
destination: SeedPrimitivesSignatureAccountId20,
amount: Compact<u128>,
keep_alive: bool
)
api.query.assetsExt.assetDeposit
function assetDeposit(
): u128
api.query.assetsExt.holds
function holds(
u32,
SeedPrimitivesSignatureAccountId20
): Vec<([u8;8],u128)>
api.query.assetsExt.nextAssetId
function nextAssetId(
): u32
api.events.assetsExt.AssetDepositSet
type AssetDepositSet = {
asset_deposit: u128
}
api.events.assetsExt.CreateAsset
type CreateAsset = {
asset_id: u32,
creator: SeedPrimitivesSignatureAccountId20,
initial_balance: u128
}
api.events.assetsExt.InternalDeposit
type InternalDeposit = {
asset_id: u32,
who: SeedPrimitivesSignatureAccountId20,
amount: u128
}
api.events.assetsExt.InternalWithdraw
type InternalWithdraw = {
asset_id: u32,
who: SeedPrimitivesSignatureAccountId20,
amount: u128
}
api.events.assetsExt.PlaceHold
type PlaceHold = {
asset_id: u32,
who: SeedPrimitivesSignatureAccountId20,
amount: u128,
pallet_id: [u8;8]
}
api.events.assetsExt.ReleaseHold
type ReleaseHold = {
asset_id: u32,
who: SeedPrimitivesSignatureAccountId20,
amount: u128,
pallet_id: [u8;8]
}
api.events.assetsExt.SpendHold
type SpendHold = {
asset_id: u32,
who: SeedPrimitivesSignatureAccountId20,
spends: Vec<(SeedPrimitivesSignatureAccountId20,u128)>,
pallet_id: [u8;8]
}
api.events.assetsExt.SplitTransfer
type SplitTransfer = {
asset_id: u32,
who: SeedPrimitivesSignatureAccountId20,
transfers: Vec<(SeedPrimitivesSignatureAccountId20,u128)>
}
api.errors.assetsExt.BalanceLow
api.errors.assetsExt.CreateAssetFailed
api.errors.assetsExt.DecimalsTooHigh
api.errors.assetsExt.MaxHolds
api.errors.assetsExt.NoAccount
api.errors.assetsExt.NoAvailableIds
api.errors.assetsExt.NoPermission
api.errors.assetsExt.Overflow
api.consts.assetsExt.maxHolds
type maxHolds = u32
api.consts.assetsExt.nativeAssetId
type nativeAssetId = u32
api.consts.assetsExt.palletId
type palletId = FrameSupportPalletId
Was this page helpful?