stableflow-ai-sdk 2.0.1 → 2.0.3

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.mts CHANGED
@@ -1,6 +1,6 @@
1
+ import { ethers } from 'ethers';
1
2
  import * as _solana_web3_js from '@solana/web3.js';
2
3
  import { Connection, PublicKey } from '@solana/web3.js';
3
- import { ethers } from 'ethers';
4
4
 
5
5
  type ApiRequestOptions = {
6
6
  readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
@@ -510,6 +510,7 @@ type ChainType = "near" | "sol" | "evm" | "tron" | "aptos";
510
510
 
511
511
  interface ChainConfig {
512
512
  chainName: string;
513
+ blockchain: string;
513
514
  chainIcon: string;
514
515
  chainIconGray: string;
515
516
  chainType: ChainType;
@@ -520,10 +521,11 @@ interface ChainConfig {
520
521
  symbol: string;
521
522
  decimals: number;
522
523
  };
523
- rpcUrl: string;
524
+ rpcUrls: string[];
524
525
  }
525
526
 
526
527
  interface TokenConfig extends ChainConfig {
528
+ name: string;
527
529
  symbol: string;
528
530
  decimals: number;
529
531
  icon: string;
@@ -593,6 +595,14 @@ interface GetAllQuoteParams {
593
595
  amountWei: string;
594
596
  slippageTolerance: number;
595
597
  minInputAmount?: string;
598
+ oneclickParams?: {
599
+ appFees?: {
600
+ recipient: string;
601
+ fee: number;
602
+ }[];
603
+ swapType?: "EXACT_INPUT" | "EXACT_OUTPUT";
604
+ isProxy?: boolean;
605
+ };
596
606
  }
597
607
  /**
598
608
  * StableFlow AI Service
@@ -693,6 +703,135 @@ declare class SFA {
693
703
  }>;
694
704
  }
695
705
 
706
+ declare class EVMWallet {
707
+ provider: any;
708
+ signer: any;
709
+ constructor(_provider: any, _signer?: any);
710
+ transfer(data: {
711
+ originAsset: string;
712
+ depositAddress: string;
713
+ amount: string;
714
+ }): Promise<any>;
715
+ getBalance(token: any, account: string): Promise<any>;
716
+ balanceOf(token: any, account: string): Promise<any>;
717
+ /**
718
+ * Estimate gas limit for transfer transaction
719
+ * @param data Transfer data
720
+ * @returns Gas limit estimate, gas price, and estimated gas cost
721
+ */
722
+ estimateTransferGas(data: {
723
+ originAsset: string;
724
+ depositAddress: string;
725
+ amount: string;
726
+ }): Promise<{
727
+ gasLimit: bigint;
728
+ gasPrice: bigint;
729
+ estimateGas: bigint;
730
+ }>;
731
+ getContract(params: any): ethers.Contract;
732
+ allowance(params: any): Promise<{
733
+ contract: ethers.Contract;
734
+ allowance: string;
735
+ needApprove: boolean;
736
+ }>;
737
+ approve(params: any): Promise<boolean>;
738
+ getEstimateGas(params: any): Promise<{
739
+ gasPrice: any;
740
+ usd: string;
741
+ wei: bigint;
742
+ amount: string;
743
+ }>;
744
+ quoteOFT(params: any): Promise<any>;
745
+ sendTransaction(params: any): Promise<any>;
746
+ /**
747
+ * Unified quote method that routes to specific quote methods based on type
748
+ * @param type Service type from ServiceType
749
+ * @param params Parameters for the quote
750
+ */
751
+ quote(type: ServiceType, params: any): Promise<any>;
752
+ /**
753
+ * Unified send method that routes to specific send methods based on type
754
+ * @param type Send type from SendType enum
755
+ * @param params Parameters for the send transaction
756
+ */
757
+ send(type: SendType, params: any): Promise<any>;
758
+ quoteCCTP(params: any): Promise<any>;
759
+ quoteOneClickProxy(params: any): Promise<any>;
760
+ signTypedData(params: any): Promise<any>;
761
+ }
762
+
763
+ declare class HyperliquidService {
764
+ quote(params: HyperliquidQuoteParams): Promise<{
765
+ quote: any;
766
+ error: string | null;
767
+ }>;
768
+ transfer(params: HyperliquidTransferParams): Promise<string>;
769
+ deposit(params: HyperliquidDepositParams): Promise<HyperliquidDepositResponse>;
770
+ getStatus(params: HyperliquidGetStatusParams): Promise<HyperliquidDepositStatusResponse>;
771
+ protected generatePermit(params: HyperliquidGeneratePermitParams): Promise<{
772
+ amount: string;
773
+ deadline: number;
774
+ owner: string;
775
+ r: string;
776
+ s: string;
777
+ spender: string;
778
+ token: string;
779
+ v: 28 | 27;
780
+ nonce: number;
781
+ }>;
782
+ }
783
+ declare const Hyperliquid: HyperliquidService;
784
+ declare const HyperliquidFromTokens: TokenConfig[];
785
+ declare const HyperliuquidToToken: TokenConfig;
786
+ declare const HyperliuquidMinAmount: string;
787
+ interface HyperliquidQuoteParams {
788
+ slippageTolerance: number;
789
+ refundTo: string;
790
+ recipient: string;
791
+ wallet: WalletConfig;
792
+ fromToken: TokenConfig;
793
+ prices: Record<string, string>;
794
+ amountWei: string;
795
+ dry?: boolean;
796
+ oneclickParams?: {
797
+ appFees?: {
798
+ recipient: string;
799
+ fee: number;
800
+ }[];
801
+ };
802
+ }
803
+ interface HyperliquidTransferParams {
804
+ wallet: WalletConfig;
805
+ evmWallet: EVMWallet;
806
+ evmWalletAddress: string;
807
+ quote: any;
808
+ }
809
+ interface HyperliquidGeneratePermitParams {
810
+ address: string;
811
+ evmWallet: EVMWallet;
812
+ amountWei: string;
813
+ }
814
+ interface HyperliquidDepositParams extends HyperliquidTransferParams {
815
+ txhash: string;
816
+ }
817
+ interface HyperliquidGetStatusParams {
818
+ depositId: string;
819
+ }
820
+ interface HyperliquidResponse<T> {
821
+ code: number;
822
+ data: T;
823
+ }
824
+ interface HyperliquidDepositResponseData {
825
+ depositId: number;
826
+ }
827
+ type HyperliquidDepositResponse = HyperliquidResponse<HyperliquidDepositResponseData>;
828
+ type HyperliquidDepositStatus = "PROCESSING" | "SUCCESS" | "REFUNDED" | "FAILED";
829
+ interface HyperliquidDepositStatusResponseData {
830
+ status: HyperliquidDepositStatus;
831
+ txHash: string;
832
+ }
833
+ type HyperliquidDepositStatusResponse = HyperliquidResponse<HyperliquidDepositStatusResponseData>;
834
+
696
835
  declare const tokens: TokenConfig[];
697
836
  declare const usdtTokens: TokenConfig[];
698
837
  declare const usdcTokens: TokenConfig[];
@@ -801,67 +940,13 @@ declare class SolanaWallet {
801
940
  send(type: SendType, params: any): Promise<string>;
802
941
  quoteOneClickProxy(params: any): Promise<any>;
803
942
  quoteCCTP(params: any): Promise<any>;
804
- createAssociatedTokenAddress(params: any): Promise<PublicKey>;
805
- }
806
-
807
- declare class EVMWallet {
808
- provider: any;
809
- signer: any;
810
- constructor(_provider: any, _signer?: any);
811
- transfer(data: {
812
- originAsset: string;
813
- depositAddress: string;
814
- amount: string;
815
- }): Promise<any>;
816
- getBalance(token: any, account: string): Promise<any>;
817
- balanceOf(token: any, account: string): Promise<any>;
818
- /**
819
- * Estimate gas limit for transfer transaction
820
- * @param data Transfer data
821
- * @returns Gas limit estimate, gas price, and estimated gas cost
822
- */
823
- estimateTransferGas(data: {
824
- originAsset: string;
825
- depositAddress: string;
826
- amount: string;
827
- }): Promise<{
828
- gasLimit: bigint;
829
- gasPrice: bigint;
830
- estimateGas: bigint;
831
- }>;
832
- getContract(params: any): ethers.Contract;
833
- allowance(params: any): Promise<{
834
- contract: ethers.Contract;
835
- allowance: string;
836
- needApprove: boolean;
837
- }>;
838
- approve(params: any): Promise<boolean>;
839
- getEstimateGas(params: any): Promise<{
840
- gasPrice: any;
841
- usd: string;
842
- wei: bigint;
843
- amount: string;
844
- }>;
845
943
  quoteOFT(params: any): Promise<any>;
846
- sendTransaction(params: any): Promise<any>;
847
- /**
848
- * Unified quote method that routes to specific quote methods based on type
849
- * @param type Service type from ServiceType
850
- * @param params Parameters for the quote
851
- */
852
- quote(type: ServiceType, params: any): Promise<any>;
853
- /**
854
- * Unified send method that routes to specific send methods based on type
855
- * @param type Send type from SendType enum
856
- * @param params Parameters for the send transaction
857
- */
858
- send(type: SendType, params: any): Promise<any>;
859
- quoteCCTP(params: any): Promise<any>;
860
- quoteOneClickProxy(params: any): Promise<any>;
944
+ createAssociatedTokenAddress(params: any): Promise<PublicKey>;
861
945
  }
862
946
 
863
947
  declare class TronWallet {
864
948
  private signAndSendTransaction;
949
+ private address;
865
950
  private tronWeb;
866
951
  constructor(options: any);
867
952
  waitForTronWeb(): Promise<unknown>;
@@ -877,10 +962,10 @@ declare class TronWallet {
877
962
  getTokenBalance(contractAddress: string, account: string): Promise<any>;
878
963
  balanceOf(token: any, account: string): Promise<any>;
879
964
  /**
880
- * Estimate gas limit for transfer transaction
881
- * @param data Transfer data
882
- * @returns Gas limit estimate (bandwidth or energy), gas price, and estimated gas cost
883
- */
965
+ * Estimate gas limit for transfer transaction
966
+ * @param data Transfer data
967
+ * @returns Gas limit estimate (bandwidth or energy), gas price, and estimated gas cost
968
+ */
884
969
  estimateTransferGas(data: {
885
970
  originAsset: string;
886
971
  depositAddress: string;
@@ -891,6 +976,7 @@ declare class TronWallet {
891
976
  estimateGas: bigint;
892
977
  }>;
893
978
  checkTransactionStatus(txHash: string): Promise<boolean>;
979
+ getTransactionResult(txHash: string): Promise<any>;
894
980
  allowance(params: any): Promise<{
895
981
  contract: any;
896
982
  allowance: string;
@@ -914,6 +1000,7 @@ declare class TronWallet {
914
1000
  */
915
1001
  send(type: SendType, params: any): Promise<any>;
916
1002
  quoteOneClickProxy(params: any): Promise<any>;
1003
+ getAccountResources(params: any): Promise<any>;
917
1004
  }
918
1005
 
919
1006
  declare class AptosWallet {
@@ -967,6 +1054,8 @@ declare class AptosWallet {
967
1054
  send(type: SendType, params: any): Promise<any>;
968
1055
  }
969
1056
 
970
- declare const chainsRpcUrls: Record<string, string>;
1057
+ declare const NetworkRpcUrlsMap: Record<string, string[]>;
1058
+ declare const getRpcUrls: (blockchain: string) => string[];
1059
+ declare const setRpcUrls: (urls: Record<string, string[]>) => Record<string, string[]>;
971
1060
 
972
- export { ApiError, type AppFee, AptosWallet, type BadRequestResponse, CancelError, CancelablePromise, EVMWallet, type GetAllQuoteParams, GetExecutionStatusResponse, NearWallet, OpenAPI, type OpenAPIConfig, type Quote, QuoteRequest, type QuoteResponse, SFA, Service, type ServiceType, SolanaWallet, type SubmitDepositTxRequest, SubmitDepositTxResponse, type SwapDetails, type TokenConfig, TokenResponse, type TransactionDetails, TransactionStatus, TronWallet, chainsRpcUrls, tokens, usdcChains, usdcTokens, usdtChains, usdtTokens };
1061
+ export { ApiError, type AppFee, AptosWallet, type BadRequestResponse, CancelError, CancelablePromise, EVMWallet, type GetAllQuoteParams, GetExecutionStatusResponse, Hyperliquid, type HyperliquidDepositParams, type HyperliquidDepositResponse, type HyperliquidDepositResponseData, type HyperliquidDepositStatusResponse, type HyperliquidDepositStatusResponseData, HyperliquidFromTokens, type HyperliquidGetStatusParams, type HyperliquidQuoteParams, type HyperliquidTransferParams, HyperliuquidMinAmount, HyperliuquidToToken, NearWallet, NetworkRpcUrlsMap, OpenAPI, type OpenAPIConfig, type Quote, QuoteRequest, type QuoteResponse, SFA, Service, type ServiceType, SolanaWallet, type SubmitDepositTxRequest, SubmitDepositTxResponse, type SwapDetails, type TokenConfig, TokenResponse, type TransactionDetails, TransactionStatus, TronWallet, getRpcUrls, setRpcUrls, tokens, usdcChains, usdcTokens, usdtChains, usdtTokens };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
+ import { ethers } from 'ethers';
1
2
  import * as _solana_web3_js from '@solana/web3.js';
2
3
  import { Connection, PublicKey } from '@solana/web3.js';
3
- import { ethers } from 'ethers';
4
4
 
5
5
  type ApiRequestOptions = {
6
6
  readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
@@ -510,6 +510,7 @@ type ChainType = "near" | "sol" | "evm" | "tron" | "aptos";
510
510
 
511
511
  interface ChainConfig {
512
512
  chainName: string;
513
+ blockchain: string;
513
514
  chainIcon: string;
514
515
  chainIconGray: string;
515
516
  chainType: ChainType;
@@ -520,10 +521,11 @@ interface ChainConfig {
520
521
  symbol: string;
521
522
  decimals: number;
522
523
  };
523
- rpcUrl: string;
524
+ rpcUrls: string[];
524
525
  }
525
526
 
526
527
  interface TokenConfig extends ChainConfig {
528
+ name: string;
527
529
  symbol: string;
528
530
  decimals: number;
529
531
  icon: string;
@@ -593,6 +595,14 @@ interface GetAllQuoteParams {
593
595
  amountWei: string;
594
596
  slippageTolerance: number;
595
597
  minInputAmount?: string;
598
+ oneclickParams?: {
599
+ appFees?: {
600
+ recipient: string;
601
+ fee: number;
602
+ }[];
603
+ swapType?: "EXACT_INPUT" | "EXACT_OUTPUT";
604
+ isProxy?: boolean;
605
+ };
596
606
  }
597
607
  /**
598
608
  * StableFlow AI Service
@@ -693,6 +703,135 @@ declare class SFA {
693
703
  }>;
694
704
  }
695
705
 
706
+ declare class EVMWallet {
707
+ provider: any;
708
+ signer: any;
709
+ constructor(_provider: any, _signer?: any);
710
+ transfer(data: {
711
+ originAsset: string;
712
+ depositAddress: string;
713
+ amount: string;
714
+ }): Promise<any>;
715
+ getBalance(token: any, account: string): Promise<any>;
716
+ balanceOf(token: any, account: string): Promise<any>;
717
+ /**
718
+ * Estimate gas limit for transfer transaction
719
+ * @param data Transfer data
720
+ * @returns Gas limit estimate, gas price, and estimated gas cost
721
+ */
722
+ estimateTransferGas(data: {
723
+ originAsset: string;
724
+ depositAddress: string;
725
+ amount: string;
726
+ }): Promise<{
727
+ gasLimit: bigint;
728
+ gasPrice: bigint;
729
+ estimateGas: bigint;
730
+ }>;
731
+ getContract(params: any): ethers.Contract;
732
+ allowance(params: any): Promise<{
733
+ contract: ethers.Contract;
734
+ allowance: string;
735
+ needApprove: boolean;
736
+ }>;
737
+ approve(params: any): Promise<boolean>;
738
+ getEstimateGas(params: any): Promise<{
739
+ gasPrice: any;
740
+ usd: string;
741
+ wei: bigint;
742
+ amount: string;
743
+ }>;
744
+ quoteOFT(params: any): Promise<any>;
745
+ sendTransaction(params: any): Promise<any>;
746
+ /**
747
+ * Unified quote method that routes to specific quote methods based on type
748
+ * @param type Service type from ServiceType
749
+ * @param params Parameters for the quote
750
+ */
751
+ quote(type: ServiceType, params: any): Promise<any>;
752
+ /**
753
+ * Unified send method that routes to specific send methods based on type
754
+ * @param type Send type from SendType enum
755
+ * @param params Parameters for the send transaction
756
+ */
757
+ send(type: SendType, params: any): Promise<any>;
758
+ quoteCCTP(params: any): Promise<any>;
759
+ quoteOneClickProxy(params: any): Promise<any>;
760
+ signTypedData(params: any): Promise<any>;
761
+ }
762
+
763
+ declare class HyperliquidService {
764
+ quote(params: HyperliquidQuoteParams): Promise<{
765
+ quote: any;
766
+ error: string | null;
767
+ }>;
768
+ transfer(params: HyperliquidTransferParams): Promise<string>;
769
+ deposit(params: HyperliquidDepositParams): Promise<HyperliquidDepositResponse>;
770
+ getStatus(params: HyperliquidGetStatusParams): Promise<HyperliquidDepositStatusResponse>;
771
+ protected generatePermit(params: HyperliquidGeneratePermitParams): Promise<{
772
+ amount: string;
773
+ deadline: number;
774
+ owner: string;
775
+ r: string;
776
+ s: string;
777
+ spender: string;
778
+ token: string;
779
+ v: 28 | 27;
780
+ nonce: number;
781
+ }>;
782
+ }
783
+ declare const Hyperliquid: HyperliquidService;
784
+ declare const HyperliquidFromTokens: TokenConfig[];
785
+ declare const HyperliuquidToToken: TokenConfig;
786
+ declare const HyperliuquidMinAmount: string;
787
+ interface HyperliquidQuoteParams {
788
+ slippageTolerance: number;
789
+ refundTo: string;
790
+ recipient: string;
791
+ wallet: WalletConfig;
792
+ fromToken: TokenConfig;
793
+ prices: Record<string, string>;
794
+ amountWei: string;
795
+ dry?: boolean;
796
+ oneclickParams?: {
797
+ appFees?: {
798
+ recipient: string;
799
+ fee: number;
800
+ }[];
801
+ };
802
+ }
803
+ interface HyperliquidTransferParams {
804
+ wallet: WalletConfig;
805
+ evmWallet: EVMWallet;
806
+ evmWalletAddress: string;
807
+ quote: any;
808
+ }
809
+ interface HyperliquidGeneratePermitParams {
810
+ address: string;
811
+ evmWallet: EVMWallet;
812
+ amountWei: string;
813
+ }
814
+ interface HyperliquidDepositParams extends HyperliquidTransferParams {
815
+ txhash: string;
816
+ }
817
+ interface HyperliquidGetStatusParams {
818
+ depositId: string;
819
+ }
820
+ interface HyperliquidResponse<T> {
821
+ code: number;
822
+ data: T;
823
+ }
824
+ interface HyperliquidDepositResponseData {
825
+ depositId: number;
826
+ }
827
+ type HyperliquidDepositResponse = HyperliquidResponse<HyperliquidDepositResponseData>;
828
+ type HyperliquidDepositStatus = "PROCESSING" | "SUCCESS" | "REFUNDED" | "FAILED";
829
+ interface HyperliquidDepositStatusResponseData {
830
+ status: HyperliquidDepositStatus;
831
+ txHash: string;
832
+ }
833
+ type HyperliquidDepositStatusResponse = HyperliquidResponse<HyperliquidDepositStatusResponseData>;
834
+
696
835
  declare const tokens: TokenConfig[];
697
836
  declare const usdtTokens: TokenConfig[];
698
837
  declare const usdcTokens: TokenConfig[];
@@ -801,67 +940,13 @@ declare class SolanaWallet {
801
940
  send(type: SendType, params: any): Promise<string>;
802
941
  quoteOneClickProxy(params: any): Promise<any>;
803
942
  quoteCCTP(params: any): Promise<any>;
804
- createAssociatedTokenAddress(params: any): Promise<PublicKey>;
805
- }
806
-
807
- declare class EVMWallet {
808
- provider: any;
809
- signer: any;
810
- constructor(_provider: any, _signer?: any);
811
- transfer(data: {
812
- originAsset: string;
813
- depositAddress: string;
814
- amount: string;
815
- }): Promise<any>;
816
- getBalance(token: any, account: string): Promise<any>;
817
- balanceOf(token: any, account: string): Promise<any>;
818
- /**
819
- * Estimate gas limit for transfer transaction
820
- * @param data Transfer data
821
- * @returns Gas limit estimate, gas price, and estimated gas cost
822
- */
823
- estimateTransferGas(data: {
824
- originAsset: string;
825
- depositAddress: string;
826
- amount: string;
827
- }): Promise<{
828
- gasLimit: bigint;
829
- gasPrice: bigint;
830
- estimateGas: bigint;
831
- }>;
832
- getContract(params: any): ethers.Contract;
833
- allowance(params: any): Promise<{
834
- contract: ethers.Contract;
835
- allowance: string;
836
- needApprove: boolean;
837
- }>;
838
- approve(params: any): Promise<boolean>;
839
- getEstimateGas(params: any): Promise<{
840
- gasPrice: any;
841
- usd: string;
842
- wei: bigint;
843
- amount: string;
844
- }>;
845
943
  quoteOFT(params: any): Promise<any>;
846
- sendTransaction(params: any): Promise<any>;
847
- /**
848
- * Unified quote method that routes to specific quote methods based on type
849
- * @param type Service type from ServiceType
850
- * @param params Parameters for the quote
851
- */
852
- quote(type: ServiceType, params: any): Promise<any>;
853
- /**
854
- * Unified send method that routes to specific send methods based on type
855
- * @param type Send type from SendType enum
856
- * @param params Parameters for the send transaction
857
- */
858
- send(type: SendType, params: any): Promise<any>;
859
- quoteCCTP(params: any): Promise<any>;
860
- quoteOneClickProxy(params: any): Promise<any>;
944
+ createAssociatedTokenAddress(params: any): Promise<PublicKey>;
861
945
  }
862
946
 
863
947
  declare class TronWallet {
864
948
  private signAndSendTransaction;
949
+ private address;
865
950
  private tronWeb;
866
951
  constructor(options: any);
867
952
  waitForTronWeb(): Promise<unknown>;
@@ -877,10 +962,10 @@ declare class TronWallet {
877
962
  getTokenBalance(contractAddress: string, account: string): Promise<any>;
878
963
  balanceOf(token: any, account: string): Promise<any>;
879
964
  /**
880
- * Estimate gas limit for transfer transaction
881
- * @param data Transfer data
882
- * @returns Gas limit estimate (bandwidth or energy), gas price, and estimated gas cost
883
- */
965
+ * Estimate gas limit for transfer transaction
966
+ * @param data Transfer data
967
+ * @returns Gas limit estimate (bandwidth or energy), gas price, and estimated gas cost
968
+ */
884
969
  estimateTransferGas(data: {
885
970
  originAsset: string;
886
971
  depositAddress: string;
@@ -891,6 +976,7 @@ declare class TronWallet {
891
976
  estimateGas: bigint;
892
977
  }>;
893
978
  checkTransactionStatus(txHash: string): Promise<boolean>;
979
+ getTransactionResult(txHash: string): Promise<any>;
894
980
  allowance(params: any): Promise<{
895
981
  contract: any;
896
982
  allowance: string;
@@ -914,6 +1000,7 @@ declare class TronWallet {
914
1000
  */
915
1001
  send(type: SendType, params: any): Promise<any>;
916
1002
  quoteOneClickProxy(params: any): Promise<any>;
1003
+ getAccountResources(params: any): Promise<any>;
917
1004
  }
918
1005
 
919
1006
  declare class AptosWallet {
@@ -967,6 +1054,8 @@ declare class AptosWallet {
967
1054
  send(type: SendType, params: any): Promise<any>;
968
1055
  }
969
1056
 
970
- declare const chainsRpcUrls: Record<string, string>;
1057
+ declare const NetworkRpcUrlsMap: Record<string, string[]>;
1058
+ declare const getRpcUrls: (blockchain: string) => string[];
1059
+ declare const setRpcUrls: (urls: Record<string, string[]>) => Record<string, string[]>;
971
1060
 
972
- export { ApiError, type AppFee, AptosWallet, type BadRequestResponse, CancelError, CancelablePromise, EVMWallet, type GetAllQuoteParams, GetExecutionStatusResponse, NearWallet, OpenAPI, type OpenAPIConfig, type Quote, QuoteRequest, type QuoteResponse, SFA, Service, type ServiceType, SolanaWallet, type SubmitDepositTxRequest, SubmitDepositTxResponse, type SwapDetails, type TokenConfig, TokenResponse, type TransactionDetails, TransactionStatus, TronWallet, chainsRpcUrls, tokens, usdcChains, usdcTokens, usdtChains, usdtTokens };
1061
+ export { ApiError, type AppFee, AptosWallet, type BadRequestResponse, CancelError, CancelablePromise, EVMWallet, type GetAllQuoteParams, GetExecutionStatusResponse, Hyperliquid, type HyperliquidDepositParams, type HyperliquidDepositResponse, type HyperliquidDepositResponseData, type HyperliquidDepositStatusResponse, type HyperliquidDepositStatusResponseData, HyperliquidFromTokens, type HyperliquidGetStatusParams, type HyperliquidQuoteParams, type HyperliquidTransferParams, HyperliuquidMinAmount, HyperliuquidToToken, NearWallet, NetworkRpcUrlsMap, OpenAPI, type OpenAPIConfig, type Quote, QuoteRequest, type QuoteResponse, SFA, Service, type ServiceType, SolanaWallet, type SubmitDepositTxRequest, SubmitDepositTxResponse, type SwapDetails, type TokenConfig, TokenResponse, type TransactionDetails, TransactionStatus, TronWallet, getRpcUrls, setRpcUrls, tokens, usdcChains, usdcTokens, usdtChains, usdtTokens };