All topics
Customers + Partners
Company News
Industry Insights
Industry Insights
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Does BC Vault have an API?

Does BC Vault have an API?

BC Vault offers a Javascript API for integration, providing functionality such as querying connected devices and performing various actions related to BC-Vault. More details can be found in the BC Vault API documentation. However, an alternative to using BC Vault's API is Mesh, which has built direct integration with BC Vault and 300+ other digital asset exchanges and wallets. For more information on using Mesh, refer to the Mesh documentation.

How to access BC Vault’s public API

BC Vault is a secure hardware wallet for storing and managing digital assets. The bc-js repository on GitHub provides a JavaScript API for integrating BC-Vault into your applications.

Users can access BC Vault's public API by following the instructions and documentation provided in the bc-js repository. However, an alternative option is to use Mesh, which offers a more seamless experience for accessing digital assets across various platforms.

Mesh allows developers to build products that enable customers to access their digital assets from different cryptocurrencies within the platform. To get started with Mesh, refer to the Quickstart Guide with Link SDKs for detailed instructions on integrating Mesh into your applications.

What does BC Vault’s API documentation look like?

BC Vault's API documentation provides an overview of the bc-js library, a Javascript API designed for seamless integration with BC-Vault. The library offers functions for interfacing with the BC VAULT daemon via HTTP and supports querying connected devices, among other features. All functions are defined as Promises, enabling the use of native await syntax in supported environments. To access the latest documentation, visit the BC Vault API Documentation page or follow the instructions to generate it locally using TypeDoc.

How to use Mesh to integrate with BC Vault

Integrating Mesh with BC Vault and other exchanges is a straightforward process, as outlined in the Mesh Documentation. To get started, follow these simple steps:

  1. Sign up for a Mesh account on the Mesh Signup Page.
  2. Generate API keys and add allowed callback URLs for your environments.
  3. Call /api/v1/cataloglink to create a link URL for the user to connect their BC Vault account.
  4. Pass the iFrameURL to the appropriate Link SDK (Web, iOS, Android, or React Native).
  5. Mesh handles the authentication flow and MFAs, and the user receives an auth_token upon successful authentication.

With Mesh, you can easily enable your users to buy and sell digital assets without the complexities of managing multiple integrations.

Why use Mesh instead of directly accessing the BC Vault API?

Mesh offers a seamless and efficient way to integrate with BC Vault and other digital asset exchanges and wallets. Here are the top reasons why using Mesh's integrations is a better option than accessing the BC Vault's own API directly:

  • Ease of use: Mesh provides a user-friendly interface and API-based integrations, making it easier for developers to build products that access digital assets across various platforms.
  • Multiple exchange integrations: With Mesh, you can access 300+ digital asset exchanges and wallets, including BC Vault, through a single integration, simplifying the development process.
  • Cost-effective: Mesh offers two pricing models, "Pay-as-you-go" and "Enterprise subscription," with volume discounts available based on contract duration and/or minimum monthly commitment. See the Mesh Pricing page for more details.
  • Real-time data and transaction history: Mesh's Account Aggregation product provides real-time access to aggregated assets, balances, and detailed transactional history.
  • Embedded crypto deposits and payments: Mesh's Digital Asset Deposits and Pay with Crypto products offer an all-in-one experience for funding wallets and making secure, global payments without the need for KYC or one-off wallets.

How much does Mesh’s integration with BC Vault cost?

Mesh offers two pricing models: Pay-as-you-go and Enterprise subscription. The Pay-as-you-go plan charges $0.50 per transfer or trade request, with free $500 credits and no upfront payment. The Enterprise plan is tailored for businesses seeking customized pricing and volumes. Detailed pricing information can be found on the Mesh Pricing page.

Signing up for Mesh is simple, as described on the Mesh Signup Page. To get started with Mesh SDKs and APIs, refer to the Mesh Documentation.

Popular use cases for Mesh’s integration with BC Vault

Mesh's integration with BC Vault opens up a world of possibilities for developers to create innovative solutions. Here are some example use cases:

  • Build a portfolio management app that allows users to view and manage their digital assets across multiple exchanges and wallets, leveraging Mesh's Account Aggregation feature.
  • Create a payment gateway that enables customers to pay for goods and services using their preferred cryptocurrencies, utilizing Mesh's Pay with Crypto service.
  • Develop a crypto savings app that allows users to deposit digital assets from various sources seamlessly, taking advantage of Mesh's Digital Asset Deposits functionality.

BC Vault API errors and troubleshooting

API errors can cause various issues when integrating with digital asset platforms like BC Vault. Understanding and troubleshooting these errors is essential for a seamless experience.

However, the BC Vault API documentation does not provide specific information about common API errors, error codes, or troubleshooting methods. Therefore, no examples of error codes or troubleshooting steps can be provided in this case.

Other integrations available from Mesh

In addition to an integration with BC Vault, Mesh also supports various other exchanges, wallets, and trading platforms, such as:

  • Binance (US) - Binance.US is the crypto trading platform for US residents where you can buy, sell, and trade cryptocurrencies and alt coins with some of the lowest fees in the U.S.
  • Metamask - MetaMask is the leading self-custodial wallet. The safe and simple way to access blockchain applications and web3. Trusted by millions of users worldwide.
  • Robinhood - Robinhood is a commission-free trading platform that allows users to invest in stocks, options, and cryptocurrencies.
  • Coinbase - Coinbase is a secure platform that makes it easy to buy, sell, and store cryptocurrency like Bitcoin, Ethereum, and more.
  • Kraken - Kraken is a top-tier cryptocurrency exchange that offers a wide range of digital assets and fiat currencies, with advanced trading features and industry-leading security.

If you want to use Mesh, you can sign up for Mesh today.