Skip to content

nooschain v0.1.0


nooschain / protocol/protocol-types / ProtocolTransactionHandler

Interface: ProtocolTransactionHandler

Defined in: protocol/protocol-types.ts:52

Adapter from a transaction type to its protocol-versioned execution behavior.

Properties

type

type: string

Defined in: protocol/protocol-types.ts:54

Domain transaction type handled by this protocol entry.

Methods

execute()

execute(args): Promise<unknown[]>

Defined in: protocol/protocol-types.ts:56

Executes one transaction and returns deterministic state changes.

Parameters

args
actor

unknown

Actor resolved from the transaction signer.

payload

unknown

Canonical transaction payload.

protocolContext

ProtocolExecutionContext

Protocol context selected for the current block.

transaction

unknown

Persisted transaction row or transaction-shaped object being executed.

trx

unknown

Kysely transaction/database handle for the current block execution transaction.

Returns

Promise<unknown[]>

Audience-first NOOSChain documentation.