Mint NFT transactions
Mint NFT transactions
POST
/unity/mint-nft
This endpoint facilitates the minting of a new Non-Fungible Token (NFT) on the Aptos blockchain. Users can mint a new NFT by specifying some contract information, such as the contract address, contract name, function name, arguments, and other properties. This endpoint requires api key authentication and the necessary transaction parameters, including the wallet address initiating the minting process.
Headers
Content-Type
application/json
x-api-key
Your_X_API_Key
Body
contractAddress
string
Contract address
contractName
string
Name of contract
functionName
string
Function you want to do mint transaction on
privateAddress
string
User's private key
publicAddress
string
User's account address
arguments
Array of objects
Object of { argument: string, type: number }
If the function accepts any arguments
network
number
1 or 2 (1 for Mainnet & 2 for Testnet)
usePaymaster
boolean
true
to sponsor the transaction or false
if user pays for the transaction
apiKey
string
Your api key generated from official website of Lync
Response
Example Request Body
Last updated