Troubleshooting errors and coding problems can be challenging to tackle. If you need assistance, submit a ticket and our staff will do their best to help you out.
The ticket must contain a recent step-by-step of ALL the related endpoints you have issues with where it's stated its cURLs, including but not limited to:
- API endpoint link(s)
- URL
- Body code
- Associated Response body code
Important: Issues related to an API call are best described when including ALL steps before the API call.
You may provide this information in plain text "as is" via copy+paste in your message or preferably within a *.txt attachment. We need this so our staff and tthe Dev team can further.
Example request simulation with curls
Step_1: Deploy the Smart Contract
curl --location --request POST 'https://api-eu1.tatum.io/v3/nft/deploy' \ --header 'x-api-key: ##_your_eu_api_key' \ --header 'Content-Type: application/json' \ --data-raw '{ "chain": "ONE", "name": "wpplugin", "symbol": "wpplugin", "fromPrivateKey": "##private_key" }' { "txId": "##_tx_id" }
Step_2: Mint the token
curl --location --request POST 'https://api-eu1.tatum.io/v3/nft/mint' \ --header 'x-api-key: ##_your_eu_api_key' \ --header 'Content-Type: application/json' \ --data-raw '{ "chain":"ONE", "tokenId": "1", "to": "##_to_address", "contractAddress": "##_contract_address", "url": "abc_your_url", "fromPrivateKey": "##_private_key" }' { "txId": "##_tx_id" }
Step_3: Transfer to the address
curl --location --request POST 'https://api-eu1.tatum.io/v3/nft/transaction' \ --header 'x-api-key: ##_your_eu_api_key' \ --header 'Content-Type: application/json' \ --data-raw '{ "chain": "ONE", "to": "##_to_address", "tokenId": "1", "contractAddress": "##_contract_address", "fromPrivateKey": "##_private_key_1" }' { "txId": "##_tx_id_1" }
Should an issue appear in any of these steps, we would need all the cURLs up to the error.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article