@elytro/assets
v1.0.2
Published
A database of token
Downloads
11
Readme
Table of Contents
Installing
Using npm:
$ npm install @elytro/assetsUsing yarn:
$ yarn add @elytro/assetsUsing pnpm:
$ pnpm add @elytro/assetsOnce the package is installed, you can import the library using import approach:
import { getAsset } from "@elytro/assets";Example
import { getAsset } from "@elytro/assets";
async function main(chainId: number, address: string) {
const ret = await getAsset(chainId, address);
if (ret.isOk()) {
console.log(ret.OK);
}
}License
ISC
