NFT transfer

transfernft

Transfer NFTs.

Basic Information

Property
Detail

URL

/api/v1/transfernft

Method

POST

Request parameter

Parameter
Type
Required
Detail

contract_address

str

yes

Address of collection(contract)

token_id

str

yes

Token ID of the target NFT

nft_gdn_id

str

Yes

nft_gdn_id of target NFT

sender_wallet_address

str

Yes

Transfer source of target NFT

receiver_wallet_address

str

yes

Destination of the target NFT

Blockchains that can be specified in the blockchain parameter

solana and solana-testnet are not supported.

The NFT and token_id specified in nft_gdn_id must match and the owner must be sender_wallet_address.

Sample requests

{
  "contract_address": "0x0000000000000000000000000000000000000000",
  "tokenid": "0",
  "nft_gdn_id": "5967ee21-067e-4f89-87de-feb84307c6d9",
  "sender_wallet_address": "0x2222222222222222222222222222222222222222",
  "receiver_wallet_address": "0x1111111111111111111111111111111111111111"
}

Example of successful response

{
  "requests": {
      "contract_address": "0x0000000000000000000000000000000000000000",
      "receiver_wallet_address": "0x1111111111111111111111111111111111111111",
      "sender_wallet_address": "0x2222222222222222222222222222222222222222"
  },
  "response": {
      "transaction_gdn_id": "870f7312-55ec-4fdc-8dac-f555d8fbd225",
      "accepted_date": "2022-09-01 06:00:00"
  }
}

Example of response in case of failure(status code 400)

{
  "error": {
    "title": "Bad Request",
    "message": "contract_address and blockchain are inconsistent"
  }
}

Last updated