build_add_to_whitelist_transaction
Creates a Solana transaction that adds a user to a private market's whitelist, given market key, user wallet, and creator wallet.
Instructions
[REQUIRES BAOZI_LIVE=1] Build transaction to add user to private market whitelist.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"market": "<market>",
"user_to_add": "<user_to_add>",
"creator_wallet": "<creator_wallet>"
},
"name": "build_add_to_whitelist_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | Market public key | |
| user_to_add | Yes | User wallet to whitelist | |
| creator_wallet | Yes | Market creator wallet |