Function createTransactionContext
- createTransactionContext(params: {
assets?: BlockAssets;
chainID?: Buffer;
contextStore?: Map<string, unknown>;
eventQueue?: EventQueue;
header?: BlockHeader;
logger?: Logger;
stateStore?: PrefixedStateReadWriter;
transaction: Transaction;
}): TransactionContext
-
Parameters
-
params: {
assets?: BlockAssets;
chainID?: Buffer;
contextStore?: Map<string, unknown>;
eventQueue?: EventQueue;
header?: BlockHeader;
logger?: Logger;
stateStore?: PrefixedStateReadWriter;
transaction: Transaction;
}
-
Optional
assets?: BlockAssets
-
Optional
chainID?: Buffer
-
Optional
contextStore?: Map<string, unknown>
-
Optional
eventQueue?: EventQueue
-
-
Optional
logger?: Logger
-
Optional
stateStore?: PrefixedStateReadWriter
-
Returns TransactionContext