createCallContext
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.19.0
@midnight-ntwrk/compact-runtime / createCallContext
Function: createCallContext()
function createCallContext<PS>(
circuitId,
contractAddress,
coinPublicKeyOrZswapState,
contractState,
privateState,
maybeTime?,
parentBlockHash?,
caller?): CallContext<PS>;
Type Parameters
PS
PS
Parameters
circuitId
string
contractAddress
string
coinPublicKeyOrZswapState
string | EncodedZswapLocalState | EncodedCoinPublicKey | ZswapLocalState
contractState
ContractState | StateValue | ChargedState
privateState
PS
maybeTime?
number
parentBlockHash?
string
caller?
Returns
CallContext<PS>