@coinbase/cdp-sdk 1.27.0 → 1.29.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.
Files changed (140) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/_cjs/accounts/evm/toEvmServerAccount.js +1 -1
  3. package/_cjs/accounts/evm/toEvmServerAccount.js.map +1 -1
  4. package/_cjs/accounts/evm/toEvmSmartAccount.js +1 -1
  5. package/_cjs/accounts/evm/toEvmSmartAccount.js.map +1 -1
  6. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js +11 -6
  7. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  8. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js +1 -1
  9. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  10. package/_cjs/accounts/solana/toSolanaAccount.js +30 -0
  11. package/_cjs/accounts/solana/toSolanaAccount.js.map +1 -1
  12. package/_cjs/actions/Quote.js +106 -0
  13. package/_cjs/actions/Quote.js.map +1 -0
  14. package/_cjs/actions/evm/fund/fund.js +5 -5
  15. package/_cjs/actions/evm/fund/fund.js.map +1 -1
  16. package/_cjs/actions/evm/fund/quoteFund.js +7 -7
  17. package/_cjs/actions/evm/fund/quoteFund.js.map +1 -1
  18. package/_cjs/actions/evm/transfer/accountTransferStrategy.js +1 -0
  19. package/_cjs/actions/evm/transfer/accountTransferStrategy.js.map +1 -1
  20. package/_cjs/actions/solana/fund/fund.js +50 -0
  21. package/_cjs/actions/solana/fund/fund.js.map +1 -0
  22. package/_cjs/actions/solana/fund/quoteFund.js +47 -0
  23. package/_cjs/actions/solana/fund/quoteFund.js.map +1 -0
  24. package/_cjs/actions/solana/transfer.js +25 -38
  25. package/_cjs/actions/solana/transfer.js.map +1 -1
  26. package/_cjs/actions/solana/utils.js +4 -14
  27. package/_cjs/actions/solana/utils.js.map +1 -1
  28. package/{_esm/actions/evm/fund → _cjs/actions}/types.js.map +1 -1
  29. package/_cjs/actions/{evm/fund/waitForFundOperationReceipt.js → waitForFundOperationReceipt.js} +2 -2
  30. package/_cjs/actions/waitForFundOperationReceipt.js.map +1 -0
  31. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +15 -6
  32. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  33. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js +4 -3
  34. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js.map +1 -1
  35. package/_cjs/policies/schema.js +6 -6
  36. package/_cjs/version.js +1 -1
  37. package/_esm/accounts/evm/toEvmServerAccount.js +1 -1
  38. package/_esm/accounts/evm/toEvmServerAccount.js.map +1 -1
  39. package/_esm/accounts/evm/toEvmSmartAccount.js +1 -1
  40. package/_esm/accounts/evm/toEvmSmartAccount.js.map +1 -1
  41. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js +11 -6
  42. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  43. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js +1 -1
  44. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  45. package/_esm/accounts/solana/toSolanaAccount.js +30 -0
  46. package/_esm/accounts/solana/toSolanaAccount.js.map +1 -1
  47. package/_esm/actions/Quote.js +101 -0
  48. package/_esm/actions/Quote.js.map +1 -0
  49. package/_esm/actions/evm/fund/fund.js +5 -5
  50. package/_esm/actions/evm/fund/fund.js.map +1 -1
  51. package/_esm/actions/evm/fund/quoteFund.js +7 -7
  52. package/_esm/actions/evm/fund/quoteFund.js.map +1 -1
  53. package/_esm/actions/evm/transfer/accountTransferStrategy.js +1 -0
  54. package/_esm/actions/evm/transfer/accountTransferStrategy.js.map +1 -1
  55. package/_esm/actions/solana/fund/fund.js +47 -0
  56. package/_esm/actions/solana/fund/fund.js.map +1 -0
  57. package/_esm/actions/solana/fund/quoteFund.js +44 -0
  58. package/_esm/actions/solana/fund/quoteFund.js.map +1 -0
  59. package/_esm/actions/solana/transfer.js +26 -39
  60. package/_esm/actions/solana/transfer.js.map +1 -1
  61. package/_esm/actions/solana/utils.js +5 -15
  62. package/_esm/actions/solana/utils.js.map +1 -1
  63. package/{_cjs/actions/evm/fund → _esm/actions}/types.js.map +1 -1
  64. package/_esm/actions/{evm/fund/waitForFundOperationReceipt.js → waitForFundOperationReceipt.js} +2 -2
  65. package/_esm/actions/waitForFundOperationReceipt.js.map +1 -0
  66. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +14 -5
  67. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  68. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js +4 -3
  69. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js.map +1 -1
  70. package/_esm/policies/schema.js +6 -6
  71. package/_esm/version.js +1 -1
  72. package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts.map +1 -1
  73. package/_types/accounts/evm/types.d.ts +9 -9
  74. package/_types/accounts/evm/types.d.ts.map +1 -1
  75. package/_types/accounts/solana/toSolanaAccount.d.ts.map +1 -1
  76. package/_types/actions/Quote.d.ts +97 -0
  77. package/_types/actions/Quote.d.ts.map +1 -0
  78. package/_types/actions/evm/fund/fund.d.ts +3 -7
  79. package/_types/actions/evm/fund/fund.d.ts.map +1 -1
  80. package/_types/actions/evm/fund/quoteFund.d.ts +4 -7
  81. package/_types/actions/evm/fund/quoteFund.d.ts.map +1 -1
  82. package/_types/actions/evm/transfer/accountTransferStrategy.d.ts.map +1 -1
  83. package/_types/actions/evm/types.d.ts +7 -7
  84. package/_types/actions/evm/types.d.ts.map +1 -1
  85. package/_types/actions/solana/fund/fund.d.ts +19 -0
  86. package/_types/actions/solana/fund/fund.d.ts.map +1 -0
  87. package/_types/actions/solana/fund/quoteFund.d.ts +20 -0
  88. package/_types/actions/solana/fund/quoteFund.d.ts.map +1 -0
  89. package/_types/actions/solana/transfer.d.ts.map +1 -1
  90. package/_types/actions/solana/types.d.ts +61 -0
  91. package/_types/actions/solana/types.d.ts.map +1 -1
  92. package/_types/actions/solana/utils.d.ts +2 -2
  93. package/_types/actions/solana/utils.d.ts.map +1 -1
  94. package/_types/actions/types.d.ts +37 -0
  95. package/_types/actions/types.d.ts.map +1 -0
  96. package/_types/actions/{evm/fund/waitForFundOperationReceipt.d.ts → waitForFundOperationReceipt.d.ts} +2 -2
  97. package/_types/actions/waitForFundOperationReceipt.d.ts.map +1 -0
  98. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +26 -22
  99. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
  100. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.d.ts.map +1 -1
  101. package/_types/policies/schema.d.ts +34 -34
  102. package/_types/version.d.ts +1 -1
  103. package/accounts/evm/toEvmServerAccount.ts +11 -11
  104. package/accounts/evm/toEvmSmartAccount.ts +11 -11
  105. package/accounts/evm/toNetworkScopedEvmServerAccount.ts +17 -11
  106. package/accounts/evm/toNetworkScopedEvmSmartAccount.ts +6 -6
  107. package/accounts/evm/types.ts +16 -12
  108. package/accounts/solana/toSolanaAccount.ts +41 -0
  109. package/actions/Quote.ts +154 -0
  110. package/actions/evm/fund/fund.ts +10 -14
  111. package/actions/evm/fund/quoteFund.ts +13 -16
  112. package/actions/evm/transfer/accountTransferStrategy.ts +2 -0
  113. package/actions/evm/types.ts +7 -7
  114. package/actions/solana/fund/fund.ts +71 -0
  115. package/actions/solana/fund/quoteFund.ts +77 -0
  116. package/actions/solana/transfer.ts +33 -52
  117. package/actions/solana/types.ts +69 -0
  118. package/actions/solana/utils.ts +5 -13
  119. package/actions/types.ts +39 -0
  120. package/actions/{evm/fund/waitForFundOperationReceipt.ts → waitForFundOperationReceipt.ts} +2 -2
  121. package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +30 -30
  122. package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.ts +4 -3
  123. package/package.json +1 -1
  124. package/policies/schema.ts +6 -6
  125. package/version.ts +1 -1
  126. package/_cjs/actions/evm/fund/Quote.js +0 -63
  127. package/_cjs/actions/evm/fund/Quote.js.map +0 -1
  128. package/_cjs/actions/evm/fund/waitForFundOperationReceipt.js.map +0 -1
  129. package/_esm/actions/evm/fund/Quote.js +0 -59
  130. package/_esm/actions/evm/fund/Quote.js.map +0 -1
  131. package/_esm/actions/evm/fund/waitForFundOperationReceipt.js.map +0 -1
  132. package/_types/actions/evm/fund/Quote.d.ts +0 -51
  133. package/_types/actions/evm/fund/Quote.d.ts.map +0 -1
  134. package/_types/actions/evm/fund/types.d.ts +0 -16
  135. package/_types/actions/evm/fund/types.d.ts.map +0 -1
  136. package/_types/actions/evm/fund/waitForFundOperationReceipt.d.ts.map +0 -1
  137. package/actions/evm/fund/Quote.ts +0 -83
  138. package/actions/evm/fund/types.ts +0 -16
  139. /package/_cjs/actions/{evm/fund/types.js → types.js} +0 -0
  140. /package/_esm/actions/{evm/fund/types.js → types.js} +0 -0
