TxSubmissionSchema
HardKAS SDK / artifacts/src / TxSubmissionSchema
Variable: TxSubmissionSchema
constTxSubmissionSchema:ZodObject<object&object,"strip",ZodTypeAny, {assumptionLevel?:string;assumptionRef?:string;contentHash?:string;covenantSpends?:object[];createdAt?:string;execution?: {domain?:"kaspa-l1"|"evm-l2";mode?:"rpc"|"simulator"|"localnet"|"l2-rpc";network?:string; };fee?: {feeSompi?:string;inputCount?:number;inputsSompi?:string;method?:"inputs-minus-outputs";outputCount?:number;outputsSompi?:string;planArtifactId?:string;status?:"derived"; } | {reason?:string;status?:"insufficient-evidence"; };hardkasVersion?:string;hashVersion?:string|number;lineage?: {artifactId?:string;lineageId?:string;parentArtifactId?:string;rootArtifactId?:string;sequence?:number; };lineageDepth?:number;metadata?:any;mode?:"rpc"|"simulator"|"localnet";networkId?:"simnet"|"mainnet"|"testnet-10"|"testnet-11"|"testnet-12"|"simnet-1"|"devnet"|"simulated"|"igra";networkProfileRef?:string;parents?:string[];policyRefs?:string[];preflight?: {guarantee?:string;inputs?:number;observedAtDaaScore?:string;scope?:"observer-local"; };replaces?:string[];rpcUrl?:string;schema?:"hardkas.txSubmission.v1";schemaVersion?:string;scriptCapabilities?: ("p2pk"|"multisig"|"timelock"|"covenant-experimental"|"silverscript-experimental"|"tockata-experimental")[];scriptMetadata?: {consensusImpact?:"experimental"|"none";experimental?:boolean;language?:"native"|"silverscript"|"tockata";notes?:string[];version?:string; };scriptProfile?:"standard"|"experimental";signedArtifactId?:string;submitPoint?: {sinkBlueScore?:string;sinkHash?:string;virtualDaaScore?:string; };submitPointUnavailable?: {reason?:string; };submitResult?: {accepted?:boolean;error?:string;transactionId?:string; };submittedAt?:string;txId?:string;version?:"1.0.0-alpha";workflowId?:string; }, {assumptionLevel?:string;assumptionRef?:string;contentHash?:string;covenantSpends?:object[];createdAt?:string;execution?: {domain?:"kaspa-l1"|"evm-l2";mode?:"rpc"|"simulator"|"localnet"|"l2-rpc";network?:string; };fee?: {feeSompi?:string;inputCount?:number;inputsSompi?:string;method?:"inputs-minus-outputs";outputCount?:number;outputsSompi?:string;planArtifactId?:string;status?:"derived"; } | {reason?:string;status?:"insufficient-evidence"; };hardkasVersion?:string;hashVersion?:string|number;lineage?: {artifactId?:string;lineageId?:string;parentArtifactId?:string;rootArtifactId?:string;sequence?:number; };lineageDepth?:number;metadata?:any;mode?:"rpc"|"simulator"|"localnet";networkId?:"simnet"|"mainnet"|"testnet-10"|"testnet-11"|"testnet-12"|"simnet-1"|"devnet"|"simulated"|"igra";networkProfileRef?:string;parents?:string[];policyRefs?:string[];preflight?: {guarantee?:string;inputs?:number;observedAtDaaScore?:string;scope?:"observer-local"; };replaces?:string[];rpcUrl?:string;schema?:"hardkas.txSubmission.v1";schemaVersion?:string;scriptCapabilities?: ("p2pk"|"multisig"|"timelock"|"covenant-experimental"|"silverscript-experimental"|"tockata-experimental")[];scriptMetadata?: {consensusImpact?:"experimental"|"none";experimental?:boolean;language?:"native"|"silverscript"|"tockata";notes?:string[];version?:string; };scriptProfile?:"standard"|"experimental";signedArtifactId?:string;submitPoint?: {sinkBlueScore?:string;sinkHash?:string;virtualDaaScore?:string; };submitPointUnavailable?: {reason?:string; };submitResult?: {accepted?:boolean;error?:string;transactionId?:string; };submittedAt?:string;txId?:string;version?:"1.0.0-alpha";workflowId?:string; }>
Defined in: packages/artifacts/src/schemas.ts:426
R-iii part 1 (Closure Pack IC-2′.2, Wave 1.3): the immutable record of what
HardKAS DID when it broadcast a signed transaction. Authenticated: the signed
artifact by artifactId, the txId the node returned, the submit call's result.
It carries NO post-send state (no status, confirmedAt, dagContext…): that is
observation, Wave 2. The raw RPC locator stays in the unauthenticated rpcUrl
(IC-1′.1b); a normalised endpoint is ARCHITECTURE_BLOCKED until its
normalisation is ratified, so no endpoint field is written.