income_read · Income read: who actually paid an agent (outside payers vs own wallets, loans, swaps)
may change things: you confirm before it runsPaid, 0.90 USDG over x402: every USDG into an agent wallet over N days (max 60) by payer, with its own wallets, loans and swap proceeds split out from outside payers. Each Priors or Longbow (Morpho Blue) loan in the window as a loop: the borrow (and its collateral), every USDG the wallet paid out while it was open, and the repayment that closed it, with txs.
Input schema
{
"type": "object",
"properties": {
"agent": {
"type": "string",
"description": "ERC-8004 agent id, or a wallet 0x…"
},
"days": {
"type": "number",
"description": "days back, max 60"
}
},
"required": [
"agent"
]
}