@proto-kit/sdk • Docs
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
Overrides
Defined in
sdk/src/transaction/InMemoryTransactionSender.ts:20
Properties
appChain?
optionalappChain:AppChain<any>
Implementation of
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
Implementation of
TransactionSender.currentConfig
Inherited from
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
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
Implementation of
Inherited from
Defined in
common/dist/config/ConfigurableModule.d.ts:18
Methods
create()
create(
childContainerProvider):void
Parameters
• childContainerProvider: ChildContainerProvider
Returns
void
Implementation of
Inherited from
Defined in
common/dist/config/ConfigurableModule.d.ts:20
send()
send(
transaction):Promise<void>
Parameters
• transaction: PendingTransaction
Returns
Promise<void>