Get a price
Price a Solana history scan
Select a program and an epoch range or dates to get a firm price. The result is Parquet files in R2, with download URLs that stay valid for 7 days.
The fields you send replace the preset's fields. A preset keeps successful
transactions only; set
include_failed to true to keep the failed ones too. Add
accounts to keep only the transactions that touch those accounts. Set tx_table to true
for the transaction tables: balances, compute units and errors. Set blocks_table
to true for the blocks table: every block, with its parent slot and its time.
All filter fields.This goes in the request as
source. It does not change the job or the price.Send this request again with an
X-PAYMENT header from any
x402 client. The job starts when the payment settles. GET /job/<id>
returns the download URLs when the job is done. Keep the Idempotency-Key until
you have the job id: if the answer does not come, send the same request with the same key.