How to Use Parameters
Replace any value in your query with{{param_name}} to create a parameter. The query editor will automatically detect these parameters and provide input fields for them.
Set Parameter Values
The query editor automatically detects parameters and displays input fields. Enter your desired values:
- last_n_days:
3 - chain:
solana

Advanced Parameter Techniques
- API Integration
- Dynamic SQL
Parameters become even more powerful when using the Explorer API to run queries programmatically. You can dynamically set parameter values in your API requests to create flexible data pipelines and applications.This enables:
- Automated data pulls with variable filters
- User-driven dashboards and reports
- Dynamic data exports based on business logic
Next Steps
Basic Queries
Learn the fundamentals of running queries
Query Previous Results
Build on top of completed query runs
Explorer API
Execute parameterized queries programmatically
Visualize Results
Create charts and visualizations from query results