@dzapio/sdk 2.0.50 → 2.0.52

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,5 +1,5 @@
1
1
  import * as viem from 'viem';
2
- import { WalletCallReceipt as WalletCallReceipt$1, TypedDataDomain, Prettify, WalletClient, TransactionReceipt, ChainFormatters, Chain as Chain$1, Assign } from 'viem';
2
+ import { TypedDataDomain, Prettify, WalletClient, TransactionReceipt, WalletCallReceipt as WalletCallReceipt$1, ChainFormatters, Chain as Chain$1, Assign } from 'viem';
3
3
  import { Signer } from 'ethers';
4
4
  import * as viemChains from 'viem/chains';
5
5
  import { Chain as Chain$2 } from 'viem/chains';
@@ -101,8 +101,6 @@ declare const PermitTypes: {
101
101
 
102
102
  declare const SignatureExpiryInSecs = 1800;
103
103
 
104
- type WalletCallReceipt = WalletCallReceipt$1<bigint, 'success' | 'reverted'>;
105
-
106
104
  type Witness = {
107
105
  value: number;
108
106
  script: string;
@@ -496,6 +494,11 @@ declare const contractErrorActions: {
496
494
  readonly TRY_ANOTHER_ROUTE: "TRY_ANOTHER_ROUTE";
497
495
  readonly INCREASE_SLIPPAGE: "INCREASE_SLIPPAGE";
498
496
  readonly INCREASE_ALLOWANCE: "INCREASE_ALLOWANCE";
497
+ readonly INCREASE_AMOUNT: "INCREASE_AMOUNT";
498
+ readonly ADD_FUNDS: "ADD_FUNDS";
499
+ readonly RE_SIGN: "RE_SIGN";
500
+ readonly RETRY: "RETRY";
501
+ readonly CONTACT_SUPPORT: "CONTACT_SUPPORT";
499
502
  };
500
503
  type ContractErrorResponse = {
501
504
  status: string;
@@ -1016,6 +1019,43 @@ type BroadcastTxResponse = {
1016
1019
  message: string;
1017
1020
  };
1018
1021
 
1022
+ type DecodeTransactionParameters = {
1023
+ txHash: string;
1024
+ chainId: number;
1025
+ rpcUrls?: string[];
1026
+ };
1027
+ type BaseDecodeTxnDataParams = {
1028
+ service: AvailableDZapServices;
1029
+ rpcUrls?: string[];
1030
+ };
1031
+ type DecodeTxnDataParamsByTxHash = BaseDecodeTxnDataParams & {
1032
+ txHash: string;
1033
+ };
1034
+ type DecodeTxnDataParamsByReceipt = BaseDecodeTxnDataParams & {
1035
+ receipt: TransactionReceipt;
1036
+ };
1037
+ type DecodeTxnDataParamsWithSwapInfo = BaseDecodeTxnDataParams & {
1038
+ eventSwapInfo: SwapInfo | SwapInfo[];
1039
+ txHash: string;
1040
+ };
1041
+ type DecodeTxnDataParams = DecodeTxnDataParamsByTxHash | DecodeTxnDataParamsByReceipt | DecodeTxnDataParamsWithSwapInfo;
1042
+ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
1043
+ type DecodeTxnDataClientOptions = {
1044
+ chainId: number;
1045
+ };
1046
+ type DecodeTxnDataClientParams = Prettify<DecodeTxnDataParams & DecodeTxnDataClientOptions>;
1047
+ type DecodeTxnDataClientParamsWithoutService = Prettify<DistributiveOmit<DecodeTxnDataClientParams, 'service'>>;
1048
+ type SwapAmountsPatchResult = {
1049
+ swapInfo: SwapInfo | SwapInfo[];
1050
+ isAmountPatched: boolean;
1051
+ amountPatchError?: string;
1052
+ };
1053
+ type DecodeTxnDataResponse = SwapAmountsPatchResult & {
1054
+ swapFailPairs: string[];
1055
+ };
1056
+
1057
+ type WalletCallReceipt = WalletCallReceipt$1<bigint, 'success' | 'reverted'>;
1058
+
1019
1059
  type BatchCallParams = {
1020
1060
  to: HexString;
1021
1061
  data: HexString;
@@ -1947,14 +1987,7 @@ declare class DZapClient {
1947
1987
  walletClient: WalletClient;
1948
1988
  batchHash: HexString;
1949
1989
  }): Promise<WalletCallReceipt>;
1950
- decodeTxnData({ data, service, chainId }: {
1951
- data: TransactionReceipt;
1952
- service: AvailableDZapServices;
1953
- chainId: number;
1954
- }): Promise<{
1955
- swapFailPairs: string[];
1956
- swapInfo: SwapInfo | SwapInfo[];
1957
- }>;
1990
+ decodeTxnData(params: DecodeTxnDataClientParams): Promise<DecodeTxnDataResponse>;
1958
1991
  calculatePoints(request: CalculatePointsRequest): Promise<{
1959
1992
  points: number;
1960
1993
  }>;
@@ -2058,19 +2091,10 @@ declare const classifyAddress: (params: {
2058
2091
  rpcUrls?: string[];
2059
2092
  }) => Promise<AddressClassifyResult | null>;
2060
2093
 
2061
- declare class SwapInputDataDecoder {
2062
- private decodeSingleSwapData;
2063
- private decodeMultiSwapData;
2064
- private decodeBatchPermitSwapData;
2065
- private decodeGaslessExecuteMultiSwapData;
2066
- private decodeGaslessExecuteMultiSwapWithWitnessData;
2067
- private decodeGaslessExecuteSwapData;
2068
- private readonly swapFunctionSignatureWithInputTokenIndex;
2069
- updateSwapInfo: ({ data, eventSwapInfo, }: {
2070
- eventSwapInfo?: SwapInfo[] | SwapInfo;
2071
- data?: HexString;
2072
- }) => SwapInfo[] | SwapInfo | undefined;
2073
- }
2094
+ declare const patchSwapAmountsFromTx: ({ chainType, chainId, txHash, rpcUrls, eventSwapInfo, }: {
2095
+ chainType: string;
2096
+ eventSwapInfo: SwapInfo[] | SwapInfo;
2097
+ } & DecodeTransactionParameters) => Promise<SwapAmountsPatchResult>;
2074
2098
 
2075
2099
  declare const checkEIP2612PermitSupport: ({ address, chainId, rpcUrls, owner, permit, }: {
2076
2100
  chainId: number;
@@ -2122,13 +2146,16 @@ declare const arcTestnet: {
2122
2146
  };
2123
2147
  };
2124
2148
  sourceId?: number | undefined | undefined;
2149
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2125
2150
  testnet: true;
2126
2151
  custom?: Record<string, unknown> | undefined;
2127
2152
  extendSchema?: Record<string, unknown> | undefined;
2128
2153
  fees?: viem.ChainFees<undefined> | undefined;
2129
2154
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2155
+ client: viem.Client;
2130
2156
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2131
2157
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2158
+ client: viem.Client;
2132
2159
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2133
2160
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2134
2161
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2167,14 +2194,17 @@ declare const arthera: {
2167
2194
  };
2168
2195
  };
2169
2196
  sourceId?: number | undefined | undefined;
2197
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2170
2198
  testnet?: boolean | undefined | undefined;
2171
2199
  custom?: Record<string, unknown> | undefined;
2172
2200
  extendSchema?: Record<string, unknown> | undefined;
2173
2201
  fees?: viem.ChainFees<undefined> | undefined;
2174
2202
  formatters?: undefined;
2175
2203
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2204
+ client: viem.Client;
2176
2205
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2177
2206
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2207
+ client: viem.Client;
2178
2208
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2179
2209
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2180
2210
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2212,14 +2242,17 @@ declare const astralisTestnet: {
2212
2242
  };
2213
2243
  };
2214
2244
  sourceId?: number | undefined | undefined;
2245
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2215
2246
  testnet?: boolean | undefined | undefined;
2216
2247
  custom?: Record<string, unknown> | undefined;
2217
2248
  extendSchema?: Record<string, unknown> | undefined;
2218
2249
  fees?: viem.ChainFees<undefined> | undefined;
2219
2250
  formatters?: undefined;
2220
2251
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2252
+ client: viem.Client;
2221
2253
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2222
2254
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2255
+ client: viem.Client;
2223
2256
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2224
2257
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2225
2258
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2258,13 +2291,16 @@ declare const bitlayer: {
2258
2291
  };
2259
2292
  };
2260
2293
  sourceId?: number | undefined | undefined;
2294
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2261
2295
  testnet?: boolean | undefined | undefined;
2262
2296
  custom?: Record<string, unknown> | undefined;
2263
2297
  extendSchema?: Record<string, unknown> | undefined;
2264
2298
  fees?: viem.ChainFees<undefined> | undefined;
2265
2299
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2300
+ client: viem.Client;
2266
2301
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2267
2302
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2303
+ client: viem.Client;
2268
2304
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2269
2305
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2270
2306
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2328,13 +2364,16 @@ declare const citrea: {
2328
2364
  };
2329
2365
  };
