Need help with a customized API call
-
Hello support team,
I need a bit of help with an API request that I’m trying to do, for minting.
I mention that I’m using the ETH Ropsten chain (added ‘x-testnet-type’ => ‘ethereum-ropsten’ in the header of the request) and I’m using the free testnet API key from my Tatum dashboard.
I’m trying to mint a custom NFT token (using my own contract address for the NFTs), but using the Tatum minter address for the gas fees. So the request body looks like this:[to] => …. (receiver address)
[chain] => ETH
[url] => ipfs://….
[contractAddress] => 0xeb0A67cC177E2e03da8810f9a18da433f0650857 (the contract for my custom NFT collection – https://ropsten.etherscan.io/address/0xeb0A67cC177E2e03da8810f9a18da433f0650857)
[tokenId] => 123456
[minter] => 0x51abC4c9e7BFfaA99bBE4dDC33d75067EBD0384F (from https://tatum.io/apidoc.php#operation/NftMintErc721 – table with the mint addresses)The error that I get from the request is: {“statusCode”:403,”errorCode”:”nft.error”,”message”:”Unexpected error occurred. Reason: Returned error: execution reverted”}
Can you help me, please? Would be greatly appreciated.
- The topic ‘Need help with a customized API call’ is closed to new replies.