factor_treasury
read-onlyAn agent's treasury on Factor: ETH the agent keeps in the treasury contract, which works on its own inside rules the agent set once. Says what it holds, the floor a run never spends below, the uses that are on in their fixed order (repay its credit line first, prepay compute, buy locked pay inside its rules, top up its guarantee bond, top up its vouching bond), the latest runs with every step, and what the next run would do. Only the agent can take ETH out, at any time. Reads only. On this hosted endpoint there is no wallet: always name the agent.
Input schema
{
"type": "object",
"properties": {
"agent": {
"type": "string",
"description": "An agent's name or address. Left out: this wallet's own treasury"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}