@@ -67,7 +67,7 @@ export declare const EvmAddressCriterionSchema: z.ZodObject<{
67
67
  /**
68
68
  * Array of EVM addresses to compare against.
69
69
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
70
- * Limited to a maximum of 100 addresses per criterion.
70
+ * Limited to a maximum of 300 addresses per criterion.
71
71
  */
72
72
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
73
73
  /**
@@ -147,7 +147,7 @@ export declare const EvmTypedAddressConditionSchema: z.ZodObject<{
147
147
  /**
148
148
  * Array of EVM addresses to compare against.
149
149
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
150
- * Limited to a maximum of 100 addresses per condition.
150
+ * Limited to a maximum of 300 addresses per condition.
151
151
  */
152
152
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
153
153
  /**
@@ -270,7 +270,7 @@ export declare const SignEvmTypedDataFieldCriterionSchema: z.ZodObject<{
270
270
  /**
271
271
  * Array of EVM addresses to compare against.
272
272
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
273
- * Limited to a maximum of 100 addresses per condition.
273
+ * Limited to a maximum of 300 addresses per condition.
274
274
  */
275
275
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
276
276
  /**
@@ -386,7 +386,7 @@ export declare const SignEvmTypedDataVerifyingContractCriterionSchema: z.ZodObje
386
386
  /**
387
387
  * Array of EVM addresses allowed or disallowed as verifying contracts.
388
388
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
389
- * Limited to a maximum of 100 addresses per criterion.
389
+ * Limited to a maximum of 300 addresses per criterion.
390
390
  */
391
391
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
392
392
  /**
@@ -454,7 +454,7 @@ export declare const SignEvmTypedDataCriteriaSchema: z.ZodArray<z.ZodDiscriminat
454
454
  /**
455
455
  * Array of EVM addresses to compare against.
456
456
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
457
- * Limited to a maximum of 100 addresses per condition.
457
+ * Limited to a maximum of 300 addresses per condition.
458
458
  */
459
459
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
460
460
  /**
@@ -565,7 +565,7 @@ export declare const SignEvmTypedDataCriteriaSchema: z.ZodArray<z.ZodDiscriminat
565
565
  /**
566
566
  * Array of EVM addresses allowed or disallowed as verifying contracts.
567
567
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
568
- * Limited to a maximum of 100 addresses per criterion.
568
+ * Limited to a maximum of 300 addresses per criterion.
569
569
  */
570
570
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
571
571
  /**
@@ -1059,7 +1059,7 @@ export declare const SignEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
1059
1059
  /**
1060
1060
  * Array of EVM addresses to compare against.
1061
1061
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
1062
- * Limited to a maximum of 100 addresses per criterion.
1062
+ * Limited to a maximum of 300 addresses per criterion.
1063
1063
  */
1064
1064
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
1065
1065
  /**
@@ -1396,7 +1396,7 @@ export declare const SendEvmTransactionCriteriaSchema: z.ZodArray<z.ZodDiscrimin
1396
1396
  /**
1397
1397
  * Array of EVM addresses to compare against.
1398
1398
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
1399
- * Limited to a maximum of 100 addresses per criterion.
1399
+ * Limited to a maximum of 300 addresses per criterion.
1400
1400
  */
1401
1401
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
1402
1402
  /**
@@ -1759,7 +1759,7 @@ export declare const PrepareUserOperationCriteriaSchema: z.ZodArray<z.ZodDiscrim
1759
1759
  /**
1760
1760
  * Array of EVM addresses to compare against.
1761
1761
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
1762
- * Limited to a maximum of 100 addresses per criterion.
1762
+ * Limited to a maximum of 300 addresses per criterion.
1763
1763
  */
1764
1764
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
1765
1765
  /**
@@ -2095,7 +2095,7 @@ export declare const SendUserOperationCriteriaSchema: z.ZodArray<z.ZodDiscrimina
2095
2095
  /**
2096
2096
  * Array of EVM addresses to compare against.
2097
2097
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
2098
- * Limited to a maximum of 100 addresses per criterion.
2098
+ * Limited to a maximum of 300 addresses per criterion.
2099
2099
  */
2100
2100
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2101
2101
  /**
@@ -2452,7 +2452,7 @@ export declare const SignEvmTransactionRuleSchema: z.ZodObject<{
2452
2452
  /**
2453
2453
  * Array of EVM addresses to compare against.
2454
2454
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
2455
- * Limited to a maximum of 100 addresses per criterion.
2455
+ * Limited to a maximum of 300 addresses per criterion.
2456
2456
  */
2457
2457
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2458
2458
  /**
@@ -2958,7 +2958,7 @@ export declare const SignEvmTypedDataRuleSchema: z.ZodObject<{
2958
2958
  /**
2959
2959
  * Array of EVM addresses to compare against.
2960
2960
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
2961
- * Limited to a maximum of 100 addresses per condition.
2961
+ * Limited to a maximum of 300 addresses per condition.
2962
2962
  */
2963
2963
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2964
2964
  /**
@@ -3069,7 +3069,7 @@ export declare const SignEvmTypedDataRuleSchema: z.ZodObject<{
3069
3069
  /**
3070
3070
  * Array of EVM addresses allowed or disallowed as verifying contracts.
3071
3071
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
3072
- * Limited to a maximum of 100 addresses per criterion.
3072
+ * Limited to a maximum of 300 addresses per criterion.
3073
3073
  */
3074
3074
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
3075
3075
  /**
@@ -3190,7 +3190,7 @@ export declare const SendEvmTransactionRuleSchema: z.ZodObject<{
3190
3190
  /**
3191
3191
  * Array of EVM addresses to compare against.
3192
3192
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
3193
- * Limited to a maximum of 100 addresses per criterion.
3193
+ * Limited to a maximum of 300 addresses per criterion.
3194
3194
  */
3195
3195
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
3196
3196
  /**
@@ -3691,7 +3691,7 @@ export declare const PrepareUserOperationRuleSchema: z.ZodObject<{
3691
3691
  /**
3692
3692
  * Array of EVM addresses to compare against.
3693
3693
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
3694
- * Limited to a maximum of 100 addresses per criterion.
3694
+ * Limited to a maximum of 300 addresses per criterion.
3695
3695
  */
3696
3696
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
3697
3697
  /**
@@ -4132,7 +4132,7 @@ export declare const SendUserOperationRuleSchema: z.ZodObject<{
4132
4132
  /**
4133
4133
  * Array of EVM addresses to compare against.
4134
4134
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
4135
- * Limited to a maximum of 100 addresses per criterion.
4135
+ * Limited to a maximum of 300 addresses per criterion.
4136
4136
  */
4137
4137
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
4138
4138
  /**
@@ -4542,7 +4542,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
4542
4542
  /**
4543
4543
  * Array of EVM addresses to compare against.
4544
4544
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
4545
- * Limited to a maximum of 100 addresses per criterion.
4545
+ * Limited to a maximum of 300 addresses per criterion.
4546
4546
  */
4547
4547
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
4548
4548
  /**
@@ -5030,7 +5030,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
5030
5030
  /**
5031
5031
  * Array of EVM addresses to compare against.
5032
5032
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
5033
- * Limited to a maximum of 100 addresses per condition.
5033
+ * Limited to a maximum of 300 addresses per condition.
5034
5034
  */
5035
5035
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
5036
5036
  /**
@@ -5141,7 +5141,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
5141
5141
  /**
5142
5142
  * Array of EVM addresses allowed or disallowed as verifying contracts.
5143
5143
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
5144
- * Limited to a maximum of 100 addresses per criterion.
5144
+ * Limited to a maximum of 300 addresses per criterion.
5145
5145
  */
5146
5146
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
5147
5147
  /**
@@ -5256,7 +5256,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
5256
5256
  /**
5257
5257
  * Array of EVM addresses to compare against.
5258
5258
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
5259
- * Limited to a maximum of 100 addresses per criterion.
5259
+ * Limited to a maximum of 300 addresses per criterion.
5260
5260
  */
5261
5261
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
5262
5262
  /**
@@ -5745,7 +5745,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
5745
5745
  /**
5746
5746
  * Array of EVM addresses to compare against.
5747
5747
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
5748
- * Limited to a maximum of 100 addresses per criterion.
5748
+ * Limited to a maximum of 300 addresses per criterion.
5749
5749
  */
5750
5750
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
5751
5751
  /**
@@ -6180,7 +6180,7 @@ export declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
6180
6180
  /**
6181
6181
  * Array of EVM addresses to compare against.
6182
6182
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
6183
- * Limited to a maximum of 100 addresses per criterion.
6183
+ * Limited to a maximum of 300 addresses per criterion.
6184
6184
  */
6185
6185
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
6186
6186
  /**
@@ -6618,7 +6618,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
6618
6618
  /**
6619
6619
  * Array of EVM addresses to compare against.
6620
6620
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
6621
- * Limited to a maximum of 100 addresses per criterion.
6621
+ * Limited to a maximum of 300 addresses per criterion.
6622
6622
  */
6623
6623
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
6624
6624
  /**
@@ -7106,7 +7106,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
7106
7106
  /**
7107
7107
  * Array of EVM addresses to compare against.
7108
7108
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
7109
- * Limited to a maximum of 100 addresses per condition.
7109
+ * Limited to a maximum of 300 addresses per condition.
7110
7110
  */
7111
7111
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
7112
7112
  /**
@@ -7217,7 +7217,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
7217
7217
  /**
7218
7218
  * Array of EVM addresses allowed or disallowed as verifying contracts.
7219
7219
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
7220
- * Limited to a maximum of 100 addresses per criterion.
7220
+ * Limited to a maximum of 300 addresses per criterion.
7221
7221
  */
7222
7222
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
7223
7223
  /**
@@ -7332,7 +7332,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
7332
7332
  /**
7333
7333
  * Array of EVM addresses to compare against.
7334
7334
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
7335
- * Limited to a maximum of 100 addresses per criterion.
7335
+ * Limited to a maximum of 300 addresses per criterion.
7336
7336
  */
7337
7337
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
7338
7338
  /**
@@ -7821,7 +7821,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
7821
7821
  /**
7822
7822
  * Array of EVM addresses to compare against.
7823
7823
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
7824
- * Limited to a maximum of 100 addresses per criterion.
7824
+ * Limited to a maximum of 300 addresses per criterion.
7825
7825
  */
7826
7826
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
7827
7827
  /**
@@ -8256,7 +8256,7 @@ export declare const CreatePolicyBodySchema: z.ZodObject<{
8256
8256
  /**
8257
8257
  * Array of EVM addresses to compare against.
8258
8258
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
8259
- * Limited to a maximum of 100 addresses per criterion.
8259
+ * Limited to a maximum of 300 addresses per criterion.
8260
8260
  */
8261
8261
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
8262
8262
  /**
@@ -9132,7 +9132,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
9132
9132
  /**
9133
9133
  * Array of EVM addresses to compare against.
9134
9134
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
9135
- * Limited to a maximum of 100 addresses per criterion.
9135
+ * Limited to a maximum of 300 addresses per criterion.
9136
9136
  */
9137
9137
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
9138
9138
  /**
@@ -9620,7 +9620,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
9620
9620
  /**
9621
9621
  * Array of EVM addresses to compare against.
9622
9622
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
9623
- * Limited to a maximum of 100 addresses per condition.
9623
+ * Limited to a maximum of 300 addresses per condition.
9624
9624
  */
9625
9625
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
9626
9626
  /**
@@ -9731,7 +9731,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
9731
9731
  /**
9732
9732
  * Array of EVM addresses allowed or disallowed as verifying contracts.
9733
9733
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
9734
- * Limited to a maximum of 100 addresses per criterion.
9734
+ * Limited to a maximum of 300 addresses per criterion.
9735
9735
  */
9736
9736
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
9737
9737
  /**
@@ -9846,7 +9846,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
9846
9846
  /**
9847
9847
  * Array of EVM addresses to compare against.
9848
9848
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
9849
- * Limited to a maximum of 100 addresses per criterion.
9849
+ * Limited to a maximum of 300 addresses per criterion.
9850
9850
  */
9851
9851
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
9852
9852
  /**
@@ -10335,7 +10335,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
10335
10335
  /**
10336
10336
  * Array of EVM addresses to compare against.
10337
10337
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
10338
- * Limited to a maximum of 100 addresses per criterion.
10338
+ * Limited to a maximum of 300 addresses per criterion.
10339
10339
  */
10340
10340
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
10341
10341
  /**
@@ -10770,7 +10770,7 @@ export declare const UpdatePolicyBodySchema: z.ZodObject<{
10770
10770
  /**
10771
10771
  * Array of EVM addresses to compare against.
10772
10772
  * Each address must be a 0x-prefixed 40-character hexadecimal string.
10773
- * Limited to a maximum of 100 addresses per criterion.
10773
+ * Limited to a maximum of 300 addresses per criterion.
10774
10774
  */
10775
10775
  addresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
10776
10776
  /**
@@ -1,2 +1,2 @@
1
- export declare const version = "1.27.0";
1
+ export declare const version = "1.29.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -8,15 +8,8 @@ import {
8
8
  } from "viem";
9
9
 
10
10
  import { toNetworkScopedEvmServerAccount } from "./toNetworkScopedEvmServerAccount.js";
11
- import { FundOptions, fund } from "../../actions/evm/fund/fund.js";
12
- import { Quote } from "../../actions/evm/fund/Quote.js";
13
- import { QuoteFundOptions, quoteFund } from "../../actions/evm/fund/quoteFund.js";
14
- import { FundOperationResult } from "../../actions/evm/fund/types.js";
15
- import {
16
- WaitForFundOperationOptions,
17
- WaitForFundOperationResult,
18
- waitForFundOperationReceipt,
19
- } from "../../actions/evm/fund/waitForFundOperationReceipt.js";
11
+ import { EvmFundOptions, fund } from "../../actions/evm/fund/fund.js";
12
+ import { EvmQuoteFundOptions, quoteFund } from "../../actions/evm/fund/quoteFund.js";
20
13
  import {
21
14
  listTokenBalances,
22
15
  type ListTokenBalancesResult,
@@ -32,6 +25,13 @@ import { createSwapQuote } from "../../actions/evm/swap/createSwapQuote.js";
32
25
  import { sendSwapTransaction } from "../../actions/evm/swap/sendSwapTransaction.js";
33
26
  import { accountTransferStrategy } from "../../actions/evm/transfer/accountTransferStrategy.js";
34
27
  import { transfer } from "../../actions/evm/transfer/transfer.js";
28
+ import { EvmQuote } from "../../actions/Quote.js";
29
+ import { FundOperationResult } from "../../actions/types.js";
30
+ import {
31
+ WaitForFundOperationOptions,
32
+ WaitForFundOperationResult,
33
+ waitForFundOperationReceipt,
34
+ } from "../../actions/waitForFundOperationReceipt.js";
35
35
  import { Analytics } from "../../analytics.js";
36
36
 
37
37
  import type { EvmServerAccount, NetworkOrRpcUrl } from "./types.js";
@@ -189,7 +189,7 @@ export function toEvmServerAccount(
189
189
  address: this.address,
190
190
  });
191
191
  },
192
- async quoteFund(options: Omit<QuoteFundOptions, "address">): Promise<Quote> {
192
+ async quoteFund(options: Omit<EvmQuoteFundOptions, "address">): Promise<EvmQuote> {
193
193
  Analytics.trackAction({
194
194
  action: "quote_fund",
195
195
  accountType: "evm_server",
@@ -203,7 +203,7 @@ export function toEvmServerAccount(
203
203
  address: this.address,
204
204
  });
205
205
  },
206
- async fund(options: Omit<FundOptions, "address">): Promise<FundOperationResult> {
206
+ async fund(options: Omit<EvmFundOptions, "address">): Promise<FundOperationResult> {
207
207
  Analytics.trackAction({
208
208
  action: "fund",
209
209
  accountType: "evm_server",
@@ -1,14 +1,7 @@
1
1
  import { resolveNetworkToChain } from "./networkToChainResolver.js";
2
2
  import { toNetworkScopedEvmSmartAccount } from "./toNetworkScopedEvmSmartAccount.js";
3
- import { fund, FundOptions } from "../../actions/evm/fund/fund.js";
4
- import { Quote } from "../../actions/evm/fund/Quote.js";
5
- import { quoteFund, QuoteFundOptions } from "../../actions/evm/fund/quoteFund.js";
6
- import { FundOperationResult } from "../../actions/evm/fund/types.js";
7
- import {
8
- WaitForFundOperationResult,
9
- waitForFundOperationReceipt,
10
- WaitForFundOperationOptions,
11
- } from "../../actions/evm/fund/waitForFundOperationReceipt.js";
3
+ import { fund, EvmFundOptions } from "../../actions/evm/fund/fund.js";
4
+ import { quoteFund, EvmQuoteFundOptions } from "../../actions/evm/fund/quoteFund.js";
12
5
  import { getUserOperation } from "../../actions/evm/getUserOperation.js";
13
6
  import {
14
7
  listTokenBalances,
@@ -35,6 +28,13 @@ import {
35
28
  WaitForUserOperationOptions,
36
29
  WaitForUserOperationReturnType,
37
30
  } from "../../actions/evm/waitForUserOperation.js";
31
+ import { EvmQuote } from "../../actions/Quote.js";
32
+ import { FundOperationResult } from "../../actions/types.js";
33
+ import {
34
+ WaitForFundOperationResult,
35
+ waitForFundOperationReceipt,
36
+ WaitForFundOperationOptions,
37
+ } from "../../actions/waitForFundOperationReceipt.js";
38
38
  import { Analytics } from "../../analytics.js";
39
39
  import {
40
40
  GetUserOperationOptions,
@@ -170,7 +170,7 @@ export function toEvmSmartAccount(
170
170
  address: account.address,
171
171
  });
172
172
  },
173
- async quoteFund(options: Omit<QuoteFundOptions, "address">): Promise<Quote> {
173
+ async quoteFund(options: Omit<EvmQuoteFundOptions, "address">): Promise<EvmQuote> {
174
174
  Analytics.trackAction({
175
175
  action: "quote_fund",
176
176
  accountType: "evm_smart",
@@ -184,7 +184,7 @@ export function toEvmSmartAccount(
184
184
  address: this.address,
185
185
  });
186
186
  },
187
- async fund(options: Omit<FundOptions, "address">): Promise<FundOperationResult> {
187
+ async fund(options: Omit<EvmFundOptions, "address">): Promise<FundOperationResult> {
188
188
  Analytics.trackAction({
189
189
  action: "fund",
190
190
  accountType: "evm_smart",
@@ -8,9 +8,8 @@ import { transferWithViem } from "../../actions/evm/transfer/transferWithViem.js
8
8
  import { Analytics } from "../../analytics.js";
9
9
 
10
10
  import type { EvmServerAccount, NetworkScopedEvmServerAccount } from "./types.js";
11
- import type { FundOptions } from "../../actions/evm/fund/fund.js";
12
- import type { QuoteFundOptions } from "../../actions/evm/fund/quoteFund.js";
13
- import type { WaitForFundOperationOptions } from "../../actions/evm/fund/waitForFundOperationReceipt.js";
11
+ import type { EvmFundOptions } from "../../actions/evm/fund/fund.js";
12
+ import type { EvmQuoteFundOptions } from "../../actions/evm/fund/quoteFund.js";
14
13
  import type { ListTokenBalancesOptions } from "../../actions/evm/listTokenBalances.js";
15
14
  import type { RequestFaucetOptions } from "../../actions/evm/requestFaucet.js";
16
15
  import type {
@@ -19,6 +18,7 @@ import type {
19
18
  } from "../../actions/evm/sendTransaction.js";
20
19
  import type { AccountQuoteSwapOptions, AccountSwapOptions } from "../../actions/evm/swap/types.js";
21
20
  import type { TransferOptions } from "../../actions/evm/transfer/types.js";
21
+ import type { WaitForFundOperationOptions } from "../../actions/waitForFundOperationReceipt.js";
22
22
  import type {
23
23
  ListEvmTokenBalancesNetwork,
24
24
  SendEvmTransactionBodyNetwork,
@@ -52,6 +52,12 @@ export async function toNetworkScopedEvmServerAccount<Network extends string>(
52
52
  account: options.account,
53
53
  });
54
54
 
55
+ /*
56
+ * Determine the actual network name from the resolved chain
57
+ * This handles cases where options.network is an RPC URL
58
+ */
59
+ const resolvedNetworkName = mapChainToNetwork(chain) ?? options.network;
60
+
55
61
  const shouldUseApiForSends =
56
62
  chain.id === base.id ||
57
63
  chain.id === baseSepolia.id ||
@@ -124,7 +130,7 @@ export async function toNetworkScopedEvmServerAccount<Network extends string>(
124
130
  },
125
131
  } as NetworkScopedEvmServerAccount<Network>;
