azeth_list_agreements
Retrieve all payment agreements for a smart account with summary status and timing. Filter by status to view active, due, completed, or cancelled 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "azeth_list_agreements"
}
}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"). | |
| status | No | Filter by status. "due" shows only agreements ready for execution right now. | all |
| account | No | Smart account to query: address, name, "me", or "#N". Defaults to "me". |