0.77.1 • Published 1 year ago

@vegaprotocol/rest-clients v0.77.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Rest clients

WIP project that autogenerates types and clients for interacting with the Vega REST APIs

Usage

Install the client you wish to use:

npm i @vegaprotocol/rest-client

or

yarn add @vegaprotocol/rest-client

Then use it in your code:

// Choose API you wish to access; BlockExplorer, Core, CoreState or TradingData
import { BlockExplorer } from "@vegaprotocol/rest-clients";

// Set the base URL of for the client you are connecting to.
BlockExplorer.OpenAPI.BASE = "node-url-here";
const service = BlockExplorer.BlockExplorerService;
service.blockExplorerListTransactions().then((markets) => {
  console.log(markets);
});
0.77.1

1 year ago

0.77.0

1 year ago

0.0.6

1 year ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago