azeth_get_agreement
Retrieve full details of a payment agreement, including status, payment history, and next execution time. Use to inspect terms, verify status, or track payments.
Instructions
View full details of a payment agreement including status, payment history, and next execution time.
Use this when: You want to inspect an agreement before executing or cancelling it, verify terms after creation, or check how much has been paid so far.
Returns: Complete agreement details with human-readable amounts, status, and timing.
Note: This is a read-only on-chain query. No gas or private key required for the query itself, but account resolution may need your key if using "me" or "#N".
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 | Yes | The payer smart account: Ethereum address, participant name, "me", or "#N". | |
| agreementId | Yes | The agreement ID to query. |