@coinbase/cdp-sdk 1.44.1 → 1.46.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 (282) hide show
  1. package/CHANGELOG.md +28 -2
  2. package/README.md +164 -43
  3. package/_cjs/accounts/evm/eip6492.js +49 -0
  4. package/_cjs/accounts/evm/eip6492.js.map +1 -0
  5. package/_cjs/accounts/evm/toEvmDelegatedAccount.js +27 -0
  6. package/_cjs/accounts/evm/toEvmDelegatedAccount.js.map +1 -0
  7. package/_cjs/accounts/evm/toEvmServerAccount.js +127 -55
  8. package/_cjs/accounts/evm/toEvmServerAccount.js.map +1 -1
  9. package/_cjs/accounts/evm/toEvmSmartAccount.js +115 -45
  10. package/_cjs/accounts/evm/toEvmSmartAccount.js.map +1 -1
  11. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js +31 -0
  12. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  13. package/_cjs/accounts/solana/toSolanaAccount.js +49 -19
  14. package/_cjs/accounts/solana/toSolanaAccount.js.map +1 -1
  15. package/_cjs/actions/evm/waitForEvmEip7702DelegationStatus.js +37 -0
  16. package/_cjs/actions/evm/waitForEvmEip7702DelegationStatus.js.map +1 -0
  17. package/_cjs/actions/solana/transfer.js.map +1 -1
  18. package/_cjs/actions/solana/utils.js +9 -9
  19. package/_cjs/actions/solana/utils.js.map +1 -1
  20. package/_cjs/analytics.js +10 -228
  21. package/_cjs/analytics.js.map +1 -1
  22. package/_cjs/auth/utils/http.js +1 -0
  23. package/_cjs/auth/utils/http.js.map +1 -1
  24. package/_cjs/client/cdp.js +4 -7
  25. package/_cjs/client/cdp.js.map +1 -1
  26. package/_cjs/client/end-user/endUser.js +385 -4
  27. package/_cjs/client/end-user/endUser.js.map +1 -1
  28. package/_cjs/client/end-user/toEndUserAccount.js +201 -23
  29. package/_cjs/client/end-user/toEndUserAccount.js.map +1 -1
  30. package/_cjs/client/evm/evm.js +482 -227
  31. package/_cjs/client/evm/evm.js.map +1 -1
  32. package/_cjs/client/policies/policies.js +41 -11
  33. package/_cjs/client/policies/policies.js.map +1 -1
  34. package/_cjs/client/solana/solana.js +215 -118
  35. package/_cjs/client/solana/solana.js.map +1 -1
  36. package/_cjs/index.js +3 -1
  37. package/_cjs/index.js.map +1 -1
  38. package/_cjs/openapi-client/cdpApiClient.js +32 -0
  39. package/_cjs/openapi-client/cdpApiClient.js.map +1 -1
  40. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +178 -9
  41. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  42. package/_cjs/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js +261 -0
  43. package/_cjs/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js.map +1 -0
  44. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
  45. package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.js +30 -1
  46. package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.js.map +1 -1
  47. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +2 -2
  48. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  49. package/_cjs/openapi-client/generated/evm-swaps/evm-swaps.js.map +1 -1
  50. package/_cjs/openapi-client/generated/evm-token-balances/evm-token-balances.js.map +1 -1
  51. package/_cjs/openapi-client/generated/faucets/faucets.js +6 -5
  52. package/_cjs/openapi-client/generated/faucets/faucets.js.map +1 -1
  53. package/_cjs/openapi-client/generated/onchain-data/onchain-data.js.map +1 -1
  54. package/_cjs/openapi-client/generated/onramp/onramp.js +15 -1
  55. package/_cjs/openapi-client/generated/onramp/onramp.js.map +1 -1
  56. package/_cjs/openapi-client/generated/policy-engine/policy-engine.js.map +1 -1
  57. package/_cjs/openapi-client/generated/solana-accounts/solana-accounts.js.map +1 -1
  58. package/_cjs/openapi-client/generated/solana-token-balances/solana-token-balances.js.map +1 -1
  59. package/_cjs/openapi-client/generated/sql-api/sql-api.js +75 -0
  60. package/_cjs/openapi-client/generated/sql-api/sql-api.js.map +1 -0
  61. package/_cjs/openapi-client/generated/webhooks/webhooks.js.map +1 -1
  62. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -1
  63. package/_cjs/openapi-client/index.js +4 -1
  64. package/_cjs/openapi-client/index.js.map +1 -1
  65. package/_cjs/policies/evmSchema.js +127 -1
  66. package/_cjs/policies/evmSchema.js.map +1 -1
  67. package/_cjs/policies/solanaSchema.js +102 -1
  68. package/_cjs/policies/solanaSchema.js.map +1 -1
  69. package/_cjs/policies/types.js +7 -0
  70. package/_cjs/policies/types.js.map +1 -1
  71. package/_cjs/utils/export.js +6 -5
  72. package/_cjs/utils/export.js.map +1 -1
  73. package/_cjs/version.js +1 -1
  74. package/_esm/accounts/evm/eip6492.js +46 -0
  75. package/_esm/accounts/evm/eip6492.js.map +1 -0
  76. package/_esm/accounts/evm/toEvmDelegatedAccount.js +24 -0
  77. package/_esm/accounts/evm/toEvmDelegatedAccount.js.map +1 -0
  78. package/_esm/accounts/evm/toEvmServerAccount.js +127 -55
  79. package/_esm/accounts/evm/toEvmServerAccount.js.map +1 -1
  80. package/_esm/accounts/evm/toEvmSmartAccount.js +115 -45
  81. package/_esm/accounts/evm/toEvmSmartAccount.js.map +1 -1
  82. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js +31 -0
  83. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  84. package/_esm/accounts/solana/toSolanaAccount.js +49 -19
  85. package/_esm/accounts/solana/toSolanaAccount.js.map +1 -1
  86. package/_esm/actions/evm/waitForEvmEip7702DelegationStatus.js +34 -0
  87. package/_esm/actions/evm/waitForEvmEip7702DelegationStatus.js.map +1 -0
  88. package/_esm/actions/solana/transfer.js.map +1 -1
  89. package/_esm/actions/solana/utils.js +9 -9
  90. package/_esm/actions/solana/utils.js.map +1 -1
  91. package/_esm/analytics.js +9 -227
  92. package/_esm/analytics.js.map +1 -1
  93. package/_esm/auth/utils/http.js +1 -0
  94. package/_esm/auth/utils/http.js.map +1 -1
  95. package/_esm/client/cdp.js +4 -7
  96. package/_esm/client/cdp.js.map +1 -1
  97. package/_esm/client/end-user/endUser.js +385 -4
  98. package/_esm/client/end-user/endUser.js.map +1 -1
  99. package/_esm/client/end-user/toEndUserAccount.js +201 -23
  100. package/_esm/client/end-user/toEndUserAccount.js.map +1 -1
  101. package/_esm/client/evm/evm.js +482 -227
  102. package/_esm/client/evm/evm.js.map +1 -1
  103. package/_esm/client/policies/policies.js +41 -11
  104. package/_esm/client/policies/policies.js.map +1 -1
  105. package/_esm/client/solana/solana.js +215 -118
  106. package/_esm/client/solana/solana.js.map +1 -1
  107. package/_esm/index.js +1 -0
  108. package/_esm/index.js.map +1 -1
  109. package/_esm/openapi-client/cdpApiClient.js +32 -0
  110. package/_esm/openapi-client/cdpApiClient.js.map +1 -1
  111. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +175 -7
  112. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  113. package/_esm/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js +243 -0
  114. package/_esm/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js.map +1 -0
  115. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
  116. package/_esm/openapi-client/generated/evm-accounts/evm-accounts.js +27 -0
  117. package/_esm/openapi-client/generated/evm-accounts/evm-accounts.js.map +1 -1
  118. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +2 -2
  119. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  120. package/_esm/openapi-client/generated/evm-swaps/evm-swaps.js.map +1 -1
  121. package/_esm/openapi-client/generated/evm-token-balances/evm-token-balances.js.map +1 -1
  122. package/_esm/openapi-client/generated/faucets/faucets.js +6 -5
  123. package/_esm/openapi-client/generated/faucets/faucets.js.map +1 -1
  124. package/_esm/openapi-client/generated/onchain-data/onchain-data.js.map +1 -1
  125. package/_esm/openapi-client/generated/onramp/onramp.js +13 -0
  126. package/_esm/openapi-client/generated/onramp/onramp.js.map +1 -1
  127. package/_esm/openapi-client/generated/policy-engine/policy-engine.js.map +1 -1
  128. package/_esm/openapi-client/generated/solana-accounts/solana-accounts.js.map +1 -1
  129. package/_esm/openapi-client/generated/solana-token-balances/solana-token-balances.js.map +1 -1
  130. package/_esm/openapi-client/generated/sql-api/sql-api.js +70 -0
  131. package/_esm/openapi-client/generated/sql-api/sql-api.js.map +1 -0
  132. package/_esm/openapi-client/generated/webhooks/webhooks.js.map +1 -1
  133. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -1
  134. package/_esm/openapi-client/index.js +4 -1
  135. package/_esm/openapi-client/index.js.map +1 -1
  136. package/_esm/policies/evmSchema.js +126 -0
  137. package/_esm/policies/evmSchema.js.map +1 -1
  138. package/_esm/policies/solanaSchema.js +101 -0
  139. package/_esm/policies/solanaSchema.js.map +1 -1
  140. package/_esm/policies/types.js +9 -2
  141. package/_esm/policies/types.js.map +1 -1
  142. package/_esm/utils/export.js +6 -5
  143. package/_esm/utils/export.js.map +1 -1
  144. package/_esm/version.js +1 -1
  145. package/_types/accounts/evm/eip6492.d.ts +17 -0
  146. package/_types/accounts/evm/eip6492.d.ts.map +1 -0
  147. package/_types/accounts/evm/toEvmDelegatedAccount.d.ts +13 -0
  148. package/_types/accounts/evm/toEvmDelegatedAccount.d.ts.map +1 -0
  149. package/_types/accounts/evm/toEvmServerAccount.d.ts.map +1 -1
  150. package/_types/accounts/evm/toEvmSmartAccount.d.ts.map +1 -1
  151. package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts +4 -4
  152. package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts.map +1 -1
  153. package/_types/accounts/evm/types.d.ts +3 -2
  154. package/_types/accounts/evm/types.d.ts.map +1 -1
  155. package/_types/accounts/solana/toSolanaAccount.d.ts.map +1 -1
  156. package/_types/actions/evm/waitForEvmEip7702DelegationStatus.d.ts +32 -0
  157. package/_types/actions/evm/waitForEvmEip7702DelegationStatus.d.ts.map +1 -0
  158. package/_types/actions/solana/transfer.d.ts +3 -4
  159. package/_types/actions/solana/transfer.d.ts.map +1 -1
  160. package/_types/actions/solana/types.d.ts +79 -29
  161. package/_types/actions/solana/types.d.ts.map +1 -1
  162. package/_types/actions/solana/utils.d.ts +10 -9
  163. package/_types/actions/solana/utils.d.ts.map +1 -1
  164. package/_types/analytics.d.ts +5 -38
  165. package/_types/analytics.d.ts.map +1 -1
  166. package/_types/auth/utils/http.d.ts.map +1 -1
  167. package/_types/client/cdp.d.ts +4 -0
  168. package/_types/client/cdp.d.ts.map +1 -1
  169. package/_types/client/end-user/endUser.d.ts +272 -1
  170. package/_types/client/end-user/endUser.d.ts.map +1 -1
  171. package/_types/client/end-user/endUser.types.d.ts +491 -1
  172. package/_types/client/end-user/endUser.types.d.ts.map +1 -1
  173. package/_types/client/end-user/toEndUserAccount.d.ts +4 -1
  174. package/_types/client/end-user/toEndUserAccount.d.ts.map +1 -1
  175. package/_types/client/evm/evm.d.ts +54 -1
  176. package/_types/client/evm/evm.d.ts.map +1 -1
  177. package/_types/client/evm/evm.types.d.ts +29 -2
  178. package/_types/client/evm/evm.types.d.ts.map +1 -1
  179. package/_types/client/policies/policies.d.ts.map +1 -1
  180. package/_types/client/solana/solana.d.ts +38 -12
  181. package/_types/client/solana/solana.d.ts.map +1 -1
  182. package/_types/index.d.ts +3 -1
  183. package/_types/index.d.ts.map +1 -1
  184. package/_types/openapi-client/cdpApiClient.d.ts.map +1 -1
  185. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +884 -90
  186. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
  187. package/_types/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.d.ts +163 -0
  188. package/_types/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.d.ts.map +1 -0
  189. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts +9 -9
  190. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts.map +1 -1
  191. package/_types/openapi-client/generated/evm-accounts/evm-accounts.d.ts +35 -15
  192. package/_types/openapi-client/generated/evm-accounts/evm-accounts.d.ts.map +1 -1
  193. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts +14 -14
  194. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts.map +1 -1
  195. package/_types/openapi-client/generated/evm-swaps/evm-swaps.d.ts +3 -3
  196. package/_types/openapi-client/generated/evm-swaps/evm-swaps.d.ts.map +1 -1
  197. package/_types/openapi-client/generated/evm-token-balances/evm-token-balances.d.ts +2 -2
  198. package/_types/openapi-client/generated/evm-token-balances/evm-token-balances.d.ts.map +1 -1
  199. package/_types/openapi-client/generated/faucets/faucets.d.ts +9 -8
  200. package/_types/openapi-client/generated/faucets/faucets.d.ts.map +1 -1
  201. package/_types/openapi-client/generated/onchain-data/onchain-data.d.ts +3 -3
  202. package/_types/openapi-client/generated/onchain-data/onchain-data.d.ts.map +1 -1
  203. package/_types/openapi-client/generated/onramp/onramp.d.ts +12 -5
  204. package/_types/openapi-client/generated/onramp/onramp.d.ts.map +1 -1
  205. package/_types/openapi-client/generated/policy-engine/policy-engine.d.ts +6 -6
  206. package/_types/openapi-client/generated/policy-engine/policy-engine.d.ts.map +1 -1
  207. package/_types/openapi-client/generated/solana-accounts/solana-accounts.d.ts +12 -12
  208. package/_types/openapi-client/generated/solana-accounts/solana-accounts.d.ts.map +1 -1
  209. package/_types/openapi-client/generated/solana-token-balances/solana-token-balances.d.ts +2 -2
  210. package/_types/openapi-client/generated/solana-token-balances/solana-token-balances.d.ts.map +1 -1
  211. package/_types/openapi-client/generated/sql-api/sql-api.d.ts +73 -0
  212. package/_types/openapi-client/generated/sql-api/sql-api.d.ts.map +1 -0
  213. package/_types/openapi-client/generated/webhooks/webhooks.d.ts +6 -6
  214. package/_types/openapi-client/generated/webhooks/webhooks.d.ts.map +1 -1
  215. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts +4 -4
  216. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts.map +1 -1
  217. package/_types/openapi-client/index.d.ts +23 -3
  218. package/_types/openapi-client/index.d.ts.map +1 -1
  219. package/_types/policies/evmSchema.d.ts +3128 -1064
  220. package/_types/policies/evmSchema.d.ts.map +1 -1
  221. package/_types/policies/solanaSchema.d.ts +1411 -47
  222. package/_types/policies/solanaSchema.d.ts.map +1 -1
  223. package/_types/policies/types.d.ts +8427 -2942
  224. package/_types/policies/types.d.ts.map +1 -1
  225. package/_types/types/contract.d.ts.map +1 -1
  226. package/_types/utils/export.d.ts +1 -1
  227. package/_types/utils/export.d.ts.map +1 -1
  228. package/_types/version.d.ts +1 -1
  229. package/accounts/evm/eip6492.ts +60 -0
  230. package/accounts/evm/toEvmDelegatedAccount.ts +26 -0
  231. package/accounts/evm/toEvmServerAccount.ts +115 -67
  232. package/accounts/evm/toEvmSmartAccount.ts +114 -57
  233. package/accounts/evm/toNetworkScopedEvmSmartAccount.ts +44 -5
  234. package/accounts/evm/types.ts +8 -3
  235. package/accounts/solana/toSolanaAccount.ts +44 -24
  236. package/actions/evm/waitForEvmEip7702DelegationStatus.ts +57 -0
  237. package/actions/solana/transfer.ts +3 -3
  238. package/actions/solana/types.ts +79 -29
  239. package/actions/solana/utils.ts +13 -11
  240. package/analytics.ts +8 -294
  241. package/auth/utils/http.ts +1 -0
  242. package/client/cdp.ts +6 -8
  243. package/client/end-user/endUser.ts +513 -4
  244. package/client/end-user/endUser.types.ts +598 -0
  245. package/client/end-user/toEndUserAccount.ts +330 -26
  246. package/client/evm/evm.ts +517 -282
  247. package/client/evm/evm.types.ts +45 -2
  248. package/client/policies/policies.ts +41 -16
  249. package/client/solana/solana.ts +233 -153
  250. package/index.ts +36 -1
  251. package/openapi-client/cdpApiClient.ts +34 -0
  252. package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +1155 -172
  253. package/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.ts +455 -0
  254. package/openapi-client/generated/end-user-accounts/end-user-accounts.ts +12 -9
  255. package/openapi-client/generated/evm-accounts/evm-accounts.ts +66 -14
  256. package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.ts +16 -16
  257. package/openapi-client/generated/evm-swaps/evm-swaps.ts +3 -3
  258. package/openapi-client/generated/evm-token-balances/evm-token-balances.ts +2 -2
  259. package/openapi-client/generated/faucets/faucets.ts +9 -8
  260. package/openapi-client/generated/onchain-data/onchain-data.ts +3 -3
  261. package/openapi-client/generated/onramp/onramp.ts +28 -4
  262. package/openapi-client/generated/policy-engine/policy-engine.ts +12 -6
  263. package/openapi-client/generated/solana-accounts/solana-accounts.ts +12 -12
  264. package/openapi-client/generated/solana-token-balances/solana-token-balances.ts +2 -2
  265. package/openapi-client/generated/sql-api/sql-api.ts +92 -0
  266. package/openapi-client/generated/webhooks/webhooks.ts +6 -6
  267. package/openapi-client/generated/x402-facilitator/x402-facilitator.ts +6 -4
  268. package/openapi-client/index.ts +4 -1
  269. package/package.json +7 -8
  270. package/policies/evmSchema.ts +164 -0
  271. package/policies/solanaSchema.ts +130 -0
  272. package/policies/types.ts +14 -0
  273. package/types/contract.ts +2 -4
  274. package/utils/export.ts +6 -5
  275. package/version.ts +1 -1
  276. package/_cjs/openapi-client/generated/sql-api-alpha/sql-api-alpha.js +0 -55
  277. package/_cjs/openapi-client/generated/sql-api-alpha/sql-api-alpha.js.map +0 -1
  278. package/_esm/openapi-client/generated/sql-api-alpha/sql-api-alpha.js +0 -50
  279. package/_esm/openapi-client/generated/sql-api-alpha/sql-api-alpha.js.map +0 -1
  280. package/_types/openapi-client/generated/sql-api-alpha/sql-api-alpha.d.ts +0 -53
  281. package/_types/openapi-client/generated/sql-api-alpha/sql-api-alpha.d.ts.map +0 -1
  282. package/openapi-client/generated/sql-api-alpha/sql-api-alpha.ts +0 -72
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Generated by orval v7.6.0 🍺
2
+ * Generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
6
6
  * OpenAPI spec version: 2.0.0
