Blast SDK is designed to offer builders an improved development experience and more efficient blockchain interactions by eliminating some of the hurdle involved in using blockchain endpoints via Blast
// Installation: npm install @bwarelabs/blast-sdk-js
import { Blast, BlastNetwork, BlastSubscriptionPlan } from "@bwarelabs/blast-sdk-js";
// Setup the Blast SDK
const blast = new Blast({
projectId: 'YOUR_PROJECT_ID',
network: BlastNetwork.ETH_MAINNET,
rateLimit: BlastSubscriptionPlan.Free
})
// Get gas price
const gasPrice = await blast.apiProvider.eth.getGasPrice();
// Get the latest block
const latestBlock = await blast.apiProvider.eth.eth_blockNumber();
Blast SDK can be safely used for any EVM compatible chain available in Blast making your cross-chain experience easier than ever before!
No service degradation due to request rate-limiting thanks to the built-in request back-off mechanism.
Benefit from best-in-class infrastructure services with unmatched response times as all your requests will go through Blast, the fastest and one of the most reliable API platforms in WEB 3.
Some of the best infrastructure and tooling services in the Web3 space, designed by developers for developers.
Get Started for Free