Config ITO

Sets up an Initial Token Offering for either a token or a NFT collection.

Payload Parameters

RequiredParameterTypeDescription

receiverAddress

string

Wallet address that will receive the currency

kda

string

Target Asset

maxAmount

number

Max amount of assets sold in the ITO (with precision)

status

number

See Status

packInfo

{[assetID: string]: Pack[]}

Defines the currency in which the packs will be sold.

defaultLimitPerAddress

number

Max amount of NFTs an address can buy, if specific amount is not provided.

whitelistStatus

number

See Status

whitelistInfo

{[address: string]: WhiteListInfo}

Defines specific NFT mint limit to given addresses

whitelistStartTime

number

Whitelist start time (in UnixTime (seconds))

whitelistEndTime

number

Whitelist end time (in UnixTime (seconds))

startTime

number

ITO start time (in UnixTime (seconds))

endTime

number

ITO end time (in UnixTime (seconds))

Pack structure

RequiredParameterTypeDescription

amount

number

For NFTs: Amount sold; For token: Min amount for that price to be applied (with precision)

price

number

For NFTs: Price for each NFT; For Tokens: Price for that amount.

WhiteListInfo structure

RequiredParameterTypeDescription

limit

number

Max amount of NFTs an address can buy.

Status

Status ValueStatus NameDescription

0

DefaultITO

Keeps previous status value

1

ActiveITO

Enables ITO/Whitelist

2

PausedITO

Pauses ITO/Whitelist

Last updated