sap_fetch_subscription
Retrieve subscription details using a subscription PDA or a combination of agent PDA, subscriber wallet, and subscription ID.
Instructions
Fetch a subscription by PDA or by agent PDA/subscriber/subId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subId | No | Subscription ID (default: 0) — used with agentPda and subscriber | |
| agentPda | No | Agent PDA (base58) — used when subscriptionPda is omitted | |
| subscriber | No | Optional subscriber wallet (base58) to filter by | |
| subscriptionPda | No | Subscription PDA (base58) to fetch directly |