Skip to main content Link Menu Expand (external link) Document Search Copy Copied

MintNftAlgorandAttr

Model getters

Method name Return type Description Notes
getAssetUnit() string The unit name of the NFT
Example: USDT
[optional]
getClawback() string The address of the clawback account that can claw back holdings of the NFT
Example: TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4
[optional]
getManager() string The address of the manager account that can manage the configuration of the NFT or burn it; specify this parameter if you want to be able to burn the minted NFT any time later
Example: TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4
[optional]
getReserve() string The address of the reserve account that holds the reserve (non-minted) units of the NFT
Example: TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4
[optional]
getFreeze() string The address of the freeze account that is used to freeze holdings of the NFT
Example: TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4
[optional]
getTotal() float (For minting the a fractional NFT) The number of fractions that the minted NFT should be divided into
The number must be a power of 10 and greater that 1, for example, 10, 100, 1000…
If not set, the parameter defaults to 1, which means that one regular (not fractional) NFT will be minted.
Example: 10
[optional] [default to 1]
getDecimals() float (For minting the NFT as a fractional NFT) The number of decimal places in a fraction of the minted NFT
The number must be greater that 0 and equal to the logarithm in base 10 of the number of the fractions (see the total parameter); for example, if total is set to 10, decimals must be set to 1.
If not set, the parameter defaults to 0, which means that one regular (not fractional) NFT will be minted.
Example: 1
[optional] [default to 0]