azeth_get_agreement
View full payment agreement details, including status, payment history, and next execution time, to verify terms before executing or cancelling.
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".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>",
"agreementId": "<agreementId>"
},
"name": "azeth_get_agreement"
}
}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. |