ITO Trigger
Updates the properties or trigger functionalities of a fungible token, NFT collection or a single NFT.
Trigger Types:
List with all trigger types values and its required payload fields. You can see more info about each field here. Any parameter you send beyond the required ones will be ignored.
ID | Type | Description | Parameters |
---|---|---|---|
0 | SetITOPrices | Update ITOs packs prices | packInfo |
1 | UpdateStatus | Update status | status |
2 | UpdateReceiverAddress | Update receiver address | receiverAddress |
3 | UpdateMaxAmount | Update max amount of minted NFTs | maxAmount |
4 | UpdateDefaultLimitPerAddress | Update default limit per address | defaultLimitPerAddress |
5 | UpdateTimes | Update start and end time of ITO | startTime, endTime |
6 | UpdateWhitelistStatus | Update whitelist status | whitelistStatus |
7 | AddToWhitelist | Adds address to whitelist | whitelistInfo |
8 | RemoveFromWhitelist | Remove address from whitelist | whitelistInfo |
9 | UpdateWhitelistTimes | Update start and end time of whitelist | whitelistStartTime, whilelistEndTime |
Payload Parameters
Required | Parameter | Type | Description |
---|---|---|---|
triggerType |
| Sets the trigger type (check list above) | |
kda |
| Target Asset | |
receiverAddress |
| Address that will receive the currency | |
status |
| See Status | |
maxAmount |
| Maximum minted amount (with precision) | |
packInfo |
| Defines the currency in which the packs will be sold. | |
defaultLimitPerAddress |
| Max amount of NFTs an address can buy, if specific amount is not provided. | |
whitelistStatus |
| See Status | |
whitelistInfo |
| Defines specific NFT mint limit to given addresses | |
whitelistStartTime |
| Whitelist start time (in UnixTime (seconds)) | |
whitelistEndTime |
| Whitelist end time (in UnixTime (seconds)) | |
startTime |
| ITO start time (in UnixTime (seconds)) | |
endTime |
| ITO end time (in UnixTime (seconds)) |
Status
Status Value | Status Name | Description |
---|---|---|
0 | DefaultITO | Keeps previous status value |
1 | ActiveITO | Enables ITO/Whitelist |
2 | PausedITO | Pauses ITO/Whitelist |
Pack structure
Required | Parameter | Type | Description |
---|---|---|---|
amount |
| For NFTs: Amount sold; For token: Min amount for that price to be applied (with precision). | |
price |
| For NFTs: Price for each NFT; For Tokens: Price for that amount. |
WhiteListInfo structure
Required | Parameter | Type | Description |
---|---|---|---|
limit |
| Max amount of NFTs an address can buy. |
Last updated