Transfer an NFT

Attempt a transfer of your NFT, from your treasury, to any account on Hedera

Overview

This is the simplest of transfer methods the API can process, a couple of things will happen:

  • We'll check that the Treasury owns and can send your NFT to an account

  • We'll attempt to send the NFT to an account, if it fails then a error will query to whether an account has associated with said NFT id.

POST https://hedera-serverless-consensus.vercel.app/api/nft/transfer

Transfer a specific NFT that the treasury owns to an account.

Headers

NameTypeDescription

x-api-key*

String

The API_SECRET_KEY from the client's environment variables.

Request Body

NameTypeDescription

token_id*

String

Hedera token id to send

receiver_id*

String

Hedera account to send the NFT to

serial_number*

String

Serial number of the NFT to send

{
    // Response
}

Last updated