Fund network reserve deficits
Aggregate network-level shortages and check how much a funding wallet can supply while preserving its reserve.
Program steps
Result
Run the calculation to see the result.
Use this through REST or MCP
POST /api/v1/agent/operations/programs/sequence or call bitpont_operationsRunSequence with these inputs.
{
"definition": "{\n \"version\": 1,\n \"steps\": [\n {\n \"key\": \"networks\",\n \"tool\": \"operationsNetworkReserves\",\n \"input\": {\n \"networks\": [\n {\n \"id\": \"base\",\n \"balance\": \"100\",\n \"target\": \"200\"\n },\n {\n \"id\": \"ethereum\",\n \"balance\": \"20\",\n \"target\": \"60\"\n }\n ]\n }\n },\n {\n \"key\": \"source\",\n \"tool\": \"treasuryFundingGap\",\n \"input\": {\n \"balance\": \"150\",\n \"reserve\": \"30\"\n },\n \"bind\": {\n \"spend\": \"networks.totalDeficit\"\n }\n }\n ]\n}"
}