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