const [buyTrafficCommand, buyTrafficDisclosedContracts] =
await sdk.tokenStandard!.buyMemberTraffic(
sender?.partyId!, // buying party
200000, // cc amount to purchase traffic for
participantId!, // receiving participants
[], // input utxos, if none is provided it will use smart utxo selection
0 // migrationID, beware that this will be 0 for localnet,devnet & testnet while mainnet will have 3
)
await sdk.userLedger?.prepareSignExecuteAndWaitFor(
buyTrafficCommand,
keyPairSender.privateKey,
v4(),
buyTrafficDisclosedContracts
)