@coinbase/cdp-sdk 1.49.2 → 1.51.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 (546) hide show
  1. package/README.md +39 -29
  2. package/_cjs/accounts/evm/chainToNetworkMapper.js.map +1 -1
  3. package/_cjs/accounts/evm/eip6492.js.map +1 -1
  4. package/_cjs/accounts/evm/getBaseNodeRpcUrl.js.map +1 -1
  5. package/_cjs/accounts/evm/networkCapabilities.js.map +1 -1
  6. package/_cjs/accounts/evm/networkToChainResolver.js.map +1 -1
  7. package/_cjs/accounts/evm/resolveViemClients.js.map +1 -1
  8. package/_cjs/accounts/evm/toEvmDelegatedAccount.js.map +1 -1
  9. package/_cjs/accounts/evm/toEvmServerAccount.js.map +1 -1
  10. package/_cjs/accounts/evm/toEvmSmartAccount.js.map +1 -1
  11. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  12. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  13. package/_cjs/accounts/evm/types.js.map +1 -1
  14. package/_cjs/accounts/solana/toSolanaAccount.js.map +1 -1
  15. package/_cjs/accounts/solana/types.js.map +1 -1
  16. package/_cjs/actions/evm/getUserOperation.js.map +1 -1
  17. package/_cjs/actions/evm/listSpendPermissions.js.map +1 -1
  18. package/_cjs/actions/evm/listTokenBalances.js.map +1 -1
  19. package/_cjs/actions/evm/requestFaucet.js.map +1 -1
  20. package/_cjs/actions/evm/sendTransaction.js.map +1 -1
  21. package/_cjs/actions/evm/sendUserOperation.js.map +1 -1
  22. package/_cjs/actions/evm/signAndWrapTypedDataForSmartAccount.js.map +1 -1
  23. package/_cjs/actions/evm/spend-permissions/account.use.js.map +1 -1
  24. package/_cjs/actions/evm/spend-permissions/resolveSpendPermission.js.map +1 -1
  25. package/_cjs/actions/evm/spend-permissions/smartAccount.use.js.map +1 -1
  26. package/_cjs/actions/evm/spend-permissions/types.js.map +1 -1
  27. package/_cjs/actions/evm/swap/createSwapQuote.js.map +1 -1
  28. package/_cjs/actions/evm/swap/getSwapPrice.js.map +1 -1
  29. package/_cjs/actions/evm/swap/sendSwapOperation.js.map +1 -1
  30. package/_cjs/actions/evm/swap/sendSwapTransaction.js.map +1 -1
  31. package/_cjs/actions/evm/swap/types.js.map +1 -1
  32. package/_cjs/actions/evm/transfer/accountTransferStrategy.js.map +1 -1
  33. package/_cjs/actions/evm/transfer/smartAccountTransferStrategy.js.map +1 -1
  34. package/_cjs/actions/evm/transfer/transfer.js.map +1 -1
  35. package/_cjs/actions/evm/transfer/transferWithViem.js.map +1 -1
  36. package/_cjs/actions/evm/transfer/types.js.map +1 -1
  37. package/_cjs/actions/evm/transfer/utils.js.map +1 -1
  38. package/_cjs/actions/evm/types.js.map +1 -1
  39. package/_cjs/actions/evm/waitForEvmEip7702DelegationStatus.js.map +1 -1
  40. package/_cjs/actions/evm/waitForUserOperation.js.map +1 -1
  41. package/_cjs/actions/solana/constants.js.map +1 -1
  42. package/_cjs/actions/solana/requestFaucet.js.map +1 -1
  43. package/_cjs/actions/solana/rpc.js.map +1 -1
  44. package/_cjs/actions/solana/sendTransaction.js.map +1 -1
  45. package/_cjs/actions/solana/signMessage.js.map +1 -1
  46. package/_cjs/actions/solana/signTransaction.js.map +1 -1
  47. package/_cjs/actions/solana/transfer.js.map +1 -1
  48. package/_cjs/actions/solana/types.js.map +1 -1
  49. package/_cjs/actions/solana/utils.js.map +1 -1
  50. package/_cjs/actions/webhooks/createWebhookSubscription.js.map +1 -1
  51. package/_cjs/actions/webhooks/index.js.map +1 -1
  52. package/_cjs/analytics.js.map +1 -1
  53. package/_cjs/auth/errors.js.map +1 -1
  54. package/_cjs/auth/hooks/axios/index.js.map +1 -1
  55. package/_cjs/auth/hooks/axios/withAuth.js.map +1 -1
  56. package/_cjs/auth/index.js.map +1 -1
  57. package/_cjs/auth/utils/hash.js.map +1 -1
  58. package/_cjs/auth/utils/http.js.map +1 -1
  59. package/_cjs/auth/utils/index.js.map +1 -1
  60. package/_cjs/auth/utils/jwt.js.map +1 -1
  61. package/_cjs/auth/utils/ws.js.map +1 -1
  62. package/_cjs/client/cdp.js.map +1 -1
  63. package/_cjs/client/end-user/endUser.js +21 -42
  64. package/_cjs/client/end-user/endUser.js.map +1 -1
  65. package/_cjs/client/end-user/endUser.types.js.map +1 -1
  66. package/_cjs/client/end-user/toEndUserAccount.js +18 -43
  67. package/_cjs/client/end-user/toEndUserAccount.js.map +1 -1
  68. package/_cjs/client/evm/evm.js.map +1 -1
  69. package/_cjs/client/evm/evm.types.js.map +1 -1
  70. package/_cjs/client/policies/index.js.map +1 -1
  71. package/_cjs/client/policies/policies.js.map +1 -1
  72. package/_cjs/client/policies/policies.types.js.map +1 -1
  73. package/_cjs/client/solana/index.js.map +1 -1
  74. package/_cjs/client/solana/solana.js.map +1 -1
  75. package/_cjs/client/solana/solana.types.js.map +1 -1
  76. package/_cjs/client/webhooks/webhooks.js.map +1 -1
  77. package/_cjs/constants.js.map +1 -1
  78. package/_cjs/errors.js.map +1 -1
  79. package/_cjs/index.js.map +1 -1
  80. package/_cjs/openapi-client/cdpApiClient.js.map +1 -1
  81. package/_cjs/openapi-client/errors.js.map +1 -1
  82. package/_cjs/openapi-client/generated/accounts/accounts.js +50 -0
  83. package/_cjs/openapi-client/generated/accounts/accounts.js.map +1 -0
  84. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +526 -46
  85. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  86. package/_cjs/openapi-client/generated/deposit-destinations/deposit-destinations.js +34 -0
  87. package/_cjs/openapi-client/generated/deposit-destinations/deposit-destinations.js.map +1 -0
  88. package/_cjs/openapi-client/generated/end-user-account-management/end-user-account-management.js +132 -0
  89. package/_cjs/openapi-client/generated/end-user-account-management/end-user-account-management.js.map +1 -0
  90. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js +228 -74
  91. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
  92. package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.js +12 -12
  93. package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.js.map +1 -1
  94. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +10 -10
  95. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  96. package/_cjs/openapi-client/generated/evm-swaps/evm-swaps.js +2 -2
  97. package/_cjs/openapi-client/generated/evm-swaps/evm-swaps.js.map +1 -1
  98. package/_cjs/openapi-client/generated/evm-token-balances/evm-token-balances.js.map +1 -1
  99. package/_cjs/openapi-client/generated/faucets/faucets.js.map +1 -1
  100. package/_cjs/openapi-client/generated/onchain-data/onchain-data.js.map +1 -1
  101. package/_cjs/openapi-client/generated/onramp/onramp.js.map +1 -1
  102. package/_cjs/openapi-client/generated/payment-methods/payment-methods.js +28 -0
  103. package/_cjs/openapi-client/generated/payment-methods/payment-methods.js.map +1 -0
  104. package/_cjs/openapi-client/generated/policy-engine/policy-engine.js +4 -4
  105. package/_cjs/openapi-client/generated/policy-engine/policy-engine.js.map +1 -1
  106. package/_cjs/openapi-client/generated/solana-accounts/solana-accounts.js +11 -11
  107. package/_cjs/openapi-client/generated/solana-accounts/solana-accounts.js.map +1 -1
  108. package/_cjs/openapi-client/generated/solana-token-balances/solana-token-balances.js.map +1 -1
  109. package/_cjs/openapi-client/generated/sql-api/sql-api.js +1 -1
  110. package/_cjs/openapi-client/generated/sql-api/sql-api.js.map +1 -1
  111. package/_cjs/openapi-client/generated/transfers/transfers.js +87 -0
  112. package/_cjs/openapi-client/generated/transfers/transfers.js.map +1 -0
  113. package/_cjs/openapi-client/generated/webhooks/webhooks.js +1 -1
  114. package/_cjs/openapi-client/generated/webhooks/webhooks.js.map +1 -1
  115. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js +3 -3
  116. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -1
  117. package/_cjs/openapi-client/index.js +7 -3
  118. package/_cjs/openapi-client/index.js.map +1 -1
  119. package/_cjs/policies/evmSchema.js +54 -1
  120. package/_cjs/policies/evmSchema.js.map +1 -1
  121. package/_cjs/policies/solanaSchema.js.map +1 -1
  122. package/_cjs/policies/types.js +2 -0
  123. package/_cjs/policies/types.js.map +1 -1
  124. package/_cjs/spend-permissions/constants.js.map +1 -1
  125. package/_cjs/spend-permissions/types.js.map +1 -1
  126. package/_cjs/spend-permissions/utils.js.map +1 -1
  127. package/_cjs/types/calls.js.map +1 -1
  128. package/_cjs/types/contract.js.map +1 -1
  129. package/_cjs/types/misc.js.map +1 -1
  130. package/_cjs/types/multicall.js.map +1 -1
  131. package/_cjs/types/utils.js.map +1 -1
  132. package/_cjs/utils/bigint.js.map +1 -1
  133. package/_cjs/utils/export.js.map +1 -1
  134. package/_cjs/utils/hash.js.map +1 -1
  135. package/_cjs/utils/serializeTransaction.js.map +1 -1
  136. package/_cjs/utils/sortKeys.js.map +1 -1
  137. package/_cjs/utils/uuidV4.js.map +1 -1
  138. package/_cjs/utils/wait.js.map +1 -1
  139. package/_cjs/version.js +1 -1
  140. package/_cjs/version.js.map +1 -1
  141. package/_esm/accounts/evm/chainToNetworkMapper.js.map +1 -1
  142. package/_esm/accounts/evm/eip6492.js.map +1 -1
  143. package/_esm/accounts/evm/getBaseNodeRpcUrl.js.map +1 -1
  144. package/_esm/accounts/evm/networkCapabilities.js.map +1 -1
  145. package/_esm/accounts/evm/networkToChainResolver.js.map +1 -1
  146. package/_esm/accounts/evm/resolveViemClients.js.map +1 -1
  147. package/_esm/accounts/evm/toEvmDelegatedAccount.js.map +1 -1
  148. package/_esm/accounts/evm/toEvmServerAccount.js.map +1 -1
  149. package/_esm/accounts/evm/toEvmSmartAccount.js.map +1 -1
  150. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  151. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  152. package/_esm/accounts/evm/types.js.map +1 -1
  153. package/_esm/accounts/solana/toSolanaAccount.js.map +1 -1
  154. package/_esm/accounts/solana/types.js.map +1 -1
  155. package/_esm/actions/evm/getUserOperation.js.map +1 -1
  156. package/_esm/actions/evm/listSpendPermissions.js.map +1 -1
  157. package/_esm/actions/evm/listTokenBalances.js.map +1 -1
  158. package/_esm/actions/evm/requestFaucet.js.map +1 -1
  159. package/_esm/actions/evm/sendTransaction.js.map +1 -1
  160. package/_esm/actions/evm/sendUserOperation.js.map +1 -1
  161. package/_esm/actions/evm/signAndWrapTypedDataForSmartAccount.js.map +1 -1
  162. package/_esm/actions/evm/spend-permissions/account.use.js.map +1 -1
  163. package/_esm/actions/evm/spend-permissions/resolveSpendPermission.js.map +1 -1
  164. package/_esm/actions/evm/spend-permissions/smartAccount.use.js.map +1 -1
  165. package/_esm/actions/evm/spend-permissions/types.js.map +1 -1
  166. package/_esm/actions/evm/swap/createSwapQuote.js.map +1 -1
  167. package/_esm/actions/evm/swap/getSwapPrice.js.map +1 -1
  168. package/_esm/actions/evm/swap/sendSwapOperation.js.map +1 -1
  169. package/_esm/actions/evm/swap/sendSwapTransaction.js.map +1 -1
  170. package/_esm/actions/evm/swap/types.js.map +1 -1
  171. package/_esm/actions/evm/transfer/accountTransferStrategy.js.map +1 -1
  172. package/_esm/actions/evm/transfer/smartAccountTransferStrategy.js.map +1 -1
  173. package/_esm/actions/evm/transfer/transfer.js.map +1 -1
  174. package/_esm/actions/evm/transfer/transferWithViem.js.map +1 -1
  175. package/_esm/actions/evm/transfer/types.js.map +1 -1
  176. package/_esm/actions/evm/transfer/utils.js.map +1 -1
  177. package/_esm/actions/evm/types.js.map +1 -1
  178. package/_esm/actions/evm/waitForEvmEip7702DelegationStatus.js.map +1 -1
  179. package/_esm/actions/evm/waitForUserOperation.js.map +1 -1
  180. package/_esm/actions/solana/constants.js.map +1 -1
  181. package/_esm/actions/solana/requestFaucet.js.map +1 -1
  182. package/_esm/actions/solana/rpc.js.map +1 -1
  183. package/_esm/actions/solana/sendTransaction.js.map +1 -1
  184. package/_esm/actions/solana/signMessage.js.map +1 -1
  185. package/_esm/actions/solana/signTransaction.js.map +1 -1
  186. package/_esm/actions/solana/transfer.js.map +1 -1
  187. package/_esm/actions/solana/types.js.map +1 -1
  188. package/_esm/actions/solana/utils.js.map +1 -1
  189. package/_esm/actions/webhooks/createWebhookSubscription.js.map +1 -1
  190. package/_esm/actions/webhooks/index.js.map +1 -1
  191. package/_esm/analytics.js.map +1 -1
  192. package/_esm/auth/errors.js.map +1 -1
  193. package/_esm/auth/hooks/axios/index.js.map +1 -1
  194. package/_esm/auth/hooks/axios/withAuth.js.map +1 -1
  195. package/_esm/auth/index.js.map +1 -1
  196. package/_esm/auth/utils/hash.js.map +1 -1
  197. package/_esm/auth/utils/http.js.map +1 -1
  198. package/_esm/auth/utils/index.js.map +1 -1
  199. package/_esm/auth/utils/jwt.js.map +1 -1
  200. package/_esm/auth/utils/ws.js.map +1 -1
  201. package/_esm/client/cdp.js.map +1 -1
  202. package/_esm/client/end-user/endUser.js +21 -42
  203. package/_esm/client/end-user/endUser.js.map +1 -1
  204. package/_esm/client/end-user/endUser.types.js.map +1 -1
  205. package/_esm/client/end-user/toEndUserAccount.js +18 -43
  206. package/_esm/client/end-user/toEndUserAccount.js.map +1 -1
  207. package/_esm/client/evm/evm.js.map +1 -1
  208. package/_esm/client/evm/evm.types.js.map +1 -1
  209. package/_esm/client/policies/index.js.map +1 -1
  210. package/_esm/client/policies/policies.js.map +1 -1
  211. package/_esm/client/policies/policies.types.js.map +1 -1
  212. package/_esm/client/solana/index.js.map +1 -1
  213. package/_esm/client/solana/solana.js.map +1 -1
  214. package/_esm/client/solana/solana.types.js.map +1 -1
  215. package/_esm/client/webhooks/webhooks.js.map +1 -1
  216. package/_esm/constants.js.map +1 -1
  217. package/_esm/errors.js.map +1 -1
  218. package/_esm/index.js.map +1 -1
  219. package/_esm/openapi-client/cdpApiClient.js.map +1 -1
  220. package/_esm/openapi-client/errors.js.map +1 -1
  221. package/_esm/openapi-client/generated/accounts/accounts.js +42 -0
  222. package/_esm/openapi-client/generated/accounts/accounts.js.map +1 -0
  223. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +522 -43
  224. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  225. package/_esm/openapi-client/generated/deposit-destinations/deposit-destinations.js +28 -0
  226. package/_esm/openapi-client/generated/deposit-destinations/deposit-destinations.js.map +1 -0
  227. package/_esm/openapi-client/generated/end-user-account-management/end-user-account-management.js +120 -0
  228. package/_esm/openapi-client/generated/end-user-account-management/end-user-account-management.js.map +1 -0
  229. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js +211 -64
  230. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
  231. package/_esm/openapi-client/generated/evm-accounts/evm-accounts.js +12 -12
  232. package/_esm/openapi-client/generated/evm-accounts/evm-accounts.js.map +1 -1
  233. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +10 -10
  234. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  235. package/_esm/openapi-client/generated/evm-swaps/evm-swaps.js +2 -2
  236. package/_esm/openapi-client/generated/evm-swaps/evm-swaps.js.map +1 -1
  237. package/_esm/openapi-client/generated/evm-token-balances/evm-token-balances.js.map +1 -1
  238. package/_esm/openapi-client/generated/faucets/faucets.js.map +1 -1
  239. package/_esm/openapi-client/generated/onchain-data/onchain-data.js.map +1 -1
  240. package/_esm/openapi-client/generated/onramp/onramp.js.map +1 -1
  241. package/_esm/openapi-client/generated/payment-methods/payment-methods.js +23 -0
  242. package/_esm/openapi-client/generated/payment-methods/payment-methods.js.map +1 -0
  243. package/_esm/openapi-client/generated/policy-engine/policy-engine.js +4 -4
  244. package/_esm/openapi-client/generated/policy-engine/policy-engine.js.map +1 -1
  245. package/_esm/openapi-client/generated/solana-accounts/solana-accounts.js +11 -11
  246. package/_esm/openapi-client/generated/solana-accounts/solana-accounts.js.map +1 -1
  247. package/_esm/openapi-client/generated/solana-token-balances/solana-token-balances.js.map +1 -1
  248. package/_esm/openapi-client/generated/sql-api/sql-api.js +1 -1
  249. package/_esm/openapi-client/generated/sql-api/sql-api.js.map +1 -1
  250. package/_esm/openapi-client/generated/transfers/transfers.js +79 -0
  251. package/_esm/openapi-client/generated/transfers/transfers.js.map +1 -0
  252. package/_esm/openapi-client/generated/webhooks/webhooks.js +1 -1
  253. package/_esm/openapi-client/generated/webhooks/webhooks.js.map +1 -1
  254. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js +3 -3
  255. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -1
  256. package/_esm/openapi-client/index.js +7 -3
  257. package/_esm/openapi-client/index.js.map +1 -1
  258. package/_esm/policies/evmSchema.js +52 -0
  259. package/_esm/policies/evmSchema.js.map +1 -1
  260. package/_esm/policies/solanaSchema.js.map +1 -1
  261. package/_esm/policies/types.js +3 -1
  262. package/_esm/policies/types.js.map +1 -1
  263. package/_esm/spend-permissions/constants.js.map +1 -1
  264. package/_esm/spend-permissions/types.js.map +1 -1
  265. package/_esm/spend-permissions/utils.js.map +1 -1
  266. package/_esm/types/calls.js.map +1 -1
  267. package/_esm/types/contract.js.map +1 -1
  268. package/_esm/types/misc.js.map +1 -1
  269. package/_esm/types/multicall.js.map +1 -1
  270. package/_esm/types/utils.js.map +1 -1
  271. package/_esm/utils/bigint.js.map +1 -1
  272. package/_esm/utils/export.js.map +1 -1
  273. package/_esm/utils/hash.js.map +1 -1
  274. package/_esm/utils/serializeTransaction.js.map +1 -1
  275. package/_esm/utils/sortKeys.js.map +1 -1
  276. package/_esm/utils/uuidV4.js.map +1 -1
  277. package/_esm/utils/wait.js.map +1 -1
  278. package/_esm/version.js +1 -1
  279. package/_esm/version.js.map +1 -1
  280. package/_types/accounts/evm/chainToNetworkMapper.d.ts.map +1 -1
  281. package/_types/accounts/evm/eip6492.d.ts.map +1 -1
  282. package/_types/accounts/evm/getBaseNodeRpcUrl.d.ts.map +1 -1
  283. package/_types/accounts/evm/networkCapabilities.d.ts.map +1 -1
  284. package/_types/accounts/evm/networkToChainResolver.d.ts.map +1 -1
  285. package/_types/accounts/evm/resolveViemClients.d.ts.map +1 -1
  286. package/_types/accounts/evm/toEvmDelegatedAccount.d.ts.map +1 -1
  287. package/_types/accounts/evm/toEvmServerAccount.d.ts.map +1 -1
  288. package/_types/accounts/evm/toEvmSmartAccount.d.ts.map +1 -1
  289. package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts.map +1 -1
  290. package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts.map +1 -1
  291. package/_types/accounts/evm/types.d.ts.map +1 -1
  292. package/_types/accounts/solana/toSolanaAccount.d.ts.map +1 -1
  293. package/_types/accounts/solana/types.d.ts.map +1 -1
  294. package/_types/actions/evm/getUserOperation.d.ts.map +1 -1
  295. package/_types/actions/evm/listSpendPermissions.d.ts.map +1 -1
  296. package/_types/actions/evm/listTokenBalances.d.ts.map +1 -1
  297. package/_types/actions/evm/requestFaucet.d.ts.map +1 -1
  298. package/_types/actions/evm/sendTransaction.d.ts.map +1 -1
  299. package/_types/actions/evm/sendUserOperation.d.ts.map +1 -1
  300. package/_types/actions/evm/signAndWrapTypedDataForSmartAccount.d.ts.map +1 -1
  301. package/_types/actions/evm/spend-permissions/account.use.d.ts.map +1 -1
  302. package/_types/actions/evm/spend-permissions/resolveSpendPermission.d.ts.map +1 -1
  303. package/_types/actions/evm/spend-permissions/smartAccount.use.d.ts.map +1 -1
  304. package/_types/actions/evm/spend-permissions/types.d.ts.map +1 -1
  305. package/_types/actions/evm/swap/createSwapQuote.d.ts.map +1 -1
  306. package/_types/actions/evm/swap/getSwapPrice.d.ts.map +1 -1
  307. package/_types/actions/evm/swap/sendSwapOperation.d.ts.map +1 -1
  308. package/_types/actions/evm/swap/sendSwapTransaction.d.ts.map +1 -1
  309. package/_types/actions/evm/swap/types.d.ts.map +1 -1
  310. package/_types/actions/evm/transfer/accountTransferStrategy.d.ts.map +1 -1
  311. package/_types/actions/evm/transfer/smartAccountTransferStrategy.d.ts.map +1 -1
  312. package/_types/actions/evm/transfer/transfer.d.ts.map +1 -1
  313. package/_types/actions/evm/transfer/transferWithViem.d.ts.map +1 -1
  314. package/_types/actions/evm/transfer/types.d.ts.map +1 -1
  315. package/_types/actions/evm/transfer/utils.d.ts.map +1 -1
  316. package/_types/actions/evm/types.d.ts.map +1 -1
  317. package/_types/actions/evm/waitForEvmEip7702DelegationStatus.d.ts.map +1 -1
  318. package/_types/actions/evm/waitForUserOperation.d.ts.map +1 -1
  319. package/_types/actions/solana/constants.d.ts.map +1 -1
  320. package/_types/actions/solana/requestFaucet.d.ts.map +1 -1
  321. package/_types/actions/solana/rpc.d.ts.map +1 -1
  322. package/_types/actions/solana/sendTransaction.d.ts.map +1 -1
  323. package/_types/actions/solana/signMessage.d.ts.map +1 -1
  324. package/_types/actions/solana/signTransaction.d.ts.map +1 -1
  325. package/_types/actions/solana/transfer.d.ts.map +1 -1
  326. package/_types/actions/solana/types.d.ts.map +1 -1
  327. package/_types/actions/solana/utils.d.ts.map +1 -1
  328. package/_types/actions/webhooks/createWebhookSubscription.d.ts.map +1 -1
  329. package/_types/actions/webhooks/index.d.ts.map +1 -1
  330. package/_types/analytics.d.ts.map +1 -1
  331. package/_types/auth/errors.d.ts.map +1 -1
  332. package/_types/auth/hooks/axios/index.d.ts.map +1 -1
  333. package/_types/auth/hooks/axios/withAuth.d.ts.map +1 -1
  334. package/_types/auth/index.d.ts.map +1 -1
  335. package/_types/auth/utils/hash.d.ts.map +1 -1
  336. package/_types/auth/utils/http.d.ts.map +1 -1
  337. package/_types/auth/utils/index.d.ts.map +1 -1
  338. package/_types/auth/utils/jwt.d.ts.map +1 -1
  339. package/_types/auth/utils/ws.d.ts.map +1 -1
  340. package/_types/client/cdp.d.ts.map +1 -1
  341. package/_types/client/end-user/endUser.d.ts.map +1 -1
  342. package/_types/client/end-user/endUser.types.d.ts +63 -4
  343. package/_types/client/end-user/endUser.types.d.ts.map +1 -1
  344. package/_types/client/end-user/toEndUserAccount.d.ts.map +1 -1
  345. package/_types/client/evm/evm.d.ts.map +1 -1
  346. package/_types/client/evm/evm.types.d.ts.map +1 -1
  347. package/_types/client/policies/index.d.ts.map +1 -1
  348. package/_types/client/policies/policies.d.ts.map +1 -1
  349. package/_types/client/policies/policies.types.d.ts.map +1 -1
  350. package/_types/client/solana/index.d.ts.map +1 -1
  351. package/_types/client/solana/solana.d.ts.map +1 -1
  352. package/_types/client/solana/solana.types.d.ts.map +1 -1
  353. package/_types/client/webhooks/webhooks.d.ts.map +1 -1
  354. package/_types/constants.d.ts.map +1 -1
  355. package/_types/errors.d.ts.map +1 -1
  356. package/_types/index.d.ts.map +1 -1
  357. package/_types/openapi-client/cdpApiClient.d.ts.map +1 -1
  358. package/_types/openapi-client/errors.d.ts.map +1 -1
  359. package/_types/openapi-client/generated/accounts/accounts.d.ts +42 -0
  360. package/_types/openapi-client/generated/accounts/accounts.d.ts.map +1 -0
  361. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +1933 -269
  362. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
  363. package/_types/openapi-client/generated/deposit-destinations/deposit-destinations.d.ts +30 -0
  364. package/_types/openapi-client/generated/deposit-destinations/deposit-destinations.d.ts.map +1 -0
  365. package/_types/openapi-client/generated/end-user-account-management/end-user-account-management.d.ts +91 -0
  366. package/_types/openapi-client/generated/end-user-account-management/end-user-account-management.d.ts.map +1 -0
  367. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts +142 -60
  368. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts.map +1 -1
  369. package/_types/openapi-client/generated/evm-accounts/evm-accounts.d.ts +12 -12
  370. package/_types/openapi-client/generated/evm-accounts/evm-accounts.d.ts.map +1 -1
  371. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts +10 -10
  372. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts.map +1 -1
  373. package/_types/openapi-client/generated/evm-swaps/evm-swaps.d.ts +2 -2
  374. package/_types/openapi-client/generated/evm-swaps/evm-swaps.d.ts.map +1 -1
  375. package/_types/openapi-client/generated/evm-token-balances/evm-token-balances.d.ts.map +1 -1
  376. package/_types/openapi-client/generated/faucets/faucets.d.ts.map +1 -1
  377. package/_types/openapi-client/generated/onchain-data/onchain-data.d.ts.map +1 -1
  378. package/_types/openapi-client/generated/onramp/onramp.d.ts.map +1 -1
  379. package/_types/openapi-client/generated/payment-methods/payment-methods.d.ts +31 -0
  380. package/_types/openapi-client/generated/payment-methods/payment-methods.d.ts.map +1 -0
  381. package/_types/openapi-client/generated/policy-engine/policy-engine.d.ts +4 -4
  382. package/_types/openapi-client/generated/policy-engine/policy-engine.d.ts.map +1 -1
  383. package/_types/openapi-client/generated/solana-accounts/solana-accounts.d.ts +11 -11
  384. package/_types/openapi-client/generated/solana-accounts/solana-accounts.d.ts.map +1 -1
  385. package/_types/openapi-client/generated/solana-token-balances/solana-token-balances.d.ts.map +1 -1
  386. package/_types/openapi-client/generated/sql-api/sql-api.d.ts +1 -1
  387. package/_types/openapi-client/generated/sql-api/sql-api.d.ts.map +1 -1
  388. package/_types/openapi-client/generated/transfers/transfers.d.ts +74 -0
  389. package/_types/openapi-client/generated/transfers/transfers.d.ts.map +1 -0
  390. package/_types/openapi-client/generated/webhooks/webhooks.d.ts +1 -1
  391. package/_types/openapi-client/generated/webhooks/webhooks.d.ts.map +1 -1
  392. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts +3 -3
  393. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts.map +1 -1
  394. package/_types/openapi-client/index.d.ts +14 -10
  395. package/_types/openapi-client/index.d.ts.map +1 -1
  396. package/_types/policies/evmSchema.d.ts +884 -39
  397. package/_types/policies/evmSchema.d.ts.map +1 -1
  398. package/_types/policies/solanaSchema.d.ts +20 -20
  399. package/_types/policies/solanaSchema.d.ts.map +1 -1
  400. package/_types/policies/types.d.ts +1996 -629
  401. package/_types/policies/types.d.ts.map +1 -1
  402. package/_types/spend-permissions/constants.d.ts.map +1 -1
  403. package/_types/spend-permissions/types.d.ts.map +1 -1
  404. package/_types/spend-permissions/utils.d.ts.map +1 -1
  405. package/_types/types/calls.d.ts.map +1 -1
  406. package/_types/types/contract.d.ts.map +1 -1
  407. package/_types/types/misc.d.ts.map +1 -1
  408. package/_types/types/multicall.d.ts.map +1 -1
  409. package/_types/types/utils.d.ts.map +1 -1
  410. package/_types/utils/bigint.d.ts.map +1 -1
  411. package/_types/utils/export.d.ts.map +1 -1
  412. package/_types/utils/hash.d.ts.map +1 -1
  413. package/_types/utils/serializeTransaction.d.ts.map +1 -1
  414. package/_types/utils/sortKeys.d.ts.map +1 -1
  415. package/_types/utils/uuidV4.d.ts.map +1 -1
  416. package/_types/utils/wait.d.ts.map +1 -1
  417. package/_types/version.d.ts +1 -1
  418. package/_types/version.d.ts.map +1 -1
  419. package/package.json +24 -3
  420. package/{auth → src/auth}/README.md +3 -3
  421. package/{client → src/client}/end-user/endUser.ts +113 -69
  422. package/{client → src/client}/end-user/endUser.types.ts +63 -4
  423. package/{client → src/client}/end-user/toEndUserAccount.ts +103 -64
  424. package/src/openapi-client/generated/accounts/accounts.ts +103 -0
  425. package/{openapi-client → src/openapi-client}/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +2368 -363
  426. package/src/openapi-client/generated/deposit-destinations/deposit-destinations.ts +72 -0
  427. package/{openapi-client/generated/end-user-accounts/end-user-accounts.ts → src/openapi-client/generated/end-user-account-management/end-user-account-management.ts} +6 -6
  428. package/{openapi-client/generated/embedded-wallets/embedded-wallets.ts → src/openapi-client/generated/end-user-accounts/end-user-accounts.ts} +11 -11
  429. package/{openapi-client → src/openapi-client}/generated/evm-accounts/evm-accounts.ts +12 -12
  430. package/{openapi-client → src/openapi-client}/generated/evm-smart-accounts/evm-smart-accounts.ts +10 -10
  431. package/{openapi-client → src/openapi-client}/generated/evm-swaps/evm-swaps.ts +2 -2
  432. package/src/openapi-client/generated/payment-methods/payment-methods.ts +53 -0
  433. package/{openapi-client → src/openapi-client}/generated/policy-engine/policy-engine.ts +4 -4
  434. package/{openapi-client → src/openapi-client}/generated/solana-accounts/solana-accounts.ts +11 -11
  435. package/{openapi-client → src/openapi-client}/generated/sql-api/sql-api.ts +1 -1
  436. package/src/openapi-client/generated/transfers/transfers.ts +131 -0
  437. package/{openapi-client → src/openapi-client}/generated/webhooks/webhooks.ts +1 -1
  438. package/{openapi-client → src/openapi-client}/generated/x402-facilitator/x402-facilitator.ts +3 -3
  439. package/{openapi-client → src/openapi-client}/index.ts +7 -3
  440. package/{policies → src/policies}/evmSchema.ts +63 -0
  441. package/{policies → src/policies}/types.ts +4 -0
  442. package/src/version.ts +1 -0
  443. package/CHANGELOG.md +0 -631
  444. package/_cjs/openapi-client/generated/embedded-wallets/embedded-wallets.js +0 -286
  445. package/_cjs/openapi-client/generated/embedded-wallets/embedded-wallets.js.map +0 -1
  446. package/_esm/openapi-client/generated/embedded-wallets/embedded-wallets.js +0 -267
  447. package/_esm/openapi-client/generated/embedded-wallets/embedded-wallets.js.map +0 -1
  448. package/_types/openapi-client/generated/embedded-wallets/embedded-wallets.d.ts +0 -173
  449. package/_types/openapi-client/generated/embedded-wallets/embedded-wallets.d.ts.map +0 -1
  450. package/version.ts +0 -1
  451. /package/{accounts → src/accounts}/evm/chainToNetworkMapper.ts +0 -0
  452. /package/{accounts → src/accounts}/evm/eip6492.ts +0 -0
  453. /package/{accounts → src/accounts}/evm/getBaseNodeRpcUrl.ts +0 -0
  454. /package/{accounts → src/accounts}/evm/networkCapabilities.ts +0 -0
  455. /package/{accounts → src/accounts}/evm/networkToChainResolver.ts +0 -0
  456. /package/{accounts → src/accounts}/evm/resolveViemClients.ts +0 -0
  457. /package/{accounts → src/accounts}/evm/toEvmDelegatedAccount.ts +0 -0
  458. /package/{accounts → src/accounts}/evm/toEvmServerAccount.ts +0 -0
  459. /package/{accounts → src/accounts}/evm/toEvmSmartAccount.ts +0 -0
  460. /package/{accounts → src/accounts}/evm/toNetworkScopedEvmServerAccount.ts +0 -0
  461. /package/{accounts → src/accounts}/evm/toNetworkScopedEvmSmartAccount.ts +0 -0
  462. /package/{accounts → src/accounts}/evm/types.ts +0 -0
  463. /package/{accounts → src/accounts}/solana/toSolanaAccount.ts +0 -0
  464. /package/{accounts → src/accounts}/solana/types.ts +0 -0
  465. /package/{actions → src/actions}/evm/getUserOperation.ts +0 -0
  466. /package/{actions → src/actions}/evm/listSpendPermissions.ts +0 -0
  467. /package/{actions → src/actions}/evm/listTokenBalances.ts +0 -0
  468. /package/{actions → src/actions}/evm/requestFaucet.ts +0 -0
  469. /package/{actions → src/actions}/evm/sendTransaction.ts +0 -0
  470. /package/{actions → src/actions}/evm/sendUserOperation.ts +0 -0
  471. /package/{actions → src/actions}/evm/signAndWrapTypedDataForSmartAccount.ts +0 -0
  472. /package/{actions → src/actions}/evm/spend-permissions/account.use.ts +0 -0
  473. /package/{actions → src/actions}/evm/spend-permissions/resolveSpendPermission.ts +0 -0
  474. /package/{actions → src/actions}/evm/spend-permissions/smartAccount.use.ts +0 -0
  475. /package/{actions → src/actions}/evm/spend-permissions/types.ts +0 -0
  476. /package/{actions → src/actions}/evm/swap/createSwapQuote.ts +0 -0
  477. /package/{actions → src/actions}/evm/swap/getSwapPrice.ts +0 -0
  478. /package/{actions → src/actions}/evm/swap/sendSwapOperation.ts +0 -0
  479. /package/{actions → src/actions}/evm/swap/sendSwapTransaction.ts +0 -0
  480. /package/{actions → src/actions}/evm/swap/types.ts +0 -0
  481. /package/{actions → src/actions}/evm/transfer/accountTransferStrategy.ts +0 -0
  482. /package/{actions → src/actions}/evm/transfer/smartAccountTransferStrategy.ts +0 -0
  483. /package/{actions → src/actions}/evm/transfer/transfer.ts +0 -0
  484. /package/{actions → src/actions}/evm/transfer/transferWithViem.ts +0 -0
  485. /package/{actions → src/actions}/evm/transfer/types.ts +0 -0
  486. /package/{actions → src/actions}/evm/transfer/utils.ts +0 -0
  487. /package/{actions → src/actions}/evm/types.ts +0 -0
  488. /package/{actions → src/actions}/evm/waitForEvmEip7702DelegationStatus.ts +0 -0
  489. /package/{actions → src/actions}/evm/waitForUserOperation.ts +0 -0
  490. /package/{actions → src/actions}/solana/constants.ts +0 -0
  491. /package/{actions → src/actions}/solana/requestFaucet.ts +0 -0
  492. /package/{actions → src/actions}/solana/rpc.ts +0 -0
  493. /package/{actions → src/actions}/solana/sendTransaction.ts +0 -0
  494. /package/{actions → src/actions}/solana/signMessage.ts +0 -0
  495. /package/{actions → src/actions}/solana/signTransaction.ts +0 -0
  496. /package/{actions → src/actions}/solana/transfer.ts +0 -0
  497. /package/{actions → src/actions}/solana/types.ts +0 -0
  498. /package/{actions → src/actions}/solana/utils.ts +0 -0
  499. /package/{actions → src/actions}/webhooks/createWebhookSubscription.ts +0 -0
  500. /package/{actions → src/actions}/webhooks/index.ts +0 -0
  501. /package/{analytics.ts → src/analytics.ts} +0 -0
  502. /package/{auth → src/auth}/errors.ts +0 -0
  503. /package/{auth → src/auth}/hooks/axios/index.ts +0 -0
  504. /package/{auth → src/auth}/hooks/axios/withAuth.ts +0 -0
  505. /package/{auth → src/auth}/index.ts +0 -0
  506. /package/{auth → src/auth}/utils/hash.ts +0 -0
  507. /package/{auth → src/auth}/utils/http.ts +0 -0
  508. /package/{auth → src/auth}/utils/index.ts +0 -0
  509. /package/{auth → src/auth}/utils/jwt.ts +0 -0
  510. /package/{auth → src/auth}/utils/ws.ts +0 -0
  511. /package/{client → src/client}/cdp.ts +0 -0
  512. /package/{client → src/client}/evm/evm.ts +0 -0
  513. /package/{client → src/client}/evm/evm.types.ts +0 -0
  514. /package/{client → src/client}/policies/index.ts +0 -0
  515. /package/{client → src/client}/policies/policies.ts +0 -0
  516. /package/{client → src/client}/policies/policies.types.ts +0 -0
  517. /package/{client → src/client}/solana/index.ts +0 -0
  518. /package/{client → src/client}/solana/solana.ts +0 -0
  519. /package/{client → src/client}/solana/solana.types.ts +0 -0
  520. /package/{client → src/client}/webhooks/webhooks.ts +0 -0
  521. /package/{constants.ts → src/constants.ts} +0 -0
  522. /package/{errors.ts → src/errors.ts} +0 -0
  523. /package/{index.ts → src/index.ts} +0 -0
  524. /package/{openapi-client → src/openapi-client}/cdpApiClient.ts +0 -0
  525. /package/{openapi-client → src/openapi-client}/errors.ts +0 -0
  526. /package/{openapi-client → src/openapi-client}/generated/evm-token-balances/evm-token-balances.ts +0 -0
  527. /package/{openapi-client → src/openapi-client}/generated/faucets/faucets.ts +0 -0
  528. /package/{openapi-client → src/openapi-client}/generated/onchain-data/onchain-data.ts +0 -0
  529. /package/{openapi-client → src/openapi-client}/generated/onramp/onramp.ts +0 -0
  530. /package/{openapi-client → src/openapi-client}/generated/solana-token-balances/solana-token-balances.ts +0 -0
  531. /package/{policies → src/policies}/solanaSchema.ts +0 -0
  532. /package/{spend-permissions → src/spend-permissions}/constants.ts +0 -0
  533. /package/{spend-permissions → src/spend-permissions}/types.ts +0 -0
  534. /package/{spend-permissions → src/spend-permissions}/utils.ts +0 -0
  535. /package/{types → src/types}/calls.ts +0 -0
  536. /package/{types → src/types}/contract.ts +0 -0
  537. /package/{types → src/types}/misc.ts +0 -0
  538. /package/{types → src/types}/multicall.ts +0 -0
  539. /package/{types → src/types}/utils.ts +0 -0
  540. /package/{utils → src/utils}/bigint.ts +0 -0
  541. /package/{utils → src/utils}/export.ts +0 -0
  542. /package/{utils → src/utils}/hash.ts +0 -0
  543. /package/{utils → src/utils}/serializeTransaction.ts +0 -0
  544. /package/{utils → src/utils}/sortKeys.ts +0 -0
  545. /package/{utils → src/utils}/uuidV4.ts +0 -0
  546. /package/{utils → src/utils}/wait.ts +0 -0
