
Supabase has integrated the Infura foreign data wrapper, enabling developers to query real-time Ethereum blockchain data directly using SQL. The feature brings blockchain analytics into the Postgres ecosystem, allowing developers to combine on-chain data with traditional application databases without leaving their existing toolchain.
The integration leverages Postgres foreign data wrappers, a feature that lets databases query external data sources as if they were native tables. By connecting to Infura, a widely-used Ethereum node infrastructure provider, Supabase developers can now run standard SQL queries against live blockchain data including transactions, blocks, and smart contract events.
Querying Blockchain Data with Familiar Tools
Developers working with decentralized applications typically need to interact with blockchain data through web3 libraries or specialized APIs. This new wrapper removes that friction by exposing Ethereum data through SQL, the language most backend developers already know.
The integration supports queries across Ethereum mainnet and testnets. Developers can join blockchain data with their application tables, enabling use cases like:
- Wallet balance verification during user authentication
- Transaction monitoring for payment confirmations
- Token holder analysis for airdrops or governance
- Smart contract event tracking for real-time notifications
Because the data flows through Postgres, developers can apply standard SQL operations like filtering, aggregation, and joins across both on-chain and off-chain data sources.
Foreign Data Wrappers Expand Supabase's Reach
This release continues Supabase's pattern of using foreign data wrappers to connect Postgres to external platforms. The company has previously added similar integrations for services like Stripe and Firebase, letting developers build unified data layers without complex ETL pipelines.
Foreign data wrappers operate as Postgres extensions that map external APIs or databases to virtual tables. Queries against these tables are translated into appropriate API calls behind the scenes, with results returned in standard SQL format. This architecture means developers don't need to manage separate connections or learn new query languages for each data source.
For blockchain developers, the approach offers significant advantages over traditional RPC endpoints. SQL queries can be cached, optimized by the Postgres query planner, and integrated with existing database tooling for monitoring and debugging.
The Infura wrapper is open source and available through Supabase's extension marketplace. Developers need an Infura API key to configure the connection, after which Ethereum data becomes accessible through standard SQL queries in their Supabase projects. The integration works alongside Supabase's existing features including AI-powered query analysis tools and authentication systems.
While blockchain data remains immutable and append-only, the wrapper provides real-time access as new blocks are mined. This enables applications to react to on-chain events without maintaining separate blockchain indexing infrastructure, a significant operational simplification for teams building web3 features into traditional applications.
Sources
1 checkedHow we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.








