Mint NFT
curl --request POST \
--url https://overlay.fun/nfts/{mint_address}/mint \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"network": "solana",
"name": "Overlay Pass #1",
"description": "this is test nft item",
"images": [
"https://overlay.fun/logo.png"
]
}
'const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
network: 'solana',
name: 'Overlay Pass #1',
description: 'this is test nft item',
images: ['https://overlay.fun/logo.png']
})
};
fetch('https://overlay.fun/nfts/{mint_address}/mint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": {},
"message": "<string>"
}{
"success": false,
"message": "Invalid request body.",
"error": "Bad request"
}{
"success": false,
"message": "Invalid api-key",
"error": "Unauthorized"
}NFTs
Mint NFT
Mints an NFT item from an existing collection.
POST
https://overlay.fun
/
nfts
/
{mint_address}
/
mint
Mint NFT
curl --request POST \
--url https://overlay.fun/nfts/{mint_address}/mint \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"network": "solana",
"name": "Overlay Pass #1",
"description": "this is test nft item",
"images": [
"https://overlay.fun/logo.png"
]
}
'const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
network: 'solana',
name: 'Overlay Pass #1',
description: 'this is test nft item',
images: ['https://overlay.fun/logo.png']
})
};
fetch('https://overlay.fun/nfts/{mint_address}/mint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": {},
"message": "<string>"
}{
"success": false,
"message": "Invalid request body.",
"error": "Bad request"
}{
"success": false,
"message": "Invalid api-key",
"error": "Unauthorized"
}Authorizations
Path Parameters
Solana mint address or EVM contract address.
Body
application/json
Available options:
solana, evm, ethereum, sepolia, base, polygon, bsc, monad, sei, blast, sonic, linea, scroll, mantle, zora, optimism, arbitrum, avalanche, boba, metis, bera, celo Minimum array length:
1