{{name}} to turn it into a parameter. Each parameter keeps its value on the query, so you can rerun the same SQL for another chain or window without editing it.
1
Add parameters
Write 
{{name}} wherever a value should change. This query reads stablecoin supply on one chain over a number of days:
2
Set their values
Select a parameter in the editor to set its value, here 
30 for days and solana for chain.
3
Run it
Run the query. Change a value and run again to read another chain or window.
Parameters through the API
The Explorer API sets parameter values per request, so one saved query can serve many filters. To make the whole query a parameter, save{{sql}} as the query text and pass the complete SQL as that parameter’s value.
Next steps
Run a basic query
Write and run SQL in the editor.
Query a previous result
Build on a finished run without recomputing it.