@@ -5,87 +5,169 @@
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 { AddEndUserEvmAccount201, AddEndUserEvmAccountBody, AddEndUserEvmSmartAccount201, AddEndUserEvmSmartAccountBody, AddEndUserSolanaAccount201, AddEndUserSolanaAccountBody, CreateEndUserBody, EndUser, ImportEndUserBody, ListEndUsers200, ListEndUsersParams, LookupEndUser200, LookupEndUserParams, ValidateEndUserAccessTokenBody } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
8
+ import type { BlockchainAddress, CreateDelegationForEndUserAccount201, CreateDelegationForEndUserAccountBody, CreateDelegationForEndUserAccountParams, CreateEvmEip7702DelegationWithEndUserAccount201, CreateEvmEip7702DelegationWithEndUserAccountBody, CreateEvmEip7702DelegationWithEndUserAccountParams, EvmUserOperation, GetDelegationForEndUser200, GetDelegationForEndUserAccount200, GetDelegationForEndUserAccountParams, GetDelegationForEndUserParams, RevokeDelegationForEndUserAccountBody, RevokeDelegationForEndUserAccountParams, RevokeDelegationForEndUserBody, RevokeDelegationForEndUserParams, SendEvmAssetWithEndUserAccount200, SendEvmAssetWithEndUserAccountBody, SendEvmAssetWithEndUserAccountParams, SendEvmTransactionWithEndUserAccount200, SendEvmTransactionWithEndUserAccountBody, SendEvmTransactionWithEndUserAccountParams, SendSolanaAssetWithEndUserAccount200, SendSolanaAssetWithEndUserAccountBody, SendSolanaAssetWithEndUserAccountParams, SendSolanaTransactionWithEndUserAccount200, SendSolanaTransactionWithEndUserAccountBody, SendSolanaTransactionWithEndUserAccountParams, SendUserOperationWithEndUserAccountBody, SendUserOperationWithEndUserAccountParams, SignEvmMessageWithEndUserAccount200, SignEvmMessageWithEndUserAccountBody, SignEvmMessageWithEndUserAccountParams, SignEvmTransactionWithEndUserAccount200, SignEvmTransactionWithEndUserAccountBody, SignEvmTransactionWithEndUserAccountParams, SignEvmTypedDataWithEndUserAccount200, SignEvmTypedDataWithEndUserAccountBody, SignEvmTypedDataWithEndUserAccountParams, SignSolanaMessageWithEndUserAccount200, SignSolanaMessageWithEndUserAccountBody, SignSolanaMessageWithEndUserAccountParams, SignSolanaTransactionWithEndUserAccount200, SignSolanaTransactionWithEndUserAccountBody, SignSolanaTransactionWithEndUserAccountParams } 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
  /**
12
- * Creates an end user. An end user is an entity that can own CDP EVM accounts, EVM smart accounts, and/or Solana accounts. 1 or more authentication methods must be associated with an end user. By default, no accounts are created unless the optional `evmAccount` and/or `solanaAccount` fields are provided.
13
- This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
14
- * @summary Create an end user
12
+ * Signs a transaction with the given end user EVM account.
13
+ The transaction should be serialized as a hex string using [RLP](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/).
14
+
15
+ 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.
16
+ * @summary Sign transaction via end user EVM account
15
17
  */
