Transfer Celo NFT Token
POST {{url}}/v3/nft/transaction/:chain
2 credits per API call.
Transfer Ethereum ERC721 Smart Contract Tokens from account to account. Transfer any ERC721 token from smart contract defined in contractAddress.
Only 1 concrete token with specified tokenId can be transfered. This method invokes ERC721 method safeTransfer() to transfer the token.
This operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.
No one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey
or signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,
Tatum KMS should be used for the highest security standards, and signatureId should be present in the request.
Alternatively, using the Tatum client library for supported languages or Tatum Middleware with a custom key management system is possible.
Request Body
{"tokenId"=>"1", "to"=>"0xfb99F8aE9b70A0C8Cd96aE665BBaf85A7E01a2ef", "chain"=>"CELO", "contractAddress"=>"0x1860Cf5A199892BC527A0698e7be08a7C6Bc6064", "fromPrivateKey"=>"0x4874827a55d87f2309c55b835af509e3427aa4d52321eeb49a2b93b5c0f8edfb", "feeCurrency"=>"CUSD"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"txId":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","failed":false}