@elsoul/erpc-sdk 0.1.0 → 0.2.0

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/index.d.cts CHANGED
@@ -79,8 +79,68 @@ declare class AccountClient {
79
79
  getTokenBalance(options?: RpcSendOptions): Promise<TokenBalance>;
80
80
  }
81
81
 
82
+ type CloudResourceKind = 'bare-metal' | 'solana-grpc' | 'solana-shredstream' | 'vps';
83
+ type CloudResourceMode = 'dedicated' | 'direct' | 'shared';
84
+ /** A credential-free projection of an ERPC Cloud resource. */
85
+ interface CloudResource {
86
+ readonly createdAt?: string;
87
+ readonly id: string;
88
+ readonly kind: CloudResourceKind;
89
+ readonly mode?: CloudResourceMode;
90
+ readonly name?: string;
91
+ readonly region?: string;
92
+ readonly status: string;
93
+ }
94
+ interface CloudResourceStatusBilling {
95
+ readonly graceEndsAt?: string;
96
+ readonly hourlyCredits?: number;
97
+ readonly nextChargeAt?: string;
98
+ readonly status: 'active' | 'grace-period' | 'inactive' | 'suspended';
99
+ }
100
+ interface CloudResourceStatus {
101
+ readonly billing?: CloudResourceStatusBilling;
102
+ readonly id: string;
103
+ readonly status: string;
104
+ }
105
+ declare class CloudResourcesClient {
106
+ #private;
107
+ constructor(transport: RestTransport);
108
+ list(options?: RpcSendOptions): Promise<readonly CloudResource[]>;
109
+ get(resourceId: string, options?: RpcSendOptions): Promise<CloudResource>;
110
+ getStatus(resourceId: string, options?: RpcSendOptions): Promise<CloudResourceStatus>;
111
+ }
112
+
113
+ interface CloudOfferingBilling {
114
+ readonly amountCents: number;
115
+ readonly unit: 'cents-per-hour';
116
+ }
117
+ interface CloudOfferingCompute {
118
+ readonly tenancy: 'bare-metal' | 'virtual-machine';
119
+ }
120
+ interface CloudOfferingSolana {
121
+ readonly transport: 'grpc' | 'shredstream';
122
+ }
123
+ interface CloudOffering {
124
+ readonly billing?: CloudOfferingBilling;
125
+ readonly capabilities: readonly string[];
126
+ readonly compute?: CloudOfferingCompute;
127
+ readonly description: string;
128
+ readonly id: string;
129
+ readonly kind: CloudResourceKind;
130
+ readonly mode?: CloudResourceMode;
131
+ readonly name: string;
132
+ readonly regions: readonly string[];
133
+ readonly solana?: CloudOfferingSolana;
134
+ }
135
+ declare class CloudCatalogClient {
136
+ #private;
137
+ constructor(transport: RestTransport);
138
+ list(options?: RpcSendOptions): Promise<readonly CloudOffering[]>;
139
+ }
140
+
82
141
  declare const DEFAULT_ENDPOINT = "https://edge.erpc.global";
83
142
  declare const DEFAULT_ACCOUNT_ENDPOINT = "https://solana-rpc.erpc.global";
143
+ declare const DEFAULT_USER_ENDPOINT = "https://user-api.erpc.global";
84
144
  declare const DEFAULT_TIMEOUT_MS = 30000;