16
- export declare const createEndUser: (createEndUserBody: CreateEndUserBody, options?: SecondParameter<typeof cdpApiClient<EndUser>>) => Promise<EndUser>;
18
+ export declare const signEvmTransactionWithEndUserAccount: (userId: string, signEvmTransactionWithEndUserAccountBody: SignEvmTransactionWithEndUserAccountBody, params?: SignEvmTransactionWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SignEvmTransactionWithEndUserAccount200>>) => Promise<SignEvmTransactionWithEndUserAccount200>;
17
19
  /**
18
- * Lists the end users belonging to the developer's CDP Project.
19
- By default, the response is sorted by creation date in ascending order and paginated to 20 users per page.
20
- * @summary List end users
20
+ * Signs a transaction with the given end user 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/).
21
+
22
+ The transaction must be an [EIP-1559 dynamic fee transaction](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1559.md).
23
+
24
+
25
+ **Transaction fields and API behavior**
26
+
27
+ - `to` *(Required)*: The address of the contract or account to send the transaction to.
28
+ - `chainId` *(Ignored)*: The value of the `chainId` field in the transaction is ignored.
29
+ The transaction will be sent to the network indicated by the `network` field in the request body.
30
+
31
+ - `nonce` *(Optional)*: The nonce to use for the transaction. If not provided, the API will assign
32
+ a nonce to the transaction based on the current state of the account.
33
+
34
+ - `maxPriorityFeePerGas` *(Optional)*: The maximum priority fee per gas to use for the transaction.
35
+ If not provided, the API will estimate a value based on current network conditions.
36
+
37
+ - `maxFeePerGas` *(Optional)*: The maximum fee per gas to use for the transaction.
38
+ If not provided, the API will estimate a value based on current network conditions.
39
+
40
+ - `gasLimit` *(Optional)*: The gas limit to use for the transaction. If not provided, the API will estimate a value
41
+ based on the `to` and `data` fields of the transaction.
42
+
43
+ - `value` *(Optional)*: The amount of ETH, in wei, to send with the transaction.
44
+ - `data` *(Optional)*: The data to send with the transaction; only used for contract calls.
45
+ - `accessList` *(Optional)*: The access list to use for the transaction.
46
+ * @summary Send transaction via end user EVM account
21
47
  */
