UNPKG

@starkware-industries/starkex-js

Version:

`starkex-js` is a JavaScript wrapper around the [StarkEx API](https://starkware.co/starkex/api/) that can be used in both NodeJS and Browser environments.

10 lines (9 loc) 436 B
import { GatewayBase } from '../gateway-base'; import { StarkExClientConfig } from '../starkex-client'; import { CommitteeSignature } from './availability-gateway-types'; declare class AvailabilityGateway extends GatewayBase { constructor(config: StarkExClientConfig); approveNewRoots(data: CommitteeSignature): Promise<string>; getBatchData(batchId: number): Promise<Record<string, any>>; } export { AvailabilityGateway };