Get query price
get_payment_infoRetrieve USDC price, asset, payTo, and network for a subgraph query to estimate cost or set up payment without paying.
Instructions
Preflight a subgraph: return the USDC price, asset, payTo and network from the x402 402 challenge WITHOUT paying. Use to estimate cost or to drive a harness-side payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subgraph_id | Yes | Subgraph ID | |
| query | No | GraphQL query to price (defaults to a minimal _meta probe) |