@proto-kit/sdk • Docs
Documentation / @proto-kit/sdk / GraphqlBlockExplorerTransportModule
Class: GraphqlBlockExplorerTransportModule
Used by various module sub-types that may need to be configured
Extends
Implements
Constructors
new GraphqlBlockExplorerTransportModule()
new GraphqlBlockExplorerTransportModule(
graphqlClient):GraphqlBlockExplorerTransportModule
Parameters
• graphqlClient: GraphqlClient
Returns
GraphqlBlockExplorerTransportModule
Overrides
Defined in
sdk/src/graphql/GraphqlBlockExplorerTransportModule.ts:29
Properties
appChain?
optionalappChain:AppChain<any>
Inherited from
Defined in
sequencer/dist/appChain/AppChainModule.d.ts:5
currentConfig
protectedcurrentConfig:undefined|NoConfig
Store the config separately, so that we can apply additional checks when retrieving it via the getter
Inherited from
Defined in
common/dist/config/ConfigurableModule.d.ts:17
presets
staticpresets:Presets<unknown>
Inherited from
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
Defined in
common/dist/config/ConfigurableModule.d.ts:18
Methods
create()
create(
childContainerProvider):void
Parameters
• childContainerProvider: ChildContainerProvider
Returns
void
Inherited from
Defined in
common/dist/config/ConfigurableModule.d.ts:20
fetchTxInclusion()
fetchTxInclusion(
txHash):Promise<InclusionStatus>
Parameters
• txHash: string
Returns
Promise<InclusionStatus>
Implementation of
BlockExplorerTransportModule.fetchTxInclusion
Defined in
sdk/src/graphql/GraphqlBlockExplorerTransportModule.ts:35
getBlock()
getBlock(
param):Promise<undefined|ClientBlock>
Parameters
• param: object | object
Returns
Promise<undefined | ClientBlock>
Implementation of
BlockExplorerTransportModule.getBlock