7
7
  */
8
- import type { CreateEvmAccountBody, EIP712Message, EvmAccount, ExportEvmAccount200, ExportEvmAccountBody, ExportEvmAccountByName200, ExportEvmAccountByNameBody, ImportEvmAccountBody, ListEvmAccounts200, ListEvmAccountsParams, SendEvmTransaction200, SendEvmTransactionBody, SignEvmHash200, SignEvmHashBody, SignEvmMessage200, SignEvmMessageBody, SignEvmTransaction200, SignEvmTransactionBody, SignEvmTypedData200, UpdateEvmAccountBody } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
8
+ import type { CreateEvmAccountBody, CreateEvmEip7702Delegation201, CreateEvmEip7702DelegationBody, EIP712Message, EvmAccount, EvmEip7702DelegationOperation, ExportEvmAccount200, ExportEvmAccountBody, ExportEvmAccountByName200, ExportEvmAccountByNameBody, ImportEvmAccountBody, ListEvmAccounts200, ListEvmAccountsParams, SendEvmTransaction200, SendEvmTransactionBody, SignEvmHash200, SignEvmHashBody, SignEvmMessage200, SignEvmMessageBody, SignEvmTransaction200, SignEvmTransactionBody, SignEvmTypedData200, UpdateEvmAccountBody } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
9
9
  import { cdpApiClient } from "../../cdpApiClient.js";
