Preview Release See the table of contents


Under the hood, BeQue is an HTTP API: you can use BeQue from any programming language you like.

If you happen to use JavaScript (and TypeScript), we recommend installing and using our SDK instead. Making HTTP requests is fine, but we think our SDK’s much nicer syntax will bring a smile to your face.

Installation is a snap:

> npm install --save @beque/sdk

The BeQue SDK contains many sub-packages, typically broken out by major functionality:

  • @beque/base — blocks, accounts, transactions, and logs
  • @beque/token — fungible tokens
  • @beque/nft — non-fungible tokens
  • @beque/defi — special tools for working with DeFi services like Uniswap and Serum
  • @beque/contract — generic tools for querying arbitrary smart contracts
  • @beque/push — utilities for managing webhook push notifications

BeQue supports multiple blockchains, including Solana and the Ethereum Mainnet. The sub-packages above contain types and methods that can reasonably be shared between all blockchains. However, blockchains differ in many ways. For instance, the Block data structure is radically different between Ethereum and Solana. To find the Solana variant, you’ll want to import { Block } from "@beque/base-sol"; the Ethereum variant is in @beque/base-eth.