Comment on page
Async HTTP API
Query web3 data with SQL via the async HTTP API
By posting a JSON payload specifying list of query completion
notificationsresults can be fetched asynchronously once the query has completed.
Webhooks are currently the only supported type of query completion notification. Get in touch on Discord to suggest other types of notification methods.
Results will only be available for fetching for 20 mins after the query was made.
"sql": "SELECT number, \"timestamp\", hash, transaction_count, gas_used FROM eth.recent_blocks LIMIT 10",
"name": "test notification",
- An API key is required for all SQL queries.
- Results are limited to 500 rows. Use
limitto page through results.
- Requests are limited to 90 seconds.
Perform an async SQL query
Fetch SQL query results