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

AddNftMinter

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: ETH
 
getContractAddress() string The blockchain address of the NFT smart contract
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getMinter() string The blockchain address to add to the smart contract as an NFT minter
To find the address of the Tatum NFT minter for your blockchain, see the table in “Use your own smart contract to mint NFTs” in Mint an NFT.
This address will cover your NFT minting fees. The number of credits equivalent to the fees will be then deducted from the credit allowance of your paid pricing plan.
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getFromPrivateKey() string The private key of the blockchain address that has priviledges to add an NFT minter to the NFT smart contract (the owner of the smart contract or a blockchain address that was granted such priviledges)
Example: 0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2
 
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: null
[optional]
getFee() \Tatum\Model\CustomFee
Example: null
[optional]
getFeeCurrency() string (Celo only) The currency in which the transaction fee will be paid
Example: null
[optional]