Skip to main content

assertReceiptCompatibleWithTarget

@hardkas/core


@hardkas/core / assertReceiptCompatibleWithTarget

Function: assertReceiptCompatibleWithTarget()

assertReceiptCompatibleWithTarget(receipt, target, operation?): void

Defined in: packages/core/src/semantics/execution-guard.ts:166

Parameters​

receipt​

ExecutionAwareReceipt

target​

domain​

"kaspa-l1" | "evm-l2" = executionDomainSchema

mode​

"rpc" | "localnet" | "simulator" = executionModeSchema

network​

string = ...

operation?​

ExecutionOperation

Returns​

void