Airdrop NFT

Airdrop an NFT

POST https://api.bountyblok.io/v1/airdrop_nft_hedera

This endpoint allows you to transfer a pre-minted or mint and transfer an NFT

Headers

NameTypeDescription

Authorization*

string

Bearer <<YOUR_API_KEY>>

Request Body

NameTypeDescription

to_address*

string

The wallet address of the recipient

token_id*

string

The token ID from which you want to airdrop NFT

serial_num

number

The serial number of the NFT to transfer. Required if transferring pre-minted NFT

metadata

string

IPFS URL containing metadata for the NFT. Required when minting new NFT Example: ipfs://bafyreia6ow6phsk7gdef6kzlgagfamxmujp47ue7rxymo6wr2qtenrzaeu/metadata.json

{
    "txs": [
        "0.0.47834406-1673375518-558564000"
    ],
    "is_valid": true
}
curl --location --request POST 'https://api.bountyblok.io/v1/airdrop_nft_hedera' \
--header 'Authorization: Bearer <<API TOKEN>>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "to_address":"0.0.47879121",
    "token_id":"0.0.48484359",
    "serial_num":438
}'

Last updated