Build a pool deposit
build_fund_txUnsigned approve + deposit transactions to add reward tokens to a pool (anyone can fund a pool). amount in whole tokens, e.g. "25" = 25 USDC.
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": {
"pool": "<pool>",
"amount": "<amount>"
},
"name": "build_fund_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Depositing wallet (optional, for the exact fee) | |
| pool | Yes | Pool key from list_reward_pools, e.g. loser-club | |
| amount | Yes |