Thentic

חינם
על ידי Thentic | מְעוּדכָּן 17 days ago | Tools
Health Check

N/A

חזרה לכל ההדרכות (1)

Welcome to Thentic - API for NFT-commerce

Get started
Thentic provides REST API methods to mint, trade and manage NFTs across 288 Ethereum Virtual Machine Compatible Blockchains. You can create and embed blockchain transactions to your web applications via Transaction URL or Transaction Pixel.

API Key
Get API key here and add it as “key” parameter to your request body.

Chain ID
Choose Blockchain network you would like to use from the list and add it as “chain_id” parameter to your request body. For the development purposes we recommend using Binance Smart Chain Testnet - 97 chain id. You can get TBNB tokens for the development here and explore transactions here.

First API request
In order to mint NFTs you need to create NFT contract first. Here is simple Python code to create NFT contract deployment transaction:

import requests
url = 'https://thentic.tech/api/nfts/contract
headers = {‘Content-Type’: ‘application/json’}
data = {‘key’: ‘’,
‘chain_id’: ‘97’,
‘name’: ‘’,
‘short_name’: ‘’}

#creates NFT contract on BNB testnet
r = requests.post(url, json=data, headers=headers)
print(r.text)

If API key is authorized server will respond with request_id, status, transaction_pixel and transaction_url. You can use transaction_url and transaction_pixel to let your dAPP users execute Blockchain transactions on Mobile (via WalletConnect) or Desktop (via MetaMask).