azeth_get_due_agreements
Find payment agreements due for execution across specified accounts, returning each agreement's payer account, ID, and expected payout for direct execution.
Instructions
Find all payment agreements that are due for execution across one or more accounts.
Use this when: You are a keeper bot looking for agreements to execute, or a service provider checking which of your customers' payments are collectible.
Returns: Array of due agreements with payer account, agreement ID, and expected payout. Each entry can be passed directly to azeth_execute_agreement.
Note: This scans all agreements for the specified accounts. For large-scale keeper operations, consider filtering by specific accounts rather than scanning all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Target chain. Defaults to AZETH_CHAIN env var or "baseSepolia". Accepts "base", "baseSepolia", "ethereumSepolia", "ethereum" (and aliases like "base-sepolia", "eth-sepolia", "sepolia", "eth", "mainnet"). | |
| accounts | No | Accounts to scan: addresses, names, "me", or "#N". Defaults to ["me"]. |