API Reference
Server
Mint NFT

Used to mint a new NFT on a specific network.

Headers

x-api-key : string
The S2S API Key provided by Okto.


Parameters

operation_type : string
The operation type to be performed.


ercType : string
The type of ERC standard to be used.


network_name : string
The network name on which the NFT is to be minted.


collection_address : string
The address of the collection on which the NFT is to be minted.


collection_name : string
The name of the collection on which the NFT is to be minted.


quantity : string
The quantity of NFTs to be minted.


metadata : object
The metadata of the NFT to be minted.


metadata.uri : string
The URI of the NFT metadata.


metadata.nftName : string
The name of the NFT.


metadata.description : string
The description of the NFT.


Code

curl -X POST '${baseUrl}/s2s/api/v1/nft/mint'
-H 'accept: application/json' 
-H 'x-api-key: API_KEY' -d '
    {
        "operation_type": "NFT_MINT",
        "ercType": "ERC721",
        "network_name": "APTOS_TESTNET",
        "collection_address": "0x171e643e8e8dabc66b838b9055dbdf88647cf6601b164f5987f50a497bedfbe1",
        "collection_name": "super avengers",
        "quantity": "1",
        "metadata": {
            "uri": "ipfs://QmVFPvu8aeJHXyNVxpfftVHaKjRsbtH6dXWscJ2TukM3xi",
            "nftName": "Mint a NFT",
            "description": "Lets check"
        }
    }
'

Response

{
    "status": "success",
    "data": {
        "order_id": "ec887fc8-74f5-4342-8ca2-43ac239733f6"
    }
}