@monolythium/core-sdk 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1055,7 +1055,7 @@ type BlockHeader = {
1055
1055
  type BlockTag = "latest" | "earliest" | "finalized" | "safe" | "pending";
1056
1056
 
1057
1057
  /**
1058
- * BLS aggregate certificate response used by the AUD-0074 certificate RPCs.
1058
+ * Round certificate response used by the certificate RPCs.
1059
1059
  */
1060
1060
  type BlsCertificateResponse = {
1061
1061
  /**
@@ -1233,7 +1233,7 @@ type ClusterEntityResponse = {
1233
1233
  */
1234
1234
  type ClusterResignationRow = {
1235
1235
  /**
1236
- * `0x`-prefixed 48-byte BLS-G1 operator public key.
1236
+ * `0x`-prefixed legacy 48-byte cluster-member public key.
1237
1237
  */
1238
1238
  operator: string;
1239
1239
  /**
@@ -1495,9 +1495,9 @@ type DecodeTxResponse = {
1495
1495
  */
1496
1496
  clusterId: number | null;
1497
1497
  /**
1498
- * Opaque BLS attestation payload.
1498
+ * Opaque round attestation payload.
1499
1499
  */
1500
- blsAttestation: unknown | null;
1500
+ roundAttestation: unknown | null;
1501
1501
  /**
1502
1502
  * PQ-finality attestation payload.
1503
1503
  */
@@ -2430,12 +2430,43 @@ declare const NODE_REGISTRY_SELECTORS: {
2430
2430
  readonly getOperatorNetworkMetadata: string;
2431
2431
  /** `getClusterDiversity(uint32)` view (PF-6). */
2432
2432
  readonly getClusterDiversity: string;
2433
+ /** `requestClusterJoin(uint32,bytes)` — CJ-1 joining operator posts an admit request. */
2434
+ readonly requestClusterJoin: string;
2435
+ /** `voteClusterAdmit(uint32,bytes32,bytes)` — CJ-1 current member admit vote. */
2436
+ readonly voteClusterAdmit: string;
2437
+ /** `cancelClusterJoin(uint32,bytes32)` — CJ-1 requester cancellation/refund. */
2438
+ readonly cancelClusterJoin: string;
2439
+ /** `expireClusterJoin(uint32,bytes32)` — CJ-1 public reaper/refund. */
2440
+ readonly expireClusterJoin: string;
2441
+ /** `getClusterJoinRequest(uint32,bytes32)` — CJ-1 request status view. */
2442
+ readonly getClusterJoinRequest: string;
2443
+ /** `formCluster(bytes,bytes,bytes)` — no-foundation cluster formation by roster consent. */
2444
+ readonly formCluster: string;
2433
2445
  };
2446
+ /** Cluster-member reference width used by genesis and formation rosters. */
2447
+ declare const NODE_REGISTRY_CLUSTER_MEMBER_REF_BYTES = 48;
2448
+ /** @deprecated Use NODE_REGISTRY_CLUSTER_MEMBER_REF_BYTES. */
2449
+ declare const NODE_REGISTRY_LEGACY_CLUSTER_MEMBER_PUBKEY_BYTES = 48;
2450
+ /** @deprecated Use NODE_REGISTRY_CLUSTER_MEMBER_REF_BYTES. */
2434
2451
  declare const NODE_REGISTRY_BLS_PUBKEY_BYTES = 48;
2452
+ /** Full ML-DSA-65 consensus pubkey width used by register and pending-change calldata. */
2453
+ declare const NODE_REGISTRY_CONSENSUS_PUBKEY_BYTES = 1952;
2454
+ /** ML-DSA-65 consensus signature width. */
2455
+ declare const NODE_REGISTRY_CONSENSUS_SIGNATURE_BYTES = 3309;
2456
+ /** ML-DSA-65 self-signature width used as register proof-of-possession. */
2457
+ declare const NODE_REGISTRY_CONSENSUS_POP_BYTES = 3309;
2458
+ /** DKG-reshare attestation signature width. Removal is tracked outside W1. */
2459
+ declare const NODE_REGISTRY_DKG_ATTESTATION_SIG_BYTES = 96;
2460
+ /** @deprecated Use NODE_REGISTRY_DKG_ATTESTATION_SIG_BYTES. */
2435
2461
  declare const NODE_REGISTRY_DKG_THRESHOLD_SIG_BYTES = 96;
2436
2462
  declare const NODE_REGISTRY_DKG_RESHARE_MIN_SIGNERS = 5;
2437
2463
  declare const NODE_REGISTRY_DKG_RESHARE_MAX_SIGNERS = 7;
2438
2464
  declare const NODE_REGISTRY_PENDING_CHANGE_MAX_INTENT_ID: bigint;
2465
+ declare const NODE_REGISTRY_FORM_CLUSTER_ACTIVE_COUNT = 7;
2466
+ declare const NODE_REGISTRY_FORM_CLUSTER_STANDBY_COUNT = 3;
2467
+ declare const NODE_REGISTRY_FORM_CLUSTER_MEMBER_COUNT: number;
2468
+ declare const NODE_REGISTRY_FORM_CLUSTER_THRESHOLD = 7;
2469
+ declare const NODE_REGISTRY_FORM_CLUSTER_MESSAGE_DOMAIN: "PROTOCORE_NODE_REGISTRY_CLUSTER_FORM_V1\0";
2439
2470
  type PendingChangeKind = "add" | "remove" | "rotate";
2440
2471
  declare const PENDING_CHANGE_KIND_CODES: Record<PendingChangeKind, number>;
2441
2472
  /** Canonical `ClusterFormed(uint32,uint64,address,bytes)` event topic0 (MB-5). */
@@ -2452,9 +2483,50 @@ interface CancelPendingChangeCalldataArgs {
2452
2483
  }
2453
2484
  interface AttestDkgReshareCalldataArgs {
2454
2485
  intentId: bigint | number | string;
2455
- blsPublicKeys: string | Uint8Array | readonly number[];
2486
+ consensusPublicKeys?: string | Uint8Array | readonly number[];
2487
+ /** @deprecated Use consensusPublicKeys. */
2488
+ blsPublicKeys?: string | Uint8Array | readonly number[];
2456
2489
  thresholdSig: string | Uint8Array | readonly number[];
2457
2490
  }
2491
+ interface RequestClusterJoinCalldataArgs {
2492
+ clusterId: bigint | number | string;
2493
+ operatorPubkey: string | Uint8Array | readonly number[];
2494
+ }
2495
+ interface VoteClusterAdmitCalldataArgs {
2496
+ clusterId: bigint | number | string;
2497
+ operatorId: string | Uint8Array | readonly number[];
2498
+ voterPubkey: string | Uint8Array | readonly number[];
2499
+ }
2500
+ interface CancelClusterJoinCalldataArgs {
2501
+ clusterId: bigint | number | string;
2502
+ operatorId: string | Uint8Array | readonly number[];
2503
+ }
2504
+ interface ExpireClusterJoinCalldataArgs {
2505
+ clusterId: bigint | number | string;
2506
+ operatorId: string | Uint8Array | readonly number[];
2507
+ }
2508
+ interface GetClusterJoinRequestCalldataArgs {
2509
+ clusterId: bigint | number | string;
2510
+ operatorId: string | Uint8Array | readonly number[];
2511
+ }
2512
+ interface FormClusterCalldataArgs {
2513
+ activePubkeys: string | Uint8Array | readonly number[];
2514
+ standbyPubkeys: string | Uint8Array | readonly number[];
2515
+ signatures: string | Uint8Array | readonly number[];
2516
+ }
2517
+ type ClusterJoinRequestStatus = "none" | "open" | "admitted" | "cancelled" | "expired" | "unknown";
2518
+ interface ClusterJoinRequestView {
2519
+ owner: string;
2520
+ requestEpoch: bigint;
2521
+ requestNonce?: bigint;
2522
+ snapshotThreshold: number;
2523
+ snapshotN: number;
2524
+ voteCount: number;
2525
+ statusCode: number;
2526
+ status: ClusterJoinRequestStatus;
2527
+ bondLythoshi: bigint;
2528
+ sealRosterPending: boolean;
2529
+ }
2458
2530
  interface ReportServiceProbeCalldataArgs {
2459
2531
  peerId: string | Uint8Array | readonly number[];
2460
2532
  serviceMask: number;
@@ -2478,8 +2550,24 @@ declare function normalizePendingChangeKind(kind: PendingChangeKind | number): {
2478
2550
  declare function encodeRecoverOperatorNodeCalldata(peerId: string | Uint8Array | readonly number[]): string;
2479
2551
  declare function encodeSubmitPendingChangeCalldata(args: SubmitPendingChangeCalldataArgs): string;
2480
2552
  declare function encodeCancelPendingChangeCalldata(args: CancelPendingChangeCalldataArgs): string;
2481
- declare function parseDkgResharePublicKeys(blsPublicKeys: string | Uint8Array | readonly number[]): Uint8Array[];
2553
+ declare function parseDkgResharePublicKeys(consensusPublicKeys: string | Uint8Array | readonly number[]): Uint8Array[];
2482
2554
  declare function encodeAttestDkgReshareCalldata(args: AttestDkgReshareCalldataArgs): string;
2555
+ declare function encodeRequestClusterJoinCalldata(args: RequestClusterJoinCalldataArgs): string;
2556
+ declare function encodeVoteClusterAdmitCalldata(args: VoteClusterAdmitCalldataArgs): string;
2557
+ declare function encodeCancelClusterJoinCalldata(args: CancelClusterJoinCalldataArgs): string;
2558
+ declare function encodeExpireClusterJoinCalldata(args: ExpireClusterJoinCalldataArgs): string;
2559
+ declare function encodeGetClusterJoinRequestCalldata(args: GetClusterJoinRequestCalldataArgs): string;
2560
+ declare function formClusterMessage(activePubkeys: string | Uint8Array | readonly number[], standbyPubkeys: string | Uint8Array | readonly number[]): Uint8Array;
2561
+ declare function formClusterMessageHex(activePubkeys: string | Uint8Array | readonly number[], standbyPubkeys: string | Uint8Array | readonly number[]): string;
2562
+ declare function encodeFormClusterCalldata(args: FormClusterCalldataArgs): string;
2563
+ /**
2564
+ * Decode CJ-1 `getClusterJoinRequest(uint32,bytes32)` return data.
2565
+ *
2566
+ * Planned flat tuple:
2567
+ * `(address owner,uint64 requestEpoch,uint16 snapshotThreshold,uint16 snapshotN,
2568
+ * uint16 voteCount,uint8 status,uint128 bondLythoshi,bool sealRosterPending)`.
2569
+ */
2570
+ declare function decodeClusterJoinRequest(returnData: string | Uint8Array | readonly number[]): ClusterJoinRequestView;
2483
2571
  declare function encodeReportServiceProbeCalldata(args: ReportServiceProbeCalldataArgs): string;
2484
2572
  /**
2485
2573
  * Hosting class an operator runs under (PF-6). Mirrors
@@ -2587,7 +2675,11 @@ interface ClusterFormedEvent {
2587
2675
  effectiveEpoch: bigint;
2588
2676
  /** Primary anchor address (`0x` 20 bytes). */
2589
2677
  anchorAddress: string;
2590
- /** Concatenated 48-byte compressed BLS pubkeys (`0x` hex). */
2678
+ /**
2679
+ * Concatenated 48-byte cluster-member references (`0x` hex). PQ
2680
+ * rosters place the 32-byte operator id in the first 32 bytes and
2681
+ * zero-pad the remaining 16 bytes.
2682
+ */
2591
2683
  operatorRoster: string;
2592
2684
  }
2593
2685
  /**
@@ -3938,7 +4030,7 @@ declare const NO_EVM_RECEIPTS_ROOT_DOMAIN = "monolythium/v4.1/receipts_root_empt
3938
4030
  declare const NO_EVM_ARCHIVE_PROOF_SCHEMA = "mono.no_evm_receipt_archive_binding.v1";
3939
4031
  declare const NO_EVM_ARCHIVE_SIGNATURE_SCHEME = "mono.snapshot.sig.v1";
3940
4032
  declare const NO_EVM_FINALITY_EVIDENCE_SCHEMA = "mono.no_evm_receipt_finality.v1";
3941
- declare const NO_EVM_FINALITY_EVIDENCE_SOURCE = "blsRoundCertificate";
4033
+ declare const NO_EVM_FINALITY_EVIDENCE_SOURCE = "roundCertificate";
3942
4034
  type NoEvmReceiptProofErrorCode = "unsupported_schema" | "unsupported_proof_kind" | "unsupported_proof_type" | "unsupported_history_source" | "unsupported_root_algorithm" | "unsupported_receipt_codec" | "unsupported_compact_schema" | "unsupported_tree_algorithm" | "invalid_uint32" | "invalid_hex" | "invalid_hash_length" | "invalid_archive_signature" | "invalid_proof_shape" | "missing_target_receipt_bytes" | "too_many_receipts" | "receipt_too_large" | "receipt_count_mismatch" | "tx_index_out_of_bounds" | "receipts_root_mismatch" | "target_receipt_hash_mismatch" | "compact_root_mismatch" | "compact_leaf_hash_mismatch" | "compact_path_mismatch";
3943
4035
  declare class NoEvmReceiptProofError extends Error {
3944
4036
  readonly code: NoEvmReceiptProofErrorCode;
@@ -3998,6 +4090,8 @@ interface NoEvmBlockBlsFinalityVerification {
3998
4090
  dacCertificate: NoEvmBlsFinalityVerification;
3999
4091
  verified: boolean;
4000
4092
  }
4093
+ type NoEvmRoundFinalityVerification = NoEvmBlsFinalityVerification;
4094
+ type NoEvmBlockRoundFinalityVerification = NoEvmBlockBlsFinalityVerification;
4001
4095
  type NoEvmReceiptFinalityTrustPolicy = {
4002
4096
  mode: "cluster";
4003
4097
  chainId?: number | bigint;
@@ -4014,6 +4108,7 @@ type NoEvmReceiptFinalityTrustPolicy = {
4014
4108
  validFromRound?: number | bigint;
4015
4109
  validToRound?: number | bigint;
4016
4110
  };
4111
+ type NoEvmReceiptTrustedSigner = NoEvmReceiptTrustedBlsSigner;
4017
4112
  interface NoEvmReceiptTrustPolicy {
4018
4113
  chainId?: number | bigint;
4019
4114
  archive?: {
@@ -4261,6 +4356,7 @@ declare function encodeNameAcceptTransferCall(name: string): string;
4261
4356
  * sends the same `lyth_*` / `eth_*` / `debug_*` JSON-RPC method strings.
4262
4357
  */
4263
4358
 
4359
+ type RoundCertificateResponse = BlsCertificateResponse;
4264
4360
  /** Optional per-client configuration. */
4265
4361
  interface RpcClientOptions {
4266
4362
  /** Override `fetch`. Useful for tests or non-Node environments. */
@@ -4383,7 +4479,7 @@ interface NoEvmFinalityBlockReference {
4383
4479
  }
4384
4480
  interface NoEvmFinalityEvidence {
4385
4481
  schema: "mono.no_evm_receipt_finality.v1";
4386
- source: "blsRoundCertificate" | string;
4482
+ source: "roundCertificate" | string;
4387
4483
  round: number;
4388
4484
  certificate: NoEvmFinalityCertificate;
4389
4485
  blockReference?: NoEvmFinalityBlockReference | null;
@@ -4917,13 +5013,13 @@ interface OperatorInfoResponse {
4917
5013
  bondedAmount: string;
4918
5014
  activeClusterIds: number[];
4919
5015
  operatorKeyFingerprint: string | null;
4920
- blsKeyFingerprint: string | null;
5016
+ consensusKeyFingerprint: string | null;
4921
5017
  lifecycleState: string;
4922
5018
  capability: Record<string, unknown>;
4923
5019
  }
4924
5020
  interface ClusterMemberResponse {
4925
5021
  operatorId: string;
4926
- blsPubkey: string;
5022
+ consensusPubkey: string;
4927
5023
  state: string;
4928
5024
  }
4929
5025
  interface ClusterStatusResponse {
@@ -4969,7 +5065,7 @@ interface OperatorAuthorityResponse {
4969
5065
  schemaVersion: number;
4970
5066
  operatorId: string;
4971
5067
  authorityIndex: number;
4972
- blsPubkey: string;
5068
+ consensusPubkey: string;
4973
5069
  active: boolean;
4974
5070
  }
4975
5071
  type SigningEntryStatus = "signed" | "missed" | "no_cert" | string;
@@ -5625,12 +5721,14 @@ declare class RpcClient {
5625
5721
  lythGetLatestCheckpoint(belowHeight?: number | bigint | string | null): Promise<CheckpointRecord[]>;
5626
5722
  /** `lyth_getClusterResignations` — in-flight + applied operator resignations. */
5627
5723
  lythGetClusterResignations(operator?: string | null, status?: "pending" | "applied" | "all" | string | null): Promise<ClusterResignationsResponse>;
5628
- /** `lyth_getBlsRoundCertificate` — round-advancement BLS aggregate. */
5629
- lythGetBlsRoundCertificate(round: number | bigint | string): Promise<BlsCertificateResponse | null>;
5630
- /** `lyth_getLeaderCertificate` leader-vote BLS aggregate for a block ref. */
5631
- lythGetLeaderCertificate(round: number | bigint | string, authority: number, digest: string): Promise<BlsCertificateResponse | null>;
5724
+ /** `lyth_getRoundCertificate` — round-advancement certificate. */
5725
+ lythGetRoundCertificate(round: number | bigint | string): Promise<RoundCertificateResponse | null>;
5726
+ /** @deprecated Use lythGetRoundCertificate. */
5727
+ lythGetBlsRoundCertificate(round: number | bigint | string): Promise<RoundCertificateResponse | null>;
5728
+ /** `lyth_getLeaderCertificate` — leader-vote certificate for a block ref. */
5729
+ lythGetLeaderCertificate(round: number | bigint | string, authority: number, digest: string): Promise<RoundCertificateResponse | null>;
5632
5730
  /** `lyth_getDacCertificate` — data-availability certificate for a block ref. */
5633
- lythGetDacCertificate(round: number | bigint | string, authority: number, digest: string): Promise<BlsCertificateResponse | null>;
5731
+ lythGetDacCertificate(round: number | bigint | string, authority: number, digest: string): Promise<RoundCertificateResponse | null>;
5634
5732
  /** `lyth_subscribe` — WebSocket-only; returns an RPC error over HTTP. */
5635
5733
  lythSubscribe(channel: ApiStreamTopic | (string & {})): Promise<unknown>;
5636
5734
  /** `lyth_unsubscribe` — counterpart to `lythSubscribe`. */
@@ -5889,6 +5987,258 @@ declare function mlDsa65AddressFromPublicKey(publicKey: Uint8Array | readonly nu
5889
5987
  declare function mlDsa65AddressBytes(publicKey: Uint8Array | readonly number[]): Uint8Array;
5890
5988
  declare function encodeMlDsa65Opaque(raw: Uint8Array | readonly number[]): Uint8Array;
5891
5989
 
5990
+ /**
5991
+ * LythiumSeal scheme-3 client-side seal primitive.
5992
+ *
5993
+ * Post-quantum cluster-threshold encrypted-mempool sealing:
5994
+ * cluster-ML-KEM-768 (FIPS-203) + information-theoretic GF(256) Shamir
5995
+ * `t`-of-`n` + committing ChaCha20-Poly1305 (with an explicit SHAKE256
5996
+ * key-commitment). A signed transaction body is sealed to a committee of
5997
+ * `n` operators such that any `t` of them, each holding only its own
5998
+ * ML-KEM decapsulation key, must cooperate to recover the plaintext. No
5999
+ * single operator (and no minority of `< t`) can read the body.
6000
+ *
6001
+ * This is a byte-exact port of the standalone `lythiumseal` Rust crate
6002
+ * (github.com/monolythium/lythiumseal) plus the chain-side
6003
+ * `LythiumSealEnvelope` wire shape from `mono-core`'s mempool
6004
+ * (`seal_to_cluster`). Byte-compatibility is proven by a cross-language
6005
+ * KAT (`tests/lythiumseal-kat.test.ts`) against vectors generated from the
6006
+ * Rust reference: the same fixed roster + deterministic draw order
6007
+ * reproduces the exact envelope bincode bytes the chain accepts, and a
6008
+ * Rust-sealed envelope round-trips through the TS decoder.
6009
+ *
6010
+ * The cryptography is standardized: ML-KEM-768 from `@noble/post-quantum`,
6011
+ * ChaCha20-Poly1305 from `@noble/ciphers`, and SHAKE256 from
6012
+ * `@noble/hashes`. The GF(256) Shamir layer is the AES field (reduction
6013
+ * polynomial 0x11b) implemented in-module to match the crate exactly.
6014
+ */
6015
+ /** ML-KEM-768 encapsulation-key byte length. */
6016
+ declare const SEAL_EK_LEN = 1184;
6017
+ /** ML-KEM-768 decapsulation-key byte length. */
6018
+ declare const SEAL_DK_LEN = 2400;
6019
+ /** ML-KEM-768 ciphertext byte length. */
6020
+ declare const SEAL_KEM_CT_LEN = 1088;
6021
+ /** ML-KEM-768 keygen seed length (`d || z`, FIPS-203). */
6022
+ declare const SEAL_KEM_SEED_LEN = 64;
6023
+ /** AEAD key length (ChaCha20-Poly1305 / body key). */
6024
+ declare const SEAL_KEY_LEN = 32;
6025
+ /** AEAD nonce length (96-bit). */
6026
+ declare const SEAL_NONCE_LEN = 12;
6027
+ /** Poly1305 tag length. */
6028
+ declare const SEAL_TAG_LEN = 16;
6029
+ /** Explicit SHAKE256 key-commitment length. */
6030
+ declare const SEAL_COMMIT_LEN = 32;
6031
+ /** Shamir share wire length (`index || value`). */
6032
+ declare const SEAL_SHARE_LEN: number;
6033
+ /** Scheme selector for the cluster-ML-KEM + Shamir threshold body. */
6034
+ declare const CLUSTER_MLKEM_SHAMIR = 3;
6035
+ /**
6036
+ * Random source for a seal: fills `dest` with random bytes. Production
6037
+ * callers pass a CSPRNG-backed source ({@link cryptoRandomSource}); the
6038
+ * KAT passes a deterministic source so the seal bytes are reproducible.
6039
+ *
6040
+ * Each call must consume the source the same way the Rust reference does:
6041
+ * the deterministic source models `rand_core`'s `fill_bytes`, which fills
6042
+ * in 8-byte chunks (one `u64` per chunk) and discards the unused tail of
6043
+ * the final chunk of each call.
6044
+ */
6045
+ interface SealRandomSource {
6046
+ fillBytes(dest: Uint8Array): void;
6047
+ }
6048
+ /** CSPRNG-backed source (WebCrypto). The default for production seals. */
6049
+ declare function cryptoRandomSource(): SealRandomSource;
6050
+ interface CommittingBody {
6051
+ nonce: Uint8Array;
6052
+ ct: Uint8Array;
6053
+ commitment: Uint8Array;
6054
+ }
6055
+ /**
6056
+ * `keccak256(domain || cluster_id_le || t || n || concat(idx || ek)...)`.
6057
+ * Commits to the exact recipient ek set + order. Operators and wallets
6058
+ * MUST compute it identically; this is the single canonical site.
6059
+ *
6060
+ * keccak256 is taken from the ml-dsa module's hash import to avoid a second
6061
+ * keccak dependency; passed in by the caller to keep this module
6062
+ * cipher-only.
6063
+ */
6064
+ declare function sealRosterHash(keccak256: (input: Uint8Array) => Uint8Array, clusterId: number, t: number, n: number, roster: ReadonlyArray<{
6065
+ operatorIndex: number;
6066
+ ek: Uint8Array;
6067
+ }>): Uint8Array;
6068
+ /** One recipient slot in the scheme-3 envelope. */
6069
+ interface SealRecipient {
6070
+ operatorIndex: number;
6071
+ kemCt: Uint8Array;
6072
+ wrapped: CommittingBody;
6073
+ }
6074
+ /**
6075
+ * Scheme-3 LythiumSeal envelope - the encrypted-tx body for the
6076
+ * cluster-ML-KEM + Shamir threshold path. Bincode-encodes into the bytes
6077
+ * that ride inside `EncryptedEnvelope.ciphertext`.
6078
+ */
6079
+ interface LythiumSealEnvelope {
6080
+ clusterId: number;
6081
+ epoch: bigint;
6082
+ rosterHash: Uint8Array;
6083
+ t: number;
6084
+ n: number;
6085
+ aeadBody: CommittingBody;
6086
+ recipients: SealRecipient[];
6087
+ }
6088
+ /**
6089
+ * Bincode-encode (bincode 1.3 defaults: LE fixint, `u64` length prefixes,
6090
+ * raw fixed-size arrays) the envelope into the `EncryptedEnvelope.ciphertext`
6091
+ * body bytes. Byte-identical to `LythiumSealEnvelope::encode` in mono-core.
6092
+ */
6093
+ declare function encodeSealEnvelope(env: LythiumSealEnvelope): Uint8Array;
6094
+ /**
6095
+ * Seal `plaintext` to the cluster's ordered `recipientEks` (`n` operators)
6096
+ * at reconstruction threshold `t`, bound to `(clusterId, epoch,
6097
+ * rosterHash)`. Draws a fresh body key for every call (nonce safety rests
6098
+ * on body-key freshness, not nonce uniqueness - see the crate invariants),
6099
+ * GF(256) Shamir `t`-of-`n` splits it, and ML-KEM-encapsulates one share
6100
+ * to each operator's encapsulation key under a KDF-bound member KEK.
6101
+ *
6102
+ * The result is the `LythiumSealEnvelope` (scheme 3) that nests inside the
6103
+ * outer `EncryptedEnvelope.ciphertext`. Recovering the plaintext requires
6104
+ * `t` operators to each decapsulate their own slot; no single operator can.
6105
+ *
6106
+ * @param rng deterministic source for the KAT; defaults to a CSPRNG.
6107
+ */
6108
+ declare function sealToCluster(args: {
6109
+ plaintext: Uint8Array;
6110
+ recipientEks: ReadonlyArray<Uint8Array>;
6111
+ t: number;
6112
+ clusterId: number;
6113
+ epoch: bigint;
6114
+ rosterHash: Uint8Array;
6115
+ rng?: SealRandomSource;
6116
+ }): LythiumSealEnvelope;
6117
+
6118
+ /**
6119
+ * Client-side scheme-3 LythiumSeal seal path for the wallet/SDK.
6120
+ *
6121
+ * `getClusterSealKeys` reads the cluster seal roster (per-operator ML-KEM-768
6122
+ * encapsulation keys + `(t, n)` + roster hash + epoch). `sealTransaction`
6123
+ * turns a signed inner transaction into the scheme-3 `LythiumSealEnvelope`,
6124
+ * wraps it in an `EncryptedEnvelope` with the outer ML-DSA-65 signature, and
6125
+ * yields the wire bytes mono-core's `lyth_submitEncrypted` accepts.
6126
+ *
6127
+ * Byte-compatibility with the chain is proven by the cross-language KAT in
6128
+ * `tests/lythiumseal-kat.test.ts`.
6129
+ */
6130
+
6131
+ /** Algorithm tag the node serves for the scheme-3 seal path. */
6132
+ declare const CLUSTER_MLKEM_SHAMIR_ALGO = "cluster-mlkem768-shamir";
6133
+ /**
6134
+ * The cluster seal roster the SDK seals a transaction body to.
6135
+ *
6136
+ * Built from the `lyth_getClusterSealKeys(clusterId)` RPC response (or read
6137
+ * from genesis when that RPC is disabled on the public profile): the ordered
6138
+ * per-operator ML-KEM-768 encapsulation keys + the `(t, n)` threshold + the
6139
+ * roster hash + the epoch.
6140
+ */
6141
+ interface ClusterSealKeys {
6142
+ algo: string;
6143
+ clusterId: number;
6144
+ epoch: bigint;
6145
+ /** 32-byte roster hash the seal context binds. */
6146
+ rosterHash: Uint8Array;
6147
+ /** Reconstruction threshold `t`. */
6148
+ t: number;
6149
+ /** Total operators `n`. */
6150
+ n: number;
6151
+ /** Per-operator 1184-byte ML-KEM-768 encapsulation keys, ordered `1..=n`. */
6152
+ recipientEks: Uint8Array[];
6153
+ }
6154
+ /** One operator's entry in a roster source (RPC JSON or genesis). */
6155
+ interface ClusterSealKeyEntryInput {
6156
+ operatorIndex: number;
6157
+ /** `0x`-hex of the operator's 1184-byte ML-KEM-768 encapsulation key. */
6158
+ mlKemEk: string;
6159
+ }
6160
+ /** A cluster seal roster as served by the RPC or read from genesis. */
6161
+ interface ClusterSealKeysSource {
6162
+ algo?: string;
6163
+ clusterId: number;
6164
+ epoch: number | string | bigint;
6165
+ /** `0x`-hex of the 32-byte roster hash (optional; recomputed + verified). */
6166
+ rosterHash?: string;
6167
+ t: number;
6168
+ n: number;
6169
+ roster: ClusterSealKeyEntryInput[];
6170
+ }
6171
+ /**
6172
+ * Normalize a roster source into the typed {@link ClusterSealKeys} the SDK
6173
+ * seals against. The roster hash is RECOMPUTED from the ordered ek set via
6174
+ * the canonical `seal_roster_hash` and, when the source carries one, the
6175
+ * recomputed value must match - so a wallet can never seal under a roster
6176
+ * hash that does not commit to the exact recipient set it is sealing to.
6177
+ *
6178
+ * @throws if the roster is empty, an ek has the wrong length, the operator
6179
+ * indices are not the contiguous `1..=n` order, the threshold is out of
6180
+ * `2 <= t <= n`, or a supplied roster hash does not match the recomputed one.
6181
+ */
6182
+ declare function parseClusterSealKeys(source: ClusterSealKeysSource): ClusterSealKeys;
6183
+ /**
6184
+ * Fetch the cluster seal roster from a running node via
6185
+ * `lyth_getClusterSealKeys(clusterId)`.
6186
+ *
6187
+ * NOTE: this RPC is DISABLED on the public node profile. When it returns
6188
+ * "method not found" / "unavailable", read the roster from genesis instead
6189
+ * and pass it through {@link parseClusterSealKeys} - the roster lives in the
6190
+ * genesis `[[clusters.members]]` `seal_ek` fields, which is exactly what the
6191
+ * RPC would otherwise serve.
6192
+ *
6193
+ * @throws if the RPC is unavailable (carry the roster as input instead) or
6194
+ * the served roster does not validate.
6195
+ */
6196
+ declare function getClusterSealKeys(client: RpcClient, clusterId?: number): Promise<ClusterSealKeys>;
6197
+ /** A built scheme-3 encrypted submission, ready for `lyth_submitEncrypted`. */
6198
+ interface SealedSubmission {
6199
+ /** Bincode `EncryptedEnvelope` wire bytes, `0x`-prefixed hex. */
6200
+ envelopeWireHex: string;
6201
+ /** Bincode `EncryptedEnvelope` wire bytes. */
6202
+ envelopeWireBytes: Uint8Array;
6203
+ /** Length of the inner scheme-3 ciphertext body in bytes. */
6204
+ ciphertextBytes: number;
6205
+ }
6206
+ /**
6207
+ * Seal a signed inner transaction to the cluster and wrap it in an
6208
+ * `EncryptedEnvelope` with the outer ML-DSA-65 signature.
6209
+ *
6210
+ * `signedTxBincode` is the bincode `SignedTransaction` wire bytes (the body
6211
+ * `mesh_submitTx` would otherwise carry in the clear). `aad` is the
6212
+ * authenticated envelope header; per Law §3.6 / R3-H08 its fee fields MUST
6213
+ * mirror the inner tx's fee fields exactly, so the chain's `verify_inner_match`
6214
+ * passes on reveal - the caller is responsible for building it from the same
6215
+ * fields it signed.
6216
+ *
6217
+ * The outer signature is taken over the canonical preimage
6218
+ * `keccak256(bincode(aad) || ciphertext || bincode(hint) || sender_pubkey)`,
6219
+ * identical to mono-core's `EncryptedEnvelope::signed_digest`.
6220
+ *
6221
+ * @param rng deterministic source for the KAT; defaults to a CSPRNG.
6222
+ */
6223
+ declare function sealTransaction(args: {
6224
+ signedTxBincode: Uint8Array;
6225
+ clusterSealKeys: ClusterSealKeys;
6226
+ aad: NonceAad;
6227
+ senderAddress: Uint8Array;
6228
+ senderPubkey: Uint8Array;
6229
+ signOuterDigest: (digest: Uint8Array) => Promise<Uint8Array> | Uint8Array;
6230
+ rng?: SealRandomSource;
6231
+ }): Promise<SealedSubmission>;
6232
+ /**
6233
+ * Submit a built scheme-3 encrypted envelope through `lyth_submitEncrypted`.
6234
+ *
6235
+ * @returns the mempool tx hash the node assigns on admission.
6236
+ */
6237
+ declare function submitSealedTransaction(client: RpcClient, submission: SealedSubmission): Promise<string>;
6238
+
6239
+ interface JsonRpcCallClient {
6240
+ call<T>(method: string, params?: unknown): Promise<T>;
6241
+ }
5892
6242
  interface EncryptionKey {
5893
6243
  algo: string;
5894
6244
  epoch: bigint;
@@ -5923,47 +6273,34 @@ interface PlaintextSubmission {
5923
6273
  /** Length in bytes of the bincode `SignedTransaction`. */
5924
6274
  innerWireBytes: number;
5925
6275
  }
5926
- declare function fetchEncryptionKey(client: RpcClient): Promise<EncryptionKey>;
6276
+ declare function fetchEncryptionKey(client: JsonRpcCallClient): Promise<EncryptionKey>;
5927
6277
  /**
5928
6278
  * Error message returned when an encrypted-mempool submission is attempted.
5929
6279
  *
5930
- * The encrypted-submit path is gated OFF until the chain's MB-3 Ferveo
5931
- * threshold decryption is live (see {@link buildEncryptedSubmission}).
6280
+ * Scheme-3 encrypted submission needs a cluster seal roster. Public node
6281
+ * profiles may keep `lyth_getClusterSealKeys` disabled, in which case callers
6282
+ * should pass a roster source from the pinned genesis/chain registry.
5932
6283
  */
5933
- declare const ENCRYPTED_SUBMISSION_UNAVAILABLE_MESSAGE = "encrypted mempool submission unavailable until MB-3 threshold decryption is active";
6284
+ declare const ENCRYPTED_SUBMISSION_UNAVAILABLE_MESSAGE = "private submission requires cluster seal keys; pass clusterSealKeysSource or enable lyth_getClusterSealKeys";
5934
6285
  /**
5935
- * Encrypted-mempool submission is GATED OFF.
5936
- *
5937
- * The single-key ML-KEM-768 `scheme: 0` envelope this used to build is the
5938
- * RETIRED scheme: a single operator holding the cluster decryption key could
5939
- * decrypt the inner transaction, violating the threshold-privacy guarantee
5940
- * the encrypted mempool promises. The live chain runs with plaintext
5941
- * submission as the default and does NOT run threshold decryption yet, so
5942
- * there is no safe encrypted path to emit.
5943
- *
5944
- * This helper therefore refuses to build any envelope and throws. It never
5945
- * produces a `scheme: 0` (or any) envelope, so a wallet can never be tricked
5946
- * into believing its transaction is privately decryptable by a threshold of
5947
- * operators when it is in fact decryptable by one.
6286
+ * Build a scheme-3 LythiumSeal encrypted-mempool submission.
5948
6287
  *
5949
- * Use {@link buildPlaintextSubmission} / {@link submitPlaintextTransaction}
5950
- * (the unaffected default path) for transaction submission.
5951
- *
5952
- * TODO(MB-3): when the chain activates MB-3 threshold decryption, port the
5953
- * chain's Ferveo `scheme = 2` path here — the `ThresholdPubkey` is a 96-byte
5954
- * BLS12-381 G1 element fetched from `lyth_getEncryptionKey`, and the inner tx
5955
- * is encrypted to that threshold public key (not a single ML-KEM-768
5956
- * encapsulation key). Only then may an envelope be emitted again.
5957
- *
5958
- * @throws always — the encrypted path is unavailable.
6288
+ * The caller may pass already parsed cluster keys, a JSON roster source, or
6289
+ * allow the SDK to fetch `lyth_getClusterSealKeys(clusterId)`. The single-key
6290
+ * envelope path stays retired; this function only emits the threshold
6291
+ * cluster-sealed envelope accepted by `lyth_submitEncrypted`.
5959
6292
  */
5960
- declare function buildEncryptedSubmission(_args: {
6293
+ declare function buildEncryptedSubmission(args: {
6294
+ client?: JsonRpcCallClient;
5961
6295
  backend: MlDsa65Backend;
5962
6296
  tx: NativeEvmTxFields;
5963
- encryptionKey: EncryptionKey;
6297
+ encryptionKey?: EncryptionKey;
6298
+ clusterId?: number;
6299
+ clusterSealKeys?: ClusterSealKeys;
6300
+ clusterSealKeysSource?: ClusterSealKeysSource;
5964
6301
  class?: MempoolClass;
5965
6302
  }): Promise<EncryptedSubmission>;
5966
- declare function submitEncryptedEnvelope(client: RpcClient, envelopeWireHex: string): Promise<string>;
6303
+ declare function submitEncryptedEnvelope(client: JsonRpcCallClient, envelopeWireHex: string): Promise<string>;
5967
6304
  /**
5968
6305
  * Build a PLAINTEXT submission — the opt-OUT-of-privacy counterpart to
5969
6306
  * {@link buildEncryptedSubmission}.
@@ -5995,34 +6332,29 @@ declare function buildPlaintextSubmission(args: {
5995
6332
  *
5996
6333
  * @returns the validated canonical native tx hash (`0x`-prefixed).
5997
6334
  */
5998
- declare function submitPlaintextTransaction(client: RpcClient, signedTxWireHex: string, expectedTxHashHex: string): Promise<string>;
6335
+ declare function submitPlaintextTransaction(client: JsonRpcCallClient, signedTxWireHex: string, expectedTxHashHex: string): Promise<string>;
5999
6336
  /**
6000
6337
  * Build, sign, and submit a native transaction with an explicit
6001
- * encryption toggle. `private == false` (the default for the RC testnet
6002
- * / operator posture) routes through the plaintext `mesh_submitTx`
6003
- * path; `private == true` routes through the encrypted pipeline.
6004
- * Wallets wire a UI privacy toggle straight onto `private`.
6338
+ * encryption toggle. `private == false` routes through the plaintext
6339
+ * `mesh_submitTx` path; `private == true` routes through the scheme-3
6340
+ * LythiumSeal encrypted pipeline.
6005
6341
  *
6006
6342
  * Mirrors `TxClient::build_sign_submit_with_privacy` in the Rust SDK.
6007
- * The default is PLAINTEXT and is fully supported.
6008
- *
6009
- * MB-3 gate: `private === true` is currently UNAVAILABLE — the encrypted
6010
- * path throws {@link ENCRYPTED_SUBMISSION_UNAVAILABLE_MESSAGE} via
6011
- * {@link buildEncryptedSubmission} because the chain does not yet run
6012
- * Ferveo threshold decryption and the retired single-key scheme is unsafe.
6013
- * Keep wallet privacy toggles disabled until MB-3 activates.
6014
6343
  *
6015
6344
  * @returns for the plaintext path, the node-echoed-and-validated canonical
6016
- * native tx hash (`0x`-prefixed).
6017
- * @throws when `private === true` (encrypted submission unavailable).
6345
+ * native tx hash (`0x`-prefixed); for the private path, the locally computed
6346
+ * inner native tx hash after the encrypted envelope is admitted.
6018
6347
  */
6019
6348
  declare function submitTransactionWithPrivacy(args: {
6020
- client: RpcClient;
6349
+ client: JsonRpcCallClient;
6021
6350
  backend: MlDsa65Backend;
6022
6351
  tx: NativeEvmTxFields;
6023
6352
  private: boolean;
6024
6353
  encryptionKey?: EncryptionKey;
6354
+ clusterId?: number;
6355
+ clusterSealKeys?: ClusterSealKeys;
6356
+ clusterSealKeysSource?: ClusterSealKeysSource;
6025
6357
  class?: MempoolClass;
6026
6358
  }): Promise<string>;
6027
6359
 
6028
- export { type AddressActivityKindResponse as $, type ApiStreamsIndexResponse as A, type BlockSelector as B, type ChainStatsResponse as C, type NativeEvmTxFields as D, type EncryptionKey as E, MempoolClass as F, type TypedAddress as G, RpcClient as H, MlDsa65Backend as I, type AddressKind as J, ADDRESS_HRP as K, ADDRESS_KIND_HRPS as L, type MrcMetadataResponse as M, type NativeReceiptFee as N, type OperatorCapabilitiesResponse as O, type PendingRewardsResponse as P, API_STREAM_TOPICS as Q, type RuntimeBuildProvenance as R, type SearchResponse as S, type TxFeedResponse as T, type AccountPolicy as U, type AccountProofResponse as V, type Address as W, type AddressActivityArchiveRedirect as X, type AddressActivityEntry as Y, type AddressActivityEntryEnriched as Z, type AddressActivityKind as _, type RuntimeUpgradeStatus as a, type ClobTrade as a$, type AddressActivityKindRetention as a0, AddressError as a1, type AddressLabelRecord as a2, type AddressValidation as a3, type AgentReputationCategoryScope as a4, type AgentReputationRecord as a5, type AgentReputationResponse as a6, type ApiStreamTopic as a7, type ApiStreamTopicMetadata as a8, type ApiStreamTopicRetention as a9, BridgeRouteCatalogueError as aA, type BridgeRouteCatalogueJsonOptions as aB, type BridgeRouteCataloguePayload as aC, type BridgeRouteCatalogueRoute as aD, type BridgeRouteCatalogueValidation as aE, type BridgeRouteDisclosure as aF, type BridgeRouteSelection as aG, type BridgeRoutesSource as aH, type BridgeTransferIntent as aI, type BridgeTransferRequest as aJ, type BridgeVerifierDisclosure as aK, CHAIN_REGISTRY as aL, CHAIN_REGISTRY_RAW_BASE as aM, CLOB_MARKET_ID_DOMAIN_TAG as aN, CLOB_SELECTORS as aO, CLUSTER_FORMED_EVENT_SIG as aP, type CancelPendingChangeCalldataArgs as aQ, type CancelSpotOrderArgs as aR, type CapabilitiesResponse as aS, type CapabilityDescriptor as aT, type ChainInfo as aU, type ChainRegistry as aV, type CheckpointRecord as aW, type CirculatingSupplyResponse as aX, type ClobMarketAssets as aY, type ClobMarketRecord as aZ, type ClobMarketSummary as a_, type AssetPolicy as aa, type AttestDkgReshareCalldataArgs as ab, type AttestationWindow as ac, BRIDGE_QUOTE_API_BLOCKED_REASON as ad, BRIDGE_REVERT_TAGS as ae, BRIDGE_SELECTORS as af, BRIDGE_SUBMIT_API_BLOCKED_REASON as ag, type BlockHeader as ah, type BlockTag as ai, type BlsCertificateResponse as aj, type BridgeAdminControl as ak, type BridgeAnchorState as al, type BridgeBreakerState as am, type BridgeBytesInput as an, type BridgeCircuitBreakerFields as ao, type BridgeCircuitBreakerState as ap, type BridgeDrainCap as aq, type BridgeDrainStatus as ar, type BridgeHealthRecord as as, type BridgeHealthResponse as at, BridgePrecompileError as au, type BridgeQuoteSubmitReadiness as av, type BridgeRiskTier as aw, type BridgeRouteAssessment as ax, type BridgeRouteCandidate as ay, type BridgeRouteCatalogue as az, type NativeReceiptResponse as b, type MarketTransactionPlan as b$, type ClusterAprResponse as b0, type ClusterDelegatorsResponse as b1, type ClusterDirectoryEntryResponse as b2, type ClusterDirectoryPageResponse as b3, type ClusterDiversity as b4, type ClusterDiversityView as b5, type ClusterEntityResponse as b6, type ClusterFormedEvent as b7, type ClusterMemberResponse as b8, type ClusterNameResponse as b9, type EncodeNativeSpotLimitOrderArgs as bA, type EncodeNativeSpotSettleLimitOrderArgs as bB, type EncodeNativeSpotSettleRoutedLimitOrderArgs as bC, type EncryptionKeyResponse as bD, type EntityRatchetResponse as bE, type EthSendTransactionRequest as bF, type ExecutionUnitPriceResponse as bG, type ExplorerEndpoint as bH, FEED_ID_DOMAIN_TAG as bI, type FeeHistoryResponse as bJ, type GapRange as bK, type GapRecord as bL, type GapRecordsResponse as bM, type Hash as bN, type Hex as bO, type IndexerStatus as bP, type JailStatusWindow as bQ, type KeyRotationWindow as bR, type ListProofRequestsResponse as bS, type LythUpgradePlanStatus as bT, type LythUpgradeStatusResponse as bU, MAX_NATIVE_CALL_FORWARDER_REQUEST_BYTES as bV, MAX_NATIVE_RECEIPT_EVENTS as bW, ML_DSA_65_PUBLIC_KEY_LEN$1 as bX, ML_DSA_65_SIGNATURE_LEN$1 as bY, MULTISIG_ADDRESS_DERIVATION_DOMAIN as bZ, MarketActionError as b_, type ClusterResignationRow as ba, type ClusterResignationsResponse as bb, type ClusterStatusResponse as bc, type CreateRequestCanonicalArgs as bd, DIVERSITY_SCORE_MAX as be, type DagParent as bf, type DagParentsResponse as bg, type DagSyncStatus as bh, type DecodeTxExtension as bi, type DecodeTxLog as bj, type DecodeTxPqAttestation as bk, type DecodeTxResponse as bl, type DelegationCapResponse as bm, type DelegationHistoryRecord as bn, type DelegationRow as bo, type DelegationsResponse as bp, type DutyAbsence as bq, EMPTY_ROOT as br, type EncodeNativeNftBuyListingArgs as bs, type EncodeNativeNftCancelListingArgs as bt, type EncodeNativeNftCreateListingArgs as bu, type EncodeNativeNftPlaceAuctionBidArgs as bv, type EncodeNativeNftSettleAuctionArgs as bw, type EncodeNativeNftSweepExpiredListingsArgs as bx, type EncodeNativeSpotCancelOrderArgs as by, type EncodeNativeSpotCreateMarketArgs as bz, type NativeDecodedEvent as c, type NativeEventConsumer as c$, type MempoolSnapshot as c0, type MeshDecodedTx as c1, type MeshSignedTxResponse as c2, type MeshTxIntent as c3, type MeshUnsignedTxResponse as c4, type MetricsRangeResponse as c5, type MetricsRangeSample as c6, type MetricsRangeSeries as c7, type MetricsRangeStatus as c8, type MrcAccountRecord as c9, NO_EVM_ARCHIVE_SIGNATURE_SCHEME as cA, NO_EVM_FINALITY_EVIDENCE_SCHEMA as cB, NO_EVM_FINALITY_EVIDENCE_SOURCE as cC, NO_EVM_RECEIPTS_ROOT_DOMAIN as cD, NO_EVM_RECEIPT_CODEC as cE, NO_EVM_RECEIPT_PROOF_SCHEMA as cF, NO_EVM_RECEIPT_PROOF_TYPE as cG, NO_EVM_RECEIPT_ROOT_ALGORITHM as cH, type NameCategory as cI, type NameOfResponse as cJ, type NameRegistrationQuote as cK, NameRegistryError as cL, type NativeAgentArbiterStateRecord as cM, type NativeAgentAttestationStateRecord as cN, type NativeAgentAvailabilityStateRecord as cO, type NativeAgentConsentStateRecord as cP, type NativeAgentEscrowStateRecord as cQ, type NativeAgentIssuerStateRecord as cR, type NativeAgentPolicySpendStateRecord as cS, type NativeAgentPolicyStateRecord as cT, type NativeAgentReputationReviewStateRecord as cU, type NativeAgentServiceStateRecord as cV, type NativeAgentStateFilterParamValue as cW, type NativeAgentStateResponseFilters as cX, type NativeAgentStateSource as cY, type NativeCallForwarderArtifact as cZ, type NativeCollectionRoyaltyStateRecord as c_, type MrcMetadataRecord as ca, type MrcPolicyRecord as cb, type MrcPolicySpendRecord as cc, NAME_BASE_MULTIPLIER as cd, NAME_FALLBACK_FEE_UNIT_LYTHOSHI as ce, NAME_LABEL_MAX_LEN as cf, NAME_LABEL_MIN_LEN as cg, NAME_MAX_LEN as ch, NAME_REGISTRY_SELECTORS as ci, NATIVE_CALL_FORWARDER_ARTIFACT_PROFILE as cj, NATIVE_CALL_FORWARDER_RESPONSE_CAPACITY as ck, NATIVE_CALL_FORWARDER_RESPONSE_OFFSET as cl, NATIVE_MARKET_EVENT_FAMILY as cm, NATIVE_MARKET_MODULE_ADDRESS as cn, NATIVE_MARKET_MODULE_ADDRESS_BYTES as co, NATIVE_MARKET_ORDER_BOOK_STREAM_TOPIC as cp, NODE_REGISTRY_BLS_PUBKEY_BYTES as cq, NODE_REGISTRY_CAPABILITIES as cr, NODE_REGISTRY_CAPABILITY_MASK as cs, NODE_REGISTRY_DKG_RESHARE_MAX_SIGNERS as ct, NODE_REGISTRY_DKG_RESHARE_MIN_SIGNERS as cu, NODE_REGISTRY_DKG_THRESHOLD_SIG_BYTES as cv, NODE_REGISTRY_PENDING_CHANGE_MAX_INTENT_ID as cw, NODE_REGISTRY_PUBLIC_SERVICE_MASK as cx, NODE_REGISTRY_SELECTORS as cy, NO_EVM_ARCHIVE_PROOF_SCHEMA as cz, type NativeEventFilter as d, type OperatorRiskResponse as d$, type NativeEventProjection as d0, type NativeEventsResponseFilters as d1, type NativeEventsSource as d2, type NativeMarketAddressInput as d3, type NativeMarketAddressKind as d4, type NativeMarketForwarderInput as d5, type NativeMarketModuleCallEnvelope as d6, type NativeMarketModuleContractCall as d7, type NativeMarketOrderBookDelta as d8, type NativeMarketOrderBookDeltasResponseFilters as d9, type NoEvmBlsFinalityVerification as dA, type NoEvmFinalityBlockReference as dB, type NoEvmFinalityCertificate as dC, type NoEvmFinalityEvidence as dD, type NoEvmReceiptFinalityTrustPolicy as dE, type NoEvmReceiptProof as dF, NoEvmReceiptProofError as dG, type NoEvmReceiptProofErrorCode as dH, type NoEvmReceiptProofVerification as dI, type NoEvmReceiptTrustIssue as dJ, type NoEvmReceiptTrustIssueCode as dK, type NoEvmReceiptTrustPolicy as dL, type NoEvmReceiptTrustVerification as dM, type NoEvmReceiptTrustedBlsSigner as dN, type NodeHostingClass as dO, NodeRegistryError as dP, OPERATOR_ROUTER_EVENT_SIGS as dQ, OPERATOR_ROUTER_SELECTORS as dR, OPERATOR_ROUTER_SIGS as dS, ORACLE_EVENT_SIGS as dT, type OperatorAuthorityResponse as dU, type OperatorFeeChargedEvent as dV, type OperatorFeeConfig as dW, type OperatorFeeQuote as dX, type OperatorInfoResponse as dY, type OperatorNetworkMetadata as dZ, type OperatorNetworkMetadataView as d_, type NativeMarketOrderBookDeltasSource as da, type NativeMarketOrderBookStreamAction as db, type NativeMarketOrderBookStreamPayload as dc, type NativeMarketStateFilterParamValue as dd, type NativeMarketStateResponseFilters as de, type NativeMarketStateSource as df, type NativeModuleForwarderDescriptor as dg, type NativeMrcPolicyProjection as dh, type NativeNftAssetStandard as di, type NativeNftListingKind as dj, type NativeNftListingStateRecord as dk, type NativeReceiptCounters as dl, type NativeReceiptEvent as dm, type NativeReceiptSource as dn, type NativeSpotMarketStateRecord as dp, type NativeSpotOrderStateRecord as dq, type NetworkClientOptions as dr, type NetworkSlug as ds, type NoEvmArchiveCoveringSnapshot as dt, type NoEvmArchiveProof as du, type NoEvmArchiveSignatureVerification as dv, type NoEvmArchiveSignatureVerificationIssue as dw, type NoEvmArchiveSignatureVerificationIssueCode as dx, type NoEvmArchiveTrustedSigner as dy, type NoEvmBlockBlsFinalityVerification as dz, type TypedNativeReceiptEvent as e, SERVES_GPU_PROVE as e$, type OperatorRouterConfig as e0, type OperatorSigningActivityResponse as e1, type OperatorSigningEntry as e2, type OperatorSurfaceCapability as e3, type OperatorSurfaceStatus as e4, type OracleEvent as e5, OracleEventError as e6, type OracleFeedConfig as e7, type OracleLatestPrice as e8, type OracleSignerRow as e9, type ProofRequestView as eA, type ProverBidView as eB, type ProverBidsResponse as eC, ProverMarketError as eD, type ProverMarketState as eE, type ProverMarketStatusResponse as eF, type Quantity as eG, type QuoteLiquidity as eH, RESERVED_ADDRESS_HRPS as eI, type RankedBridgeRoute as eJ, type ReceiptProofTrustArchivePolicy as eK, type ReceiptProofTrustArchiveSigner as eL, type ReceiptProofTrustFinalityPolicy as eM, type ReceiptProofTrustFinalitySigner as eN, type ReceiptProofTrustPolicy as eO, type RedemptionQueueTicket as eP, type RegistryRecord as eQ, type ReportServiceProbeCalldataArgs as eR, type ReportServiceProbeRequest as eS, type ReportServiceProbeResponse as eT, type ResolveNameResponse as eU, type RichListHolder as eV, type RichListResponse as eW, type RoundInfo as eX, type RpcClientOptions as eY, type RpcEndpoint as eZ, type RuntimeProvenanceResponse as e_, type OracleSignersResponse as ea, type OracleWriters as eb, type P2pSeed as ec, PENDING_CHANGE_KIND_CODES as ed, PROVER_MARKET_ADDRESS as ee, PROVER_MARKET_BID_DOMAIN as ef, PROVER_MARKET_EVENT_SIGS as eg, PROVER_MARKET_REQUEST_DOMAIN as eh, PROVER_MARKET_SELECTORS as ei, PROVER_MARKET_SUBMIT_DOMAIN as ej, PROVER_SLASH_REASON_BAD_PROOF as ek, PROVER_SLASH_REASON_NON_DELIVERY as el, type ParsedName as em, type PeerSummary as en, type PeerSummaryAggregate as eo, type PendingChangeKind as ep, type PendingRewardsRow as eq, type PendingTxSummary as er, type PlaceLimitOrderViaArgs as es, type PlaceLimitOrderViaPlan as et, type PlaceSpotLimitOrderArgs as eu, type PlaceSpotMarketOrderArgs as ev, type PlaceSpotMarketOrderExArgs as ew, type PrecompileCatalogueResponse as ex, type PrecompileDescriptor as ey, type ProofRequestRow as ez, type NativeEventsFilter as f, buildNativeNftSettleAuctionForwarderInput as f$, SERVICE_PROBE_STATUS as f0, SET_POLICY_CLAIM_DOMAIN_TAG as f1, SPENDING_POLICY_SELECTORS as f2, type SearchHit as f3, type ServiceProbeStatusLabel as f4, type SigningEntryStatus as f5, type SpendingPolicyArgs as f6, SpendingPolicyError as f7, type SpendingPolicyTimeWindow as f8, type SpendingPolicyView as f9, type VerticesAtRoundResponse as fA, addressBytesToHex as fB, addressToBech32 as fC, addressToTypedBech32 as fD, allowRootFor as fE, assertNativeMarketOrderBookStreamPayload as fF, assessBridgeRoute as fG, bech32ToAddress as fH, bech32ToAddressBytes as fI, bidSighash as fJ, bridgeAddressHex as fK, bridgeDrainRemaining as fL, bridgeQuoteSubmitReadiness as fM, bridgeRoutesReadiness as fN, bridgeTransferCandidates as fO, buildBridgeRouteCatalogue as fP, buildCancelSpotOrderPlan as fQ, buildNativeCallForwarderArtifact as fR, buildNativeMarketModuleCallEnvelope as fS, buildNativeNftBuyListingForwarderInput as fT, buildNativeNftBuyListingModuleCall as fU, buildNativeNftCancelListingForwarderInput as fV, buildNativeNftCancelListingModuleCall as fW, buildNativeNftCreateListingForwarderInput as fX, buildNativeNftCreateListingModuleCall as fY, buildNativeNftPlaceAuctionBidForwarderInput as fZ, buildNativeNftPlaceAuctionBidModuleCall as f_, type SpotLimitOrderSide as fa, type SpotMarketOrderMode as fb, type StorageProofBatch as fc, type SubmitPendingChangeCalldataArgs as fd, type SwapIntentStatus as fe, type SyncStatus as ff, TESTNET_69420 as fg, type TokenBalanceMrcIdentity as fh, type TokenBalanceRecord as fi, type TokenBalanceWithMetadata as fj, type TotalBurnedResponse as fk, type TpmAttestationResponse as fl, type TransactionReceipt as fm, type TransactionView as fn, type TxConfirmations as fo, type TxFeedReceipt as fp, type TxFeedTransaction as fq, type TxStatusFoundResponse as fr, type TxStatusNotFoundResponse as fs, type TxStatusResponse as ft, type UpcomingDutiesResponse as fu, type UpcomingDutyMap as fv, type UserAddressInput as fw, V1_BRIDGE_ALLOWED_FEE_TOKEN as fx, V1_BRIDGE_ALLOWED_PROTOCOL as fy, type VertexAtRound as fz, type NativeEventsResponse as g, encodeNativeNftCancelListingCall as g$, buildNativeNftSettleAuctionModuleCall as g0, buildNativeNftSweepExpiredListingsForwarderInput as g1, buildNativeNftSweepExpiredListingsModuleCall as g2, buildNativeSpotCancelOrderForwarderInput as g3, buildNativeSpotCancelOrderModuleCall as g4, buildNativeSpotCreateMarketForwarderInput as g5, buildNativeSpotCreateMarketModuleCall as g6, buildNativeSpotLimitOrderForwarderInput as g7, buildNativeSpotLimitOrderModuleCall as g8, buildNativeSpotSettleLimitOrderForwarderInput as g9, decodeOracleEvent as gA, decodeTimeWindow as gB, decodeTxFeedResponse as gC, denyRootFor as gD, deriveClobMarketId as gE, deriveClusterAnchorAddress as gF, deriveFeedId as gG, deriveNativeSpotMarketId as gH, deriveNativeSpotOrderId as gI, destinationRoot as gJ, encodeAttestDkgReshareCalldata as gK, encodeBlockSelector as gL, encodeBridgeChallengeCalldata as gM, encodeBridgeClaimCalldata as gN, encodeCancelOrderCalldata as gO, encodeCancelPendingChangeCalldata as gP, encodeClaimPolicyByAddressCalldata as gQ, encodeCreateRequestCalldata as gR, encodeCreateRequestCanonical as gS, encodeDisableCalldata as gT, encodeEnableCalldata as gU, encodeLockBridgeConfigCalldata as gV, encodeNameAcceptTransferCall as gW, encodeNameProposeTransferCall as gX, encodeNameRegisterCall as gY, encodeNativeMarketModuleForwarderInput as gZ, encodeNativeNftBuyListingCall as g_, buildNativeSpotSettleLimitOrderModuleCall as ga, buildNativeSpotSettleRoutedLimitOrderForwarderInput as gb, buildNativeSpotSettleRoutedLimitOrderModuleCall as gc, buildPlaceLimitOrderViaPlan as gd, buildPlaceSpotLimitOrderPlan as ge, buildPlaceSpotMarketOrderExPlan as gf, buildPlaceSpotMarketOrderPlan as gg, categoryRoot as gh, clobAddressHex as gi, clusterApyPercent as gj, composeClaimBoundMessage as gk, computeNoEvmDacFinalityMessage as gl, computeNoEvmLeaderFinalityMessage as gm, computeNoEvmReceiptsRoot as gn, computeNoEvmRoundFinalityMessage as go, computeNoEvmTargetReceiptHash as gp, computeQuoteLiquidity as gq, consumeNativeEvents as gr, decodeClusterDiversity as gs, decodeClusterFormedEvent as gt, decodeNativeAgentStateResponse as gu, decodeNativeMarketOrderBookDeltasResponse as gv, decodeNativeReceiptResponse as gw, decodeNoEvmReceiptTranscript as gx, decodeOperatorFeeChargedEvent as gy, decodeOperatorNetworkMetadata as gz, type NativeAgentStateFilter as h, oraclePriceToNumber as h$, encodeNativeNftCreateListingCall as h0, encodeNativeNftPlaceAuctionBidCall as h1, encodeNativeNftSettleAuctionCall as h2, encodeNativeNftSweepExpiredListingsCall as h3, encodeNativeSpotCancelOrderCall as h4, encodeNativeSpotCreateMarketCall as h5, encodeNativeSpotLimitOrderCall as h6, encodeNativeSpotSettleLimitOrderCall as h7, encodeNativeSpotSettleRoutedLimitOrderCall as h8, encodePlaceLimitOrderCalldata as h9, isBridgeResumeCooldownActiveRevert as hA, isConcreteServiceProbeStatus as hB, isNativeDecodedEvent as hC, isNativeMarketOrderBookStreamPayload as hD, isSinglePublicServiceProbeMask as hE, isValidNodeRegistryCapabilities as hF, isValidPublicServiceProbeMask as hG, nameLengthModifierX10 as hH, nameRegistrationCost as hI, nameRegistryAddressHex as hJ, nativeAgentStateFilterParams as hK, nativeEventMatches as hL, nativeEventsFilterParams as hM, nativeEventsFromHistory as hN, nativeEventsFromReceipt as hO, nativeMarketEventFilter as hP, nativeMarketEventsFromHistory as hQ, nativeMarketEventsFromReceipt as hR, nativeMarketStateFilterParams as hS, noEvmReceiptTrustPolicyFromChainInfo as hT, nodeHostingClassFromByte as hU, nodeHostingClassToByte as hV, nodeRegistryAddressHex as hW, normalizeAddressHex as hX, normalizeBridgeRouteCatalogue as hY, normalizePendingChangeKind as hZ, oracleAddressHex as h_, encodePlaceLimitOrderViaCalldata as ha, encodePlaceMarketOrderCalldata as hb, encodePlaceMarketOrderExCalldata as hc, encodeRecoverOperatorNodeCalldata as hd, encodeReportServiceProbeCalldata as he, encodeSetBridgeResumeCooldownCalldata as hf, encodeSetBridgeRouteFinalityCalldata as hg, encodeSetLotSizeCalldata as hh, encodeSetMinNotionalCalldata as hi, encodeSetPolicyCalldata as hj, encodeSetPolicyClaimCalldata as hk, encodeSetTickSizeCalldata as hl, encodeSubmitBridgeProofCalldata as hm, encodeSubmitPendingChangeCalldata as hn, exportBridgeRouteCatalogueJson as ho, fetchChainInfoLatest as hp, fetchChainRegistryLatest as hq, formatOraclePrice as hr, getChainInfo as hs, getNoEvmReceiptTrustPolicy as ht, getP2pSeeds as hu, getRpcEndpoints as hv, hexToAddressBytes as hw, isBridgeAdminLockedRevert as hx, isBridgeCooldownZeroRevert as hy, isBridgeFinalityZeroRevert as hz, type NativeAgentStateResponse as i, fetchEncryptionKey as i$, packTimeWindow as i0, parseAddress as i1, parseBridgeRouteCatalogueJson as i2, parseChainRegistryToml as i3, parseDkgResharePublicKeys as i4, parseNameCategory as i5, parseNativeDecodedEvent as i6, parseQuantity as i7, parseQuantityBig as i8, proverMarketStateFromByte as i9, type DecryptHint as iA, ENCRYPTED_SUBMISSION_UNAVAILABLE_MESSAGE as iB, ENUM_VARIANT_INDEX_ML_DSA_65 as iC, type EncryptedEnvelope as iD, type EncryptedSubmission as iE, ML_DSA_65_PUBLIC_KEY_LEN as iF, ML_DSA_65_SEED_LEN as iG, ML_DSA_65_SIGNATURE_LEN as iH, ML_DSA_65_SIGNING_KEY_LEN as iI, ML_KEM_768_CIPHERTEXT_LEN as iJ, ML_KEM_768_ENCAPSULATION_KEY_LEN as iK, ML_KEM_768_SHARED_SECRET_LEN as iL, type NativeTxExtension as iM, type NativeTxExtensionDescriptor as iN, type NativeTxExtensionLike as iO, type PlaintextSubmission as iP, STANDARD_ALGO_NUMBER_ML_DSA_65 as iQ, bincodeDecryptHint as iR, bincodeEncryptedEnvelope as iS, bincodeNonceAad as iT, bincodeSignedTransaction as iU, buildEncryptedEnvelope as iV, buildEncryptedSubmission as iW, buildPlaintextSubmission as iX, encodeMlDsa65Opaque as iY, encodeTransactionForHash as iZ, encryptInnerTx as i_, quoteOperatorFee as ia, rankBridgeRoutes as ib, rankMarketsByVolume as ic, requestSighash as id, requireTypedAddress as ie, selectBridgeTransferRoute as ig, serviceProbeStatusLabel as ih, setDestinationRoot as ii, spendingPolicyAddressHex as ij, submitSighash as ik, typedBech32ToAddress as il, validateAddress as im, validateBridgeRouteCatalogue as io, verifyNoEvmArchiveProofSignatures as ip, verifyNoEvmBlockFinalityEvidenceMultisig as iq, verifyNoEvmBlockFinalityEvidenceThreshold as ir, verifyNoEvmFinalityEvidenceMultisig as is, verifyNoEvmFinalityEvidenceThreshold as it, verifyNoEvmReceiptProof as iu, verifyNoEvmReceiptProofTrust as iv, type NonceAad as iw, ADDRESS_DERIVATION_DOMAIN as ix, DKG_AEAD_TAG_LEN as iy, DKG_NONCE_LEN as iz, type NativeMarketStateFilter as j, mlDsa65AddressBytes as j0, mlDsa65AddressFromPublicKey as j1, outerSigDigest as j2, submitEncryptedEnvelope as j3, submitPlaintextTransaction as j4, submitTransactionWithPrivacy as j5, type NativeMarketStateResponse as k, type NativeMarketOrderBookDeltasRequest as l, type NativeMarketOrderBookDeltasResponse as m, type AddressProfileResponse as n, type AddressFlowResponse as o, type RedemptionQueueResponse as p, type MrcAccountResponse as q, type MrcHoldersResponse as r, type BridgeRoutesRequest as s, type BridgeRoutesResponse as t, type ServiceProbeResponse as u, type ClobMarketsResponse as v, type ClobMarketResponse as w, type ClobTradesResponse as x, type ClobOhlcResponse as y, type ClobOrderBookResponse as z };
6360
+ export { type AddressActivityEntryEnriched as $, type ApiStreamsIndexResponse as A, type BlockSelector as B, type ChainStatsResponse as C, type NativeEvmTxFields as D, type EncryptionKey as E, MempoolClass as F, type TypedAddress as G, RpcClient as H, MlDsa65Backend as I, type ExecutionUnitPriceResponse as J, type ClusterJoinRequestView as K, type AddressKind as L, type MrcMetadataResponse as M, type NativeReceiptFee as N, type OperatorCapabilitiesResponse as O, type PendingRewardsResponse as P, ADDRESS_HRP as Q, type RuntimeBuildProvenance as R, type SearchResponse as S, type TxFeedResponse as T, ADDRESS_KIND_HRPS as U, API_STREAM_TOPICS as V, type AccountPolicy as W, type AccountProofResponse as X, type Address as Y, type AddressActivityArchiveRedirect as Z, type AddressActivityEntry as _, type RuntimeUpgradeStatus as a, type ClobMarketAssets as a$, type AddressActivityKind as a0, type AddressActivityKindResponse as a1, type AddressActivityKindRetention as a2, AddressError as a3, type AddressLabelRecord as a4, type AddressValidation as a5, type AgentReputationCategoryScope as a6, type AgentReputationRecord as a7, type AgentReputationResponse as a8, type ApiStreamTopic as a9, type BridgeRouteCandidate as aA, type BridgeRouteCatalogue as aB, BridgeRouteCatalogueError as aC, type BridgeRouteCatalogueJsonOptions as aD, type BridgeRouteCataloguePayload as aE, type BridgeRouteCatalogueRoute as aF, type BridgeRouteCatalogueValidation as aG, type BridgeRouteDisclosure as aH, type BridgeRouteSelection as aI, type BridgeRoutesSource as aJ, type BridgeTransferIntent as aK, type BridgeTransferRequest as aL, type BridgeVerifierDisclosure as aM, CHAIN_REGISTRY as aN, CHAIN_REGISTRY_RAW_BASE as aO, CLOB_MARKET_ID_DOMAIN_TAG as aP, CLOB_SELECTORS as aQ, CLUSTER_FORMED_EVENT_SIG as aR, type CancelClusterJoinCalldataArgs as aS, type CancelPendingChangeCalldataArgs as aT, type CancelSpotOrderArgs as aU, type CapabilitiesResponse as aV, type CapabilityDescriptor as aW, type ChainInfo as aX, type ChainRegistry as aY, type CheckpointRecord as aZ, type CirculatingSupplyResponse as a_, type ApiStreamTopicMetadata as aa, type ApiStreamTopicRetention as ab, type AssetPolicy as ac, type AttestDkgReshareCalldataArgs as ad, type AttestationWindow as ae, BRIDGE_QUOTE_API_BLOCKED_REASON as af, BRIDGE_REVERT_TAGS as ag, BRIDGE_SELECTORS as ah, BRIDGE_SUBMIT_API_BLOCKED_REASON as ai, type BlockHeader as aj, type BlockTag as ak, type BlsCertificateResponse as al, type BridgeAdminControl as am, type BridgeAnchorState as an, type BridgeBreakerState as ao, type BridgeBytesInput as ap, type BridgeCircuitBreakerFields as aq, type BridgeCircuitBreakerState as ar, type BridgeDrainCap as as, type BridgeDrainStatus as at, type BridgeHealthRecord as au, type BridgeHealthResponse as av, BridgePrecompileError as aw, type BridgeQuoteSubmitReadiness as ax, type BridgeRiskTier as ay, type BridgeRouteAssessment as az, type NativeReceiptResponse as b, MAX_NATIVE_CALL_FORWARDER_REQUEST_BYTES as b$, type ClobMarketRecord as b0, type ClobMarketSummary as b1, type ClobTrade as b2, type ClusterAprResponse as b3, type ClusterDelegatorsResponse as b4, type ClusterDirectoryEntryResponse as b5, type ClusterDirectoryPageResponse as b6, type ClusterDiversity as b7, type ClusterDiversityView as b8, type ClusterEntityResponse as b9, type EncodeNativeNftSettleAuctionArgs as bA, type EncodeNativeNftSweepExpiredListingsArgs as bB, type EncodeNativeSpotCancelOrderArgs as bC, type EncodeNativeSpotCreateMarketArgs as bD, type EncodeNativeSpotLimitOrderArgs as bE, type EncodeNativeSpotSettleLimitOrderArgs as bF, type EncodeNativeSpotSettleRoutedLimitOrderArgs as bG, type EncryptionKeyResponse as bH, type EntityRatchetResponse as bI, type EthSendTransactionRequest as bJ, type ExpireClusterJoinCalldataArgs as bK, type ExplorerEndpoint as bL, FEED_ID_DOMAIN_TAG as bM, type FeeHistoryResponse as bN, type FormClusterCalldataArgs as bO, type GapRange as bP, type GapRecord as bQ, type GapRecordsResponse as bR, type GetClusterJoinRequestCalldataArgs as bS, type Hash as bT, type Hex as bU, type IndexerStatus as bV, type JailStatusWindow as bW, type KeyRotationWindow as bX, type ListProofRequestsResponse as bY, type LythUpgradePlanStatus as bZ, type LythUpgradeStatusResponse as b_, type ClusterFormedEvent as ba, type ClusterJoinRequestStatus as bb, type ClusterMemberResponse as bc, type ClusterNameResponse as bd, type ClusterResignationRow as be, type ClusterResignationsResponse as bf, type ClusterStatusResponse as bg, type CreateRequestCanonicalArgs as bh, DIVERSITY_SCORE_MAX as bi, type DagParent as bj, type DagParentsResponse as bk, type DagSyncStatus as bl, type DecodeTxExtension as bm, type DecodeTxLog as bn, type DecodeTxPqAttestation as bo, type DecodeTxResponse as bp, type DelegationCapResponse as bq, type DelegationHistoryRecord as br, type DelegationRow as bs, type DelegationsResponse as bt, type DutyAbsence as bu, EMPTY_ROOT as bv, type EncodeNativeNftBuyListingArgs as bw, type EncodeNativeNftCancelListingArgs as bx, type EncodeNativeNftCreateListingArgs as by, type EncodeNativeNftPlaceAuctionBidArgs as bz, type NativeDecodedEvent as c, type NameRegistrationQuote as c$, MAX_NATIVE_RECEIPT_EVENTS as c0, ML_DSA_65_PUBLIC_KEY_LEN$1 as c1, ML_DSA_65_SIGNATURE_LEN$1 as c2, MULTISIG_ADDRESS_DERIVATION_DOMAIN as c3, MarketActionError as c4, type MarketTransactionPlan as c5, type MempoolSnapshot as c6, type MeshDecodedTx as c7, type MeshSignedTxResponse as c8, type MeshTxIntent as c9, NODE_REGISTRY_CONSENSUS_POP_BYTES as cA, NODE_REGISTRY_CONSENSUS_PUBKEY_BYTES as cB, NODE_REGISTRY_CONSENSUS_SIGNATURE_BYTES as cC, NODE_REGISTRY_DKG_ATTESTATION_SIG_BYTES as cD, NODE_REGISTRY_DKG_RESHARE_MAX_SIGNERS as cE, NODE_REGISTRY_DKG_RESHARE_MIN_SIGNERS as cF, NODE_REGISTRY_DKG_THRESHOLD_SIG_BYTES as cG, NODE_REGISTRY_FORM_CLUSTER_ACTIVE_COUNT as cH, NODE_REGISTRY_FORM_CLUSTER_MEMBER_COUNT as cI, NODE_REGISTRY_FORM_CLUSTER_MESSAGE_DOMAIN as cJ, NODE_REGISTRY_FORM_CLUSTER_STANDBY_COUNT as cK, NODE_REGISTRY_FORM_CLUSTER_THRESHOLD as cL, NODE_REGISTRY_LEGACY_CLUSTER_MEMBER_PUBKEY_BYTES as cM, NODE_REGISTRY_PENDING_CHANGE_MAX_INTENT_ID as cN, NODE_REGISTRY_PUBLIC_SERVICE_MASK as cO, NODE_REGISTRY_SELECTORS as cP, NO_EVM_ARCHIVE_PROOF_SCHEMA as cQ, NO_EVM_ARCHIVE_SIGNATURE_SCHEME as cR, NO_EVM_FINALITY_EVIDENCE_SCHEMA as cS, NO_EVM_FINALITY_EVIDENCE_SOURCE as cT, NO_EVM_RECEIPTS_ROOT_DOMAIN as cU, NO_EVM_RECEIPT_CODEC as cV, NO_EVM_RECEIPT_PROOF_SCHEMA as cW, NO_EVM_RECEIPT_PROOF_TYPE as cX, NO_EVM_RECEIPT_ROOT_ALGORITHM as cY, type NameCategory as cZ, type NameOfResponse as c_, type MeshUnsignedTxResponse as ca, type MetricsRangeResponse as cb, type MetricsRangeSample as cc, type MetricsRangeSeries as cd, type MetricsRangeStatus as ce, type MrcAccountRecord as cf, type MrcMetadataRecord as cg, type MrcPolicyRecord as ch, type MrcPolicySpendRecord as ci, NAME_BASE_MULTIPLIER as cj, NAME_FALLBACK_FEE_UNIT_LYTHOSHI as ck, NAME_LABEL_MAX_LEN as cl, NAME_LABEL_MIN_LEN as cm, NAME_MAX_LEN as cn, NAME_REGISTRY_SELECTORS as co, NATIVE_CALL_FORWARDER_ARTIFACT_PROFILE as cp, NATIVE_CALL_FORWARDER_RESPONSE_CAPACITY as cq, NATIVE_CALL_FORWARDER_RESPONSE_OFFSET as cr, NATIVE_MARKET_EVENT_FAMILY as cs, NATIVE_MARKET_MODULE_ADDRESS as ct, NATIVE_MARKET_MODULE_ADDRESS_BYTES as cu, NATIVE_MARKET_ORDER_BOOK_STREAM_TOPIC as cv, NODE_REGISTRY_BLS_PUBKEY_BYTES as cw, NODE_REGISTRY_CAPABILITIES as cx, NODE_REGISTRY_CAPABILITY_MASK as cy, NODE_REGISTRY_CLUSTER_MEMBER_REF_BYTES as cz, type NativeEventFilter as d, type NoEvmReceiptTrustIssue as d$, NameRegistryError as d0, type NativeAgentArbiterStateRecord as d1, type NativeAgentAttestationStateRecord as d2, type NativeAgentAvailabilityStateRecord as d3, type NativeAgentConsentStateRecord as d4, type NativeAgentEscrowStateRecord as d5, type NativeAgentIssuerStateRecord as d6, type NativeAgentPolicySpendStateRecord as d7, type NativeAgentPolicyStateRecord as d8, type NativeAgentReputationReviewStateRecord as d9, type NativeNftAssetStandard as dA, type NativeNftListingKind as dB, type NativeNftListingStateRecord as dC, type NativeReceiptCounters as dD, type NativeReceiptEvent as dE, type NativeReceiptSource as dF, type NativeSpotMarketStateRecord as dG, type NativeSpotOrderStateRecord as dH, type NetworkClientOptions as dI, type NetworkSlug as dJ, type NoEvmArchiveCoveringSnapshot as dK, type NoEvmArchiveProof as dL, type NoEvmArchiveSignatureVerification as dM, type NoEvmArchiveSignatureVerificationIssue as dN, type NoEvmArchiveSignatureVerificationIssueCode as dO, type NoEvmArchiveTrustedSigner as dP, type NoEvmBlockBlsFinalityVerification as dQ, type NoEvmBlockRoundFinalityVerification as dR, type NoEvmBlsFinalityVerification as dS, type NoEvmFinalityBlockReference as dT, type NoEvmFinalityCertificate as dU, type NoEvmFinalityEvidence as dV, type NoEvmReceiptFinalityTrustPolicy as dW, type NoEvmReceiptProof as dX, NoEvmReceiptProofError as dY, type NoEvmReceiptProofErrorCode as dZ, type NoEvmReceiptProofVerification as d_, type NativeAgentServiceStateRecord as da, type NativeAgentStateFilterParamValue as db, type NativeAgentStateResponseFilters as dc, type NativeAgentStateSource as dd, type NativeCallForwarderArtifact as de, type NativeCollectionRoyaltyStateRecord as df, type NativeEventConsumer as dg, type NativeEventProjection as dh, type NativeEventsResponseFilters as di, type NativeEventsSource as dj, type NativeMarketAddressInput as dk, type NativeMarketAddressKind as dl, type NativeMarketForwarderInput as dm, type NativeMarketModuleCallEnvelope as dn, type NativeMarketModuleContractCall as dp, type NativeMarketOrderBookDelta as dq, type NativeMarketOrderBookDeltasResponseFilters as dr, type NativeMarketOrderBookDeltasSource as ds, type NativeMarketOrderBookStreamAction as dt, type NativeMarketOrderBookStreamPayload as du, type NativeMarketStateFilterParamValue as dv, type NativeMarketStateResponseFilters as dw, type NativeMarketStateSource as dx, type NativeModuleForwarderDescriptor as dy, type NativeMrcPolicyProjection as dz, type TypedNativeReceiptEvent as e, type QuoteLiquidity as e$, type NoEvmReceiptTrustIssueCode as e0, type NoEvmReceiptTrustPolicy as e1, type NoEvmReceiptTrustVerification as e2, type NoEvmReceiptTrustedBlsSigner as e3, type NoEvmReceiptTrustedSigner as e4, type NoEvmRoundFinalityVerification as e5, type NodeHostingClass as e6, NodeRegistryError as e7, OPERATOR_ROUTER_EVENT_SIGS as e8, OPERATOR_ROUTER_SELECTORS as e9, PROVER_MARKET_EVENT_SIGS as eA, PROVER_MARKET_REQUEST_DOMAIN as eB, PROVER_MARKET_SELECTORS as eC, PROVER_MARKET_SUBMIT_DOMAIN as eD, PROVER_SLASH_REASON_BAD_PROOF as eE, PROVER_SLASH_REASON_NON_DELIVERY as eF, type ParsedName as eG, type PeerSummary as eH, type PeerSummaryAggregate as eI, type PendingChangeKind as eJ, type PendingRewardsRow as eK, type PendingTxSummary as eL, type PlaceLimitOrderViaArgs as eM, type PlaceLimitOrderViaPlan as eN, type PlaceSpotLimitOrderArgs as eO, type PlaceSpotMarketOrderArgs as eP, type PlaceSpotMarketOrderExArgs as eQ, type PrecompileCatalogueResponse as eR, type PrecompileDescriptor as eS, type ProofRequestRow as eT, type ProofRequestView as eU, type ProverBidView as eV, type ProverBidsResponse as eW, ProverMarketError as eX, type ProverMarketState as eY, type ProverMarketStatusResponse as eZ, type Quantity as e_, OPERATOR_ROUTER_SIGS as ea, ORACLE_EVENT_SIGS as eb, type OperatorAuthorityResponse as ec, type OperatorFeeChargedEvent as ed, type OperatorFeeConfig as ee, type OperatorFeeQuote as ef, type OperatorInfoResponse as eg, type OperatorNetworkMetadata as eh, type OperatorNetworkMetadataView as ei, type OperatorRiskResponse as ej, type OperatorRouterConfig as ek, type OperatorSigningActivityResponse as el, type OperatorSigningEntry as em, type OperatorSurfaceCapability as en, type OperatorSurfaceStatus as eo, type OracleEvent as ep, OracleEventError as eq, type OracleFeedConfig as er, type OracleLatestPrice as es, type OracleSignerRow as et, type OracleSignersResponse as eu, type OracleWriters as ev, type P2pSeed as ew, PENDING_CHANGE_KIND_CODES as ex, PROVER_MARKET_ADDRESS as ey, PROVER_MARKET_BID_DOMAIN as ez, type NativeEventsFilter as f, allowRootFor as f$, RESERVED_ADDRESS_HRPS as f0, type RankedBridgeRoute as f1, type ReceiptProofTrustArchivePolicy as f2, type ReceiptProofTrustArchiveSigner as f3, type ReceiptProofTrustFinalityPolicy as f4, type ReceiptProofTrustFinalitySigner as f5, type ReceiptProofTrustPolicy as f6, type RedemptionQueueTicket as f7, type RegistryRecord as f8, type ReportServiceProbeCalldataArgs as f9, type SwapIntentStatus as fA, type SyncStatus as fB, TESTNET_69420 as fC, type TokenBalanceMrcIdentity as fD, type TokenBalanceRecord as fE, type TokenBalanceWithMetadata as fF, type TotalBurnedResponse as fG, type TpmAttestationResponse as fH, type TransactionReceipt as fI, type TransactionView as fJ, type TxConfirmations as fK, type TxFeedReceipt as fL, type TxFeedTransaction as fM, type TxStatusFoundResponse as fN, type TxStatusNotFoundResponse as fO, type TxStatusResponse as fP, type UpcomingDutiesResponse as fQ, type UpcomingDutyMap as fR, type UserAddressInput as fS, V1_BRIDGE_ALLOWED_FEE_TOKEN as fT, V1_BRIDGE_ALLOWED_PROTOCOL as fU, type VertexAtRound as fV, type VerticesAtRoundResponse as fW, type VoteClusterAdmitCalldataArgs as fX, addressBytesToHex as fY, addressToBech32 as fZ, addressToTypedBech32 as f_, type ReportServiceProbeRequest as fa, type ReportServiceProbeResponse as fb, type RequestClusterJoinCalldataArgs as fc, type ResolveNameResponse as fd, type RichListHolder as fe, type RichListResponse as ff, type RoundCertificateResponse as fg, type RoundInfo as fh, type RpcClientOptions as fi, type RpcEndpoint as fj, type RuntimeProvenanceResponse as fk, SERVES_GPU_PROVE as fl, SERVICE_PROBE_STATUS as fm, SET_POLICY_CLAIM_DOMAIN_TAG as fn, SPENDING_POLICY_SELECTORS as fo, type SearchHit as fp, type ServiceProbeStatusLabel as fq, type SigningEntryStatus as fr, type SpendingPolicyArgs as fs, SpendingPolicyError as ft, type SpendingPolicyTimeWindow as fu, type SpendingPolicyView as fv, type SpotLimitOrderSide as fw, type SpotMarketOrderMode as fx, type StorageProofBatch as fy, type SubmitPendingChangeCalldataArgs as fz, type NativeEventsResponse as g, denyRootFor as g$, assertNativeMarketOrderBookStreamPayload as g0, assessBridgeRoute as g1, bech32ToAddress as g2, bech32ToAddressBytes as g3, bidSighash as g4, bridgeAddressHex as g5, bridgeDrainRemaining as g6, bridgeQuoteSubmitReadiness as g7, bridgeRoutesReadiness as g8, bridgeTransferCandidates as g9, buildPlaceLimitOrderViaPlan as gA, buildPlaceSpotLimitOrderPlan as gB, buildPlaceSpotMarketOrderExPlan as gC, buildPlaceSpotMarketOrderPlan as gD, categoryRoot as gE, clobAddressHex as gF, clusterApyPercent as gG, composeClaimBoundMessage as gH, computeNoEvmDacFinalityMessage as gI, computeNoEvmLeaderFinalityMessage as gJ, computeNoEvmReceiptsRoot as gK, computeNoEvmRoundFinalityMessage as gL, computeNoEvmTargetReceiptHash as gM, computeQuoteLiquidity as gN, consumeNativeEvents as gO, decodeClusterDiversity as gP, decodeClusterFormedEvent as gQ, decodeClusterJoinRequest as gR, decodeNativeAgentStateResponse as gS, decodeNativeMarketOrderBookDeltasResponse as gT, decodeNativeReceiptResponse as gU, decodeNoEvmReceiptTranscript as gV, decodeOperatorFeeChargedEvent as gW, decodeOperatorNetworkMetadata as gX, decodeOracleEvent as gY, decodeTimeWindow as gZ, decodeTxFeedResponse as g_, buildBridgeRouteCatalogue as ga, buildCancelSpotOrderPlan as gb, buildNativeCallForwarderArtifact as gc, buildNativeMarketModuleCallEnvelope as gd, buildNativeNftBuyListingForwarderInput as ge, buildNativeNftBuyListingModuleCall as gf, buildNativeNftCancelListingForwarderInput as gg, buildNativeNftCancelListingModuleCall as gh, buildNativeNftCreateListingForwarderInput as gi, buildNativeNftCreateListingModuleCall as gj, buildNativeNftPlaceAuctionBidForwarderInput as gk, buildNativeNftPlaceAuctionBidModuleCall as gl, buildNativeNftSettleAuctionForwarderInput as gm, buildNativeNftSettleAuctionModuleCall as gn, buildNativeNftSweepExpiredListingsForwarderInput as go, buildNativeNftSweepExpiredListingsModuleCall as gp, buildNativeSpotCancelOrderForwarderInput as gq, buildNativeSpotCancelOrderModuleCall as gr, buildNativeSpotCreateMarketForwarderInput as gs, buildNativeSpotCreateMarketModuleCall as gt, buildNativeSpotLimitOrderForwarderInput as gu, buildNativeSpotLimitOrderModuleCall as gv, buildNativeSpotSettleLimitOrderForwarderInput as gw, buildNativeSpotSettleLimitOrderModuleCall as gx, buildNativeSpotSettleRoutedLimitOrderForwarderInput as gy, buildNativeSpotSettleRoutedLimitOrderModuleCall as gz, type NativeAgentStateFilter as h, getRpcEndpoints as h$, deriveClobMarketId as h0, deriveClusterAnchorAddress as h1, deriveFeedId as h2, deriveNativeSpotMarketId as h3, deriveNativeSpotOrderId as h4, destinationRoot as h5, encodeAttestDkgReshareCalldata as h6, encodeBlockSelector as h7, encodeBridgeChallengeCalldata as h8, encodeBridgeClaimCalldata as h9, encodeNativeSpotSettleRoutedLimitOrderCall as hA, encodePlaceLimitOrderCalldata as hB, encodePlaceLimitOrderViaCalldata as hC, encodePlaceMarketOrderCalldata as hD, encodePlaceMarketOrderExCalldata as hE, encodeRecoverOperatorNodeCalldata as hF, encodeReportServiceProbeCalldata as hG, encodeRequestClusterJoinCalldata as hH, encodeSetBridgeResumeCooldownCalldata as hI, encodeSetBridgeRouteFinalityCalldata as hJ, encodeSetLotSizeCalldata as hK, encodeSetMinNotionalCalldata as hL, encodeSetPolicyCalldata as hM, encodeSetPolicyClaimCalldata as hN, encodeSetTickSizeCalldata as hO, encodeSubmitBridgeProofCalldata as hP, encodeSubmitPendingChangeCalldata as hQ, encodeVoteClusterAdmitCalldata as hR, exportBridgeRouteCatalogueJson as hS, fetchChainInfoLatest as hT, fetchChainRegistryLatest as hU, formClusterMessage as hV, formClusterMessageHex as hW, formatOraclePrice as hX, getChainInfo as hY, getNoEvmReceiptTrustPolicy as hZ, getP2pSeeds as h_, encodeCancelClusterJoinCalldata as ha, encodeCancelOrderCalldata as hb, encodeCancelPendingChangeCalldata as hc, encodeClaimPolicyByAddressCalldata as hd, encodeCreateRequestCalldata as he, encodeCreateRequestCanonical as hf, encodeDisableCalldata as hg, encodeEnableCalldata as hh, encodeExpireClusterJoinCalldata as hi, encodeFormClusterCalldata as hj, encodeGetClusterJoinRequestCalldata as hk, encodeLockBridgeConfigCalldata as hl, encodeNameAcceptTransferCall as hm, encodeNameProposeTransferCall as hn, encodeNameRegisterCall as ho, encodeNativeMarketModuleForwarderInput as hp, encodeNativeNftBuyListingCall as hq, encodeNativeNftCancelListingCall as hr, encodeNativeNftCreateListingCall as hs, encodeNativeNftPlaceAuctionBidCall as ht, encodeNativeNftSettleAuctionCall as hu, encodeNativeNftSweepExpiredListingsCall as hv, encodeNativeSpotCancelOrderCall as hw, encodeNativeSpotCreateMarketCall as hx, encodeNativeSpotLimitOrderCall as hy, encodeNativeSpotSettleLimitOrderCall as hz, type NativeAgentStateResponse as i, verifyNoEvmReceiptProofTrust as i$, hexToAddressBytes as i0, isBridgeAdminLockedRevert as i1, isBridgeCooldownZeroRevert as i2, isBridgeFinalityZeroRevert as i3, isBridgeResumeCooldownActiveRevert as i4, isConcreteServiceProbeStatus as i5, isNativeDecodedEvent as i6, isNativeMarketOrderBookStreamPayload as i7, isSinglePublicServiceProbeMask as i8, isValidNodeRegistryCapabilities as i9, parseBridgeRouteCatalogueJson as iA, parseChainRegistryToml as iB, parseDkgResharePublicKeys as iC, parseNameCategory as iD, parseNativeDecodedEvent as iE, parseQuantity as iF, parseQuantityBig as iG, proverMarketStateFromByte as iH, quoteOperatorFee as iI, rankBridgeRoutes as iJ, rankMarketsByVolume as iK, requestSighash as iL, requireTypedAddress as iM, selectBridgeTransferRoute as iN, serviceProbeStatusLabel as iO, setDestinationRoot as iP, spendingPolicyAddressHex as iQ, submitSighash as iR, typedBech32ToAddress as iS, validateAddress as iT, validateBridgeRouteCatalogue as iU, verifyNoEvmArchiveProofSignatures as iV, verifyNoEvmBlockFinalityEvidenceMultisig as iW, verifyNoEvmBlockFinalityEvidenceThreshold as iX, verifyNoEvmFinalityEvidenceMultisig as iY, verifyNoEvmFinalityEvidenceThreshold as iZ, verifyNoEvmReceiptProof as i_, isValidPublicServiceProbeMask as ia, nameLengthModifierX10 as ib, nameRegistrationCost as ic, nameRegistryAddressHex as id, nativeAgentStateFilterParams as ie, nativeEventMatches as ig, nativeEventsFilterParams as ih, nativeEventsFromHistory as ii, nativeEventsFromReceipt as ij, nativeMarketEventFilter as ik, nativeMarketEventsFromHistory as il, nativeMarketEventsFromReceipt as im, nativeMarketStateFilterParams as io, noEvmReceiptTrustPolicyFromChainInfo as ip, nodeHostingClassFromByte as iq, nodeHostingClassToByte as ir, nodeRegistryAddressHex as is, normalizeAddressHex as it, normalizeBridgeRouteCatalogue as iu, normalizePendingChangeKind as iv, oracleAddressHex as iw, oraclePriceToNumber as ix, packTimeWindow as iy, parseAddress as iz, type NativeMarketStateFilter as j, submitSealedTransaction as j$, ADDRESS_DERIVATION_DOMAIN as j0, CLUSTER_MLKEM_SHAMIR as j1, CLUSTER_MLKEM_SHAMIR_ALGO as j2, type ClusterSealKeyEntryInput as j3, type ClusterSealKeys as j4, type ClusterSealKeysSource as j5, DKG_AEAD_TAG_LEN as j6, DKG_NONCE_LEN as j7, type DecryptHint as j8, ENCRYPTED_SUBMISSION_UNAVAILABLE_MESSAGE as j9, STANDARD_ALGO_NUMBER_ML_DSA_65 as jA, type SealRandomSource as jB, type SealRecipient as jC, type SealedSubmission as jD, bincodeDecryptHint as jE, bincodeEncryptedEnvelope as jF, bincodeNonceAad as jG, bincodeSignedTransaction as jH, buildEncryptedEnvelope as jI, buildEncryptedSubmission as jJ, buildPlaintextSubmission as jK, cryptoRandomSource as jL, encodeMlDsa65Opaque as jM, encodeSealEnvelope as jN, encodeTransactionForHash as jO, encryptInnerTx as jP, fetchEncryptionKey as jQ, getClusterSealKeys as jR, mlDsa65AddressBytes as jS, mlDsa65AddressFromPublicKey as jT, outerSigDigest as jU, parseClusterSealKeys as jV, sealRosterHash as jW, sealToCluster as jX, sealTransaction as jY, submitEncryptedEnvelope as jZ, submitPlaintextTransaction as j_, ENUM_VARIANT_INDEX_ML_DSA_65 as ja, type EncryptedEnvelope as jb, type EncryptedSubmission as jc, type JsonRpcCallClient as jd, type LythiumSealEnvelope as je, ML_DSA_65_PUBLIC_KEY_LEN as jf, ML_DSA_65_SEED_LEN as jg, ML_DSA_65_SIGNATURE_LEN as jh, ML_DSA_65_SIGNING_KEY_LEN as ji, ML_KEM_768_CIPHERTEXT_LEN as jj, ML_KEM_768_ENCAPSULATION_KEY_LEN as jk, ML_KEM_768_SHARED_SECRET_LEN as jl, type NativeTxExtension as jm, type NativeTxExtensionDescriptor as jn, type NativeTxExtensionLike as jo, type NonceAad as jp, type PlaintextSubmission as jq, SEAL_COMMIT_LEN as jr, SEAL_DK_LEN as js, SEAL_EK_LEN as jt, SEAL_KEM_CT_LEN as ju, SEAL_KEM_SEED_LEN as jv, SEAL_KEY_LEN as jw, SEAL_NONCE_LEN as jx, SEAL_SHARE_LEN as jy, SEAL_TAG_LEN as jz, type NativeMarketStateResponse as k, submitTransactionWithPrivacy as k0, type NativeMarketOrderBookDeltasRequest as l, type NativeMarketOrderBookDeltasResponse as m, type AddressProfileResponse as n, type AddressFlowResponse as o, type RedemptionQueueResponse as p, type MrcAccountResponse as q, type MrcHoldersResponse as r, type BridgeRoutesRequest as s, type BridgeRoutesResponse as t, type ServiceProbeResponse as u, type ClobMarketsResponse as v, type ClobMarketResponse as w, type ClobTradesResponse as x, type ClobOhlcResponse as y, type ClobOrderBookResponse as z };