Crossmint
Search…
Transfer
Transfer NFTs from Crossmint's custodial wallet into another wallet with Crossmint's Whitelabel API
Crossmint Whitelabel is offered as an enterprise solution and requires evaluation of your use case before approval. Reach out to [email protected] to get started.
post
https://www.crossmint.io/api/v1-alpha
1/transfer
Transfer NFTs from the crossmint custodial wallet to another wallet
Node.js Example
CURL Example
import fetch from 'node-fetch';
​
const body = {
"chain": "ethereum",
"tokenId": "string",
"fromAddress": "string",
"toAddress": "string",
"tokenMintAddress": "string"
}
​
const response = await fetch(`https://www.crossmint.io/api/v1-alpha1/transfer`, {
method: 'post',
body: JSON.stringify(body),
headers: {
'X-API-KEY': '<YOUR_API_KEY>',
'X-CLIENT-ID': '<YOUR_CLIENT_ID>'
}
});
​
const data = await response.json();
const contractAddress = data.address;
curl 'https://www.crossmint.io/api/v1-alpha1/transfer' \
-X 'POST' \
-H 'X-API-KEY: <YOUR_API_KEY>' \
-H 'X-CLIENT-ID: <YOUR_CLIENT_ID>' \
-d '{
"chain": "ethereum",
"tokenId": "string",
"fromAddress": "string",
"toAddress": "string",
"tokenMintAddress": "string"
}'
Last modified 4d ago
Copy link