Skip to content

AssetsExt pallet

Derived from live runtime metadata on TRN root (pallet index 7, captured 2026-05-02). For prose-style documentation see AssetsExt on the curated reference side.

Pallet index
7
Calls
5
Events
8
Errors
8
Storage items
3
Constants
3

Calls (extrinsics)

AssetsExt.set_asset_deposit

See [Pallet::set_asset_deposit].

ts
api.tx.assetsExt.set_asset_deposit(asset_deposit: u128)
ArgumentTypeDoc
asset_depositu128DepositBalanceOf<T>

Call index: 0

AssetsExt.create_asset

See [Pallet::create_asset].

ts
api.tx.assetsExt.create_asset(name: Bytes, symbol: Bytes, decimals: u8, min_balance: Option<u128>, owner: Option<SeedPrimitivesSignatureAccountId20>)
ArgumentTypeDoc
nameBytesVec<u8>
symbolBytesVec<u8>
decimalsu8u8
min_balanceOption&lt;u128&gt;Option<Balance>
ownerOption&lt;SeedPrimitivesSignatureAccountId20&gt;Option<T::AccountId>

Call index: 1

AssetsExt.mint

See [Pallet::mint].

ts
api.tx.assetsExt.mint(asset_id: u32, beneficiary: [u8;20], amount: Compact<u128>)
ArgumentTypeDoc
asset_idu32AssetId
beneficiary[u8;20]AccountIdLookupOf<T>
amountCompact&lt;u128&gt;Balance

Call index: 2

AssetsExt.transfer

See [Pallet::transfer].

ts
api.tx.assetsExt.transfer(asset_id: u32, destination: [u8;20], amount: Compact<u128>, keep_alive: bool)
ArgumentTypeDoc
asset_idu32AssetId
destination[u8;20]T::AccountId
amountCompact&lt;u128&gt;Balance
keep_aliveboolbool

Call index: 3

AssetsExt.burn_from

See [Pallet::burn_from].

ts
api.tx.assetsExt.burn_from(asset_id: u32, who: [u8;20], amount: Compact<u128>)
ArgumentTypeDoc
asset_idu32AssetId
who[u8;20]AccountIdLookupOf<T>
amountCompact&lt;u128&gt;Balance

Call index: 4

Events

AssetsExt.PlaceHold

Some assets have been placed on hold by a pallet

FieldTypeDoc
asset_idu32
who[u8;20]
amountu128
pallet_id[u8;8]

AssetsExt.ReleaseHold

Some held assets have been released by a pallet

FieldTypeDoc
asset_idu32
who[u8;20]
amountu128
pallet_id[u8;8]

AssetsExt.SpendHold

Some held assets were spend by a pallet

FieldTypeDoc
asset_idu32
who[u8;20]
spendsVec&lt;(SeedPrimitivesSignatureAccountId20,u128)&gt;
pallet_id[u8;8]

AssetsExt.SplitTransfer

Multi-part transfer of assets from who

FieldTypeDoc
asset_idu32
who[u8;20]
transfersVec&lt;(SeedPrimitivesSignatureAccountId20,u128)&gt;

AssetsExt.CreateAsset

New asset has been created

FieldTypeDoc
asset_idu32
creator[u8;20]
initial_balanceu128

AssetsExt.InternalWithdraw

Assets were withdrawn from this account by the system e.g. paying tx fees

FieldTypeDoc
asset_idu32
who[u8;20]
amountu128

AssetsExt.InternalDeposit

Assets were deposited into this account by the system e.g. refunding gas

FieldTypeDoc
asset_idu32
who[u8;20]
amountu128

AssetsExt.AssetDepositSet

The asset deposit was set

FieldTypeDoc
asset_depositu128

Errors

AssetsExt.DecimalsTooHigh

Decimals cannot be higher than 18

AssetsExt.NoAvailableIds

No more Ids are available, they've been exhausted

AssetsExt.NoPermission

The signer does not have permission to perform this action

AssetsExt.BalanceLow

Hold balance is less then the required amount

AssetsExt.NoAccount

The account to alter does not exist

AssetsExt.Overflow

Operation would overflow

AssetsExt.MaxHolds

Maximum holds placed on this asset/account pair

AssetsExt.CreateAssetFailed

Failed to create a new asset

Storage

AssetsExt.Holds

The holdings of a specific account for a specific asset.

ts
await api.query.assetsExt.holds(key1, key2)
  • Key: (u32,SeedPrimitivesSignatureAccountId20) (hashers: Twox64Concat, Blake2_128Concat)
  • Returns: Vec<([u8;8],u128)>

Modifier: Default

AssetsExt.NextAssetId

The total units issued in the system.

ts
await api.query.assetsExt.nextAssetId()

Returns: u32

Modifier: Default

AssetsExt.AssetDeposit

The minimum deposit for creating an asset

ts
await api.query.assetsExt.assetDeposit()

Returns: u128

Modifier: Default

Constants

AssetsExt.MaxHolds

The maximum * of holds per asset & account

Type: u32
SCALE-encoded value: 0x10000000

AssetsExt.NativeAssetId

The native token asset Id (managed by pallet-balances)

Type: u32
SCALE-encoded value: 0x01000000

AssetsExt.PalletId

This pallet's Id, used for deriving a sovereign account ID

Type: [u8;8]
SCALE-encoded value: 0x6173736574657874

Source: live chain metadata from wss://root.rootnet.live/archive/ws · captured 2026-05-02

Curated independently by Codeology. Source-attributed reference for The Root Network. Not affiliated with Futureverse / TRN Labs.