Create Asset

Creates a new fungible token or a NFT collection.

Payload Parameters

RequiredParameterTypeDescription

name

string

Asset name

ticker

string

Asset shorthand

ownerAddress

string

Owner address

precision

number

Asset precision (0 to 8)

uris

Relevant URI's

logo

string

Logo uri

initialSupply

number

Initial minted supply (fungible only)(with precision)

maxSupply

number

Maximum supply of the asset (with precision)

type

number

0: Fungible Token,

1: NFT

staking

Staking object

Staking info

royalties

Royalties object

Royalties info

roles

Role object array

Other addresses roles info

properties

Properties object

Asset properties details

attributes

Attributes object

Is paused/mint stopped?

Staking structure

RequiredParameterTypeDescription

interestType

number

0: APR, 1: FPR

apr

number

Percentage

minEpochsToClaim

number

Minimum epochs to claim rewards

minEpochsToUnstake

number

Minimum epochs to unstake

minEpochsToWithdraw

number

Minimum epochs to withdraw after unstake

Royalties structure

RequiredParameterTypeDescription

address

string

Royalty receiver address

transferPercentage

RoyaltyInfo object array

Transfer fee for fungible tokens (precision 2)

transferFixed

number

Transfer fee for non-fungible tokens

marketPercentage

number

Market percentage fee details for non-fungible tokens (precision 2)

marketFixed

number

Market fixed fee for non-fungible tokens

itoPercentage

number

ITO percentage fee (precision 2)

itoFixed

number

ITO fixed fee (in the currency asset precision)

splitRoyalties

{[address:string]:RoyaltySplitInfo}

Defines the percentage of the fees when multiple addresses receive royalties

RoyaltySplitInfo structure

RequiredParameterTypeDescription

percentTransferPercentage

number

percentage that the given address will receive from transfer percentage (precision 2)

percentTransferFixed

number

percentage that the given address will receive from transfer fixed (precision 2)

percentMarketPercentage

number

percentage that the given address will receive from market percentage (precision 2)

percentMarketFixed

number

percentage that the given address will receive from market fixed (precision 2)

percentITOPercentage

number

percentage that the given address will receive from ito percentage (precision 2)

percentITOFixed

number

percentage that the given address will receive from ito fixed (precision 2)

RoyaltyInfo structure

RequiredParameterTypeDescription

amount

number

Max amount for that percentage

percentage

number

Fee % (precision 2)

Role structure

RequiredParameterTypeDescription

address

string

Other wallet's address

hasRoleMint

boolean

Should be able to mint?

hasRoleSetITOPrices

boolean

Should be able to set ITO prices?

Properties structure

RequiredParameterTypeDescription

canFreeze

boolean

Should be freezable?

canWipe

boolean

Should be wipeable?

canPause

boolean

Should be pausable?

canMint

boolean

Should be mintable?

canBurn

boolean

Should be burnable?

canChangeOwner

boolean

Should the owner be changeable?

canAddRoles

boolean

Should roles be add-able?

Attributes structure

RequiredParameterTypeDescription

isPaused

boolean

Should be currently paused?

isNFTMintStopped

boolean

Should be currently NFT mint stopped?

Last updated