1.0.0 • Published 9 months ago

@elytro/assets v1.0.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
9 months ago

Table of Contents

Installing

Using npm:

$ npm install @elytro/assets

Using yarn:

$ yarn add @elytro/assets

Using pnpm:

$ pnpm add @elytro/assets

Once 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

1.0.0

9 months ago