22
- export declare const listEndUsers: (params?: ListEndUsersParams, options?: SecondParameter<typeof cdpApiClient<ListEndUsers200>>) => Promise<ListEndUsers200>;
48
+ export declare const sendEvmTransactionWithEndUserAccount: (userId: string, sendEvmTransactionWithEndUserAccountBody: SendEvmTransactionWithEndUserAccountBody, params?: SendEvmTransactionWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SendEvmTransactionWithEndUserAccount200>>) => Promise<SendEvmTransactionWithEndUserAccount200>;
23
49
  /**
24
- * Validates the end user's access token and returns the end user's information. Returns an error if the access token is invalid or expired.
25
-
26
- This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
27
- * @summary Validate end user access token
50
+ * Sends USDC from an end user's EVM account (EOA or Smart Account) to a recipient address on a supported EVM network. This endpoint simplifies USDC transfers by automatically handling contract resolution, decimal conversion, gas estimation, and transaction encoding.
51
+ The `amount` field accepts human-readable amounts as decimal strings (e.g., "1.5", "25.50").
52
+ * @summary Send USDC on EVM
28
53
  */
29
- export declare const validateEndUserAccessToken: (validateEndUserAccessTokenBody: ValidateEndUserAccessTokenBody, options?: SecondParameter<typeof cdpApiClient<EndUser>>) => Promise<EndUser>;
54
+ export declare const sendEvmAssetWithEndUserAccount: (userId: string, address: BlockchainAddress, asset: "usdc", sendEvmAssetWithEndUserAccountBody: SendEvmAssetWithEndUserAccountBody, params?: SendEvmAssetWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SendEvmAssetWithEndUserAccount200>>) => Promise<SendEvmAssetWithEndUserAccount200>;
30
55
  /**
31
- * Gets an end user by ID.
56
+ * Signs an [EIP-191](https://eips.ethereum.org/EIPS/eip-191) message with the given end user EVM account.
32
57
 
33
- This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
34
- * @summary Get an end user
58
+ Per the specification, the message in the request body is prepended with `0x19 <0x45 (E)> <thereum Signed Message:\n" + len(message)>` before being signed.
59
+ * @summary Sign EIP-191 message via end user EVM account
35
60
  */
