NFT Transfer

transfernft

Transfer NFTs.

Basic Information

PropertyDetail

URL

/api/nft-transfer

Method

POST

Request parameter

ParameterTypeRequiredDetail

contract_address

str

yes

Address of collection(contract)

token_id

str

yes

Token ID of the target NFT

nft_whales_id

str

Yes

nft_whales_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

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

Sample requests

{
  "contract_address": "0x0000000000000000000000000000000000000000",
  "tokenid": "1",
  "nft_whales_id": "63f7a3f0eba309001de48a1c",
  "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_whales_id": "63f7a3f0eba309001de48a1c",
      "accepted_date": "2022-01-01 00:00:00"
  }
}

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

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

Last updated