API client for the Light API service.
yarn add wharfkit-light-apiimport {APIClient, FetchProvider} from '@wharfkit/antelope'
import {LightAPIClient} from 'wharfkit-light-api'
const client = new APIClient({
provider: new FetchProvider('https://eos.light-api.net'),
})
const lightapi = new LightAPIClient(client)
const account = await lightapi.get_account('eos', 'teamgreymass')
const balances = await lightapi.get_balances('eos', 'teamgreymass')
const status = await lightapi.get_status()make testRunning tests against a live Light API server:
MOCK='overwrite' make test