azeth_list_agreements
List all payment agreements for a smart account with status and timing. Use to find agreement IDs, view active subscriptions, or check due agreements.
Instructions
List all payment agreements for a smart account with summary status.
Use this when: You need to find an agreement ID, see all active subscriptions, check which agreements are due for execution, or get an overview of payment commitments.
Returns: Array of agreement summaries sorted by ID (newest first), with status and timing.
Note: This is a read-only on-chain query. Iterates through all agreements for the account. For accounts with many agreements, this may take a few seconds.
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"). | |
| account | No | Smart account to query: address, name, "me", or "#N". Defaults to "me". | |
| status | No | Filter by status. "due" shows only agreements ready for execution right now. | all |