Skip to main content

globalGoldChangeTokens

methodstring

Name of the predefined method to be used

Example: globalGold_changeTokens
params object
tokenIdstring

TokenID

Example: 3ac1bec4-1a3d-4fff-9941-68c52154cabd
accountstring

Wallet address where tokens will be exchanged

Example: 0xC593e77451cE7009209Ea4e7F62d64F2355D71ff
amountstring

Amount of tokens to be exchanged

Example: 1000
nftIdToExtractstring

NFT ID to be extracted from the account

Example: 9
nftIdToAddstring

NFT ID to be added to the account

Example: 10
globalGoldChangeTokens
{
"method": "globalGold_changeTokens",
"params": {
"tokenId": "8fb6949c-9839-4358-8f61-8fa01d666693",
"account": "0x5Bbfb5dAB27c0b32FDdAa6705d8B23E070a7613e",
"nftIdToExtract": "9",
"nftIdToAdd": "10",
"amount": "3"
}
}