x402_withdraw_earnings
Withdraw accumulated earnings from the facilitator to your wallet, specifying token, amount, and destination address.
Instructions
Withdraw accumulated earnings from the facilitator to your wallet.
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": {
"amount": "<amount>"
},
"name": "x402_withdraw_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Token to withdraw | USDs |
| amount | Yes | Amount to withdraw ('all' for entire balance, or specific amount) | |
| toAddress | No | Destination address (defaults to configured wallet) |