DocsReference@proto-kit/sdkClassesGraphqlNetworkStateTransportModule

@proto-kit/sdkDocs


Documentation / @proto-kit/sdk / GraphqlNetworkStateTransportModule

Class: GraphqlNetworkStateTransportModule

Used by various module sub-types that may need to be configured

Extends

Implements

Constructors

new GraphqlNetworkStateTransportModule()

new GraphqlNetworkStateTransportModule(graphqlClient): GraphqlNetworkStateTransportModule

Parameters

graphqlClient: GraphqlClient

Returns

GraphqlNetworkStateTransportModule

Overrides

AppChainModule.constructor

Defined in

sdk/src/graphql/GraphqlNetworkStateTransportModule.ts:25

Properties

appChain?

optional appChain: AppChain<any>

Inherited from

AppChainModule.appChain

Defined in

sequencer/dist/appChain/AppChainModule.d.ts:5


currentConfig

protected currentConfig: undefined | Record<string, never>

Store the config separately, so that we can apply additional checks when retrieving it via the getter

Inherited from

AppChainModule.currentConfig

Defined in

common/dist/config/ConfigurableModule.d.ts:17


presets

static presets: Presets<unknown>

Inherited from

AppChainModule.presets

Defined in

sequencer/dist/appChain/AppChainModule.d.ts:4

Accessors

config

Get Signature

get config(): Config

Returns

Config

Set Signature

set config(config): void

Parameters

config: Config

Returns

void

Inherited from

AppChainModule.config

Defined in

common/dist/config/ConfigurableModule.d.ts:18

Methods

create()

create(childContainerProvider): void

Parameters

childContainerProvider: ChildContainerProvider

Returns

void

Inherited from

AppChainModule.create

Defined in

common/dist/config/ConfigurableModule.d.ts:20


getProvenNetworkState()

getProvenNetworkState(): Promise<NetworkState>

Returns

Promise<NetworkState>

Implementation of

NetworkStateTransportModule.getProvenNetworkState

Defined in

sdk/src/graphql/GraphqlNetworkStateTransportModule.ts:72


getStagedNetworkState()

getStagedNetworkState(): Promise<NetworkState>

Returns

Promise<NetworkState>

Implementation of

NetworkStateTransportModule.getStagedNetworkState

Defined in

sdk/src/graphql/GraphqlNetworkStateTransportModule.ts:76


getUnprovenNetworkState()

getUnprovenNetworkState(): Promise<NetworkState>

Returns

Promise<NetworkState>

Implementation of

NetworkStateTransportModule.getUnprovenNetworkState

Defined in

sdk/src/graphql/GraphqlNetworkStateTransportModule.ts:80