85
145
  interface ErpcClientConfig {
86
146
  readonly accountEndpoint?: string;
@@ -89,6 +149,7 @@ interface ErpcClientConfig {
89
149
  readonly fetch?: typeof globalThis.fetch;
90
150
  readonly headers?: Readonly<Record<string, string>>;
91
151
  readonly timeoutMs?: number;
152
+ readonly userEndpoint?: string;
92
153
  readonly webSocket?: typeof globalThis.WebSocket;
93
154
  }
94
155
 
@@ -733,6 +794,49 @@ declare class SolanaSubscriptions {
733
794
  rawSubscribe<TResult = unknown>(subscribeMethod: string, params: readonly unknown[], unsubscribeMethod: string, listener: SubscriptionListener<TResult>): Promise<RpcSubscription>;
734
795
  }
735
796
 
797
+ interface MonthlyApiKeyMethodUsage {
798
+ readonly count: number;
799
+ readonly creditCost: number;
800
+ readonly credits: number;
801
+ readonly method: string;
802
+ readonly updatedAt: string | null;
803
+ }
804
+ interface MonthlyApiKeyChainUsage {
805
+ readonly chain: string;
806
+ readonly count: number;
807
+ readonly credits: number;
808
+ readonly methods: readonly MonthlyApiKeyMethodUsage[];
809
+ readonly updatedAt: string | null;
810
+ }
811
+ interface MonthlyApiKeyUsageEntry {
812
+ readonly apiKeyLast4: string;
813
+ readonly apiKeyLength: number;
814
+ readonly chains: readonly MonthlyApiKeyChainUsage[];
815
+ readonly count: number;
816
+ readonly credits: number;
817
+ readonly keyId: number | null;
818
+ readonly updatedAt: string | null;
819
+ }
820
+ interface MonthlyApiKeyUsage {
821
+ readonly apiKeys: readonly MonthlyApiKeyUsageEntry[];
822
+ readonly chains: readonly MonthlyApiKeyChainUsage[];
823
+ readonly hasStrandedUsage: boolean;
824
+ readonly keyCount: number;
825
+ readonly totalCount: number;
826
+ readonly totalCredits: number;
827
+ readonly updatedAt: string | null;
828
+ readonly yearMonth: string;
829
+ }
830
+ interface MonthlyApiKeyUsageParams {
831
+ /** Calendar month in `YYYY-MM` format. The current month is used when omitted. */
832
+ readonly yearMonth?: string;
833
+ }
834
+ declare class UsageClient {
835
+ #private;
836
+ constructor(transport: RestTransport);
837
+ getMonthlyApiKeyUsage(params?: MonthlyApiKeyUsageParams, options?: RpcSendOptions): Promise<MonthlyApiKeyUsage>;
838
+ }
839
+
736
840
  interface ErpcSolanaClient extends SolanaClient {
737
841
  readonly subscriptions: SolanaSubscriptions;
738
842
  }
@@ -744,10 +848,42 @@ interface ErpcClient {
744
848
  readonly ethereum: ErpcEthereumClient;
745
849
  readonly price: PriceClient;
746
850
  readonly solana: ErpcSolanaClient;
851
+ readonly usage: UsageClient;
747
852
  close(): void;
748
853
  }
749
854
  declare const createErpcClient: (config: ErpcClientConfig) => ErpcClient;
750
855
 
856
+ type CloudCreditAlertLevel = 'critical' | 'normal' | 'suspended' | 'warning';
857
+ interface CloudCredit {
858
+ readonly alertLevel: CloudCreditAlertLevel;
859
+ readonly balanceCents: number;
860
+ readonly burnRateCentsPerHour: number;
861
+ readonly quoteExpiresAt: string;
862
+ readonly quoteTimestamp: string;
863
+ readonly timeToZeroHours: number | null;
864
+ }
865
+ declare class CloudCreditClient {
866
+ #private;
867
+ constructor(transport: RestTransport);
868
+ get(options?: RpcSendOptions): Promise<CloudCredit>;
869
+ }
870
+
871
+ interface ErpcCloudClientConfig {
872
+ readonly accessToken: string;
873
+ readonly endpoint?: string;
874
+ readonly fetch?: typeof globalThis.fetch;
875
+ readonly headers?: Readonly<Record<string, string>>;
876
+ readonly timeoutMs?: number;
877
+ }
878
+ interface ErpcCloudClient {
879
+ readonly catalog: CloudCatalogClient;
880
+ readonly credit: CloudCreditClient;
881
+ readonly resources: CloudResourcesClient;
882
+ readonly usage: UsageClient;
883
+ }
884
+ declare const createErpcCloudClient: (config: ErpcCloudClientConfig) => ErpcCloudClient;
885
+ type ErpcCloudRequestOptions = RpcSendOptions;
886
+
751
887
  type ErpcErrorCode = 'ERPC_ABORTED' | 'ERPC_BATCH_POLICY' | 'ERPC_CONFIG' | 'ERPC_HTTP' | 'ERPC_INVALID_RESPONSE' | 'ERPC_RPC' | 'ERPC_TIMEOUT' | 'ERPC_TRANSPORT';
752
888
  declare class ErpcError extends Error {
753
889
  readonly code: ErpcErrorCode;
@@ -782,4 +918,4 @@ declare class ErpcBatchPolicyError extends ErpcError {
782
918
  constructor(message: string);
783
919
  }
784
920
 
785
- export { AccountClient, type AddressTransaction, type AddressTransactionPage, type AddressTransactionsOptions, type AddressTransfer, type AddressTransferPage, type AddressTransfersOptions, type AnalyticsTimeBound, type AssetBatchRequest, type AssetListRequest, type AssetRequest, type BinaryUpdate, DEFAULT_ACCOUNT_ENDPOINT, DEFAULT_ENDPOINT, DEFAULT_TIMEOUT_MS, ETHEREUM_RPC_METHODS, ETHEREUM_SUBSCRIPTION_METHODS, type EpochSummary, ErpcAbortedError, ErpcBatchPolicyError, type ErpcClient, type ErpcClientConfig, ErpcConfigError, ErpcError, type ErpcErrorCode, type ErpcEthereumClient, ErpcHttpError, ErpcInvalidResponseError, ErpcJsonRpcError, type ErpcPlan, type ErpcSolanaClient, ErpcTimeoutError, ErpcTransportError, type EthereumAddress, type EthereumBlockTag, type EthereumClient, type EthereumFilter, type EthereumObject, type EthereumRpcSchema, type EthereumSubscriptionSchema, EthereumSubscriptions, type EthereumTransactionRequest, type Hex, type IndexedAsset, type IndexedAssetList, type IndexedAssetProof, type JsonObject, type JsonPrimitive, type JsonRpcErrorObject, type JsonRpcFailure, type JsonRpcId, type JsonRpcParams, type JsonRpcRequest, type JsonRpcResponse, type JsonRpcSuccess, type JsonRpcTransport, type JsonValue, type LeaderSlot, type LeaderSlotsResult, type NumericFilter, type ParsedPriceUpdate, PendingRpcBatchRequest, PendingRpcRequest, type PingMeasurement, type PriceAssetType, PriceClient, type PriceEncoding, type PriceFeedMetadata, type PricePoint, type PriceStreamEvent, type PriceStreamOptions, type PriceUpdateOptions, type PriceUpdateResponse, type PriorityFeeEstimate, type ProgramStatsBucket, type ProgramStatsOptions, type PublisherStakeCap, type PublisherStakeCapsResponse, type RpcBatchCall, type RpcMethodSpec, type RpcNamespace, type RpcNamespaceBase, type RpcNotification, type RpcNotificationListener, type RpcParams, type RpcResult, type RpcSendOptions, RpcSubscription, SOLANA_ANALYTICS_METHODS, SOLANA_DAS_METHODS, SOLANA_ENHANCED_SUBSCRIPTION_METHODS, SOLANA_HISTORY_METHODS, SOLANA_LEADER_METHODS, SOLANA_RPC_METHODS, type SlotStatsOptions, type SlotStatsRow, type SolanaAnalyticsSchema, type SolanaClient, type SolanaCommitment, type SolanaConfig, type SolanaContext, type SolanaContextResult, type SolanaDasSchema, type SolanaEncoding, type SolanaEnhancedSubscriptionSchema, type SolanaHistorySchema, type SolanaLeaderSchema, type SolanaRpcSchema, SolanaSubscriptions, type SubscriptionId, type SubscriptionListener, type TokenBalance, type TopProgramRow, type TopProgramsOptions, type TpsBucket, type TpsTimeseriesOptions, type ValidatorInformation, type ValidatorsInformationOptions, type ValidatorsInformationResult, createErpcClient };
921
+ export { AccountClient, type AddressTransaction, type AddressTransactionPage, type AddressTransactionsOptions, type AddressTransfer, type AddressTransferPage, type AddressTransfersOptions, type AnalyticsTimeBound, type AssetBatchRequest, type AssetListRequest, type AssetRequest, type BinaryUpdate, CloudCatalogClient, type CloudCredit, type CloudCreditAlertLevel, CloudCreditClient, type CloudOffering, type CloudOfferingBilling, type CloudOfferingCompute, type CloudOfferingSolana, type CloudResource, type CloudResourceKind, type CloudResourceMode, type CloudResourceStatus, type CloudResourceStatusBilling, CloudResourcesClient, DEFAULT_ACCOUNT_ENDPOINT, DEFAULT_ENDPOINT, DEFAULT_TIMEOUT_MS, DEFAULT_USER_ENDPOINT, ETHEREUM_RPC_METHODS, ETHEREUM_SUBSCRIPTION_METHODS, type EpochSummary, ErpcAbortedError, ErpcBatchPolicyError, type ErpcClient, type ErpcClientConfig, type ErpcCloudClient, type ErpcCloudClientConfig, type ErpcCloudRequestOptions, ErpcConfigError, ErpcError, type ErpcErrorCode, type ErpcEthereumClient, ErpcHttpError, ErpcInvalidResponseError, ErpcJsonRpcError, type ErpcPlan, type ErpcSolanaClient, ErpcTimeoutError, ErpcTransportError, type EthereumAddress, type EthereumBlockTag, type EthereumClient, type EthereumFilter, type EthereumObject, type EthereumRpcSchema, type EthereumSubscriptionSchema, EthereumSubscriptions, type EthereumTransactionRequest, type Hex, type IndexedAsset, type IndexedAssetList, type IndexedAssetProof, type JsonObject, type JsonPrimitive, type JsonRpcErrorObject, type JsonRpcFailure, type JsonRpcId, type JsonRpcParams, type JsonRpcRequest, type JsonRpcResponse, type JsonRpcSuccess, type JsonRpcTransport, type JsonValue, type LeaderSlot, type LeaderSlotsResult, type MonthlyApiKeyChainUsage, type MonthlyApiKeyMethodUsage, type MonthlyApiKeyUsage, type MonthlyApiKeyUsageEntry, type MonthlyApiKeyUsageParams, type NumericFilter, type ParsedPriceUpdate, PendingRpcBatchRequest, PendingRpcRequest, type PingMeasurement, type PriceAssetType, PriceClient, type PriceEncoding, type PriceFeedMetadata, type PricePoint, type PriceStreamEvent, type PriceStreamOptions, type PriceUpdateOptions, type PriceUpdateResponse, type PriorityFeeEstimate, type ProgramStatsBucket, type ProgramStatsOptions, type PublisherStakeCap, type PublisherStakeCapsResponse, type RpcBatchCall, type RpcMethodSpec, type RpcNamespace, type RpcNamespaceBase, type RpcNotification, type RpcNotificationListener, type RpcParams, type RpcResult, type RpcSendOptions, RpcSubscription, SOLANA_ANALYTICS_METHODS, SOLANA_DAS_METHODS, SOLANA_ENHANCED_SUBSCRIPTION_METHODS, SOLANA_HISTORY_METHODS, SOLANA_LEADER_METHODS, SOLANA_RPC_METHODS, type SlotStatsOptions, type SlotStatsRow, type SolanaAnalyticsSchema, type SolanaClient, type SolanaCommitment, type SolanaConfig, type SolanaContext, type SolanaContextResult, type SolanaDasSchema, type SolanaEncoding, type SolanaEnhancedSubscriptionSchema, type SolanaHistorySchema, type SolanaLeaderSchema, type SolanaRpcSchema, SolanaSubscriptions, type SubscriptionId, type SubscriptionListener, type TokenBalance, type TopProgramRow, type TopProgramsOptions, type TpsBucket, type TpsTimeseriesOptions, UsageClient, type ValidatorInformation, type ValidatorsInformationOptions, type ValidatorsInformationResult, createErpcClient, createErpcCloudClient };
package/dist/index.d.ts CHANGED
@@ -79,8 +79,68 @@ declare class AccountClient {
79
79
  getTokenBalance(options?: RpcSendOptions): Promise<TokenBalance>;
80
80
  }
81
81
 
82
+ type CloudResourceKind = 'bare-metal' | 'solana-grpc' | 'solana-shredstream' | 'vps';
83
+ type CloudResourceMode = 'dedicated' | 'direct' | 'shared';
84
+ /** A credential-free projection of an ERPC Cloud resource. */
85
+ interface CloudResource {
86
+ readonly createdAt?: string;
87
+ readonly id: string;
88
+ readonly kind: CloudResourceKind;
89
+ readonly mode?: CloudResourceMode;
90
+ readonly name?: string;
91
+ readonly region?: string;
92
+ readonly status: string;
93
+ }
94
+ interface CloudResourceStatusBilling {
95
+ readonly graceEndsAt?: string;
96
+ readonly hourlyCredits?: number;
97
+ readonly nextChargeAt?: string;
98
+ readonly status: 'active' | 'grace-period' | 'inactive' | 'suspended';
99
+ }
100
+ interface CloudResourceStatus {
101
+ readonly billing?: CloudResourceStatusBilling;
102
+ readonly id: string;
103
+ readonly status: string;
104
+ }
105
+ declare class CloudResourcesClient {
106
+ #private;
107
+ constructor(transport: RestTransport);
108
+ list(options?: RpcSendOptions): Promise<readonly CloudResource[]>;
109
+ get(resourceId: string, options?: RpcSendOptions): Promise<CloudResource>;
110
+ getStatus(resourceId: string, options?: RpcSendOptions): Promise<CloudResourceStatus>;
111
+ }
112
+
113
+ interface CloudOfferingBilling {
114
+ readonly amountCents: number;
115
+ readonly unit: 'cents-per-hour';
116
+ }
117
+ interface CloudOfferingCompute {
118
+ readonly tenancy: 'bare-metal' | 'virtual-machine';
119
+ }
120
+ interface CloudOfferingSolana {
121
+ readonly transport: 'grpc' | 'shredstream';
122
+ }
123
+ interface CloudOffering {
124
+ readonly billing?: CloudOfferingBilling;
125
+ readonly capabilities: readonly string[];
126
+ readonly compute?: CloudOfferingCompute;
127
+ readonly description: string;
128
+ readonly id: string;
129
+ readonly kind: CloudResourceKind;
130
+ readonly mode?: CloudResourceMode;
131
+ readonly name: string;
132
+ readonly regions: readonly string[];
133
+ readonly solana?: CloudOfferingSolana;
134
+ }
135
+ declare class CloudCatalogClient {
136
+ #private;
137
+ constructor(transport: RestTransport);
138
+ list(options?: RpcSendOptions): Promise<readonly CloudOffering[]>;
139
+ }
140
+
82
141
  declare const DEFAULT_ENDPOINT = "https://edge.erpc.global";
83
142
  declare const DEFAULT_ACCOUNT_ENDPOINT = "https://solana-rpc.erpc.global";
143
+ declare const DEFAULT_USER_ENDPOINT = "https://user-api.erpc.global";
84
144
  declare const DEFAULT_TIMEOUT_MS = 30000;
85
145
  interface ErpcClientConfig {
86
146
  readonly accountEndpoint?: string;
@@ -89,6 +149,7 @@ interface ErpcClientConfig {
89
149
  readonly fetch?: typeof globalThis.fetch;
90
150
  readonly headers?: Readonly<Record<string, string>>;
91
151
  readonly timeoutMs?: number;
152
+ readonly userEndpoint?: string;
92
153
  readonly webSocket?: typeof globalThis.WebSocket;
93
154
  }
94
155
 
@@ -733,6 +794,49 @@ declare class SolanaSubscriptions {
733
794
  rawSubscribe<TResult = unknown>(subscribeMethod: string, params: readonly unknown[], unsubscribeMethod: string, listener: SubscriptionListener<TResult>): Promise<RpcSubscription>;
734
795
  }
735
796
 
797
+ interface MonthlyApiKeyMethodUsage {
798
+ readonly count: number;
799
+ readonly creditCost: number;
800
+ readonly credits: number;
801
+ readonly method: string;
802
+ readonly updatedAt: string | null;
803
+ }
804
+ interface MonthlyApiKeyChainUsage {
805
+ readonly chain: string;
806
+ readonly count: number;
807
+ readonly credits: number;
808
+ readonly methods: readonly MonthlyApiKeyMethodUsage[];
809
+ readonly updatedAt: string | null;
810
+ }
811
+ interface MonthlyApiKeyUsageEntry {
812
+ readonly apiKeyLast4: string;
813
+ readonly apiKeyLength: number;
814
+ readonly chains: readonly MonthlyApiKeyChainUsage[];
815
+ readonly count: number;
816
+ readonly credits: number;
817
+ readonly keyId: number | null;
818
+ readonly updatedAt: string | null;
819
+ }
820
+ interface MonthlyApiKeyUsage {
821
+ readonly apiKeys: readonly MonthlyApiKeyUsageEntry[];
822
+ readonly chains: readonly MonthlyApiKeyChainUsage[];
823
+ readonly hasStrandedUsage: boolean;
824
+ readonly keyCount: number;
825
+ readonly totalCount: number;
826
+ readonly totalCredits: number;
827
+ readonly updatedAt: string | null;
828
+ readonly yearMonth: string;
829
+ }
830
+ interface MonthlyApiKeyUsageParams {
831
+ /** Calendar month in `YYYY-MM` format. The current month is used when omitted. */
832
+ readonly yearMonth?: string;
833
+ }
834
+ declare class UsageClient {
835
+ #private;
836
+ constructor(transport: RestTransport);
837
+ getMonthlyApiKeyUsage(params?: MonthlyApiKeyUsageParams, options?: RpcSendOptions): Promise<MonthlyApiKeyUsage>;
838
+ }
839
+
736
840
  interface ErpcSolanaClient extends SolanaClient {
737
841
  readonly subscriptions: SolanaSubscriptions;
738
842
  }
@@ -744,10 +848,42 @@ interface ErpcClient {
744
848
  readonly ethereum: ErpcEthereumClient;
745
849
  readonly price: PriceClient;
746
850
  readonly solana: ErpcSolanaClient;
851
+ readonly usage: UsageClient;
747
852
  close(): void;
748
853
  }
749
854
  declare const createErpcClient: (config: ErpcClientConfig) => ErpcClient;
750
855
 
856
+ type CloudCreditAlertLevel = 'critical' | 'normal' | 'suspended' | 'warning';
857
+ interface CloudCredit {
858
+ readonly alertLevel: CloudCreditAlertLevel;
859
+ readonly balanceCents: number;
860
+ readonly burnRateCentsPerHour: number;
861
+ readonly quoteExpiresAt: string;
862
+ readonly quoteTimestamp: string;
863
+ readonly timeToZeroHours: number | null;
864
+ }
865
+ declare class CloudCreditClient {
866
+ #private;
867
+ constructor(transport: RestTransport);
868
+ get(options?: RpcSendOptions): Promise<CloudCredit>;
869
+ }
870
+
871
+ interface ErpcCloudClientConfig {
872
+ readonly accessToken: string;
873
+ readonly endpoint?: string;
874
+ readonly fetch?: typeof globalThis.fetch;
875
+ readonly headers?: Readonly<Record<string, string>>;
876
+ readonly timeoutMs?: number;
877
+ }
878
+ interface ErpcCloudClient {
879
+ readonly catalog: CloudCatalogClient;
880
+ readonly credit: CloudCreditClient;
881
+ readonly resources: CloudResourcesClient;
882
+ readonly usage: UsageClient;
883
+ }
884
+ declare const createErpcCloudClient: (config: ErpcCloudClientConfig) => ErpcCloudClient;
885
+ type ErpcCloudRequestOptions = RpcSendOptions;
886
+
751
887
  type ErpcErrorCode = 'ERPC_ABORTED' | 'ERPC_BATCH_POLICY' | 'ERPC_CONFIG' | 'ERPC_HTTP' | 'ERPC_INVALID_RESPONSE' | 'ERPC_RPC' | 'ERPC_TIMEOUT' | 'ERPC_TRANSPORT';
752
888
  declare class ErpcError extends Error {
753
889
  readonly code: ErpcErrorCode;
@@ -782,4 +918,4 @@ declare class ErpcBatchPolicyError extends ErpcError {
782
918
  constructor(message: string);
783
919
  }
784
920
 
785
- export { AccountClient, type AddressTransaction, type AddressTransactionPage, type AddressTransactionsOptions, type AddressTransfer, type AddressTransferPage, type AddressTransfersOptions, type AnalyticsTimeBound, type AssetBatchRequest, type AssetListRequest, type AssetRequest, type BinaryUpdate, DEFAULT_ACCOUNT_ENDPOINT, DEFAULT_ENDPOINT, DEFAULT_TIMEOUT_MS, ETHEREUM_RPC_METHODS, ETHEREUM_SUBSCRIPTION_METHODS, type EpochSummary, ErpcAbortedError, ErpcBatchPolicyError, type ErpcClient, type ErpcClientConfig, ErpcConfigError, ErpcError, type ErpcErrorCode, type ErpcEthereumClient, ErpcHttpError, ErpcInvalidResponseError, ErpcJsonRpcError, type ErpcPlan, type ErpcSolanaClient, ErpcTimeoutError, ErpcTransportError, type EthereumAddress, type EthereumBlockTag, type EthereumClient, type EthereumFilter, type EthereumObject, type EthereumRpcSchema, type EthereumSubscriptionSchema, EthereumSubscriptions, type EthereumTransactionRequest, type Hex, type IndexedAsset, type IndexedAssetList, type IndexedAssetProof, type JsonObject, type JsonPrimitive, type JsonRpcErrorObject, type JsonRpcFailure, type JsonRpcId, type JsonRpcParams, type JsonRpcRequest, type JsonRpcResponse, type JsonRpcSuccess, type JsonRpcTransport, type JsonValue, type LeaderSlot, type LeaderSlotsResult, type NumericFilter, type ParsedPriceUpdate, PendingRpcBatchRequest, PendingRpcRequest, type PingMeasurement, type PriceAssetType, PriceClient, type PriceEncoding, type PriceFeedMetadata, type PricePoint, type PriceStreamEvent, type PriceStreamOptions, type PriceUpdateOptions, type PriceUpdateResponse, type PriorityFeeEstimate, type ProgramStatsBucket, type ProgramStatsOptions, type PublisherStakeCap, type PublisherStakeCapsResponse, type RpcBatchCall, type RpcMethodSpec, type RpcNamespace, type RpcNamespaceBase, type RpcNotification, type RpcNotificationListener, type RpcParams, type RpcResult, type RpcSendOptions, RpcSubscription, SOLANA_ANALYTICS_METHODS, SOLANA_DAS_METHODS, SOLANA_ENHANCED_SUBSCRIPTION_METHODS, SOLANA_HISTORY_METHODS, SOLANA_LEADER_METHODS, SOLANA_RPC_METHODS, type SlotStatsOptions, type SlotStatsRow, type SolanaAnalyticsSchema, type SolanaClient, type SolanaCommitment, type SolanaConfig, type SolanaContext, type SolanaContextResult, type SolanaDasSchema, type SolanaEncoding, type SolanaEnhancedSubscriptionSchema, type SolanaHistorySchema, type SolanaLeaderSchema, type SolanaRpcSchema, SolanaSubscriptions, type SubscriptionId, type SubscriptionListener, type TokenBalance, type TopProgramRow, type TopProgramsOptions, type TpsBucket, type TpsTimeseriesOptions, type ValidatorInformation, type ValidatorsInformationOptions, type ValidatorsInformationResult, createErpcClient };
921
+ export { AccountClient, type AddressTransaction, type AddressTransactionPage, type AddressTransactionsOptions, type AddressTransfer, type AddressTransferPage, type AddressTransfersOptions, type AnalyticsTimeBound, type AssetBatchRequest, type AssetListRequest, type AssetRequest, type BinaryUpdate, CloudCatalogClient, type CloudCredit, type CloudCreditAlertLevel, CloudCreditClient, type CloudOffering, type CloudOfferingBilling, type CloudOfferingCompute, type CloudOfferingSolana, type CloudResource, type CloudResourceKind, type CloudResourceMode, type CloudResourceStatus, type CloudResourceStatusBilling, CloudResourcesClient, DEFAULT_ACCOUNT_ENDPOINT, DEFAULT_ENDPOINT, DEFAULT_TIMEOUT_MS, DEFAULT_USER_ENDPOINT, ETHEREUM_RPC_METHODS, ETHEREUM_SUBSCRIPTION_METHODS, type EpochSummary, ErpcAbortedError, ErpcBatchPolicyError, type ErpcClient, type ErpcClientConfig, type ErpcCloudClient, type ErpcCloudClientConfig, type ErpcCloudRequestOptions, ErpcConfigError, ErpcError, type ErpcErrorCode, type ErpcEthereumClient, ErpcHttpError, ErpcInvalidResponseError, ErpcJsonRpcError, type ErpcPlan, type ErpcSolanaClient, ErpcTimeoutError, ErpcTransportError, type EthereumAddress, type EthereumBlockTag, type EthereumClient, type EthereumFilter, type EthereumObject, type EthereumRpcSchema, type EthereumSubscriptionSchema, EthereumSubscriptions, type EthereumTransactionRequest, type Hex, type IndexedAsset, type IndexedAssetList, type IndexedAssetProof, type JsonObject, type JsonPrimitive, type JsonRpcErrorObject, type JsonRpcFailure, type JsonRpcId, type JsonRpcParams, type JsonRpcRequest, type JsonRpcResponse, type JsonRpcSuccess, type JsonRpcTransport, type JsonValue, type LeaderSlot, type LeaderSlotsResult, type MonthlyApiKeyChainUsage, type MonthlyApiKeyMethodUsage, type MonthlyApiKeyUsage, type MonthlyApiKeyUsageEntry, type MonthlyApiKeyUsageParams, type NumericFilter, type ParsedPriceUpdate, PendingRpcBatchRequest, PendingRpcRequest, type PingMeasurement, type PriceAssetType, PriceClient, type PriceEncoding, type PriceFeedMetadata, type PricePoint, type PriceStreamEvent, type PriceStreamOptions, type PriceUpdateOptions, type PriceUpdateResponse, type PriorityFeeEstimate, type ProgramStatsBucket, type ProgramStatsOptions, type PublisherStakeCap, type PublisherStakeCapsResponse, type RpcBatchCall, type RpcMethodSpec, type RpcNamespace, type RpcNamespaceBase, type RpcNotification, type RpcNotificationListener, type RpcParams, type RpcResult, type RpcSendOptions, RpcSubscription, SOLANA_ANALYTICS_METHODS, SOLANA_DAS_METHODS, SOLANA_ENHANCED_SUBSCRIPTION_METHODS, SOLANA_HISTORY_METHODS, SOLANA_LEADER_METHODS, SOLANA_RPC_METHODS, type SlotStatsOptions, type SlotStatsRow, type SolanaAnalyticsSchema, type SolanaClient, type SolanaCommitment, type SolanaConfig, type SolanaContext, type SolanaContextResult, type SolanaDasSchema, type SolanaEncoding, type SolanaEnhancedSubscriptionSchema, type SolanaHistorySchema, type SolanaLeaderSchema, type SolanaRpcSchema, SolanaSubscriptions, type SubscriptionId, type SubscriptionListener, type TokenBalance, type TopProgramRow, type TopProgramsOptions, type TpsBucket, type TpsTimeseriesOptions, UsageClient, type ValidatorInformation, type ValidatorsInformationOptions, type ValidatorsInformationResult, createErpcClient, createErpcCloudClient };