10
10
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
11
11
  /**
@@ -13,27 +13,27 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
13
13
  The response is paginated, and by default, returns 20 accounts per page.
14
14
  * @summary List EVM accounts
15
15
  */
16
- export declare const listEvmAccounts: (params?: ListEvmAccountsParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<ListEvmAccounts200>;
16
+ export declare const listEvmAccounts: (params?: ListEvmAccountsParams, options?: SecondParameter<typeof cdpApiClient<ListEvmAccounts200>>) => Promise<ListEvmAccounts200>;
17
17
  /**
18
18
  * Creates a new EVM account.
19
19
  * @summary Create an EVM account
20
20
  */
21
- export declare const createEvmAccount: (createEvmAccountBody?: CreateEvmAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmAccount>;
21
+ export declare const createEvmAccount: (createEvmAccountBody?: CreateEvmAccountBody, options?: SecondParameter<typeof cdpApiClient<EvmAccount>>) => Promise<EvmAccount>;
22
22
  /**
23
23
  * Gets an EVM account by its address.
24
24
  * @summary Get an EVM account by address
25
25
  */
26
- export declare const getEvmAccount: (address: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmAccount>;
26
+ export declare const getEvmAccount: (address: string, options?: SecondParameter<typeof cdpApiClient<EvmAccount>>) => Promise<EvmAccount>;
27
27
  /**
28
28
  * Updates an existing EVM account. Use this to update the account's name or account-level policy.
29
29
  * @summary Update an EVM account
30
30
  */
31
- export declare const updateEvmAccount: (address: string, updateEvmAccountBody: UpdateEvmAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmAccount>;
31
+ export declare const updateEvmAccount: (address: string, updateEvmAccountBody: UpdateEvmAccountBody, options?: SecondParameter<typeof cdpApiClient<EvmAccount>>) => Promise<EvmAccount>;
32
32
  /**
33
33
  * Gets an EVM account by its name.
34
34
  * @summary Get an EVM account by name
35
35
  */
36
- export declare const getEvmAccountByName: (name: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmAccount>;
36
+ export declare const getEvmAccountByName: (name: string, options?: SecondParameter<typeof cdpApiClient<EvmAccount>>) => Promise<EvmAccount>;
37
37
  /**
38
38
  * Signs a transaction with the given EVM account and sends it to the indicated supported network. This API handles nonce management and gas estimation, leaving the developer to provide only the minimal set of fields necessary to send the transaction. The transaction should be serialized as a hex string using [RLP](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/).
39
39
 
@@ -63,7 +63,7 @@ The transaction must be an [EIP-1559 dynamic fee transaction](https://github.com
63
63
  - `accessList` *(Optional)*: The access list to use for the transaction.
64
64
  * @summary Send a transaction
65
65
  */
66
- export declare const sendEvmTransaction: (address: string, sendEvmTransactionBody: SendEvmTransactionBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SendEvmTransaction200>;
66
+ export declare const sendEvmTransaction: (address: string, sendEvmTransactionBody: SendEvmTransactionBody, options?: SecondParameter<typeof cdpApiClient<SendEvmTransaction200>>) => Promise<SendEvmTransaction200>;
67
67
  /**
68
68
  * Signs a transaction with the given EVM account.
69
69
  The transaction should be serialized as a hex string using [RLP](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/).
@@ -71,39 +71,57 @@ The transaction should be serialized as a hex string using [RLP](https://ethereu
71
71
  The transaction must be an [EIP-1559 dynamic fee transaction](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1559.md). The developer is responsible for ensuring that the unsigned transaction is valid, as the API will not validate the transaction.
72
72
  * @summary Sign a transaction
73
73
  */
74
- export declare const signEvmTransaction: (address: string, signEvmTransactionBody: SignEvmTransactionBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SignEvmTransaction200>;
74
+ export declare const signEvmTransaction: (address: string, signEvmTransactionBody: SignEvmTransactionBody, options?: SecondParameter<typeof cdpApiClient<SignEvmTransaction200>>) => Promise<SignEvmTransaction200>;
75
75
  /**
76
76
  * Signs an arbitrary 32 byte hash with the given EVM account.
77
77
  * @summary Sign a hash
78
78
  */
79
- export declare const signEvmHash: (address: string, signEvmHashBody: SignEvmHashBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SignEvmHash200>;
79
+ export declare const signEvmHash: (address: string, signEvmHashBody: SignEvmHashBody, options?: SecondParameter<typeof cdpApiClient<SignEvmHash200>>) => Promise<SignEvmHash200>;
80
80
  /**
81
81
  * Signs an [EIP-191](https://eips.ethereum.org/EIPS/eip-191) message with the given EVM account.
82
82
 
83
83
  Per the specification, the message in the request body is prepended with `0x19 <0x45 (E)> <thereum Signed Message:\n" + len(message)>` before being signed.
84
84
  * @summary Sign an EIP-191 message
85
85
  */
86
- export declare const signEvmMessage: (address: string, signEvmMessageBody: SignEvmMessageBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SignEvmMessage200>;
86
+ export declare const signEvmMessage: (address: string, signEvmMessageBody: SignEvmMessageBody, options?: SecondParameter<typeof cdpApiClient<SignEvmMessage200>>) => Promise<SignEvmMessage200>;
87
87
  /**
88
88
  * Signs [EIP-712](https://eips.ethereum.org/EIPS/eip-712) typed data with the given EVM account.
89
89
  * @summary Sign EIP-712 typed data
90
90
  */
91
- export declare const signEvmTypedData: (address: string, eIP712Message: EIP712Message, options?: SecondParameter<typeof cdpApiClient>) => Promise<SignEvmTypedData200>;
91
+ export declare const signEvmTypedData: (address: string, eIP712Message: EIP712Message, options?: SecondParameter<typeof cdpApiClient<SignEvmTypedData200>>) => Promise<SignEvmTypedData200>;
92
+ /**
93
+ * Creates an EIP-7702 delegation for an EVM EOA account, upgrading it with smart account capabilities.
94
+
95
+ This endpoint:
96
+ - Retrieves delegation artifacts from onchain
97
+ - Signs the EIP-7702 authorization for delegation
98
+ - Assembles and submits a Type 4 transaction
99
+ - Creates an associated smart account object
100
+
101
+ The delegation allows the EVM EOA to be used as a smart account, which enables batched transactions and gas sponsorship via paymaster.
102
+ * @summary Create EIP-7702 delegation
103
+ */
104
+ export declare const createEvmEip7702Delegation: (address: string, createEvmEip7702DelegationBody: CreateEvmEip7702DelegationBody, options?: SecondParameter<typeof cdpApiClient<CreateEvmEip7702Delegation201>>) => Promise<CreateEvmEip7702Delegation201>;
105
+ /**
106
+ * Returns the EIP-7702 delegation operation. Use the delegationOperationId returned by the Create EIP-7702 delegation endpoint to poll for operation completion.
107
+ * @summary Get EIP-7702 delegation operation for an operationID
108
+ */
109
+ export declare const getEvmEip7702DelegationOperationById: (delegationOperationId: string, options?: SecondParameter<typeof cdpApiClient<EvmEip7702DelegationOperation>>) => Promise<EvmEip7702DelegationOperation>;
92
110
  /**
93
111
  * Import an existing EVM account into the developer's CDP Project. This API should be called from the [CDP SDK](https://github.com/coinbase/cdp-sdk) to ensure that the associated private key is properly encrypted.
94
112
  * @summary Import an EVM account
95
113
  */
96
- export declare const importEvmAccount: (importEvmAccountBody: ImportEvmAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmAccount>;
114
+ export declare const importEvmAccount: (importEvmAccountBody: ImportEvmAccountBody, options?: SecondParameter<typeof cdpApiClient<EvmAccount>>) => Promise<EvmAccount>;
97
115
  /**
98
116
  * Export an existing EVM account's private key. It is important to store the private key in a secure place after it's exported.
99
117
  * @summary Export an EVM account
100
118
  */
101
- export declare const exportEvmAccount: (address: string, exportEvmAccountBody: ExportEvmAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<ExportEvmAccount200>;
119
+ export declare const exportEvmAccount: (address: string, exportEvmAccountBody: ExportEvmAccountBody, options?: SecondParameter<typeof cdpApiClient<ExportEvmAccount200>>) => Promise<ExportEvmAccount200>;
102
120
  /**
103
121
  * Export an existing EVM account's private key by its name. It is important to store the private key in a secure place after it's exported.
104
122
  * @summary Export an EVM account by name
105
123
  */
106
- export declare const exportEvmAccountByName: (name: string, exportEvmAccountByNameBody: ExportEvmAccountByNameBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<ExportEvmAccountByName200>;
124
+ export declare const exportEvmAccountByName: (name: string, exportEvmAccountByNameBody: ExportEvmAccountByNameBody, options?: SecondParameter<typeof cdpApiClient<ExportEvmAccountByName200>>) => Promise<ExportEvmAccountByName200>;
107
125
  export type ListEvmAccountsResult = NonNullable<Awaited<ReturnType<typeof listEvmAccounts>>>;
108
126
  export type CreateEvmAccountResult = NonNullable<Awaited<ReturnType<typeof createEvmAccount>>>;
109
127
  export type GetEvmAccountResult = NonNullable<Awaited<ReturnType<typeof getEvmAccount>>>;
@@ -114,6 +132,8 @@ export type SignEvmTransactionResult = NonNullable<Awaited<ReturnType<typeof sig
114
132
  export type SignEvmHashResult = NonNullable<Awaited<ReturnType<typeof signEvmHash>>>;
115
133
  export type SignEvmMessageResult = NonNullable<Awaited<ReturnType<typeof signEvmMessage>>>;
116
134
  export type SignEvmTypedDataResult = NonNullable<Awaited<ReturnType<typeof signEvmTypedData>>>;
135
+ export type CreateEvmEip7702DelegationResult = NonNullable<Awaited<ReturnType<typeof createEvmEip7702Delegation>>>;
136
+ export type GetEvmEip7702DelegationOperationByIdResult = NonNullable<Awaited<ReturnType<typeof getEvmEip7702DelegationOperationById>>>;
117
137
  export type ImportEvmAccountResult = NonNullable<Awaited<ReturnType<typeof importEvmAccount>>>;
118
138
  export type ExportEvmAccountResult = NonNullable<Awaited<ReturnType<typeof exportEvmAccount>>>;
119
139
  export type ExportEvmAccountByNameResult = NonNullable<Awaited<ReturnType<typeof exportEvmAccountByName>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"evm-accounts.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/evm-accounts/evm-accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACb,UAAU,EACV,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OA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C,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;AACnG,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;AACrF,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC;AAC3F,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAC/F,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAC/F,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAC/F,MAAM,MAAM,4BAA4B,GAAG,WAAW,CACpD,OAAO,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CACnD,CAAC"}
1
+ {"version":3,"file":"evm-accounts.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/evm-accounts/evm-accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC7B,8BAA8B,EAC9B,aAAa,EACb,UAAU,EACV,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAA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AO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAC/F,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAC/F,MAAM,MAAM,4BAA4B,GAAG,WAAW,CACpD,OAAO,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CACnD,CAAC"}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Generated by orval v7.6.0 🍺
2
+ * Generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
6
6
  * OpenAPI spec version: 2.0.0
7
7
  */
8
- import type { CreateEvmSmartAccountBody, CreateSpendPermissionRequest, EvmSmartAccount, EvmUserOperation, ListEvmSmartAccounts200, ListEvmSmartAccountsParams, ListSpendPermissions200, ListSpendPermissionsParams, PrepareAndSendUserOperationBody, PrepareUserOperationBody, RevokeSpendPermissionRequest, SendUserOperationBody, UpdateEvmSmartAccountBody } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
8
+ import type { CreateEvmSmartAccountBody, CreateSpendPermissionRequest, EvmSmartAccount, EvmSpendPermissionsRevokeSpendPermissionRequest, EvmUserOperation, ListEvmSmartAccounts200, ListEvmSmartAccountsParams, ListSpendPermissions200, ListSpendPermissionsParams, PrepareAndSendUserOperationBody, PrepareUserOperationBody, SendUserOperationBody, UpdateEvmSmartAccountBody } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
9
9
  import { cdpApiClient } from "../../cdpApiClient.js";
10
10
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
11
11
  /**
@@ -13,42 +13,42 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
13
13
  The response is paginated, and by default, returns 20 accounts per page.
14
14
  * @summary List Smart Accounts
15
15
  */
16
- export declare const listEvmSmartAccounts: (params?: ListEvmSmartAccountsParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<ListEvmSmartAccounts200>;
16
+ export declare const listEvmSmartAccounts: (params?: ListEvmSmartAccountsParams, options?: SecondParameter<typeof cdpApiClient<ListEvmSmartAccounts200>>) => Promise<ListEvmSmartAccounts200>;
17
17
  /**
18
18
  * Creates a new Smart Account.
19
19
  * @summary Create a Smart Account
20
20
  */
21
- export declare const createEvmSmartAccount: (createEvmSmartAccountBody: CreateEvmSmartAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmSmartAccount>;
21
+ export declare const createEvmSmartAccount: (createEvmSmartAccountBody: CreateEvmSmartAccountBody, options?: SecondParameter<typeof cdpApiClient<EvmSmartAccount>>) => Promise<EvmSmartAccount>;
22
22
  /**
23
23
  * Gets a Smart Account by its name.
24
24
  * @summary Get a Smart Account by name
25
25
  */
26
- export declare const getEvmSmartAccountByName: (name: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmSmartAccount>;
26
+ export declare const getEvmSmartAccountByName: (name: string, options?: SecondParameter<typeof cdpApiClient<EvmSmartAccount>>) => Promise<EvmSmartAccount>;
27
27
  /**
28
28
  * Gets a Smart Account by its address.
29
29
  * @summary Get a Smart Account by address
30
30
  */
31
- export declare const getEvmSmartAccount: (address: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmSmartAccount>;
31
+ export declare const getEvmSmartAccount: (address: string, options?: SecondParameter<typeof cdpApiClient<EvmSmartAccount>>) => Promise<EvmSmartAccount>;
32
32
  /**
33
33
  * Updates an existing EVM smart account. Use this to update the smart account's name.
34
34
  * @summary Update an EVM Smart Account
35
35
  */
36
- export declare const updateEvmSmartAccount: (address: string, updateEvmSmartAccountBody: UpdateEvmSmartAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmSmartAccount>;
36
+ export declare const updateEvmSmartAccount: (address: string, updateEvmSmartAccountBody: UpdateEvmSmartAccountBody, options?: SecondParameter<typeof cdpApiClient<EvmSmartAccount>>) => Promise<EvmSmartAccount>;
37
37
  /**
38
38
  * Prepares a new user operation on a Smart Account for a specific network.
39
39
  * @summary Prepare a user operation
40
40
  */
41
- export declare const prepareUserOperation: (address: string, prepareUserOperationBody: PrepareUserOperationBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmUserOperation>;
41
+ export declare const prepareUserOperation: (address: string, prepareUserOperationBody: PrepareUserOperationBody, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
42
42
  /**
43
43
  * Prepares, signs, and sends a user operation for an EVM Smart Account. This API can be used only if the owner on Smart Account is a CDP EVM Account.
44
44
  * @summary Prepare and send a user operation for EVM Smart Account
45
45
  */
46
- export declare const prepareAndSendUserOperation: (address: string, prepareAndSendUserOperationBody: PrepareAndSendUserOperationBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmUserOperation>;
46
+ export declare const prepareAndSendUserOperation: (address: string, prepareAndSendUserOperationBody: PrepareAndSendUserOperationBody, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
47
47
  /**
48
48
  * Gets a user operation by its hash.
49
49
  * @summary Get a user operation
50
50
  */
51
- export declare const getUserOperation: (address: string, userOpHash: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmUserOperation>;
51
+ export declare const getUserOperation: (address: string, userOpHash: string, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
52
52
  /**
53
53
  * Sends a user operation with a signature.
54
54
  The payload to sign must be the `userOpHash` field of the user operation. This hash should be signed directly (not using `personal_sign` or EIP-191 message hashing).
@@ -56,22 +56,22 @@ The signature must be 65 bytes in length, consisting of: - 32 bytes for the `r`
56
56
  If using the CDP Paymaster, the user operation must be signed and sent within 2 minutes of being prepared.
57
57
  * @summary Send a user operation
58
58
  */
59
- export declare const sendUserOperation: (address: string, userOpHash: string, sendUserOperationBody: SendUserOperationBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmUserOperation>;
59
+ export declare const sendUserOperation: (address: string, userOpHash: string, sendUserOperationBody: SendUserOperationBody, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
60
60
  /**
61
61
  * Creates a spend permission for the given smart account address.
62
62
  * @summary Create a spend permission
63
63
  */
64
- export declare const createSpendPermission: (address: string, createSpendPermissionRequest: CreateSpendPermissionRequest, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmUserOperation>;
64
+ export declare const createSpendPermission: (address: string, createSpendPermissionRequest: CreateSpendPermissionRequest, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
65
65
  /**
66
66
  * Lists spend permission for the given smart account address.
67
67
  * @summary List spend permissions
68
68
  */
69
- export declare const listSpendPermissions: (address: string, params?: ListSpendPermissionsParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<ListSpendPermissions200>;
69
+ export declare const listSpendPermissions: (address: string, params?: ListSpendPermissionsParams, options?: SecondParameter<typeof cdpApiClient<ListSpendPermissions200>>) => Promise<ListSpendPermissions200>;
70
70
  /**
71
71
  * Revokes an existing spend permission.
72
72
  * @summary Revoke a spend permission
73
73
  */
74
- export declare const revokeSpendPermission: (address: string, revokeSpendPermissionRequest: RevokeSpendPermissionRequest, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmUserOperation>;
74
+ export declare const revokeSpendPermission: (address: string, evmSpendPermissionsRevokeSpendPermissionRequest: EvmSpendPermissionsRevokeSpendPermissionRequest, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
75
75
  export type ListEvmSmartAccountsResult = NonNullable<Awaited<ReturnType<typeof listEvmSmartAccounts>>>;
76
76
  export type CreateEvmSmartAccountResult = NonNullable<Awaited<ReturnType<typeof createEvmSmartAccount>>>;
77
77
  export type GetEvmSmartAccountByNameResult = NonNullable<Awaited<ReturnType<typeof getEvmSmartAccountByName>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"evm-smart-accounts.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/evm-smart-accounts/evm-smart-accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,yBAAyB,EACzB,4BAA4B,EAC5B,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,4BAA4B,EAC5B,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,0BAA0B,EACnC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,qCAM/C,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAChC,2BAA2B,yBAAyB,EACpD,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,6BAW/C,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GACnC,MAAM,MAAM,EACZ,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,6BAM/C,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,EACf,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,6BAM/C,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAChC,SAAS,MAAM,EACf,2BAA2B,yBAAyB,EACpD,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,6BAW/C,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,MAAM,EACf,0BAA0B,wBAAwB,EAClD,UAAU,eAAe,CAAC,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AC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;AACnG,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAClD,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,WAAW,CACzD,OAAO,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CACxD,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAC/F,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC;AACjG,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAClD,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAClD,CAAC"}
1
+ {"version":3,"file":"evm-smart-accounts.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/evm-smart-accounts/evm-smart-accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,yBAAyB,EACzB,4BAA4B,EAC5B,eAAe,EACf,+CAA+C,EAC/C,gBAAgB,EAChB,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,qBAAqB,EACrB,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A2B,GAAG,WAAW,CACnD,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAClD,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG,WAAW,CACzD,OAAO,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CACxD,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAC/F,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC;AACjG,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAClD,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAClD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v7.6.0 🍺
2
+ * Generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
@@ -12,12 +12,12 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
12
12
  * Get a price estimate for a swap between two tokens on an EVM network.
13
13
  * @summary Get a price estimate for a swap
14
14
  */
15
- export declare const getEvmSwapPrice: (params: GetEvmSwapPriceParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<GetSwapPriceResponseWrapper>;
15
+ export declare const getEvmSwapPrice: (params: GetEvmSwapPriceParams, options?: SecondParameter<typeof cdpApiClient<GetSwapPriceResponseWrapper>>) => Promise<GetSwapPriceResponseWrapper>;
16
16
  /**
17
17
  * Create a swap quote, which includes the payload to sign as well as the transaction data needed to execute the swap. The developer is responsible for signing the payload and submitting the transaction to the network in order to execute the swap.
18
18
  * @summary Create a swap quote
19
19
  */
20
- export declare const createEvmSwapQuote: (createEvmSwapQuoteBody: CreateEvmSwapQuoteBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<CreateSwapQuoteResponseWrapper>;
20
+ export declare const createEvmSwapQuote: (createEvmSwapQuoteBody: CreateEvmSwapQuoteBody, options?: SecondParameter<typeof cdpApiClient<CreateSwapQuoteResponseWrapper>>) => Promise<CreateSwapQuoteResponseWrapper>;
21
21
  export type GetEvmSwapPriceResult = NonNullable<Awaited<ReturnType<typeof getEvmSwapPrice>>>;
22
22
  export type CreateEvmSwapQuoteResult = NonNullable<Awaited<ReturnType<typeof createEvmSwapQuote>>>;
23
23
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"evm-swaps.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/evm-swaps/evm-swaps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,sBAAsB,EACtB,8BAA8B,EAC9B,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,eAAe,GAC1B,QAAQ,qBAAqB,EAC7B,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,yCAM/C,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,wBAAwB,sBAA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generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
@@ -13,7 +13,7 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
13
13
  **Note:** This endpoint is still under development and does not yet provide strong freshness guarantees. Specifically, balances of new tokens can, on occasion, take up to ~30 seconds to appear, while balances of tokens already belonging to an address will generally be close to chain tip. Freshness of new token balances will improve over the coming weeks.
14
14
  * @summary List EVM token balances
15
15
  */
16
- export declare const listEvmTokenBalances: (network: ListEvmTokenBalancesNetwork, address: string, params?: ListEvmTokenBalancesParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<ListEvmTokenBalances200>;
16
+ export declare const listEvmTokenBalances: (network: ListEvmTokenBalancesNetwork, address: string, params?: ListEvmTokenBalancesParams, options?: SecondParameter<typeof cdpApiClient<ListEvmTokenBalances200>>) => Promise<ListEvmTokenBalances200>;
17
17
  export type ListEvmTokenBalancesResult = NonNullable<Awaited<ReturnType<typeof listEvmTokenBalances>>>;
18
18
  export {};
19
19
  //# sourceMappingURL=evm-token-balances.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"evm-token-balances.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/evm-token-balances/evm-token-balances.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,0BAA0B,EAC3B,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,2BAA2B,EACpC,SAAS,MAAM,EACf,SAAS,0BAA0B,EACnC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,qCAM/C,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC"}
1
+ {"version":3,"file":"evm-token-balances.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/evm-token-balances/evm-token-balances.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,0BAA0B,EAC3B,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,2BAA2B,EACpC,SAAS,MAAM,EACf,SAAS,0BAA0B,EACnC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,uBAAuB,CAAC,CAAC,qCAMxE,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v7.6.0 🍺
2
+ * Generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
@@ -26,24 +26,25 @@ A single blockchain address cannot exceed the specified limits, even if multiple
26
26
 
27
27
  * @summary Request funds on EVM test networks
28
28
  */
29
- export declare const requestEvmFaucet: (requestEvmFaucetBody: RequestEvmFaucetBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<RequestEvmFaucet200>;
29
+ export declare const requestEvmFaucet: (requestEvmFaucetBody: RequestEvmFaucetBody, options?: SecondParameter<typeof cdpApiClient<RequestEvmFaucet200>>) => Promise<RequestEvmFaucet200>;
30
30
  /**
31
31
  * Request funds from the CDP Faucet on Solana devnet.
32
32
 
33
- Faucets are available for SOL.
33
+ Faucets are available for SOL, USDC, and CBTUSD.
34
34
 
35
35
  To prevent abuse, we enforce rate limits within a rolling 24-hour window to control the amount of funds that can be requested.
36
36
  These limits are applied at both the CDP Project level and the blockchain address level.
37
37
  A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.
38
38
 
39
- | Token | Amount per Faucet Request |Rolling 24-hour window Rate Limits|
40
- |:-----:|:-------------------------:|:--------------------------------:|
41
- | SOL | 0.00125 SOL | 0.0125 SOL |
42
- | USDC | 1 USDC | 10 USDC |
39
+ | Token | Amount per Faucet Request |Rolling 24-hour window Rate Limits|
40
+ |:-----: |:-------------------------:|:--------------------------------:|
41
+ | SOL | 0.00125 SOL | 0.0125 SOL |
42
+ | USDC | 1 USDC | 10 USDC |
43
+ | CBTUSD | 1 CBTUSD | 10 CBTUSD |
43
44
 
44
45
  * @summary Request funds on Solana devnet
45
46
  */
46
- export declare const requestSolanaFaucet: (requestSolanaFaucetBody: RequestSolanaFaucetBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<RequestSolanaFaucet200>;
47
+ export declare const requestSolanaFaucet: (requestSolanaFaucetBody: RequestSolanaFaucetBody, options?: SecondParameter<typeof cdpApiClient<RequestSolanaFaucet200>>) => Promise<RequestSolanaFaucet200>;
47
48
  export type RequestEvmFaucetResult = NonNullable<Awaited<ReturnType<typeof requestEvmFaucet>>>;
48
49
  export type RequestSolanaFaucetResult = NonNullable<Awaited<ReturnType<typeof requestSolanaFaucet>>>;
49
50
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"faucets.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/faucets/faucets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,sBAA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mBAAmB,CAAC,CAAC,iCAWpE,CAAC;AACF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB,GAC9B,yBAAyB,uBAAuB,EAChD,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,sBAAsB,CAAC,CAAC,oCAWvE,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAC/F,MAAM,MAAM,yBAAyB,GAAG,WAAW,CACjD,OAAO,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAChD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v7.6.0 🍺
2
+ * Generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
@@ -14,14 +14,14 @@ Analyzes transaction history to discover token interactions.
14
14
 
15
15
  * @summary List token addresses for account
16
16
  */
17
- export declare const listTokensForAccount: (network: "base" | "base-sepolia", address: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<AccountTokenAddressesResponse>;
17
+ export declare const listTokensForAccount: (network: "base" | "base-sepolia", address: string, options?: SecondParameter<typeof cdpApiClient<AccountTokenAddressesResponse>>) => Promise<AccountTokenAddressesResponse>;
18
18
  /**
19
19
  * Lists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page.
20
20
 
21
21
  **Note:** This endpoint provides <1 second freshness from chain tip, <500ms response latency for wallets with reasonable token history, and 99.9% uptime for production use.
22
22
  * @summary List EVM token balances
23
23
  */
24
- export declare const listDataTokenBalances: (network: ListEvmTokenBalancesNetwork, address: string, params?: ListDataTokenBalancesParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<ListDataTokenBalances200>;
24
+ export declare const listDataTokenBalances: (network: ListEvmTokenBalancesNetwork, address: string, params?: ListDataTokenBalancesParams, options?: SecondParameter<typeof cdpApiClient<ListDataTokenBalances200>>) => Promise<ListDataTokenBalances200>;
25
25
  export type ListTokensForAccountResult = NonNullable<Awaited<ReturnType<typeof listTokensForAccount>>>;
26
26
  export type ListDataTokenBalancesResult = NonNullable<Awaited<ReturnType<typeof listDataTokenBalances>>>;
27
27
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"onchain-data.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/onchain-data/onchain-data.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,MAAM,GAAG,cAAc,EAChC,SAAS,MAAM,EACf,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,2CAM/C,CAAC;AACF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAChC,SAAS,2BAA2B,EACpC,SAAS,MAAM,EACf,SAAS,2BAA2B,EACpC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,sCAM/C,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAClD,CAAC"}
1
+ {"version":3,"file":"onchain-data.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/onchain-data/onchain-data.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAC/B,SAAS,MAAM,GAAG,cAAc,EAChC,SAAS,MAAM,EACf,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,6BAA6B,CAAC,CAAC,2CAM9E,CAAC;AACF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAChC,SAAS,2BAA2B,EACpC,SAAS,MAAM,EACf,SAAS,2BAA2B,EACpC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,wBAAwB,CAAC,CAAC,sCAMzE,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,WAAW,CACnD,OAAO,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAClD,CAAC"}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Generated by orval v7.6.0 🍺
2
+ * Generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
6
6
  * OpenAPI spec version: 2.0.0
7
7
  */
8
- import type { CreateOnrampOrder201, CreateOnrampOrderBody, CreateOnrampSession201, CreateOnrampSessionBody, GetOnrampOrderById200 } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
8
+ import type { CreateOnrampOrder201, CreateOnrampOrderBody, CreateOnrampSession201, CreateOnrampSessionBody, GetOnrampOrderById200, GetOnrampUserLimits200, GetOnrampUserLimitsBody } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
9
9
  import { cdpApiClient } from "../../cdpApiClient.js";
10
10
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
11
11
  /**
@@ -16,12 +16,12 @@ This API currently only supports the payment method `GUEST_CHECKOUT_APPLE_PAY`.
16
16
  For detailed integration instructions and to get access to this API, refer to the [Apple Pay Onramp API docs](https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api).
17
17
  * @summary Create an onramp order
18
18
  */
19
- export declare const createOnrampOrder: (createOnrampOrderBody: CreateOnrampOrderBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<CreateOnrampOrder201>;
19
+ export declare const createOnrampOrder: (createOnrampOrderBody: CreateOnrampOrderBody, options?: SecondParameter<typeof cdpApiClient<CreateOnrampOrder201>>) => Promise<CreateOnrampOrder201>;
20
20
  /**
21
21
  * Get an onramp order by ID.
22
22
  * @summary Get an onramp order by ID
23
23
  */
24
- export declare const getOnrampOrderById: (orderId: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<GetOnrampOrderById200>;
24
+ export declare const getOnrampOrderById: (orderId: string, options?: SecondParameter<typeof cdpApiClient<GetOnrampOrderById200>>) => Promise<GetOnrampOrderById200>;
25
25
  /**
26
26
  * Returns a single-use URL for an Onramp session. This API provides flexible functionality based on the parameters provided, supporting three cases:
27
27
 
@@ -43,9 +43,16 @@ export declare const getOnrampOrderById: (orderId: string, options?: SecondParam
43
43
  **Note**: Only one of `paymentAmount` or `purchaseAmount` should be provided, not both. Providing both will result in an error. When `paymentAmount` is provided, the quote shows how much crypto the user will receive for the specified fiat amount (fee-inclusive). When `purchaseAmount` is provided, the quote shows how much fiat the user needs to pay for the specified crypto amount (fee-exclusive).
44
44
  * @summary Create an onramp session
45
45
  */
46
- export declare const createOnrampSession: (createOnrampSessionBody: CreateOnrampSessionBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<CreateOnrampSession201>;
46
+ export declare const createOnrampSession: (createOnrampSessionBody: CreateOnrampSessionBody, options?: SecondParameter<typeof cdpApiClient<CreateOnrampSession201>>) => Promise<CreateOnrampSession201>;
47
+ /**
48
+ * Returns the transaction limits for an onramp user based on their payment method and user identifier. Use this API to show users their remaining purchase capacity before initiating an onramp transaction.
49
+ Currently supports `GUEST_CHECKOUT_APPLE_PAY` payment method with phone number identification. The phone number must have been previously verified via OTP.
50
+ * @summary Get onramp user limits
51
+ */
52
+ export declare const getOnrampUserLimits: (getOnrampUserLimitsBody: GetOnrampUserLimitsBody, options?: SecondParameter<typeof cdpApiClient<GetOnrampUserLimits200>>) => Promise<GetOnrampUserLimits200>;
47
53
  export type CreateOnrampOrderResult = NonNullable<Awaited<ReturnType<typeof createOnrampOrder>>>;
48
54
  export type GetOnrampOrderByIdResult = NonNullable<Awaited<ReturnType<typeof getOnrampOrderById>>>;
49
55
  export type CreateOnrampSessionResult = NonNullable<Awaited<ReturnType<typeof createOnrampSession>>>;
56
+ export type GetOnrampUserLimitsResult = NonNullable<Awaited<ReturnType<typeof getOnrampUserLimits>>>;
50
57
  export {};
51
58
  //# sourceMappingURL=onramp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"onramp.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/onramp/onramp.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;;;;GAOG;AACH,eAAO,MAA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,kCAWrE,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,EACf,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,qBAAqB,CAAC,CAAC,mCAMtE,CAAC;AACF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,mBAAmB,GAC9B,yBAAyB,uBAAuB,EAChD,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,sBAAsB,CAAC,CAAC,oCAWvE,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAC9B,yBAAyB,uBAAuB,EAChD,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,sBAAsB,CAAC,CAAC,oCAWvE,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC;AACjG,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;AACnG,MAAM,MAAM,yBAAyB,GAAG,WAAW,CACjD,OAAO,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAChD,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,WAAW,CACjD,OAAO,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAChD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v7.6.0 🍺
2
+ * Generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
@@ -13,27 +13,27 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
13
13
  The response is paginated, and by default, returns 20 policies per page.
14
14
  * @summary List policies
15
15
  */
16
- export declare const listPolicies: (params?: ListPoliciesParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<ListPolicies200>;
16
+ export declare const listPolicies: (params?: ListPoliciesParams, options?: SecondParameter<typeof cdpApiClient<ListPolicies200>>) => Promise<ListPolicies200>;
17
17
  /**
18
18
  * Create a policy that can be used to govern the behavior of accounts.
19
19
  * @summary Create a policy
20
20
  */
21
- export declare const createPolicy: (createPolicyBody: CreatePolicyBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<Policy>;
21
+ export declare const createPolicy: (createPolicyBody: CreatePolicyBody, options?: SecondParameter<typeof cdpApiClient<Policy>>) => Promise<Policy>;
22
22
  /**
23
23
  * Get a policy by its ID.
24
24
  * @summary Get a policy by ID
25
25
  */
26
- export declare const getPolicyById: (policyId: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<Policy>;
26
+ export declare const getPolicyById: (policyId: string, options?: SecondParameter<typeof cdpApiClient<Policy>>) => Promise<Policy>;
27
27
  /**
28
28
  * Delete a policy by its ID. This will have the effect of removing the policy from all accounts that are currently using it.
29
29
  * @summary Delete a policy
30
30
  */
31
- export declare const deletePolicy: (policyId: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<void>;
31
+ export declare const deletePolicy: (policyId: string, options?: SecondParameter<typeof cdpApiClient<void>>) => Promise<void>;
32
32
  /**
33
33
  * Updates a policy by its ID. This will have the effect of applying the updated policy to all accounts that are currently using it.
34
34
  * @summary Update a policy
35
35
  */
36
- export declare const updatePolicy: (policyId: string, updatePolicyBody: UpdatePolicyBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<Policy>;
36
+ export declare const updatePolicy: (policyId: string, updatePolicyBody: UpdatePolicyBody, options?: SecondParameter<typeof cdpApiClient<Policy>>) => Promise<Policy>;
37
37
  export type ListPoliciesResult = NonNullable<Awaited<ReturnType<typeof listPolicies>>>;
38
38
  export type CreatePolicyResult = NonNullable<Awaited<ReturnType<typeof createPolicy>>>;
39
39
  export type GetPolicyByIdResult = NonNullable<Awaited<ReturnType<typeof getPolicyById>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"policy-engine.d.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,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC;AACzF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"policy-engine.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/policy-engine/policy-engine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,MAAM,EACN,gBAAgB,EACjB,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,KAAK,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/E;;;;GAIG;AACH,eAAO,MAAM,YAAY,GACvB,SAAS,kBAAkB,EAC3B,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC,6BAMhE,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,YAAY,GACvB,kBAAkB,gBAAgB,EAClC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,oBAWvD,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,aAAa,GACxB,UAAU,MAAM,EAChB,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,oBAMvD,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,YAAY,GACvB,UAAU,MAAM,EAChB,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC,kBAMrD,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,YAAY,GACvB,UAAU,MAAM,EAChB,kBAAkB,gBAAgB,EAClC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,oBAWvD,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC;AACzF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v7.6.0 🍺
2
+ * Generated by orval v7.21.0 🍺
3
3
  * Do not edit manually.
4
4
  * Coinbase Developer Platform APIs
5
5
  * The Coinbase Developer Platform APIs - leading the world's transition onchain.
@@ -15,42 +15,42 @@ The response is paginated, and by default, returns 20 accounts per page.
15
15
  If a name is provided, the response will contain only the account with that name.
16
16
  * @summary List Solana accounts or get account by name
17
17
  */
18
- export declare const listSolanaAccounts: (params?: ListSolanaAccountsParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<ListSolanaAccounts200>;
18
+ export declare const listSolanaAccounts: (params?: ListSolanaAccountsParams, options?: SecondParameter<typeof cdpApiClient<ListSolanaAccounts200>>) => Promise<ListSolanaAccounts200>;
19
19
  /**
20
20
  * Creates a new Solana account.
21
21
  * @summary Create a Solana account
22
22
  */
23
- export declare const createSolanaAccount: (createSolanaAccountBody?: CreateSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SolanaAccount>;
23
+ export declare const createSolanaAccount: (createSolanaAccountBody?: CreateSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient<SolanaAccount>>) => Promise<SolanaAccount>;
24
24
  /**
25
25
  * Gets a Solana account by its address.
26
26
  * @summary Get a Solana account by address
27
27
  */
28
- export declare const getSolanaAccount: (address: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<SolanaAccount>;
28
+ export declare const getSolanaAccount: (address: string, options?: SecondParameter<typeof cdpApiClient<SolanaAccount>>) => Promise<SolanaAccount>;
29
29
  /**
30
30
  * Updates an existing Solana account. Use this to update the account's name or account-level policy.
31
31
  * @summary Update a Solana account
32
32
  */
33
- export declare const updateSolanaAccount: (address: string, updateSolanaAccountBody: UpdateSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SolanaAccount>;
33
+ export declare const updateSolanaAccount: (address: string, updateSolanaAccountBody: UpdateSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient<SolanaAccount>>) => Promise<SolanaAccount>;
34
34
  /**
35
35
  * Gets a Solana account by its name.
36
36
  * @summary Get a Solana account by name
37
37
  */
38
- export declare const getSolanaAccountByName: (name: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<SolanaAccount>;
38
+ export declare const getSolanaAccountByName: (name: string, options?: SecondParameter<typeof cdpApiClient<SolanaAccount>>) => Promise<SolanaAccount>;
39
39
  /**
40
40
  * Import an existing Solana account into the developer's CDP Project. This API should be called from the [CDP SDK](https://github.com/coinbase/cdp-sdk) to ensure that the associated private key is properly encrypted.
41
41
  * @summary Import a Solana account
42
42
  */
43
- export declare const importSolanaAccount: (importSolanaAccountBody: ImportSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SolanaAccount>;
43
+ export declare const importSolanaAccount: (importSolanaAccountBody: ImportSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient<SolanaAccount>>) => Promise<SolanaAccount>;
44
44
  /**
45
45
  * Export an existing Solana account's private key. It is important to store the private key in a secure place after it's exported.
46
46
  * @summary Export an Solana account
47
47
  */
48
- export declare const exportSolanaAccount: (address: string, exportSolanaAccountBody: ExportSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<ExportSolanaAccount200>;
48
+ export declare const exportSolanaAccount: (address: string, exportSolanaAccountBody: ExportSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient<ExportSolanaAccount200>>) => Promise<ExportSolanaAccount200>;
49
49
  /**
50
50
  * Export an existing Solana account's private key by its name. It is important to store the private key in a secure place after it's exported.
51
51
  * @summary Export a Solana account by name
52
52
  */
53
- export declare const exportSolanaAccountByName: (name: string, exportSolanaAccountByNameBody: ExportSolanaAccountByNameBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<ExportSolanaAccountByName200>;
53
+ export declare const exportSolanaAccountByName: (name: string, exportSolanaAccountByNameBody: ExportSolanaAccountByNameBody, options?: SecondParameter<typeof cdpApiClient<ExportSolanaAccountByName200>>) => Promise<ExportSolanaAccountByName200>;
54
54
  /**
55
55
  * Signs a transaction with the given Solana account.
56
56
  The unsigned transaction should be serialized into a byte array and then encoded as base64.
@@ -64,14 +64,14 @@ The following transaction types are supported:
64
64
  The developer is responsible for ensuring that the unsigned transaction is valid, as the API will not validate the transaction.
65
65
  * @summary Sign a transaction
66
66
  */
67
- export declare const signSolanaTransaction: (address: string, signSolanaTransactionBody: SignSolanaTransactionBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SignSolanaTransaction200>;
67
+ export declare const signSolanaTransaction: (address: string, signSolanaTransactionBody: SignSolanaTransactionBody, options?: SecondParameter<typeof cdpApiClient<SignSolanaTransaction200>>) => Promise<SignSolanaTransaction200>;
68
68
  /**
69
69
  * Signs an arbitrary message with the given Solana account.
70
70
 
71
71
  **WARNING:** Never sign a message that you didn't generate, as it can be an arbitrary transaction. For example, it might send all of your funds to an attacker.
72
72
  * @summary Sign a message
73
73
  */
74
- export declare const signSolanaMessage: (address: string, signSolanaMessageBody: SignSolanaMessageBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SignSolanaMessage200>;
74
+ export declare const signSolanaMessage: (address: string, signSolanaMessageBody: SignSolanaMessageBody, options?: SecondParameter<typeof cdpApiClient<SignSolanaMessage200>>) => Promise<SignSolanaMessage200>;
75
75
  /**
76
76
  * Signs and sends a single Solana transaction using multiple Solana accounts. The transaction may contain contain several instructions, each of which may require signatures from different account keys.
77
77
 
@@ -96,7 +96,7 @@ The following Solana networks are supported:
96
96
  The developer is responsible for ensuring that the unsigned transaction is valid, as the API will not validate the transaction.
97
97
  * @summary Send a Solana transaction
98
98
  */
99
- export declare const sendSolanaTransaction: (sendSolanaTransactionBody: SendSolanaTransactionBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<SendSolanaTransaction200>;
99
+ export declare const sendSolanaTransaction: (sendSolanaTransactionBody: SendSolanaTransactionBody, options?: SecondParameter<typeof cdpApiClient<SendSolanaTransaction200>>) => Promise<SendSolanaTransaction200>;
100
100
  export type ListSolanaAccountsResult = NonNullable<Awaited<ReturnType<typeof listSolanaAccounts>>>;
101
101
  export type CreateSolanaAccountResult = NonNullable<Awaited<ReturnType<typeof createSolanaAccount>>>;
102
102
  export type GetSolanaAccountResult = NonNullable<Awaited<ReturnType<typeof getSolanaAccount>>>;