Skip to main content

assertArtifactCompatibleWithTarget

@hardkas/core


@hardkas/core / assertArtifactCompatibleWithTarget

Function: assertArtifactCompatibleWithTarget()

assertArtifactCompatibleWithTarget(artifact, target, operation?): void

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

Parameters​

artifact​

ExecutionAwareArtifact

target​

domain​

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

mode​

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

network​

string = ...

operation?​

ExecutionOperation

Returns​

void