2330
2366
  sourceId?: number | undefined | undefined;
2367
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2331
2368
  testnet: false;
2332
2369
  custom?: Record<string, unknown> | undefined;
2333
2370
  extendSchema?: Record<string, unknown> | undefined;
2334
2371
  fees?: viem.ChainFees<undefined> | undefined;
2335
2372
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2373
+ client: viem.Client;
2336
2374
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2337
2375
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2376
+ client: viem.Client;
2338
2377
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2339
2378
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2340
2379
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2373,14 +2412,17 @@ declare const fiveIre: {
2373
2412
  };
2374
2413
  };
2375
2414
  sourceId?: number | undefined | undefined;
2415
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2376
2416
  testnet?: boolean | undefined | undefined;
2377
2417
  custom?: Record<string, unknown> | undefined;
2378
2418
  extendSchema?: Record<string, unknown> | undefined;
2379
2419
  fees?: viem.ChainFees<undefined> | undefined;
2380
2420
  formatters?: undefined;
2381
2421
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2422
+ client: viem.Client;
2382
2423
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2383
2424
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2425
+ client: viem.Client;
2384
2426
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2385
2427
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2386
2428
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2418,13 +2460,16 @@ declare const hemi: {
2418
2460
  };
2419
2461
  };
2420
2462
  sourceId?: number | undefined | undefined;
