estimate_payment_cost
Estimate the SOL cost of paying a USDC invoice, including base fee, priority fee, and possible ATA rent-exemption deposit. Read-only; no transaction is submitted.
Instructions
Estimate the SOL cost of submitting the transaction that would pay a given payment_request. Useful before send_payment on a USDC invoice: the payer still spends SOL for the base fee, priority fee, and (first-time recipients only) ATA rent-exemption deposit. Read-only: does not send anything on-chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_request | Yes | JSON-serialized payment_request blob (as received from a provider job-feedback event). |