Elements Core

Leap Elements Core

Core package for Leap Elements SDK. This has methods and APIs that are used in @leapwallet/elements-hooks and @leapwallet/elements packages.

How to use

Install

npm install @leapwallet/elements-core

Import

import { getChains } from '@leapwallet/elements-core'

const main = async () => {
const chains = await getChains()
console.log(chains)
}

APIs

We have implemented wrappers for the following APIs:

  • Squid API
  • Kado API
  • CoinGecko API