2463
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2421
2464
  testnet: false;
2422
2465
  custom?: Record<string, unknown> | undefined;
2423
2466
  extendSchema?: Record<string, unknown> | undefined;
2424
2467
  fees?: viem.ChainFees<undefined> | undefined;
2425
2468
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2469
+ client: viem.Client;
2426
2470
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2427
2471
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2472
+ client: viem.Client;
2428
2473
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2429
2474
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2430
2475
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2464,14 +2509,17 @@ declare const hyperEvm: {
2464
2509
  };
2465
2510
  };
2466
2511
  sourceId?: number | undefined | undefined;
2512
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2467
2513
  testnet?: boolean | undefined | undefined;
2468
2514
  custom?: Record<string, unknown> | undefined;
2469
2515
  extendSchema?: Record<string, unknown> | undefined;
2470
2516
  fees?: viem.ChainFees<undefined> | undefined;
2471
2517
  formatters?: undefined;
2472
2518
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2519
+ client: viem.Client;
2473
2520
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2474
2521
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2522
+ client: viem.Client;
2475
2523
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2476
2524
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2477
2525
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2509,14 +2557,17 @@ declare const hyperliquid: {
2509
2557
  };
2510
2558
  };
2511
2559
  sourceId?: number | undefined | undefined;
2560
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2512
2561
  testnet?: boolean | undefined | undefined;
2513
2562
  custom?: Record<string, unknown> | undefined;
2514
2563
  extendSchema?: Record<string, unknown> | undefined;
2515
2564
  fees?: viem.ChainFees<undefined> | undefined;
2516
2565
  formatters?: undefined;
2517
2566
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2567
+ client: viem.Client;
2518
2568
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2519
2569
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2570
+ client: viem.Client;
2520
2571
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2521
2572
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2522
2573
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2554,13 +2605,16 @@ declare const katana: {
2554
2605
  };
2555
2606
  };
2556
2607
  sourceId?: number | undefined | undefined;
2608
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2557
2609
  testnet: false;
2558
2610
  custom?: Record<string, unknown> | undefined;
2559
2611
  extendSchema?: Record<string, unknown> | undefined;
2560
2612
  fees?: viem.ChainFees<undefined> | undefined;
2561
2613
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2614
+ client: viem.Client;
2562
2615
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2563
2616
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2617
+ client: viem.Client;
2564
2618
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2565
2619
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2566
2620
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2601,13 +2655,16 @@ declare const merlin: {
2601
2655
  };
2602
2656
  };
2603
2657
  sourceId?: number | undefined | undefined;
2658
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2604
2659
  testnet?: boolean | undefined | undefined;
2605
2660
  custom?: Record<string, unknown> | undefined;
2606
2661
  extendSchema?: Record<string, unknown> | undefined;
2607
2662
  fees?: viem.ChainFees<undefined> | undefined;
