Transfer is the action of sending a token from the owner’s wallet to another wallet on the blockchain.


Transfer a token

First, we need to transfer the token.

Please use the read a wallet endpoint to find the ID of the token that you wan’t to transfer.

curl --request POST \
  --url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contractId": <CONTRACT_ID>,
  "from": "<WALLET_ID>",
  "tokenId": "<TOKEN_ID"

You will receive a status 202 with an object containing the ID of the transaction.


Read a transaction

Every new transfer is queued up to mitigate the possibility of a transaction failing.

Now, let’s check the transaction’s status on the blockchain.

Remember to switch <TRANSACTION_ID>.
curl --request GET \
  --header 'Authorization: Bearer $API_KEY'

You will receive a status 200 with an object containing the transaction status and transaction hash.

Congratulations! You can check your transaction on the block explorer.

Any problems during this guide? Check some possible troubleshooting.