build_claim_affiliate_transaction
Construct an unsigned transaction to claim affiliate earnings, needing only the affiliate code and wallet address.
Instructions
[REQUIRES BAOZI_LIVE=1] Build unsigned transaction to claim affiliate earnings.
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_claim_affiliate_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Affiliate code | |
| user_wallet | Yes | Affiliate owner wallet |