Skip to main content

Calls

enableXls20Compatibility

Enables XLS-20 compatibility on a collection. However, this will remove the ability to change the collection metadata.
  • Collection must not have any tokens minted
  • Caller must be collection owner
Namespace
Type

fulfillXls20Mint

Submit XLS-20 token ids to The Root Network Only callable by the trusted relayer account Can apply multiple mappings from the same collection in one transaction Namespace
Type

reRequestXls20Mint

Namespace
Type

setRelayer

Set the relayer address Namespace
Type

setXls20Fee

Set the xls20 mint fee which is paid per token by the collection owner This covers the additional costs incurred by the relayer for the following:
  • Minting the token on XRPL
  • Calling fulfill_xls20_mint on The Root Network
Namespace
Type

Storage

relayer

The permissioned relayer Namespace
Type

xls20MintFee

The extra cost of minting an XLS-20 compatible NFT Namespace
Type

xls20TokenMap

Maps from TRN native token_id to XLS-20 TokenId Namespace
Type

Events

RelayerSet

A new relayer has been set Namespace
Type

Xls20CompatibilityEnabled

A collection has had XLS-20 compatibility enabled Namespace
Type

Xls20MappingSet

A new XLS20 mapping has been set Namespace
Type

Xls20MintFeePaid

Additional mint fee for XLS-20 mint has been paid to relayer Namespace
Type

Xls20MintFeeSet

A new Xls20 Mint Fee has been set Namespace
Type

Xls20MintRequest

Request sent to XLS20 Relayer Namespace
Type

Errors

MappingAlreadyExists

There is already a Root native -> XLS-20 mapping for this token Namespace

NotCollectionOwner

No the owner of the collection Namespace

NoToken

The NFT does not exist Namespace

NotRelayer

The caller is not the relayer and does not have permission to perform this action Namespace

NotXLS20Compatible

The collection is not compatible with XLS-20 Namespace

Xls20MintFeeTooLow

The supplied fee for minting XLS-20 tokens is too low Namespace
undefined