@rosen-clients/cardano-koios
v2.0.3
Published
A client library for Cardano Koios
Downloads
509
Readme
@rosen-clients/cardano-koios
Table of contents
Introduction
@rosen-clients/cardano-koios
is a Cardano Koios client library. It is created
by latest OpenAPI spec of Cardano Koios and is the main client library which
powers Rosen Bridge.
Installation
npm:
npm i @rosen-clients/cardano-koios
yarn:
yarn add @rosen-clients/cardano-koios
Usage
import cardanoKoiosClientFactory from '@rosen-clients/cardano-koios';
const cardanoKoiosClient = cardanoKoiosClientFactory('YOUR_KOIOS_URL');
// `cardanoKoiosClient` contains all of the apis categorized by their tag, e.g.
cardanoKoiosClient.transactions.postTxInfo({ _tx_hashes: ['SOME_TX_HASH'] });