Quick Start

How to install

You can install the SDK by npm.

npm i @gen-io/gen-sdk

Or, if you use yarn as your module management tool.

yarn add @gen-io/gen-sdk

Available public chain


How to use the sdk in your project

import { GenSdk } from '@gen-io/gen-sdk';
const genSdk = new GenSdk()
const { api, swapSdk, config, web3, utils } = genSdk

let data = await api.getGasPrice({
   chain: 'bsc'

You can then use all the functions explored by the SDK (API and swapSdk).

Last updated