36
- export declare const getEndUser: (userId: string, options?: SecondParameter<typeof cdpApiClient<EndUser>>) => Promise<EndUser>;
61
+ export declare const signEvmMessageWithEndUserAccount: (userId: string, signEvmMessageWithEndUserAccountBody: SignEvmMessageWithEndUserAccountBody, params?: SignEvmMessageWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SignEvmMessageWithEndUserAccount200>>) => Promise<SignEvmMessageWithEndUserAccount200>;
37
62
  /**
38
- * Looks up end users. Exactly one lookup type must be provided per request:
39
-
40
- - **email**: searches across all email-based authentication methods
41
- (email, Google, Apple, GitHub). May return multiple end users if the
42
- same email address appears across different auth methods.
43
-
44
- - **oauthProvider + oauthSubject**: looks up a user by their OAuth
45
- provider and subject (the `sub` claim from the provider's ID token).
46
- Both params must be provided together.
47
-
48
- - **phoneNumber**: looks up a user by their SMS-verified phone number.
63
+ * Signs [EIP-712](https://eips.ethereum.org/EIPS/eip-712) typed data with the given end user EVM account.
64
+ * @summary Sign EIP-712 typed data via end user EVM account
65
+ */
66
+ export declare const signEvmTypedDataWithEndUserAccount: (userId: string, signEvmTypedDataWithEndUserAccountBody: SignEvmTypedDataWithEndUserAccountBody, params?: SignEvmTypedDataWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SignEvmTypedDataWithEndUserAccount200>>) => Promise<SignEvmTypedDataWithEndUserAccount200>;
67
+ /**
68
+ * Returns the active delegation for the specified end user, if one exists. This operation can be performed by the end user themselves or by a developer using their API key.
69
+ * @summary Get delegation for end user
70
+ */
71
+ export declare const getDelegationForEndUser: (userId: string, params?: GetDelegationForEndUserParams, options?: SecondParameter<typeof cdpApiClient<GetDelegationForEndUser200>>) => Promise<GetDelegationForEndUser200>;
72
+ /**
73
+ * Revokes all active delegations for the specified end user. This operation can be performed by the end user themselves or by a developer using their API key.
74
+ * @summary Revoke delegation for end user
75
+ */
76
+ export declare const revokeDelegationForEndUser: (userId: string, revokeDelegationForEndUserBody: RevokeDelegationForEndUserBody, params?: RevokeDelegationForEndUserParams, options?: SecondParameter<typeof cdpApiClient<void>>) => Promise<void>;
77
+ /**
78
+ * Creates an account-scoped delegation that allows a developer to sign on behalf of an end user for a single blockchain account (identified by its address) for the specified duration. The end user must be authenticated to authorize this delegation.
79
+ Multiple account-scoped delegations may exist concurrently for a single end user (one per canonical account address). Account-scoped and user-scoped delegations cannot coexist for the same user.
80
+ When the address corresponds to an EVM Smart Account, the delegation is scoped to the Smart Account's owner EOA rather than the Smart Account address itself. This means `/address/{smartAccountAddress}/delegation` and `/address/{ownerEoaAddress}/delegation` resolve to the same delegation, and the 409 `account_scoped_delegation_active` error may be returned when creating via either address if one already exists for the canonical owner.
81
+ * @summary Create account-scoped delegation for end user
82
+ */
83
+ export declare const createDelegationForEndUserAccount: (userId: string, address: BlockchainAddress, createDelegationForEndUserAccountBody: CreateDelegationForEndUserAccountBody, params?: CreateDelegationForEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<CreateDelegationForEndUserAccount201>>) => Promise<CreateDelegationForEndUserAccount201>;
84
+ /**
85
+ * Returns the active account-scoped delegation for the specified end user account, if one exists. Useful for showing delegation status in a UI.
86
+ When the address corresponds to an EVM Smart Account, this returns the delegation for the Smart Account's owner EOA.
87
+ * @summary Get account-scoped delegation for end user
88
+ */
89
+ export declare const getDelegationForEndUserAccount: (userId: string, address: BlockchainAddress, params?: GetDelegationForEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<GetDelegationForEndUserAccount200>>) => Promise<GetDelegationForEndUserAccount200>;
90
+ /**
91
+ * Revokes the active account-scoped delegation for the specified end user account. Other account-scoped delegations for the same user are unaffected. This operation can be performed by the end user themselves or by a developer using their API key.
92
+ When the address corresponds to an EVM Smart Account, this revokes the delegation for the Smart Account's owner EOA.
93
+ * @summary Revoke account-scoped delegation for end user
94
+ */
95
+ export declare const revokeDelegationForEndUserAccount: (userId: string, address: BlockchainAddress, revokeDelegationForEndUserAccountBody: RevokeDelegationForEndUserAccountBody, params?: RevokeDelegationForEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<void>>) => Promise<void>;
96
+ /**
97
+ * Creates an EIP-7702 delegation for an end user's EVM EOA account, upgrading it with smart account capabilities.
49
98
 
50
- Returns all matching end users. If no end users match, an empty array is returned.
99
+ This endpoint:
100
+ - Retrieves delegation artifacts from onchain
101
+ - Signs the EIP-7702 authorization for delegation
102
+ - Assembles and submits a Type 4 transaction
103
+ - Creates an associated smart account object
51
104
 
52
- This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
53
- * @summary Look up end users by identity
105
+ The delegation allows the EVM EOA to be used as a smart account, which enables batched transactions and gas sponsorship via paymaster.
106
+ * @summary Create EIP-7702 delegation for end user EVM account
54
107
  */
