POST
/
api
/
v1
/
erc1155
/
batchMint
curl 'https://groupos.xyz/api/v1/erc1155/batchMint' \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
    "chainId": 5,
    "contractAddress": "0x67F4732266C7300cca593C814d46bee72e40659F",
    "mints": [
      {
          "recipientAddress": "0xc517c83f417b73dA98647dad0FCB80af9f3b9531",
          "tokenId": "1",
          "amount": "1"
      },
      {
          "recipientAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
          "tokenId": "1",
          "amount": "1"
      },
    ]
}'
{
  "success": true,
  "transactionHash": "0x58c789b7a59312ec0a659e165700db54af896d3e8b46e4aeecb33b32b88157c9",
  "transactionUrl": "https://goerli.etherscan.io/tx/0xef737091d8c3451b42659688abd86b51516a6b43ee7dbdbda53c9005d86167db"
}

Body

chainId
number
required

The id of the chain supporting the NFT. This cannot be changed after creation.

contractAddress
string
required

The NFT smart contract address to mint with.

mints
object[]
required

Response

success
boolean

Indicates whether the call was successful.

transactionHash
string

Transaction hash for the newly created token.

transactionUrl
string

Wraps transactionHash with the appropriate network-specific URL for convenience.