Transfer a Token
Prerequisites:
Getting startedStep 1: Get Xact Fees
/* Get the service fees */
$fees = $client->getXactFeesTransfer();Step 2: Initializing Token Transfer
/* From which account to transfer the token */
$fromAccountId = '';
/* Account that receive the token */
$toAccountId = '';
/* Token to Transfer */
$tokenId = '';
/* Supply */
$supply = 1;
/* Custom uniq ID */
$uniqId = '';
/* Define a Webhook */
$webhook = '';
/* Transfer a token */
$client->transfer([
$fromAccountId,
$toAccountId,
$tokenId,
$supply,
$uniqId
], $webhook);Last updated