Mint NFT transactions
Last updated
Last updated
POST
/mint-nft
This endpoint facilitates the minting of a new Non-Fungible Token (NFT) on the Metis 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
Name | Value |
---|---|
Body
Name | Type | Description |
---|---|---|
Response
Example Request Body
Content-Type
application/json
x-api-key
Your_X_API_Key
contractAddress
string
Contract address
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 and 2 for testnet)
apiKey
string
Your api key generated from official website of Lync