@monolythium/core-sdk 0.4.17 → 0.4.18
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.
- package/dist/crypto/index.d.cts +2 -2
- package/dist/crypto/index.d.ts +2 -2
- package/dist/index.cjs +80 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +80 -15
- package/dist/index.js.map +1 -1
- package/dist/{submission-DwcVARLM.d.cts → submission-Cr6u_2he.d.cts} +22 -3
- package/dist/{submission-DwcVARLM.d.ts → submission-Cr6u_2he.d.ts} +22 -3
- package/package.json +1 -1
|
@@ -6074,9 +6074,23 @@ declare class RpcClient {
|
|
|
6074
6074
|
ethChainId(): Promise<bigint>;
|
|
6075
6075
|
/** Compatibility block-height read. */
|
|
6076
6076
|
ethBlockNumber(): Promise<bigint>;
|
|
6077
|
-
/**
|
|
6077
|
+
/**
|
|
6078
|
+
* `eth_getBalance` — balance + Merkle proof envelope.
|
|
6079
|
+
*
|
|
6080
|
+
* The node may answer with a bare `0x…` hex word or a proof-wrapped
|
|
6081
|
+
* object; both are normalized to a consistent {@link AccountProofResponse}
|
|
6082
|
+
* via {@link normalizeAccountProof} so `.value` is always the bare word.
|
|
6083
|
+
*/
|
|
6078
6084
|
ethGetBalance(address: string, block?: BlockSelector): Promise<AccountProofResponse>;
|
|
6079
|
-
/**
|
|
6085
|
+
/**
|
|
6086
|
+
* `eth_getStorageAt` — storage word + Merkle proof.
|
|
6087
|
+
*
|
|
6088
|
+
* The node returns a proof-wrapped object
|
|
6089
|
+
* `{ value, proof, stateRoot, blockNumber }` (some builds use a bare
|
|
6090
|
+
* `0x…` hex word). Both shapes are normalized to a consistent
|
|
6091
|
+
* {@link AccountProofResponse} via {@link normalizeAccountProof}; `.value`
|
|
6092
|
+
* is always the bare storage word (even-length hex, `0x0` when zero).
|
|
6093
|
+
*/
|
|
6080
6094
|
ethGetStorageAt(address: string, slot: string, block?: BlockSelector): Promise<AccountProofResponse>;
|
|
6081
6095
|
/** `eth_getTransactionCount` — sender nonce. */
|
|
6082
6096
|
ethGetTransactionCount(address: string, block?: BlockSelector): Promise<bigint>;
|
|
@@ -6128,7 +6142,12 @@ declare class RpcClient {
|
|
|
6128
6142
|
lythListProviders(capabilityMask: number, cursor?: string | null, limit?: number): Promise<RegistryRecord[]>;
|
|
6129
6143
|
/** `lyth_getRegistration` — single registry lookup. */
|
|
6130
6144
|
lythGetRegistration(peerId: string): Promise<RegistryRecord | null>;
|
|
6131
|
-
/**
|
|
6145
|
+
/**
|
|
6146
|
+
* `lyth_registryStateProof` — Merkle proof for a registry entry.
|
|
6147
|
+
*
|
|
6148
|
+
* Normalized through {@link normalizeAccountProof} so a bare-hex or
|
|
6149
|
+
* proof-wrapped answer both yield a consistent {@link AccountProofResponse}.
|
|
6150
|
+
*/
|
|
6132
6151
|
lythRegistryStateProof(peerId: string): Promise<AccountProofResponse>;
|
|
6133
6152
|
/** `lyth_getAccountPolicy` — privacy posture for an account. */
|
|
6134
6153
|
lythGetAccountPolicy(address: string): Promise<AccountPolicy>;
|
|
@@ -6074,9 +6074,23 @@ declare class RpcClient {
|
|
|
6074
6074
|
ethChainId(): Promise<bigint>;
|
|
6075
6075
|
/** Compatibility block-height read. */
|
|
6076
6076
|
ethBlockNumber(): Promise<bigint>;
|
|
6077
|
-
/**
|
|
6077
|
+
/**
|
|
6078
|
+
* `eth_getBalance` — balance + Merkle proof envelope.
|
|
6079
|
+
*
|
|
6080
|
+
* The node may answer with a bare `0x…` hex word or a proof-wrapped
|
|
6081
|
+
* object; both are normalized to a consistent {@link AccountProofResponse}
|
|
6082
|
+
* via {@link normalizeAccountProof} so `.value` is always the bare word.
|
|
6083
|
+
*/
|
|
6078
6084
|
ethGetBalance(address: string, block?: BlockSelector): Promise<AccountProofResponse>;
|
|
6079
|
-
/**
|
|
6085
|
+
/**
|
|
6086
|
+
* `eth_getStorageAt` — storage word + Merkle proof.
|
|
6087
|
+
*
|
|
6088
|
+
* The node returns a proof-wrapped object
|
|
6089
|
+
* `{ value, proof, stateRoot, blockNumber }` (some builds use a bare
|
|
6090
|
+
* `0x…` hex word). Both shapes are normalized to a consistent
|
|
6091
|
+
* {@link AccountProofResponse} via {@link normalizeAccountProof}; `.value`
|
|
6092
|
+
* is always the bare storage word (even-length hex, `0x0` when zero).
|
|
6093
|
+
*/
|
|
6080
6094
|
ethGetStorageAt(address: string, slot: string, block?: BlockSelector): Promise<AccountProofResponse>;
|
|
6081
6095
|
/** `eth_getTransactionCount` — sender nonce. */
|
|
6082
6096
|
ethGetTransactionCount(address: string, block?: BlockSelector): Promise<bigint>;
|
|
@@ -6128,7 +6142,12 @@ declare class RpcClient {
|
|
|
6128
6142
|
lythListProviders(capabilityMask: number, cursor?: string | null, limit?: number): Promise<RegistryRecord[]>;
|
|
6129
6143
|
/** `lyth_getRegistration` — single registry lookup. */
|
|
6130
6144
|
lythGetRegistration(peerId: string): Promise<RegistryRecord | null>;
|
|
6131
|
-
/**
|
|
6145
|
+
/**
|
|
6146
|
+
* `lyth_registryStateProof` — Merkle proof for a registry entry.
|
|
6147
|
+
*
|
|
6148
|
+
* Normalized through {@link normalizeAccountProof} so a bare-hex or
|
|
6149
|
+
* proof-wrapped answer both yield a consistent {@link AccountProofResponse}.
|
|
6150
|
+
*/
|
|
6132
6151
|
lythRegistryStateProof(peerId: string): Promise<AccountProofResponse>;
|
|
6133
6152
|
/** `lyth_getAccountPolicy` — privacy posture for an account. */
|
|
6134
6153
|
lythGetAccountPolicy(address: string): Promise<AccountPolicy>;
|