Skip to content

Latest commit

 

History

History
188 lines (104 loc) · 4.04 KB

FeederGateway.md

File metadata and controls

188 lines (104 loc) · 4.04 KB

StarkEx JavaScript Client Library - v0.1.0-dev.7 / Exports / FeederGateway

Class: FeederGateway

Hierarchy

  • GatewayBase

    FeederGateway

Table of contents

Constructors

Methods

Constructors

constructor

new FeederGateway(config)

Parameters

Name Type
config StarkExClientConfig

Overrides

GatewayBase.constructor

Defined in

feeder-gateway/feeder-gateway.ts:8

Methods

DEPRECATED_getBatchIds

DEPRECATED_getBatchIds(request): Promise<number[]>

Parameters

Name Type
request BatchIdsRequest

Returns

Promise<number[]>

Defined in

feeder-gateway/feeder-gateway.ts:29


DEPRECATED_getBatchInfo

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

Parameters

Name Type
batchId number

Returns

Promise<Record<string, any>>

Defined in

feeder-gateway/feeder-gateway.ts:40


getBatchEnclosingIds

getBatchEnclosingIds(batchId): Promise<number[]>

Parameters

Name Type
batchId number

Returns

Promise<number[]>

Defined in

feeder-gateway/feeder-gateway.ts:23


getBatchInfo

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

Parameters

Name Type
batchId number

Returns

Promise<Record<string, any>>

Defined in

feeder-gateway/feeder-gateway.ts:52


getLastBatchId

getLastBatchId(): Promise<number>

Returns

Promise<number>

Defined in

feeder-gateway/feeder-gateway.ts:58


getPrevBatchId

getPrevBatchId(batchId): Promise<number>

Parameters

Name Type
batchId number

Returns

Promise<number>

Defined in

feeder-gateway/feeder-gateway.ts:62


isAlive

isAlive(): Promise<string>

Returns

Promise<string>

Defined in

feeder-gateway/feeder-gateway.ts:15


isReady

isReady(): Promise<string>

Returns

Promise<string>

Defined in

feeder-gateway/feeder-gateway.ts:19