definitive-ts
v0.3.1
Published
Connecting to the Definitive API for vault and positions data
Downloads
1,440
Readme
Definitive TS SDK
Install
npm i definitive-ts
Usage
import { DefinitiveApi } from "definitive-ts";
const api = new DefinitiveApi({
HEADERS: { "api-key": "eyJhbGciOiJFUzI1..." },
});
api.default
.getVaults()
.then((res) => console.log(res))
.catch((e) => console.error(e));