Transfers
The Transfer APIs provide users the entries to tranfer the NFTs easily.
Transfer Actions
The Transfer APIs provide two methods to help users transfer NFTs, including the tranfer or batch transfer NFTs.
Transfer NFT
The Transfer NFT
provides users with the entry to transfer the NFT.
Transfer NFT by admin
Bearer Open_JWT
POST /v1/transfers/customizable HTTP/1.1
Host: api.nftrainbow.cn
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 159
{
"amount": 1,
"chain": "conflux",
"contract_address": "text",
"contract_type": "erc721",
"token_id": "text",
"transfer_from_address": "text",
"transfer_to_address": "text"
}
{
"amount": 1,
"app_id": 1,
"block_reason": 1,
"chain_id": 1,
"chain_type": 1,
"contract": "text",
"contract_type": 1,
"created_at": "text",
"deleted_at": {
"time": "text",
"valid": true
},
"error": "text",
"hash": "text",
"id": 1,
"status": 1,
"token_id": "text",
"transfer_from": "text",
"transfer_to": "text",
"tx_id": 1,
"updated_at": "text"
}
Authorization
Bearer Token
Header
string
Batch Transfer NFTs
The Batch Transfer NFTs
API provides users with the entry to transfer several NFTs once.
Transfer several NFTs once
Bearer Open_JWT
POST /v1/transfers/customizable/batch HTTP/1.1
Host: api.nftrainbow.cn
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 171
{
"chain": "conflux",
"contract_address": "text",
"contract_type": "erc721",
"items": [
{
"amount": 1,
"token_id": "text",
"transfer_from_address": "text",
"transfer_to_address": "text"
}
]
}
[
{
"amount": 1,
"app_id": 1,
"block_reason": 1,
"chain_id": 1,
"chain_type": 1,
"contract": "text",
"contract_type": 1,
"created_at": "text",
"deleted_at": {
"time": "text",
"valid": true
},
"error": "text",
"hash": "text",
"id": 1,
"status": 1,
"token_id": "text",
"transfer_from": "text",
"transfer_to": "text",
"tx_id": 1,
"updated_at": "text"
}
]
Authorization
Bearer Token
Header
string
Obtain Informations
Obtain transferred NFT list
The Obtain transferred NFT list
API provides users with the entry to query the transferred NFTs information.
Get the NFT list containing the transferred NFT information.
page
limit
Bearer Open_JWT
GET /v1/transfers/ HTTP/1.1
Host: api.nftrainbow.cn
Authorization: text
Accept: */*
{
"count": 1,
"items": [
{
"amount": 1,
"app_id": 1,
"block_reason": 1,
"chain_id": 1,
"chain_type": 1,
"contract": "text",
"contract_type": 1,
"created_at": "text",
"deleted_at": {
"time": "text",
"valid": true
},
"error": "text",
"hash": "text",
"id": 1,
"status": 1,
"token_id": "text",
"transfer_from": "text",
"transfer_to": "text",
"tx_id": 1,
"updated_at": "text"
}
]
}
Authorization
Bearer Token
Header
string
Obtain Detialed NFT Transfer Information
The Obtain Detialed NFT Transfer Information
API provides users with the entry to query the transferred NFT information according to its id
.
Get NFT Transfer detail info
id
Bearer Open_JWT
GET /v1/transfers/{id} HTTP/1.1
Host: api.nftrainbow.cn
Authorization: text
Accept: */*
{
"amount": 1,
"app_id": 1,
"block_reason": 1,
"chain_id": 1,
"chain_type": 1,
"contract": "text",
"contract_type": 1,
"created_at": "text",
"deleted_at": {
"time": "text",
"valid": true
},
"error": "text",
"hash": "text",
"id": 1,
"status": 1,
"token_id": "text",
"transfer_from": "text",
"transfer_to": "text",
"tx_id": 1,
"updated_at": "text"
}
Authorization
Bearer Token
Header
string
Last updated