55
- export declare const lookupEndUser: (params?: LookupEndUserParams, options?: SecondParameter<typeof cdpApiClient<LookupEndUser200>>) => Promise<LookupEndUser200>;
108
+ export declare const createEvmEip7702DelegationWithEndUserAccount: (userId: string, createEvmEip7702DelegationWithEndUserAccountBody: CreateEvmEip7702DelegationWithEndUserAccountBody, params?: CreateEvmEip7702DelegationWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<CreateEvmEip7702DelegationWithEndUserAccount201>>) => Promise<CreateEvmEip7702DelegationWithEndUserAccount201>;
56
109
  /**
57
- * Adds a new EVM EOA account to an existing end user. End users can have up to 10 EVM accounts.
58
- This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
59
- * @summary Add an EVM account to an end user
110
+ * Prepares, signs, and sends a user operation for an end user's Smart Account.
111
+ * @summary Send user operation for end user Smart Account
60
112
  */
61
- export declare const addEndUserEvmAccount: (userId: string, addEndUserEvmAccountBody?: AddEndUserEvmAccountBody, options?: SecondParameter<typeof cdpApiClient<AddEndUserEvmAccount201>>) => Promise<AddEndUserEvmAccount201>;
113
+ export declare const sendUserOperationWithEndUserAccount: (userId: string, address: string, sendUserOperationWithEndUserAccountBody: SendUserOperationWithEndUserAccountBody, params?: SendUserOperationWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
62
114
  /**
63
- * Creates an EVM smart account for an existing end user. The backend will create a new EVM EOA account to serve as the owner of the smart account.
64
- This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
65
- * @summary Add an EVM smart account to an end user
115
+ * Signs an arbitrary Base64 encoded message with the given Solana account.
116
+ **WARNING:** Never sign a message that you didn't generate as it may put your funds at risk.
117
+ * @summary Sign Base64-encoded message
66
118
  */
67
- export declare const addEndUserEvmSmartAccount: (userId: string, addEndUserEvmSmartAccountBody?: AddEndUserEvmSmartAccountBody, options?: SecondParameter<typeof cdpApiClient<AddEndUserEvmSmartAccount201>>) => Promise<AddEndUserEvmSmartAccount201>;
119
+ export declare const signSolanaMessageWithEndUserAccount: (userId: string, signSolanaMessageWithEndUserAccountBody: SignSolanaMessageWithEndUserAccountBody, params?: SignSolanaMessageWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SignSolanaMessageWithEndUserAccount200>>) => Promise<SignSolanaMessageWithEndUserAccount200>;
68
120
  /**
69
- * Adds a new Solana account to an existing end user. End users can have up to 10 Solana accounts.
70
- This API is intended to be used by the developer's own backend, and is authenticated using the developer's CDP API key.
71
- * @summary Add a Solana account to an end user
121
+ * Signs a transaction with the given end user Solana account.
122
+ The unsigned transaction should be serialized into a byte array and then encoded as base64.
123
+ **Transaction types**
124
+ The following transaction types are supported:
125
+ * [Legacy transactions](https://solana-labs.github.io/solana-web3.js/classes/Transaction.html)
126
+ * [Versioned transactions](https://solana-labs.github.io/solana-web3.js/classes/VersionedTransaction.html)
127
+ The developer is responsible for ensuring that the unsigned transaction is valid, as the API will not validate the transaction.
128
+ * @summary Sign transaction via end user Solana account
72
129
  */
73
- export declare const addEndUserSolanaAccount: (userId: string, addEndUserSolanaAccountBody?: AddEndUserSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient<AddEndUserSolanaAccount201>>) => Promise<AddEndUserSolanaAccount201>;
130
+ export declare const signSolanaTransactionWithEndUserAccount: (userId: string, signSolanaTransactionWithEndUserAccountBody: SignSolanaTransactionWithEndUserAccountBody, params?: SignSolanaTransactionWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SignSolanaTransactionWithEndUserAccount200>>) => Promise<SignSolanaTransactionWithEndUserAccount200>;
74
131
  /**
75
- * Imports an existing private key for an end user into the developer's CDP Project. The private key must be encrypted using the CDP SDK's encryption scheme before being sent to this endpoint. 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.
76
-
77
- This endpoint allows developers to import existing keys for their end users, supporting both EVM and Solana key types. The end user must have at least one authentication method configured.
78
- * @summary Import a private key for an end user
79
- */
80
- export declare const importEndUser: (importEndUserBody: ImportEndUserBody, options?: SecondParameter<typeof cdpApiClient<EndUser>>) => Promise<EndUser>;
81
- export type CreateEndUserResult = NonNullable<Awaited<ReturnType<typeof createEndUser>>>;
82
- export type ListEndUsersResult = NonNullable<Awaited<ReturnType<typeof listEndUsers>>>;
83
- export type ValidateEndUserAccessTokenResult = NonNullable<Awaited<ReturnType<typeof validateEndUserAccessToken>>>;
84
- export type GetEndUserResult = NonNullable<Awaited<ReturnType<typeof getEndUser>>>;
85
- export type LookupEndUserResult = NonNullable<Awaited<ReturnType<typeof lookupEndUser>>>;
86
- export type AddEndUserEvmAccountResult = NonNullable<Awaited<ReturnType<typeof addEndUserEvmAccount>>>;
87
- export type AddEndUserEvmSmartAccountResult = NonNullable<Awaited<ReturnType<typeof addEndUserEvmSmartAccount>>>;
88
- export type AddEndUserSolanaAccountResult = NonNullable<Awaited<ReturnType<typeof addEndUserSolanaAccount>>>;
89
- export type ImportEndUserResult = NonNullable<Awaited<ReturnType<typeof importEndUser>>>;
132
+ * Signs a transaction with the given end user Solana account and sends it to the indicated supported network.
133
+ The API handles recent blockhash management and fee estimation, leaving the developer to provide only the minimal set of fields necessary to send the transaction.
134
+ The unsigned transaction should be serialized into a byte array and then encoded as base64.
135
+ **Transaction types**
136
+ The following transaction types are supported:
137
+ * [Legacy transactions](https://solana.com/developers/guides/advanced/versions#current-transaction-versions)
138
+ * [Versioned transactions](https://solana.com/developers/guides/advanced/versions)
139
+ **Instruction Batching**
140
+ To batch multiple operations, include multiple instructions within a single transaction. All instructions within a transaction are executed atomically - if any instruction fails, the entire transaction fails and is rolled back.
141
+ **Network Support**
142
+ The following Solana networks are supported:
143
+ * `solana` - Solana Mainnet
144
+ * `solana-devnet` - Solana Devnet
145
+ The developer is responsible for ensuring that the unsigned transaction is valid, as the API will not validate the transaction.
146
+ * @summary Send transaction via end user Solana account
147
+ */
148
+ export declare const sendSolanaTransactionWithEndUserAccount: (userId: string, sendSolanaTransactionWithEndUserAccountBody: SendSolanaTransactionWithEndUserAccountBody, params?: SendSolanaTransactionWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SendSolanaTransactionWithEndUserAccount200>>) => Promise<SendSolanaTransactionWithEndUserAccount200>;
149
+ /**
150
+ * Sends USDC from an end user's Solana account to a recipient address on the Solana network. This endpoint simplifies USDC transfers by automatically handling mint resolution, Associated Token Account (ATA) creation, decimal conversion, and transaction encoding.
151
+ The `amount` field accepts human-readable amounts as decimal strings (e.g., "1.5", "25.50").
152
+ Use the optional `createRecipientAta` parameter to control whether the sender pays for creating the recipient's Associated Token Account if it doesn't exist.
153
+ * @summary Send USDC on Solana
154
+ */
155
+ export declare const sendSolanaAssetWithEndUserAccount: (userId: string, address: BlockchainAddress, asset: "usdc", sendSolanaAssetWithEndUserAccountBody: SendSolanaAssetWithEndUserAccountBody, params?: SendSolanaAssetWithEndUserAccountParams, options?: SecondParameter<typeof cdpApiClient<SendSolanaAssetWithEndUserAccount200>>) => Promise<SendSolanaAssetWithEndUserAccount200>;
156
+ export type SignEvmTransactionWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signEvmTransactionWithEndUserAccount>>>;
157
+ export type SendEvmTransactionWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof sendEvmTransactionWithEndUserAccount>>>;
158
+ export type SendEvmAssetWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof sendEvmAssetWithEndUserAccount>>>;
159
+ export type SignEvmMessageWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signEvmMessageWithEndUserAccount>>>;
160
+ export type SignEvmTypedDataWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signEvmTypedDataWithEndUserAccount>>>;
161
+ export type GetDelegationForEndUserResult = NonNullable<Awaited<ReturnType<typeof getDelegationForEndUser>>>;
162
+ export type RevokeDelegationForEndUserResult = NonNullable<Awaited<ReturnType<typeof revokeDelegationForEndUser>>>;
163
+ export type CreateDelegationForEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof createDelegationForEndUserAccount>>>;
164
+ export type GetDelegationForEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof getDelegationForEndUserAccount>>>;
165
+ export type RevokeDelegationForEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof revokeDelegationForEndUserAccount>>>;
166
+ export type CreateEvmEip7702DelegationWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof createEvmEip7702DelegationWithEndUserAccount>>>;
167
+ export type SendUserOperationWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof sendUserOperationWithEndUserAccount>>>;
168
+ export type SignSolanaMessageWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signSolanaMessageWithEndUserAccount>>>;
169
+ export type SignSolanaTransactionWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signSolanaTransactionWithEndUserAccount>>>;
170
+ export type SendSolanaTransactionWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof sendSolanaTransactionWithEndUserAccount>>>;
171
+ export type SendSolanaAssetWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof sendSolanaAssetWithEndUserAccount>>>;
90
172
  export {};
91
173
  //# sourceMappingURL=end-user-accounts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"end-user-accounts.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/end-user-accounts/end-user-accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,6BAA6B,EAC7B,0BAA0B,EAC1B,2BAA2B,EAC3B,iBAAiB,EACjB,OAAO,EACP,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,8BAA8B,EAC/B,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;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ACpC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC,qBAWxD,CAAC;AACF,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,gCAAgC,GAAG,WAAW,CACxD,OAAO,CAAC,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC,CACvD,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC;AACnF,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC;AACzF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC;AACF,MAAM,MAAM,+BAA+B,GAAG,WAAW,CACvD,OAAO,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CACtD,CAAC;AACF,MAAM,MAAM,6BAA6B,GAAG,WAAW,CACrD,OAAO,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CACpD,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"end-user-accounts.d.ts","sourceRoot":"","sources":["../../../../src/openapi-client/generated/end-user-accounts/end-user-accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,oCAAoC,EACpC,qCAAqC,EACrC,uCAAuC,EACvC,+CAA+C,E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AM,kDAAkD,GAAG,WAAW,CAC1E,OAAO,CAAC,UAAU,CAAC,OAAO,4CAA4C,CAAC,CAAC,CACzE,CAAC;AACF,MAAM,MAAM,yCAAyC,GAAG,WAAW,CACjE,OAAO,CAAC,UAAU,CAAC,OAAO,mCAAmC,CAAC,CAAC,CAChE,CAAC;AACF,MAAM,MAAM,yCAAyC,GAAG,WAAW,CACjE,OAAO,CAAC,UAAU,CAAC,OAAO,mCAAmC,CAAC,CAAC,CAChE,CAAC;AACF,MAAM,MAAM,6CAA6C,GAAG,WAAW,CACrE,OAAO,CAAC,UAAU,CAAC,OAAO,uCAAuC,CAAC,CAAC,CACpE,CAAC;AACF,MAAM,MAAM,6CAA6C,GAAG,WAAW,CACrE,OAAO,CAAC,UAAU,CAAC,OAAO,uCAAuC,CAAC,CAAC,CACpE,CAAC;AACF,MAAM,MAAM,uCAAuC,GAAG,WAAW,CAC/D,OAAO,CAAC,UAAU,CAAC,OAAO,iCAAiC,CAAC,CAAC,CAC9D,CAAC"}
@@ -16,22 +16,22 @@ The response is paginated, and by default, returns 20 accounts per page.
16
16
  export declare const listEvmAccounts: (params?: ListEvmAccountsParams, options?: SecondParameter<typeof cdpApiClient<ListEvmAccounts200>>) => Promise<ListEvmAccounts200>;
17
17
  /**
18
18
  * Creates a new EVM account.
19
- * @summary Create an EVM account
19
+ * @summary Create EVM account
20
20
  */
21
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
- * @summary Get an EVM account by address
24
+ * @summary Get EVM account by address
25
25
  */
26
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
- * @summary Update an EVM account
29
+ * @summary Update EVM account
30
30
  */
31
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
- * @summary Get an EVM account by name
34
+ * @summary Get EVM account by name
35
35
  */
36
36
  export declare const getEvmAccountByName: (name: string, options?: SecondParameter<typeof cdpApiClient<EvmAccount>>) => Promise<EvmAccount>;
37
37
  /**
@@ -61,7 +61,7 @@ The transaction must be an [EIP-1559 dynamic fee transaction](https://github.com
61
61
  - `value` *(Optional)*: The amount of ETH, in wei, to send with the transaction.
62
62
  - `data` *(Optional)*: The data to send with the transaction; only used for contract calls.
63
63
  - `accessList` *(Optional)*: The access list to use for the transaction.
64
- * @summary Send a transaction
64
+ * @summary Send transaction
65
65
  */
66
66
  export declare const sendEvmTransaction: (address: string, sendEvmTransactionBody: SendEvmTransactionBody, options?: SecondParameter<typeof cdpApiClient<SendEvmTransaction200>>) => Promise<SendEvmTransaction200>;
67
67
  /**
@@ -69,19 +69,19 @@ export declare const sendEvmTransaction: (address: string, sendEvmTransactionBod
69
69
  The transaction should be serialized as a hex string using [RLP](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/).
70
70
 
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
- * @summary Sign a transaction
72
+ * @summary Sign transaction
73
73
  */
74
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
- * @summary Sign a hash
77
+ * @summary Sign hash
78
78
  */
79
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
- * @summary Sign an EIP-191 message
84
+ * @summary Sign EIP-191 message
85
85
  */
86
86
  export declare const signEvmMessage: (address: string, signEvmMessageBody: SignEvmMessageBody, options?: SecondParameter<typeof cdpApiClient<SignEvmMessage200>>) => Promise<SignEvmMessage200>;
87
87
  /**
@@ -104,22 +104,22 @@ The delegation allows the EVM EOA to be used as a smart account, which enables b
104
104
  export declare const createEvmEip7702Delegation: (address: string, createEvmEip7702DelegationBody: CreateEvmEip7702DelegationBody, options?: SecondParameter<typeof cdpApiClient<CreateEvmEip7702Delegation201>>) => Promise<CreateEvmEip7702Delegation201>;
105
105
  /**
106
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
107
+ * @summary Get EIP-7702 delegation operation by ID
108
108
  */
109
109
  export declare const getEvmEip7702DelegationOperationById: (delegationOperationId: string, options?: SecondParameter<typeof cdpApiClient<EvmEip7702DelegationOperation>>) => Promise<EvmEip7702DelegationOperation>;
110
110
  /**
111
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.
112
- * @summary Import an EVM account
112
+ * @summary Import EVM account
113
113
  */
114
114
  export declare const importEvmAccount: (importEvmAccountBody: ImportEvmAccountBody, options?: SecondParameter<typeof cdpApiClient<EvmAccount>>) => Promise<EvmAccount>;
115
115
  /**
116
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.
117
- * @summary Export an EVM account
117
+ * @summary Export EVM account
118
118
  */
119
119
  export declare const exportEvmAccount: (address: string, exportEvmAccountBody: ExportEvmAccountBody, options?: SecondParameter<typeof cdpApiClient<ExportEvmAccount200>>) => Promise<ExportEvmAccount200>;
120
120
  /**
121
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.
122
- * @summary Export an EVM account by name
122
+ * @summary Export EVM account by name
123
123
  */
124
124
  export declare const exportEvmAccountByName: (name: string, exportEvmAccountByNameBody: ExportEvmAccountByNameBody, options?: SecondParameter<typeof cdpApiClient<ExportEvmAccountByName200>>) => Promise<ExportEvmAccountByName200>;
125
125
  export type ListEvmAccountsResult = NonNullable<Awaited<ReturnType<typeof listEvmAccounts>>>;
@@ -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,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,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,eAAe,GAC1B,SAAS,qBAAqB,EAC9B,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,kBAAkB,CAAC,CAAC,gCAMnE,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAC3B,uBAAuB,oBAAoB,EAC3C,UAAU,e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AC,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,gCAAgC,GAAG,WAAW,CACxD,OAAO,CAAC,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC,CACvD,CAAC;AACF,MAAM,MAAM,0CAA0C,GAAG,WAAW,CAClE,OAAO,CAAC,UAAU,CAAC,OAAO,oCAAoC,CAAC,CAAC,CACjE,CAAC;AACF,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"}
@@ -16,37 +16,37 @@ The response is paginated, and by default, returns 20 accounts per page.
16
16
  export declare const listEvmSmartAccounts: (params?: ListEvmSmartAccountsParams, options?: SecondParameter<typeof cdpApiClient<ListEvmSmartAccounts200>>) => Promise<ListEvmSmartAccounts200>;
17
17
  /**
18
18
  * Creates a new Smart Account.
19
- * @summary Create a Smart Account
19
+ * @summary Create Smart Account
20
20
  */
21
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
- * @summary Get a Smart Account by name
24
+ * @summary Get Smart Account by name
25
25
  */
26
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
- * @summary Get a Smart Account by address
29
+ * @summary Get Smart Account by address
30
30
  */
31
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
- * @summary Update an EVM Smart Account
34
+ * @summary Update EVM Smart Account
35
35
  */
36
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
- * @summary Prepare a user operation
39
+ * @summary Prepare user operation
40
40
  */
41
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
- * @summary Prepare and send a user operation for EVM Smart Account
44
+ * @summary Prepare and send user operation
45
45
  */
46
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
- * @summary Get a user operation
49
+ * @summary Get user operation
50
50
  */
51
51
  export declare const getUserOperation: (address: string, userOpHash: string, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
52
52
  /**
@@ -54,12 +54,12 @@ export declare const getUserOperation: (address: string, userOpHash: string, opt
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).
55
55
  The signature must be 65 bytes in length, consisting of: - 32 bytes for the `r` value - 32 bytes for the `s` value - 1 byte for the `v` value (must be 27 or 28)
56
56
  If using the CDP Paymaster, the user operation must be signed and sent within 2 minutes of being prepared.
57
- * @summary Send a user operation
57
+ * @summary Send user operation
58
58
  */
59
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
- * @summary Create a spend permission
62
+ * @summary Create spend permission
63
63
  */
64
64
  export declare const createSpendPermission: (address: string, createSpendPermissionRequest: CreateSpendPermissionRequest, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
65
65
  /**
@@ -69,7 +69,7 @@ export declare const createSpendPermission: (address: string, createSpendPermiss
69
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
- * @summary Revoke a spend permission
72
+ * @summary Revoke spend permission
73
73
  */
74
74
  export declare const revokeSpendPermission: (address: string, revokeSpendPermissionRequest: RevokeSpendPermissionRequest, options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>) => Promise<EvmUserOperation>;
75
75
  export type ListEvmSmartAccountsResult = NonNullable<Awaited<ReturnType<typeof listEvmSmartAccounts>>>;
@@ -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,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AAC,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":["../../../../src/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,EAC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,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"}
@@ -10,12 +10,12 @@ import { cdpApiClient } from "../../cdpApiClient.js";
10
10
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
11
11
  /**
12
12
  * Get a price estimate for a swap between two tokens on an EVM network.
13
- * @summary Get a price estimate for a swap
13
+ * @summary Get swap price estimate
14
14
  */
15
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
- * @summary Create a swap quote
18
+ * @summary Create swap quote
19
19
  */
20
20
  export declare const createEvmSwapQuote: (createEvmSwapQuoteBody: CreateEvmSwapQuoteBody, options?: SecondParameter<typeof cdpApiClient<CreateSwapQuoteResponseWrapper>>) => Promise<CreateSwapQuoteResponseWrapper>;
21
21
  export type GetEvmSwapPriceResult = NonNullable<Awaited<ReturnType<typeof getEvmSwapPrice>>>;
@@ -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,2BAA2B,CAAC,CAAC,yCAM5E,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,wBAAwB,sBAAsB,EAC9C,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,8BAA8B,CAAC,CAAC,4CAW/E,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC;AAC7F,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"evm-swaps.d.ts","sourceRoot":"","sources":["../../../../src/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,2BAA2B,CAAC,CAAC,yCAM5E,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,wBAAwB,sBAAsB,EAC9C,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,8BAA8B,CAAC,CAAC,4CAW/E,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC;AAC7F,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC"}
@@ -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,uBAAuB,CAAC,CAAC,qCAMxE,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":["../../../../src/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 +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,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM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;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 +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,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
+ {"version":3,"file":"onchain-data.d.ts","sourceRoot":"","sources":["../../../../src/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 +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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AAC,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;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC"}
1
+ {"version":3,"file":"onramp.d.ts","sourceRoot":"","sources":["../../../../src/openapi-client/generated/onramp/onramp.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,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;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAC5B,uBAAuB,qBAAqB,EAC5C,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,oBAAoB,CAAC,CAAC,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;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,GAC/B,2BAA2B,yBAAyB,EACpD,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC,kBAWrD,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;AACF,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAClD,OAAO,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CACjD,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Generated by orval v7.21.0 🍺
3
+ * Do not edit manually.
4
+ * Coinbase Developer Platform APIs
5
+ * The Coinbase Developer Platform APIs - leading the world's transition onchain.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ import type { ListPaymentMethods200, ListPaymentMethodsParams, PaymentMethodId, PaymentMethodsPaymentMethod } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
9
+ import { cdpApiClient } from "../../cdpApiClient.js";
10
+ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
11
+ /**
12
+ * List payment methods linked to your entity. Payment methods represent external financial instruments that can be used as a target for transfers. The list will not include disabled or deleted payment methods.
13
+
14
+ **Currently Supported Types:**
15
+ - `fedwire`: Domestic USD wire transfers
16
+ - `swift`: International wire transfers
17
+ - `sepa`: SEPA EUR transfers
18
+
19
+ **Note:** Payment methods are created and verified through your linked CDP entity. Currently, fetching payment methods is only supported for Prime investment vehicles linked to CDP.
20
+ * @summary List payment methods
21
+ */
22
+ export declare const listPaymentMethods: (params?: ListPaymentMethodsParams, options?: SecondParameter<typeof cdpApiClient<ListPaymentMethods200>>) => Promise<ListPaymentMethods200>;
23
+ /**
24
+ * Get details of a specific payment method by its ID. Returns 404 if the payment method is not found or not owned by the requesting entity.
25
+ * @summary Get payment method
26
+ */
27
+ export declare const getPaymentMethod: (paymentMethodId: PaymentMethodId, options?: SecondParameter<typeof cdpApiClient<PaymentMethodsPaymentMethod>>) => Promise<PaymentMethodsPaymentMethod>;
28
+ export type ListPaymentMethodsResult = NonNullable<Awaited<ReturnType<typeof listPaymentMethods>>>;
29
+ export type GetPaymentMethodResult = NonNullable<Awaited<ReturnType<typeof getPaymentMethod>>>;
30
+ export {};
31
+ //# sourceMappingURL=payment-methods.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-methods.d.ts","sourceRoot":"","sources":["../../../../src/openapi-client/generated/payment-methods/payment-methods.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,eAAe,EACf,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;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,wBAAwB,EACjC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,qBAAqB,CAAC,CAAC,mCAMtE,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAC3B,iBAAiB,eAAe,EAChC,UAAU,eAAe,CAAC,OAAO,YAAY,CAAC,2BAA2B,CAAC,CAAC,yCAM5E,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;AACnG,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC"}