Mint Token
Endpoint
POST /api/v1/ERC721/{network}/mint-token
Executes the minting of an ERC-721 token of an existing smart contract.
Headers
Name
Value
Content-Type
application/json
Authorization
Xyxyx API Key or XIN
Body
Name
Type
Description
contractAddress
string
Address of the smart contract that will issue the token
tokenId
integer
Token unique identifier
mintCost
integer
Amount required to mint a token
walletPrivateKey
string
Deployer private key for authorizing transaction
Response
{
"success": true,
"status": "Token minted successfully at address: {contractAddress}`",
"hash": "1x111..."
}{
"success": false,
"status": "Failed to mint token: {error.message}"
}{
"success": false,
"status": "The wallet does not own any valid Xyxyx API Key or XIN",
}{
"success": false,
"status": "This wallet has already consumed its 24-hour request quota"
}Last updated