estimate_payment_cost
Estimate the SOL cost to pay a payment_request, covering base fee, priority fee, and first-time ATA rent deposit. Read-only check before sending payment.
Instructions
Estimate the SOL cost of submitting the transaction that would pay a given payment_request. Useful before send_payment on an SPL (USDC/LSM) 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). |