createCallContext
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.22.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
| ZswapLocalState
| EncodedCoinPublicKey
| EncodedZswapLocalState
contractState
| ContractState
| StateValue
| ChargedState
privateState
PS
maybeTime?
number
parentBlockHash?
string
caller?
Returns
CallContext<PS>