@rosen-clients/ergo-explorer
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@rosen-clients/ergo-explorer

Table of contents

Introduction

@rosen-clients/ergo-explorer is an Ergo Explorer client library. It is created by latest OpenAPI spec of Ergo Explorer and is the main client library which powers Rosen Bridge.

Installation

npm:

npm i @rosen-clients/ergo-explorer

yarn:

yarn add @rosen-clients/ergo-explorer

Usage

import ergoExplorerClientFactory from '@rosen-clients/ergo-explorer';

const ergoExplorerClient = ergoExplorerClientFactory('YOUR_EXPLORER_URL');

// `ergoExplorerClient` contains all of the apis categorized by their tag, e.g.
ergoExplorerClient.v0.getApiV0BlocksP1('SOME_BLOCK_HASH');
ergoExplorerClient.v1.getApiV1BoxesByaddressP1('SOME_ADDRESS');

Readme

Keywords

Package Sidebar

Install

npm i @rosen-clients/ergo-explorer

Weekly Downloads

197

Version

1.1.1

License

GPL-3.0

Unpacked Size

623 kB

Total Files

495

Last publish

Collaborators

  • vorujack
  • arsalanyavari
  • zargarzadehm