Web Payload Guide
| Field | Description |
|---|---|
| assetName string | This is the name of your asset. This is used for display as well as for the player's receipt. Ex: "String Demo NFT" |
| collection string, optional | The name of the NFT collection, if applicable. Ex: "String Demo" |
| price string | The display price of your asset. Ex: "0.08" |
| currency string | The native currency of your asset. This is used for display. Ex: "AVAX" |
| imageSrc string | The image to display of your asset. Ex: "<IMAGE_URL>" |
| imageAlt string, optional | A description of the display image of your asset. Ex: "NFT" |
| chainID number | The chain ID of the chain that your smart contract is on. Ex: "43113" |
| userAddress string | The current wallet address of the player. Ex: "0x000000" |
| contractAddress string | The address of the registered smart contract you are interacting with. Ex: "0x41e11fF9F71f51800F67cb913eA6Bc59d3F126Aa" |
| contractFunction string | The registered smart contract function that you are interacting with. In the form of name(parametertype, ...) Ex: "mintTo(address)" |
| contractReturn string | The type(s) of the function's return value(s). Comma separated. Ex: "uint256" |
| contractParameters string[] | The array of parameters to the function you are interacting with. Most likely will include the players's wallet address. Ex: ["0x000000"] |
| txValue string | The amount of the transaction in units of gwei, wei, or ether (regardless of chain). Ex: In ether: "1 eth", or "1 ether" In gwei: "1000000000 gwei" In wei (default): "1000000000000000000" Further explanation |
Updated over 2 years ago
