Mint New ERC1155 NFT

Create and mint a new NFT to a specific recipient

Create and mint a new NFT to a specific recipient

POST https://api.alturanft.com/api/v2/item/new

Takes an item's collection address, address to mint to (recipient), new NFT properties and your API key and mints additional supply of the specified NFT to the specified address.

Only works if your Altura Developer Wallet is authorized on the collection contract.

Query Parameters

NameTypeDescription

apiKey*

String

Your API key

Request Body

NameTypeDescription

collectionAddress*

String

The item's collection address

recipient*

String

The address you want to mint the new NFT supply to

chainId*

Integer

The target chain

item*

Object

See example below

{
    // Response
}
// Example

{
    "chainId": 11155111,
    "collectionAddress": "0xefbda619dba1b282e13f4602084188a8f8451a93",
    "recipient": "0x8dDC089aa4CC1150a614E0953eFE81d742C03684",
    "item": {
        "name": "Sepolius Item",
        "description": "Is it magical?",
        "imageUrl": "https://ipfs.io/ipfs/Qmc7s8t2Et9RK5Vzv9usPawk6TtU7i7oABJ7oF4NwoTpQW/756.png",
        "fileType": "image/png",
        "properties": [
            { "name": "Level", "value": "God", "static": true }
        ],
        "isStackable": true,
        "isConsumable": false,
        "initialSupply": 5,
        "maximumSupply": 10,
        "royaltyFee": 50 // 5%
    }
}

Only works if your Altura Developer Wallet is authorized on the collection contract.

Last updated