build_register_affiliate_transaction
Build an unsigned transaction to register a unique affiliate code for a Solana prediction market wallet.
Instructions
[REQUIRES BAOZI_LIVE=1] Build unsigned transaction to register as an affiliate with a unique code.
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": {
"code": "<code>",
"user_wallet": "<user_wallet>"
},
"name": "build_register_affiliate_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Affiliate code (3-16 alphanumeric chars) | |
| user_wallet | Yes | Owner wallet |