Skip to content

Latest commit

 

History

History
80 lines (44 loc) · 1.9 KB

AvailabilityGateway.md

File metadata and controls

80 lines (44 loc) · 1.9 KB

StarkEx JavaScript Client Library - v0.0.6 / Exports / AvailabilityGateway

Class: AvailabilityGateway

Hierarchy

  • GatewayBase

    AvailabilityGateway

Table of contents

Constructors

Methods

Constructors

constructor

new AvailabilityGateway(config)

Parameters

Name Type
config StarkExClientConfig

Overrides

GatewayBase.constructor

Defined in

availability-gateway/availability-gateway.ts:8

Methods

approveNewRoots

approveNewRoots(data): Promise<string>

Parameters

Name Type
data CommitteeSignature

Returns

Promise<string>

Defined in

availability-gateway/availability-gateway.ts:12


getBatchData

getBatchData(batchId): Promise<Record<string, any>>

Parameters

Name Type
batchId number

Returns

Promise<Record<string, any>>

Defined in

availability-gateway/availability-gateway.ts:21