126
132
 
127
- if (isMethodSupportedOnNetwork("listTokenBalances", options.network)) {
133
+ if (isMethodSupportedOnNetwork("listTokenBalances", resolvedNetworkName)) {
128
134
  Object.assign(account, {
129
135
  listTokenBalances: async (
130
136
  listTokenBalancesOptions: Omit<ListTokenBalancesOptions, "address" | "network">,
@@ -137,7 +143,7 @@ export async function toNetworkScopedEvmServerAccount<Network extends string>(
137
143
  });
138
144
  }
139
145
 
140
- if (isMethodSupportedOnNetwork("requestFaucet", options.network)) {
146
+ if (isMethodSupportedOnNetwork("requestFaucet", resolvedNetworkName)) {
141
147
  Object.assign(account, {
142
148
  requestFaucet: async (faucetOptions: Omit<RequestFaucetOptions, "address" | "network">) => {
143
149
  return options.account.requestFaucet({
@@ -148,9 +154,9 @@ export async function toNetworkScopedEvmServerAccount<Network extends string>(
148
154
  });
149
155
  }
150
156
 
151
- if (isMethodSupportedOnNetwork("quoteFund", options.network)) {
157
+ if (isMethodSupportedOnNetwork("quoteFund", resolvedNetworkName)) {
152
158
  Object.assign(account, {
153
- quoteFund: async (quoteFundOptions: Omit<QuoteFundOptions, "address">) => {
159
+ quoteFund: async (quoteFundOptions: Omit<EvmQuoteFundOptions, "address">) => {
154
160
  return options.account.quoteFund({
155
161
  ...quoteFundOptions,
156
162
  });
@@ -158,9 +164,9 @@ export async function toNetworkScopedEvmServerAccount<Network extends string>(
158
164
  });
159
165
  }
160
166
 
161
- if (isMethodSupportedOnNetwork("fund", options.network)) {
167
+ if (isMethodSupportedOnNetwork("fund", resolvedNetworkName)) {
162
168
  Object.assign(account, {
163
- fund: async (fundOptions: Omit<FundOptions, "address">) => {
169
+ fund: async (fundOptions: Omit<EvmFundOptions, "address">) => {
164
170
  return options.account.fund({
165
171
  ...fundOptions,
166
172
  });
@@ -171,7 +177,7 @@ export async function toNetworkScopedEvmServerAccount<Network extends string>(
171
177
  });
172
178
  }
173
179
 
174
- if (isMethodSupportedOnNetwork("quoteSwap", options.network)) {
180
+ if (isMethodSupportedOnNetwork("quoteSwap", resolvedNetworkName)) {
175
181
  Object.assign(account, {
176
182
  quoteSwap: async (quoteSwapOptions: AccountQuoteSwapOptions) => {
177
183
  return options.account.quoteSwap(quoteSwapOptions);
@@ -179,7 +185,7 @@ export async function toNetworkScopedEvmServerAccount<Network extends string>(
179
185
  });
180
186
  }
181
187
 
182
- if (isMethodSupportedOnNetwork("swap", options.network)) {
188
+ if (isMethodSupportedOnNetwork("swap", resolvedNetworkName)) {
183
189
  Object.assign(account, {
184
190
  swap: async (swapOptions: AccountSwapOptions) => {
185
191
  return options.account.swap(swapOptions);
@@ -2,7 +2,6 @@ import { getBaseNodeRpcUrl } from "./getBaseNodeRpcUrl.js";
2
2
  import { isMethodSupportedOnNetwork } from "./networkCapabilities.js";
3
3
  import { fund } from "../../actions/evm/fund/fund.js";
4
4
  import { quoteFund } from "../../actions/evm/fund/quoteFund.js";
5
- import { waitForFundOperationReceipt } from "../../actions/evm/fund/waitForFundOperationReceipt.js";
6
5
  import { getUserOperation } from "../../actions/evm/getUserOperation.js";
7
6
  import { listTokenBalances } from "../../actions/evm/listTokenBalances.js";
8
7
  import { requestFaucet } from "../../actions/evm/requestFaucet.js";
@@ -12,6 +11,7 @@ import { sendSwapOperation } from "../../actions/evm/swap/sendSwapOperation.js";
12
11
  import { smartAccountTransferStrategy } from "../../actions/evm/transfer/smartAccountTransferStrategy.js";
13
12
  import { transfer } from "../../actions/evm/transfer/transfer.js";
14
13
  import { waitForUserOperation } from "../../actions/evm/waitForUserOperation.js";
14
+ import { waitForFundOperationReceipt } from "../../actions/waitForFundOperationReceipt.js";
15
15
  import { Analytics } from "../../analytics.js";
16
16
 
17
17
  import type {
@@ -20,9 +20,8 @@ import type {
20
20
  KnownEvmNetworks,
21
21
  NetworkScopedEvmSmartAccount,
22
22
  } from "./types.js";
23
- import type { FundOptions } from "../../actions/evm/fund/fund.js";
24
- import type { QuoteFundOptions } from "../../actions/evm/fund/quoteFund.js";
25
- import type { WaitForFundOperationOptions } from "../../actions/evm/fund/waitForFundOperationReceipt.js";
23
+ import type { EvmFundOptions } from "../../actions/evm/fund/fund.js";
24
+ import type { EvmQuoteFundOptions } from "../../actions/evm/fund/quoteFund.js";
26
25
  import type { ListTokenBalancesOptions } from "../../actions/evm/listTokenBalances.js";
27
26
  import type { RequestFaucetOptions } from "../../actions/evm/requestFaucet.js";
28
27
  import type { SendUserOperationOptions } from "../../actions/evm/sendUserOperation.js";
@@ -33,6 +32,7 @@ import type {
33
32
  } from "../../actions/evm/swap/types.js";
34
33
  import type { SmartAccountTransferOptions } from "../../actions/evm/transfer/types.js";
35
34
  import type { WaitForUserOperationOptions } from "../../actions/evm/waitForUserOperation.js";
35
+ import type { WaitForFundOperationOptions } from "../../actions/waitForFundOperationReceipt.js";
36
36
  import type { GetUserOperationOptions } from "../../client/evm/evm.types.js";
37
37
  import type {
38
38
  CdpOpenApiClientType,
@@ -195,7 +195,7 @@ export async function toNetworkScopedEvmSmartAccount<Network extends KnownEvmNet
195
195
 
196
196
  if (isMethodSupportedOnNetwork("quoteFund", options.network)) {
197
197
  Object.assign(account, {
198
- quoteFund: async (quoteOptions: Omit<QuoteFundOptions, "address">) => {
198
+ quoteFund: async (quoteOptions: Omit<EvmQuoteFundOptions, "address">) => {
199
199
  Analytics.trackAction({
200
200
  action: "quote_fund",
201
201
  accountType: "evm_smart",
@@ -214,7 +214,7 @@ export async function toNetworkScopedEvmSmartAccount<Network extends KnownEvmNet
214
214
 
215
215
  if (isMethodSupportedOnNetwork("fund", options.network)) {
216
216
  Object.assign(account, {
217
- fund: async (fundOptions: Omit<FundOptions, "address">) => {
217
+ fund: async (fundOptions: Omit<EvmFundOptions, "address">) => {
218
218
  Analytics.trackAction({
219
219
  action: "fund",
220
220
  accountType: "evm_smart",
@@ -7,14 +7,8 @@ import {
7
7
  QuoteSwapNetworks,
8
8
  SwapNetworks,
9
9
  } from "./networkCapabilities.js";
10
- import { FundOptions } from "../../actions/evm/fund/fund.js";
11
- import { Quote } from "../../actions/evm/fund/Quote.js";
12
- import { QuoteFundOptions } from "../../actions/evm/fund/quoteFund.js";
13
- import { FundOperationResult } from "../../actions/evm/fund/types.js";
14
- import {
15
- WaitForFundOperationOptions,
16
- WaitForFundOperationResult,
17
- } from "../../actions/evm/fund/waitForFundOperationReceipt.js";
10
+ import { EvmFundOptions } from "../../actions/evm/fund/fund.js";
11
+ import { EvmQuoteFundOptions } from "../../actions/evm/fund/quoteFund.js";
18
12
  import {
19
13
  ListTokenBalancesOptions,
20
14
  ListTokenBalancesResult,
@@ -39,6 +33,11 @@ import {
39
33
  WaitForUserOperationOptions,
40
34
  WaitForUserOperationReturnType,
41
35
  } from "../../actions/evm/waitForUserOperation.js";
36
+ import { FundOperationResult } from "../../actions/types.js";
37
+ import {
38
+ WaitForFundOperationOptions,
39
+ WaitForFundOperationResult,
40
+ } from "../../actions/waitForFundOperationReceipt.js";
42
41
  import { GetUserOperationOptions, UserOperation } from "../../client/evm/evm.types.js";
43
42
 
44
43
  import type {
@@ -46,6 +45,7 @@ import type {
46
45
  TransferOptions,
47
46
  } from "../../actions/evm/transfer/types.js";
48
47
  import type { AccountActions, SmartAccountActions } from "../../actions/evm/types.js";
48
+ import type { EvmQuote } from "../../actions/Quote.js";
49
49
  import type { Address, Hash, Hex } from "../../types/misc.js";
50
50
  import type { Prettify } from "../../types/utils.js";
51
51
  import type {
@@ -211,13 +211,17 @@ export type NetworkSpecificSmartAccountActions<Network extends string> = Prettif
211
211
  // Conditionally include quoteFund
212
212
  (Network extends QuoteFundNetworks
213
213
  ? {
214
- quoteFund: (options: Omit<QuoteFundOptions, "address" | "network">) => Promise<Quote>;
214
+ quoteFund: (
215
+ options: Omit<EvmQuoteFundOptions, "address" | "network">,
216
+ ) => Promise<EvmQuote>;
215
217
  }
216
218
  : EmptyObject) &
217
219
  // Conditionally include fund
218
220
  (Network extends FundNetworks
219
221
  ? {
220
- fund: (options: Omit<FundOptions, "address" | "network">) => Promise<FundOperationResult>;
222
+ fund: (
223
+ options: Omit<EvmFundOptions, "address" | "network">,
224
+ ) => Promise<FundOperationResult>;
221
225
  waitForFundOperationReceipt: (
222
226
  options: Omit<WaitForFundOperationOptions, "network">,
223
227
  ) => Promise<WaitForFundOperationResult>;
@@ -289,13 +293,13 @@ export type NetworkSpecificAccountActions<Network extends string> = Prettify<
289
293
  // Conditionally include quoteFund
290
294
  (Network extends QuoteFundNetworks
291
295
  ? {
292
- quoteFund: (options: Omit<QuoteFundOptions, "address">) => Promise<Quote>;
296
+ quoteFund: (options: Omit<EvmQuoteFundOptions, "address">) => Promise<EvmQuote>;
293
297
  }
294
298
  : EmptyObject) &
295
299
  // Conditionally include fund
296
300
  (Network extends FundNetworks
297
301
  ? {
298
- fund: (options: Omit<FundOptions, "address">) => Promise<FundOperationResult>;
302
+ fund: (options: Omit<EvmFundOptions, "address">) => Promise<FundOperationResult>;
299
303
  waitForFundOperationReceipt: (
300
304
  options: WaitForFundOperationOptions,
301
305
  ) => Promise<WaitForFundOperationResult>;