2608
2663
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2664
+ client: viem.Client;
2609
2665
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2610
2666
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2667
+ client: viem.Client;
2611
2668
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2612
2669
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2613
2670
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2646,14 +2703,17 @@ declare const pushTestnet: {
2646
2703
  };
2647
2704
  };
2648
2705
  sourceId?: number | undefined | undefined;
2706
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2649
2707
  testnet?: boolean | undefined | undefined;
2650
2708
  custom?: Record<string, unknown> | undefined;
2651
2709
  extendSchema?: Record<string, unknown> | undefined;
2652
2710
  fees?: viem.ChainFees<undefined> | undefined;
2653
2711
  formatters?: undefined;
2654
2712
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2713
+ client: viem.Client;
2655
2714
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2656
2715
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2716
+ client: viem.Client;
2657
2717
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2658
2718
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2659
2719
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2692,14 +2752,17 @@ declare const stableChain: {
2692
2752
  };
2693
2753
  };
2694
2754
  sourceId?: number | undefined | undefined;
2755
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2695
2756
  testnet?: boolean | undefined | undefined;
2696
2757
  custom?: Record<string, unknown> | undefined;
2697
2758
  extendSchema?: Record<string, unknown> | undefined;
2698
2759
  fees?: viem.ChainFees<undefined> | undefined;
2699
2760
  formatters?: undefined;
2700
2761
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2762
+ client: viem.Client;
2701
2763
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2702
2764
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2765
+ client: viem.Client;
2703
2766
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2704
2767
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2705
2768
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2739,14 +2802,17 @@ declare const robinhood: {
2739
2802
  };
2740
2803
  };
2741
2804
  sourceId?: number | undefined | undefined;
2805
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
2742
2806
  testnet?: boolean | undefined | undefined;
2743
2807
  custom?: Record<string, unknown> | undefined;
2744
2808
  extendSchema?: Record<string, unknown> | undefined;
2745
2809
  fees?: viem.ChainFees<undefined> | undefined;
2746
2810
  formatters?: undefined;
2747
2811
  prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
2812
+ client: viem.Client;
2748
2813
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2749
2814
  }) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
2815
+ client: viem.Client;
2750
2816
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
2751
2817
  }) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
