Skip to main content

createInitialQueryContext

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.19.0


@midnight-ntwrk/compact-runtime / createInitialQueryContext

Function: createInitialQueryContext()

function createInitialQueryContext(
contractState,
contractAddress,
time,
parentBlockHash?,
caller?): QueryContext;

Internal

Parameters​

contractState​

ContractState | StateValue | ChargedState

contractAddress​

string

time​

number

parentBlockHash?​

string

caller?​

PublicAddress

Returns​

QueryContext