DocsReference@proto-kit/sdkClassesInMemoryTransactionSender

@proto-kit/sdkDocs


Documentation / @proto-kit/sdk / InMemoryTransactionSender

Class: InMemoryTransactionSender

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

Extends

Implements

Constructors

new InMemoryTransactionSender()

new InMemoryTransactionSender(sequencer): InMemoryTransactionSender

Parameters

sequencer: ModuleContainerLike

Returns

InMemoryTransactionSender

Overrides

AppChainModule.constructor

Defined in

sdk/src/transaction/InMemoryTransactionSender.ts:20

Properties

appChain?

optional appChain: AppChain<any>

Implementation of

TransactionSender.appChain

Inherited from

AppChainModule.appChain

Defined in

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


currentConfig

protected currentConfig: undefined | NoConfig

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

Implementation of

TransactionSender.currentConfig

Inherited from

AppChainModule.currentConfig

Defined in

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


mempool

mempool: PrivateMempool

Defined in

sdk/src/transaction/InMemoryTransactionSender.ts:18


sequencer

sequencer: ModuleContainerLike

Defined in

sdk/src/transaction/InMemoryTransactionSender.ts:21


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

Implementation of

TransactionSender.config

Inherited from

AppChainModule.config

Defined in

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

Methods

create()

create(childContainerProvider): void

Parameters

childContainerProvider: ChildContainerProvider

Returns

void

Implementation of

TransactionSender.create

Inherited from

AppChainModule.create

Defined in

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


send()

send(transaction): Promise<void>

Parameters

transaction: PendingTransaction

Returns

Promise<void>

Implementation of

TransactionSender.send

Defined in

sdk/src/transaction/InMemoryTransactionSender.ts:28