2752
2818
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -2758,4 +2824,4 @@ declare const robinhood: {
2758
2824
  declare const customViemChains: viemChains.Chain[];
2759
2825
  declare const viemChainsById: Record<number, viemChains.Chain>;
2760
2826
 
2761
- export { type AllowanceType, AllowanceTypes, type ApiRpcResponse, type ApprovalMode, ApprovalModes, type BatchPermitCallbackParams, type BtcTxData, type BtclnTxData, type Chain, type ChainData, type ContractErrorResponse, DZapClient, DZapPermitMode, type DZapTransactionResponse, type EvmTxData, type Fee, type FeeDetails, type GaslessTradeBuildTxnResponse, type HexString, type HyperLiquidTxData, OtherAbis, type ParamQuotes, type PermitMode, PermitTypes, type ProtocolAmountErrorDetails, type ProtocolAmountReason, type ProtocolErrorInfo, type ProtocolErrorType, type ProtocolRouteErrorDetails, type ProtocolRouteReason, type ProtocolSlippageErrorDetails, type ProtocolUnknownErrorDetails, type ProviderDetails, type PsbtInput, type PsbtOutput, type QuoteFilter, QuoteFilters, STATUS, type SVMTxnDetails, Services, type SignPermitResponse, type SignatureCallbackParams, SignatureExpiryInSecs, type SinglePermitCallbackParams, StatusCodes, type StepAction, type SvmTxData, type SwapInfo, SwapInputDataDecoder, type Token, type TokenInfo, type TokenPermitData, type TokenResponse, type TradeBuildTxnRequest, type TradeBuildTxnRequestData, type TradeBuildTxnResponse, type TradeGasBuildTxnResponse, type TradePath, type TradeQuotesRequest, type TradeQuotesRequestData, type TradeQuotesResponse, type TradeStatusResponse, type TradeStep, TxnStatus, type UnavailableRoutes, type ZapAsset, type ZapBuildTxnRequest, type ZapBuildTxnResponse, type ZapBundleAction, type ZapBundleRequest, type ZapBundleSrcToken, type ZapBvmTxnDetails, type ZapChains, type ZapEvmTxnDetails, type ZapFee, type ZapFeeType, type ZapIntegratorConfig, type ZapOutput, type ZapPath, type ZapPathAction, type ZapPathAsset, type ZapPool, type ZapPoolDetails, type ZapPoolDetailsRequest, type ZapPoolsRequest, type ZapPoolsResponse, type ZapPosition, type ZapPositionsRequest, type ZapPositionsResponse, type ZapProviders, type ZapQuoteRequest, type ZapQuoteResponse, type ZapRefund, type ZapRefundType, type ZapRouteRequestPoolDetails, type ZapRouteRequestPositionDetails, type ZapStatus, type ZapStatusRequest, type ZapStatusResponse, type ZapStatusStep, type ZapStep, type ZapTransactionStep, type ZapTxnDetails, type ZapUnderlyingToken, type ZapUnderlyingTokenWithAmount, arcTestnet, arthera, astralisTestnet, bitcoinTestnet, bitlayer, checkEIP2612PermitSupport, citrea, classifyAddress, contractErrorActions, customViemChains, erc20Functions, extendViemChain, fiveIre, formatToken, getTokensPairKey, hemi, hyperEvm, hyperliquid, katana, merlin, pushTestnet, robinhood, stableChain, tempo, viemChainsById, zapFeeType, zapPathAction, zapRefundType, zapStepAction };
2827
+ export { type AllowanceType, AllowanceTypes, type ApiRpcResponse, type ApprovalMode, ApprovalModes, type BatchPermitCallbackParams, type BtcTxData, type BtclnTxData, type Chain, type ChainData, type ContractErrorResponse, DZapClient, DZapPermitMode, type DZapTransactionResponse, type DecodeTxnDataClientParams, type DecodeTxnDataClientParamsWithoutService, type DecodeTxnDataResponse, type EvmTxData, type Fee, type FeeDetails, type GaslessTradeBuildTxnResponse, type HexString, type HyperLiquidTxData, OtherAbis, type ParamQuotes, type PermitMode, PermitTypes, type ProtocolAmountErrorDetails, type ProtocolAmountReason, type ProtocolErrorInfo, type ProtocolErrorType, type ProtocolRouteErrorDetails, type ProtocolRouteReason, type ProtocolSlippageErrorDetails, type ProtocolUnknownErrorDetails, type ProviderDetails, type PsbtInput, type PsbtOutput, type QuoteFilter, QuoteFilters, STATUS, type SVMTxnDetails, Services, type SignPermitResponse, type SignatureCallbackParams, SignatureExpiryInSecs, type SinglePermitCallbackParams, StatusCodes, type StepAction, type SvmTxData, type SwapAmountsPatchResult, type SwapInfo, type Token, type TokenInfo, type TokenPermitData, type TokenResponse, type TradeBuildTxnRequest, type TradeBuildTxnRequestData, type TradeBuildTxnResponse, type TradeGasBuildTxnResponse, type TradePath, type TradeQuotesRequest, type TradeQuotesRequestData, type TradeQuotesResponse, type TradeStatusResponse, type TradeStep, TxnStatus, type UnavailableRoutes, type ZapAsset, type ZapBuildTxnRequest, type ZapBuildTxnResponse, type ZapBundleAction, type ZapBundleRequest, type ZapBundleSrcToken, type ZapBvmTxnDetails, type ZapChains, type ZapEvmTxnDetails, type ZapFee, type ZapFeeType, type ZapIntegratorConfig, type ZapOutput, type ZapPath, type ZapPathAction, type ZapPathAsset, type ZapPool, type ZapPoolDetails, type ZapPoolDetailsRequest, type ZapPoolsRequest, type ZapPoolsResponse, type ZapPosition, type ZapPositionsRequest, type ZapPositionsResponse, type ZapProviders, type ZapQuoteRequest, type ZapQuoteResponse, type ZapRefund, type ZapRefundType, type ZapRouteRequestPoolDetails, type ZapRouteRequestPositionDetails, type ZapStatus, type ZapStatusRequest, type ZapStatusResponse, type ZapStatusStep, type ZapStep, type ZapTransactionStep, type ZapTxnDetails, type ZapUnderlyingToken, type ZapUnderlyingTokenWithAmount, arcTestnet, arthera, astralisTestnet, bitcoinTestnet, bitlayer, checkEIP2612PermitSupport, citrea, classifyAddress, contractErrorActions, customViemChains, erc20Functions, extendViemChain, fiveIre, formatToken, getTokensPairKey, hemi, hyperEvm, hyperliquid, katana, merlin, patchSwapAmountsFromTx, pushTestnet, robinhood, stableChain, tempo, viemChainsById, zapFeeType, zapPathAction, zapRefundType, zapStepAction };