globalGoldChangeTokens
Client-specific action schema for the GlobalGold token product. Exchanges one NFT token for another within the same account.
methodstringrequired
Name of the predefined method to be used
Example:
globalGold_changeTokensparams objectrequired
tokenIdstring<uuid>required
TokenID
Example:
3ac1bec4-1a3d-4fff-9941-68c52154cabdaccountstringrequired
Wallet address where tokens will be exchanged
Possible values: Value must match regular expression ^0x[0-9a-fA-F]{40}$
Example:
0xC593e77451cE7009209Ea4e7F62d64F2355D71ffamountstringrequired
Amount of tokens to be exchanged
Example:
1000nftIdToExtractstringrequired
NFT ID to be extracted from the account
Example:
9nftIdToAddstringrequired
NFT ID to be added to the account
Example:
10globalGoldChangeTokens
{
"method": "globalGold_changeTokens",
"params": {
"tokenId": "8fb6949c-9839-4358-8f61-8fa01d666693",
"account": "0x5Bbfb5dAB27c0b32FDdAa6705d8B23E070a7613e",
"nftIdToExtract": "9",
"nftIdToAdd": "10",
"amount": "3"
}
}