@coinbase/cdp-sdk 1.46.1 → 1.48.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 (125) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +332 -0
  3. package/_cjs/actions/solana/sendTransaction.js +3 -0
  4. package/_cjs/actions/solana/sendTransaction.js.map +1 -1
  5. package/_cjs/actions/webhooks/createWebhookSubscription.js +48 -0
  6. package/_cjs/actions/webhooks/createWebhookSubscription.js.map +1 -0
  7. package/_cjs/actions/webhooks/index.js +6 -0
  8. package/_cjs/actions/webhooks/index.js.map +1 -0
  9. package/_cjs/client/cdp.js +5 -4
  10. package/_cjs/client/cdp.js.map +1 -1
  11. package/_cjs/client/end-user/endUser.js +19 -89
  12. package/_cjs/client/end-user/endUser.js.map +1 -1
  13. package/_cjs/client/end-user/toEndUserAccount.js +13 -43
  14. package/_cjs/client/end-user/toEndUserAccount.js.map +1 -1
  15. package/_cjs/client/solana/solana.js +2 -0
  16. package/_cjs/client/solana/solana.js.map +1 -1
  17. package/_cjs/client/webhooks/webhooks.js +58 -0
  18. package/_cjs/client/webhooks/webhooks.js.map +1 -0
  19. package/_cjs/index.js.map +1 -1
  20. package/_cjs/openapi-client/cdpApiClient.js +0 -32
  21. package/_cjs/openapi-client/cdpApiClient.js.map +1 -1
  22. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +51 -11
  23. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  24. package/_cjs/openapi-client/generated/{embedded-wallets-core-functionality/embedded-wallets-core-functionality.js → embedded-wallets/embedded-wallets.js} +37 -65
  25. package/_cjs/openapi-client/generated/embedded-wallets/embedded-wallets.js.map +1 -0
  26. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +2 -2
  27. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  28. package/_cjs/openapi-client/generated/sql-api/sql-api.js +12 -1
  29. package/_cjs/openapi-client/generated/sql-api/sql-api.js.map +1 -1
  30. package/_cjs/openapi-client/generated/webhooks/webhooks.js +32 -5
  31. package/_cjs/openapi-client/generated/webhooks/webhooks.js.map +1 -1
  32. package/_cjs/openapi-client/index.js +2 -2
  33. package/_cjs/openapi-client/index.js.map +1 -1
  34. package/_cjs/version.js +1 -1
  35. package/_esm/actions/solana/sendTransaction.js +3 -0
  36. package/_esm/actions/solana/sendTransaction.js.map +1 -1
  37. package/_esm/actions/webhooks/createWebhookSubscription.js +45 -0
  38. package/_esm/actions/webhooks/createWebhookSubscription.js.map +1 -0
  39. package/_esm/actions/webhooks/index.js +2 -0
  40. package/_esm/actions/webhooks/index.js.map +1 -0
  41. package/_esm/client/cdp.js +6 -5
  42. package/_esm/client/cdp.js.map +1 -1
  43. package/_esm/client/end-user/endUser.js +17 -87
  44. package/_esm/client/end-user/endUser.js.map +1 -1
  45. package/_esm/client/end-user/toEndUserAccount.js +13 -43
  46. package/_esm/client/end-user/toEndUserAccount.js.map +1 -1
  47. package/_esm/client/solana/solana.js +2 -0
  48. package/_esm/client/solana/solana.js.map +1 -1
  49. package/_esm/client/webhooks/webhooks.js +54 -0
  50. package/_esm/client/webhooks/webhooks.js.map +1 -0
  51. package/_esm/index.js.map +1 -1
  52. package/_esm/openapi-client/cdpApiClient.js +0 -32
  53. package/_esm/openapi-client/cdpApiClient.js.map +1 -1
  54. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +48 -8
  55. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  56. package/_esm/openapi-client/generated/{embedded-wallets-core-functionality/embedded-wallets-core-functionality.js → embedded-wallets/embedded-wallets.js} +36 -61
  57. package/_esm/openapi-client/generated/embedded-wallets/embedded-wallets.js.map +1 -0
  58. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +2 -2
  59. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  60. package/_esm/openapi-client/generated/sql-api/sql-api.js +10 -0
  61. package/_esm/openapi-client/generated/sql-api/sql-api.js.map +1 -1
  62. package/_esm/openapi-client/generated/webhooks/webhooks.js +30 -4
  63. package/_esm/openapi-client/generated/webhooks/webhooks.js.map +1 -1
  64. package/_esm/openapi-client/index.js +2 -2
  65. package/_esm/openapi-client/index.js.map +1 -1
  66. package/_esm/version.js +1 -1
  67. package/_types/actions/solana/sendTransaction.d.ts +2 -0
  68. package/_types/actions/solana/sendTransaction.d.ts.map +1 -1
  69. package/_types/actions/webhooks/createWebhookSubscription.d.ts +68 -0
  70. package/_types/actions/webhooks/createWebhookSubscription.d.ts.map +1 -0
  71. package/_types/actions/webhooks/index.d.ts +2 -0
  72. package/_types/actions/webhooks/index.d.ts.map +1 -0
  73. package/_types/client/cdp.d.ts +5 -6
  74. package/_types/client/cdp.d.ts.map +1 -1
  75. package/_types/client/end-user/endUser.d.ts +2 -52
  76. package/_types/client/end-user/endUser.d.ts.map +1 -1
  77. package/_types/client/end-user/endUser.types.d.ts +1 -63
  78. package/_types/client/end-user/endUser.types.d.ts.map +1 -1
  79. package/_types/client/end-user/toEndUserAccount.d.ts +0 -2
  80. package/_types/client/end-user/toEndUserAccount.d.ts.map +1 -1
  81. package/_types/client/solana/solana.d.ts +2 -0
  82. package/_types/client/solana/solana.d.ts.map +1 -1
  83. package/_types/client/solana/solana.types.d.ts +2 -0
  84. package/_types/client/solana/solana.types.d.ts.map +1 -1
  85. package/_types/client/webhooks/webhooks.d.ts +41 -0
  86. package/_types/client/webhooks/webhooks.d.ts.map +1 -0
  87. package/_types/index.d.ts +2 -1
  88. package/_types/index.d.ts.map +1 -1
  89. package/_types/openapi-client/cdpApiClient.d.ts.map +1 -1
  90. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +285 -85
  91. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
  92. package/_types/openapi-client/generated/{embedded-wallets-core-functionality/embedded-wallets-core-functionality.d.ts → embedded-wallets/embedded-wallets.d.ts} +14 -32
  93. package/_types/openapi-client/generated/embedded-wallets/embedded-wallets.d.ts.map +1 -0
  94. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts +2 -2
  95. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts.map +1 -1
  96. package/_types/openapi-client/generated/sql-api/sql-api.d.ts +10 -1
  97. package/_types/openapi-client/generated/sql-api/sql-api.d.ts.map +1 -1
  98. package/_types/openapi-client/generated/webhooks/webhooks.d.ts +30 -5
  99. package/_types/openapi-client/generated/webhooks/webhooks.d.ts.map +1 -1
  100. package/_types/openapi-client/index.d.ts +16 -18
  101. package/_types/openapi-client/index.d.ts.map +1 -1
  102. package/_types/version.d.ts +1 -1
  103. package/actions/solana/sendTransaction.ts +3 -0
  104. package/actions/webhooks/createWebhookSubscription.ts +104 -0
  105. package/actions/webhooks/index.ts +6 -0
  106. package/client/cdp.ts +8 -8
  107. package/client/end-user/endUser.ts +55 -187
  108. package/client/end-user/endUser.types.ts +0 -72
  109. package/client/end-user/toEndUserAccount.ts +57 -152
  110. package/client/solana/solana.ts +2 -0
  111. package/client/solana/solana.types.ts +2 -0
  112. package/client/webhooks/webhooks.ts +61 -0
  113. package/index.ts +6 -4
  114. package/openapi-client/cdpApiClient.ts +0 -34
  115. package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +331 -93
  116. package/openapi-client/generated/{embedded-wallets-core-functionality/embedded-wallets-core-functionality.ts → embedded-wallets/embedded-wallets.ts} +45 -99
  117. package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.ts +3 -3
  118. package/openapi-client/generated/sql-api/sql-api.ts +19 -0
  119. package/openapi-client/generated/webhooks/webhooks.ts +42 -4
  120. package/openapi-client/index.ts +2 -2
  121. package/package.json +1 -1
  122. package/version.ts +1 -1
  123. package/_cjs/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js.map +0 -1
  124. package/_esm/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js.map +0 -1
  125. package/_types/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.d.ts.map +0 -1
@@ -9,58 +9,44 @@ import type {
9
9
  BlockchainAddress,
10
10
  CreateEvmEip7702DelegationWithEndUserAccount201,
11
11
  CreateEvmEip7702DelegationWithEndUserAccountBody,
12
+ CreateEvmEip7702DelegationWithEndUserAccountParams,
12
13
  EvmUserOperation,
13
14
  RevokeDelegationForEndUserBody,
14
- RevokeSpendPermissionRequest,
15
15
  SendEvmAssetWithEndUserAccount200,
16
16
  SendEvmAssetWithEndUserAccountBody,
17
+ SendEvmAssetWithEndUserAccountParams,
17
18
  SendEvmTransactionWithEndUserAccount200,
18
19
  SendEvmTransactionWithEndUserAccountBody,
20
+ SendEvmTransactionWithEndUserAccountParams,
19
21
  SendSolanaAssetWithEndUserAccount200,
20
22
  SendSolanaAssetWithEndUserAccountBody,
23
+ SendSolanaAssetWithEndUserAccountParams,
21
24
  SendSolanaTransactionWithEndUserAccount200,
22
25
  SendSolanaTransactionWithEndUserAccountBody,
26
+ SendSolanaTransactionWithEndUserAccountParams,
23
27
  SendUserOperationWithEndUserAccountBody,
24
- SignEvmHashWithEndUserAccount200,
25
- SignEvmHashWithEndUserAccountBody,
28
+ SendUserOperationWithEndUserAccountParams,
26
29
  SignEvmMessageWithEndUserAccount200,
27
30
  SignEvmMessageWithEndUserAccountBody,
31
+ SignEvmMessageWithEndUserAccountParams,
28
32
  SignEvmTransactionWithEndUserAccount200,
29
33
  SignEvmTransactionWithEndUserAccountBody,
34
+ SignEvmTransactionWithEndUserAccountParams,
30
35
  SignEvmTypedDataWithEndUserAccount200,
31
36
  SignEvmTypedDataWithEndUserAccountBody,
32
- SignSolanaHashWithEndUserAccount200,
33
- SignSolanaHashWithEndUserAccountBody,
37
+ SignEvmTypedDataWithEndUserAccountParams,
34
38
  SignSolanaMessageWithEndUserAccount200,
35
39
  SignSolanaMessageWithEndUserAccountBody,
40
+ SignSolanaMessageWithEndUserAccountParams,
36
41
  SignSolanaTransactionWithEndUserAccount200,
37
42
  SignSolanaTransactionWithEndUserAccountBody,
43
+ SignSolanaTransactionWithEndUserAccountParams,
38
44
  } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
39
45
 
40
46
  import { cdpApiClient } from "../../cdpApiClient.js";
41
47
 
42
48
  type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
43
49
 
44
- /**
45
- * Signs an arbitrary 32 byte hash with the end user's given EVM account.
46
- * @summary Sign a hash with end user EVM account
47
- */
48
- export const signEvmHashWithEndUserAccount = (
49
- projectId: string,
50
- userId: string,
51
- signEvmHashWithEndUserAccountBody: SignEvmHashWithEndUserAccountBody,
52
- options?: SecondParameter<typeof cdpApiClient<SignEvmHashWithEndUserAccount200>>,
53
- ) => {
54
- return cdpApiClient<SignEvmHashWithEndUserAccount200>(
55
- {
56
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/sign`,
57
- method: "POST",
58
- headers: { "Content-Type": "application/json" },
59
- data: signEvmHashWithEndUserAccountBody,
60
- },
61
- options,
62
- );
63
- };
64
50
  /**
65
51
  * Signs a transaction with the given end user EVM account.
66
52
  The transaction should be serialized as a hex string using [RLP](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/).
@@ -69,17 +55,18 @@ The transaction must be an [EIP-1559 dynamic fee transaction](https://github.com
69
55
  * @summary Sign a transaction with end user EVM account
70
56
  */
71
57
  export const signEvmTransactionWithEndUserAccount = (
72
- projectId: string,
73
58
  userId: string,
74
59
  signEvmTransactionWithEndUserAccountBody: SignEvmTransactionWithEndUserAccountBody,
60
+ params?: SignEvmTransactionWithEndUserAccountParams,
75
61
  options?: SecondParameter<typeof cdpApiClient<SignEvmTransactionWithEndUserAccount200>>,
76
62
  ) => {
77
63
  return cdpApiClient<SignEvmTransactionWithEndUserAccount200>(
78
64
  {
79
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/sign/transaction`,
65
+ url: `/v2/embedded-wallet-api/end-users/${userId}/evm/sign/transaction`,
80
66
  method: "POST",
81
67
  headers: { "Content-Type": "application/json" },
82
68
  data: signEvmTransactionWithEndUserAccountBody,
69
+ params,
83
70
  },
84
71
  options,
85
72
  );
@@ -114,17 +101,18 @@ The transaction must be an [EIP-1559 dynamic fee transaction](https://github.com
114
101
  * @summary Send a transaction with end user EVM account
115
102
  */
116
103
  export const sendEvmTransactionWithEndUserAccount = (
117
- projectId: string,
118
104
  userId: string,
119
105
  sendEvmTransactionWithEndUserAccountBody: SendEvmTransactionWithEndUserAccountBody,
106
+ params?: SendEvmTransactionWithEndUserAccountParams,
120
107
  options?: SecondParameter<typeof cdpApiClient<SendEvmTransactionWithEndUserAccount200>>,
121
108
  ) => {
122
109
  return cdpApiClient<SendEvmTransactionWithEndUserAccount200>(
123
110
  {
124
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/send/transaction`,
111
+ url: `/v2/embedded-wallet-api/end-users/${userId}/evm/send/transaction`,
125
112
  method: "POST",
126
113
  headers: { "Content-Type": "application/json" },
127
114
  data: sendEvmTransactionWithEndUserAccountBody,
115
+ params,
128
116
  },
129
117
  options,
130
118
  );
@@ -135,19 +123,20 @@ The `amount` field accepts human-readable amounts as decimal strings (e.g., "1.5
135
123
  * @summary Send USDC on EVM
136
124
  */
137
125
  export const sendEvmAssetWithEndUserAccount = (
138
- projectId: string,
139
126
  userId: string,
140
127
  address: BlockchainAddress,
141
128
  asset: "usdc",
142
129
  sendEvmAssetWithEndUserAccountBody: SendEvmAssetWithEndUserAccountBody,
130
+ params?: SendEvmAssetWithEndUserAccountParams,
143
131
  options?: SecondParameter<typeof cdpApiClient<SendEvmAssetWithEndUserAccount200>>,
144
132
  ) => {
145
133
  return cdpApiClient<SendEvmAssetWithEndUserAccount200>(
146
134
  {
147
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/${address}/send/${asset}`,
135
+ url: `/v2/embedded-wallet-api/end-users/${userId}/evm/${address}/send/${asset}`,
148
136
  method: "POST",
149
137
  headers: { "Content-Type": "application/json" },
150
138
  data: sendEvmAssetWithEndUserAccountBody,
139
+ params,
151
140
  },
152
141
  options,
153
142
  );
@@ -159,17 +148,18 @@ Per the specification, the message in the request body is prepended with `0x19 <
159
148
  * @summary Sign an EIP-191 message with end user EVM account
160
149
  */
161
150
  export const signEvmMessageWithEndUserAccount = (
162
- projectId: string,
163
151
  userId: string,
164
152
  signEvmMessageWithEndUserAccountBody: SignEvmMessageWithEndUserAccountBody,
153
+ params?: SignEvmMessageWithEndUserAccountParams,
165
154
  options?: SecondParameter<typeof cdpApiClient<SignEvmMessageWithEndUserAccount200>>,
166
155
  ) => {
167
156
  return cdpApiClient<SignEvmMessageWithEndUserAccount200>(
168
157
  {
169
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/sign/message`,
158
+ url: `/v2/embedded-wallet-api/end-users/${userId}/evm/sign/message`,
170
159
  method: "POST",
171
160
  headers: { "Content-Type": "application/json" },
172
161
  data: signEvmMessageWithEndUserAccountBody,
162
+ params,
173
163
  },
174
164
  options,
175
165
  );
@@ -179,17 +169,18 @@ export const signEvmMessageWithEndUserAccount = (
179
169
  * @summary Sign EIP-712 typed data with end user EVM account
180
170
  */
181
171
  export const signEvmTypedDataWithEndUserAccount = (
182
- projectId: string,
183
172
  userId: string,
184
173
  signEvmTypedDataWithEndUserAccountBody: SignEvmTypedDataWithEndUserAccountBody,
174
+ params?: SignEvmTypedDataWithEndUserAccountParams,
185
175
  options?: SecondParameter<typeof cdpApiClient<SignEvmTypedDataWithEndUserAccount200>>,
186
176
  ) => {
187
177
  return cdpApiClient<SignEvmTypedDataWithEndUserAccount200>(
188
178
  {
189
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/sign/typed-data`,
179
+ url: `/v2/embedded-wallet-api/end-users/${userId}/evm/sign/typed-data`,
190
180
  method: "POST",
191
181
  headers: { "Content-Type": "application/json" },
192
182
  data: signEvmTypedDataWithEndUserAccountBody,
183
+ params,
193
184
  },
194
185
  options,
195
186
  );
@@ -199,14 +190,13 @@ export const signEvmTypedDataWithEndUserAccount = (
199
190
  * @summary Revoke delegation for end user
200
191
  */
201
192
  export const revokeDelegationForEndUser = (
202
- projectId: string,
203
193
  userId: string,
204
194
  revokeDelegationForEndUserBody: RevokeDelegationForEndUserBody,
205
195
  options?: SecondParameter<typeof cdpApiClient<void>>,
206
196
  ) => {
207
197
  return cdpApiClient<void>(
208
198
  {
209
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/delegation`,
199
+ url: `/v2/embedded-wallet-api/end-users/${userId}/delegation`,
210
200
  method: "DELETE",
211
201
  headers: { "Content-Type": "application/json" },
212
202
  data: revokeDelegationForEndUserBody,
@@ -227,17 +217,18 @@ The delegation allows the EVM EOA to be used as a smart account, which enables b
227
217
  * @summary Create EIP-7702 delegation for end user EVM account
228
218
  */
229
219
  export const createEvmEip7702DelegationWithEndUserAccount = (
230
- projectId: string,
231
220
  userId: string,
232
221
  createEvmEip7702DelegationWithEndUserAccountBody: CreateEvmEip7702DelegationWithEndUserAccountBody,
222
+ params?: CreateEvmEip7702DelegationWithEndUserAccountParams,
233
223
  options?: SecondParameter<typeof cdpApiClient<CreateEvmEip7702DelegationWithEndUserAccount201>>,
234
224
  ) => {
235
225
  return cdpApiClient<CreateEvmEip7702DelegationWithEndUserAccount201>(
236
226
  {
237
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/eip7702/delegation`,
227
+ url: `/v2/embedded-wallet-api/end-users/${userId}/evm/eip7702/delegation`,
238
228
  method: "POST",
239
229
  headers: { "Content-Type": "application/json" },
240
230
  data: createEvmEip7702DelegationWithEndUserAccountBody,
231
+ params,
241
232
  },
242
233
  options,
243
234
  );
@@ -247,59 +238,19 @@ export const createEvmEip7702DelegationWithEndUserAccount = (
247
238
  * @summary Send a user operation for end user Smart Account
248
239
  */
249
240
  export const sendUserOperationWithEndUserAccount = (
250
- projectId: string,
251
241
  userId: string,
252
242
  address: string,
253
243
  sendUserOperationWithEndUserAccountBody: SendUserOperationWithEndUserAccountBody,
244
+ params?: SendUserOperationWithEndUserAccountParams,
254
245
  options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>,
255
246
  ) => {
256
247
  return cdpApiClient<EvmUserOperation>(
257
248
  {
258
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/smart-accounts/${address}/send`,
249
+ url: `/v2/embedded-wallet-api/end-users/${userId}/evm/smart-accounts/${address}/send`,
259
250
  method: "POST",
260
251
  headers: { "Content-Type": "application/json" },
261
252
  data: sendUserOperationWithEndUserAccountBody,
262
- },
263
- options,
264
- );
265
- };
266
- /**
267
- * Revokes an existing spend permission.
268
- * @summary Revoke a spend permission
269
- */
270
- export const revokeSpendPermissionWithEndUserAccount = (
271
- projectId: string,
272
- userId: string,
273
- address: string,
274
- revokeSpendPermissionRequest: RevokeSpendPermissionRequest,
275
- options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>,
276
- ) => {
277
- return cdpApiClient<EvmUserOperation>(
278
- {
279
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/evm/smart-accounts/${address}/spend-permissions/revoke`,
280
- method: "POST",
281
- headers: { "Content-Type": "application/json" },
282
- data: revokeSpendPermissionRequest,
283
- },
284
- options,
285
- );
286
- };
287
- /**
288
- * Signs an arbitrary 32 byte hash with the end user's given Solana account.
289
- * @summary Sign a hash with end user Solana account
290
- */
291
- export const signSolanaHashWithEndUserAccount = (
292
- projectId: string,
293
- userId: string,
294
- signSolanaHashWithEndUserAccountBody: SignSolanaHashWithEndUserAccountBody,
295
- options?: SecondParameter<typeof cdpApiClient<SignSolanaHashWithEndUserAccount200>>,
296
- ) => {
297
- return cdpApiClient<SignSolanaHashWithEndUserAccount200>(
298
- {
299
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/solana/sign`,
300
- method: "POST",
301
- headers: { "Content-Type": "application/json" },
302
- data: signSolanaHashWithEndUserAccountBody,
253
+ params,
303
254
  },
304
255
  options,
305
256
  );
@@ -310,17 +261,18 @@ export const signSolanaHashWithEndUserAccount = (
310
261
  * @summary Sign a Base64 encoded message
311
262
  */
312
263
  export const signSolanaMessageWithEndUserAccount = (
313
- projectId: string,
314
264
  userId: string,
315
265
  signSolanaMessageWithEndUserAccountBody: SignSolanaMessageWithEndUserAccountBody,
266
+ params?: SignSolanaMessageWithEndUserAccountParams,
316
267
  options?: SecondParameter<typeof cdpApiClient<SignSolanaMessageWithEndUserAccount200>>,
317
268
  ) => {
318
269
  return cdpApiClient<SignSolanaMessageWithEndUserAccount200>(
319
270
  {
320
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/solana/sign/message`,
271
+ url: `/v2/embedded-wallet-api/end-users/${userId}/solana/sign/message`,
321
272
  method: "POST",
322
273
  headers: { "Content-Type": "application/json" },
323
274
  data: signSolanaMessageWithEndUserAccountBody,
275
+ params,
324
276
  },
325
277
  options,
326
278
  );
@@ -336,17 +288,18 @@ The developer is responsible for ensuring that the unsigned transaction is valid
336
288
  * @summary Sign a transaction with end user Solana account
337
289
  */
338
290
  export const signSolanaTransactionWithEndUserAccount = (
339
- projectId: string,
340
291
  userId: string,
341
292
  signSolanaTransactionWithEndUserAccountBody: SignSolanaTransactionWithEndUserAccountBody,
293
+ params?: SignSolanaTransactionWithEndUserAccountParams,
342
294
  options?: SecondParameter<typeof cdpApiClient<SignSolanaTransactionWithEndUserAccount200>>,
343
295
  ) => {
344
296
  return cdpApiClient<SignSolanaTransactionWithEndUserAccount200>(
345
297
  {
346
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/solana/sign/transaction`,
298
+ url: `/v2/embedded-wallet-api/end-users/${userId}/solana/sign/transaction`,
347
299
  method: "POST",
348
300
  headers: { "Content-Type": "application/json" },
349
301
  data: signSolanaTransactionWithEndUserAccountBody,
302
+ params,
350
303
  },
351
304
  options,
352
305
  );
@@ -369,17 +322,18 @@ The developer is responsible for ensuring that the unsigned transaction is valid
369
322
  * @summary Send a transaction with end user Solana account
370
323
  */
371
324
  export const sendSolanaTransactionWithEndUserAccount = (
372
- projectId: string,
373
325
  userId: string,
374
326
  sendSolanaTransactionWithEndUserAccountBody: SendSolanaTransactionWithEndUserAccountBody,
327
+ params?: SendSolanaTransactionWithEndUserAccountParams,
375
328
  options?: SecondParameter<typeof cdpApiClient<SendSolanaTransactionWithEndUserAccount200>>,
376
329
  ) => {
377
330
  return cdpApiClient<SendSolanaTransactionWithEndUserAccount200>(
378
331
  {
379
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/solana/send/transaction`,
332
+ url: `/v2/embedded-wallet-api/end-users/${userId}/solana/send/transaction`,
380
333
  method: "POST",
381
334
  headers: { "Content-Type": "application/json" },
382
335
  data: sendSolanaTransactionWithEndUserAccountBody,
336
+ params,
383
337
  },
384
338
  options,
385
339
  );
@@ -391,26 +345,24 @@ Use the optional `createRecipientAta` parameter to control whether the sender pa
391
345
  * @summary Send USDC on Solana
392
346
  */
393
347
  export const sendSolanaAssetWithEndUserAccount = (
394
- projectId: string,
395
348
  userId: string,
396
349
  address: BlockchainAddress,
397
350
  asset: "usdc",
398
351
  sendSolanaAssetWithEndUserAccountBody: SendSolanaAssetWithEndUserAccountBody,
352
+ params?: SendSolanaAssetWithEndUserAccountParams,
399
353
  options?: SecondParameter<typeof cdpApiClient<SendSolanaAssetWithEndUserAccount200>>,
400
354
  ) => {
401
355
  return cdpApiClient<SendSolanaAssetWithEndUserAccount200>(
402
356
  {
403
- url: `/v2/embedded-wallet-api/projects/${projectId}/end-users/${userId}/solana/${address}/send/${asset}`,
357
+ url: `/v2/embedded-wallet-api/end-users/${userId}/solana/${address}/send/${asset}`,
404
358
  method: "POST",
405
359
  headers: { "Content-Type": "application/json" },
406
360
  data: sendSolanaAssetWithEndUserAccountBody,
361
+ params,
407
362
  },
408
363
  options,
409
364
  );
410
365
  };
411
- export type SignEvmHashWithEndUserAccountResult = NonNullable<
412
- Awaited<ReturnType<typeof signEvmHashWithEndUserAccount>>
413
- >;
414
366
  export type SignEvmTransactionWithEndUserAccountResult = NonNullable<
415
367
  Awaited<ReturnType<typeof signEvmTransactionWithEndUserAccount>>
416
368
  >;
@@ -435,12 +387,6 @@ export type CreateEvmEip7702DelegationWithEndUserAccountResult = NonNullable<
435
387
  export type SendUserOperationWithEndUserAccountResult = NonNullable<
436
388
  Awaited<ReturnType<typeof sendUserOperationWithEndUserAccount>>
437
389
  >;
438
- export type RevokeSpendPermissionWithEndUserAccountResult = NonNullable<
439
- Awaited<ReturnType<typeof revokeSpendPermissionWithEndUserAccount>>
440
- >;
441
- export type SignSolanaHashWithEndUserAccountResult = NonNullable<
442
- Awaited<ReturnType<typeof signSolanaHashWithEndUserAccount>>
443
- >;
444
390
  export type SignSolanaMessageWithEndUserAccountResult = NonNullable<
445
391
  Awaited<ReturnType<typeof signSolanaMessageWithEndUserAccount>>
446
392
  >;
@@ -9,7 +9,6 @@ import type {
9
9
  CreateEvmSmartAccountBody,
10
10
  CreateSpendPermissionRequest,
11
11
  EvmSmartAccount,
12
- EvmSpendPermissionsRevokeSpendPermissionRequest,
13
12
  EvmUserOperation,
14
13
  ListEvmSmartAccounts200,
15
14
  ListEvmSmartAccountsParams,
@@ -17,6 +16,7 @@ import type {
17
16
  ListSpendPermissionsParams,
18
17
  PrepareAndSendUserOperationBody,
19
18
  PrepareUserOperationBody,
19
+ RevokeSpendPermissionRequest,
20
20
  SendUserOperationBody,
21
21
  UpdateEvmSmartAccountBody,
22
22
  } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
@@ -216,7 +216,7 @@ export const listSpendPermissions = (
216
216
  */
217
217
  export const revokeSpendPermission = (
218
218
  address: string,
219
- evmSpendPermissionsRevokeSpendPermissionRequest: EvmSpendPermissionsRevokeSpendPermissionRequest,
219
+ revokeSpendPermissionRequest: RevokeSpendPermissionRequest,
220
220
  options?: SecondParameter<typeof cdpApiClient<EvmUserOperation>>,
221
221
  ) => {
222
222
  return cdpApiClient<EvmUserOperation>(
@@ -224,7 +224,7 @@ export const revokeSpendPermission = (
224
224
  url: `/v2/evm/smart-accounts/${address}/spend-permissions/revoke`,
225
225
  method: "POST",
226
226
  headers: { "Content-Type": "application/json" },
227
- data: evmSpendPermissionsRevokeSpendPermissionRequest,
227
+ data: revokeSpendPermissionRequest,
228
228
  },
229
229
  options,
230
230
  );
@@ -6,8 +6,10 @@
6
6
  * OpenAPI spec version: 2.0.0
7
7
  */
8
8
  import type {
9
+ GetSQLSchemaParams,
9
10
  OnchainDataQuery,
10
11
  OnchainDataResult,
12
+ OnchainDataSchemaResponse,
11
13
  } from "../coinbaseDeveloperPlatformAPIs.schemas.js";
12
14
 
13
15
  import { cdpApiClient } from "../../cdpApiClient.js";
@@ -88,5 +90,22 @@ LLMs interact well with ANTLR4 grammar. You can feed the grammar directly into t
88
90
  export const getSQLGrammar = (options?: SecondParameter<typeof cdpApiClient<string>>) => {
89
91
  return cdpApiClient<string>({ url: `/v2/data/query/grammar`, method: "GET" }, options);
90
92
  };
93
+ /**
94
+ * Retrieve the schema information for the available tables in the SQL API's indexed data.
95
+
96
+ This includes table names, column definitions, data types, and indexed fields.
97
+
98
+ * @summary Get schemas details
99
+ */
100
+ export const getSQLSchema = (
101
+ params?: GetSQLSchemaParams,
102
+ options?: SecondParameter<typeof cdpApiClient<OnchainDataSchemaResponse>>,
103
+ ) => {
104
+ return cdpApiClient<OnchainDataSchemaResponse>(
105
+ { url: `/v2/data/query/schema`, method: "GET", params },
106
+ options,
107
+ );
108
+ };
91
109
  export type RunSQLQueryResult = NonNullable<Awaited<ReturnType<typeof runSQLQuery>>>;
92
110
  export type GetSQLGrammarResult = NonNullable<Awaited<ReturnType<typeof getSQLGrammar>>>;
111
+ export type GetSQLSchemaResult = NonNullable<Awaited<ReturnType<typeof getSQLSchema>>>;
@@ -6,7 +6,9 @@
6
6
  * OpenAPI spec version: 2.0.0
7
7
  */
8
8
  import type {
9
+ ListWebhookSubscriptionEventsParams,
9
10
  ListWebhookSubscriptionsParams,
11
+ WebhookEventListResponse,
10
12
  WebhookSubscriptionListResponse,
11
13
  WebhookSubscriptionRequest,
12
14
  WebhookSubscriptionResponse,
@@ -55,10 +57,12 @@ export const listWebhookSubscriptions = (
55
57
  - **No labels required** - maximum simplicity for transaction monitoring
56
58
 
57
59
  **Payments Transfers Events** - Transfer lifecycle notifications:
58
- - `payments.transfers.quoted`
59
- - `payments.transfers.processing`
60
- - `payments.transfers.completed`
61
- - `payments.transfers.failed`
60
+ - `payments.transfers.quoted` - Transfer created and awaiting execution
61
+ - `payments.transfers.processing` - Transfer execution in progress
62
+ - `payments.transfers.completed` - Transfer completed successfully
63
+ - `payments.transfers.failed` - Transfer failed
64
+ - `payments.transfers.travel_rule_incomplete` - Travel rule information is missing
65
+ - `payments.transfers.travel_rule_completed` - Travel rule information has been provided and the transfer will proceed
62
66
  - **No labels required** - enable the transfers webhook to monitor status transitions
63
67
 
64
68
  **Wallet Events** - Wallet activity notifications:
@@ -175,6 +179,37 @@ export const deleteWebhookSubscription = (
175
179
  options,
176
180
  );
177
181
  };
182
+ /**
183
+ * Retrieve webhook event delivery attempts for a specific subscription.
184
+ Returns event deliveries in descending order by creation time (newest first),
185
+ including delivery status, retry count, and response details.
186
+
187
+ ### Use Cases
188
+ - Debug webhook delivery failures and inspect response codes
189
+ - Monitor delivery status and retry counts
190
+ - Audit event delivery history for a subscription
191
+ - Verify that expected events were sent to webhook URLs
192
+
193
+ ### Filtering
194
+ Use optional query parameters to narrow results:
195
+ - `eventId` — find a specific event by ID
196
+ - `minCreatedAt` / `maxCreatedAt` — filter by time range
197
+ - `eventTypeNames` — filter by event type (comma-separated)
198
+
199
+ **Note:** Results are limited to the 50 most recent events (newest first). No pagination is supported.
200
+
201
+ * @summary List webhook subscription events
202
+ */
203
+ export const listWebhookSubscriptionEvents = (
204
+ subscriptionId: string,
205
+ params?: ListWebhookSubscriptionEventsParams,
206
+ options?: SecondParameter<typeof cdpApiClient<WebhookEventListResponse>>,
207
+ ) => {
208
+ return cdpApiClient<WebhookEventListResponse>(
209
+ { url: `/v2/data/webhooks/subscriptions/${subscriptionId}/events`, method: "GET", params },
210
+ options,
211
+ );
212
+ };
178
213
  export type ListWebhookSubscriptionsResult = NonNullable<
179
214
  Awaited<ReturnType<typeof listWebhookSubscriptions>>
180
215
  >;
@@ -190,3 +225,6 @@ export type UpdateWebhookSubscriptionResult = NonNullable<
190
225
  export type DeleteWebhookSubscriptionResult = NonNullable<
191
226
  Awaited<ReturnType<typeof deleteWebhookSubscription>>
192
227
  >;
228
+ export type ListWebhookSubscriptionEventsResult = NonNullable<
229
+ Awaited<ReturnType<typeof listWebhookSubscriptionEvents>>
230
+ >;
@@ -10,11 +10,11 @@ export * from "./generated/policy-engine/policy-engine.js";
10
10
  export * from "./generated/onramp/onramp.js";
11
11
  export * from "./generated/onchain-data/onchain-data.js";
12
12
  export * from "./generated/end-user-accounts/end-user-accounts.js";
13
- export * from "./generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js";
13
+ export * from "./generated/embedded-wallets/embedded-wallets.js";
14
14
  export * from "./generated/x402-facilitator/x402-facilitator.js";
15
15
 
16
16
  import { configure } from "./cdpApiClient.js";
17
- import * as embeddedWallets from "./generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js";
17
+ import * as embeddedWallets from "./generated/embedded-wallets/embedded-wallets.js";
18
18
  import * as endUserAccounts from "./generated/end-user-accounts/end-user-accounts.js";
19
19
  import * as evm from "./generated/evm-accounts/evm-accounts.js";
20
20
  import * as evmSmartAccounts from "./generated/evm-smart-accounts/evm-smart-accounts.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-sdk",
3
- "version": "1.46.1",
3
+ "version": "1.48.0",
4
4
  "description": "SDK for interacting with the Coinbase Developer Platform Wallet API",
5
5
  "main": "./_cjs/index.js",
6
6
  "module": "./_esm/index.js",
package/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = "1.46.1";
1
+ export const version = "1.48.0";
@@ -1 +0,0 @@
1
- {"version":3,"file":"embedded-wallets-core-functionality.js","sourceRoot":"","sources":["../../../../openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.ts"],"names":[],"mappings":";;;AAuCA,2DAAqD;AAIrD;;;GAGG;AACI,MAAM,6BAA6B,GAAG,CAC3C,SAAiB,EACjB,MAAc,EACd,iCAAoE,EACpE,OAAgF,EAChF,EAAE;IACF,OAAO,IAAA,8BAAY,EACjB;QACE,GAAG,EAAE,oCAAoC,SAAS,cAAc,MAAM,WAAW;QACjF,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,iCAAiC;KACxC,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,6BAA6B,iCAexC;AACF;;;;;;GAMG;AACI,MAAM,oCAAoC,GAAG,CAClD,SAAiB,EACjB,MAAc,EACd,wCAAkF,EAClF,OAAuF,EACvF,EAAE;IACF,OAAO,IAAA,8BAAY,EACjB;QACE,GAAG,EAAE,oCAAoC,SAAS,cAAc,MAAM,uBAAuB;QAC7F,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,wCAAwC;KAC/C,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,oCAAoC,wCAe/C;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACI,MAAM,oCAAoC,GAAG,CAClD,SAAiB,EACjB,MAAc,EACd,wCAAkF,EAClF,OAAuF,EACvF,EAAE;IACF,OAAO,IAAA,8BAAY,EACjB;QACE,GAAG,EAAE,oCAAoC,SAAS,cAAc,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AAY,EACjB;QACE,GAAG,EAAE,oCAAoC,SAAS,cAAc,MAAM,0BAA0B;QAChG,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,2CAA2C;KAClD,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,uCAAuC,2CAelD;AACF;;;;;;;;;;;;;;;;GAgBG;AACI,MAAM,uCAAuC,GAAG,CACrD,SAAiB,EACjB,MAAc,EACd,2CAAwF,EACxF,OAA0F,EAC1F,EAAE;IACF,OAAO,IAAA,8BAAY,EACjB;QACE,GAAG,EAAE,oCAAoC,SAAS,cAAc,MAAM,0BAA0B;QAChG,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,2CAA2C;KAClD,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,uCAAuC,2CAelD;AACF;;;;;GAKG;AACI,MAAM,iCAAiC,GAAG,CAC/C,SAAiB,EACjB,MAAc,EACd,OAA0B,EAC1B,KAAa,EACb,qCAA4E,EAC5E,OAAoF,EACpF,EAAE;IACF,OAAO,IAAA,8BAAY,EACjB;QACE,GAAG,EAAE,oCAAoC,SAAS,cAAc,MAAM,WAAW,OAAO,SAAS,KAAK,EAAE;QACxG,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,qCAAqC;KAC5C,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,iCAAiC,qCAiB5C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"embedded-wallets-core-functionality.js","sourceRoot":"","sources":["../../../../openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.ts"],"names":[],"mappings":"AAuCA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD;;;GAGG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C,GAAG,CAC/C,SAAiB,EACjB,MAAc,EACd,OAA0B,EAC1B,KAAa,EACb,qCAA4E,EAC5E,OAAoF,EACpF,EAAE;IACF,OAAO,YAAY,CACjB;QACE,GAAG,EAAE,oCAAoC,SAAS,cAAc,MAAM,WAAW,OAAO,SAAS,KAAK,EAAE;QACxG,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,qCAAqC;KAC5C,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"embedded-wallets-core-functionality.d.ts","sourceRoot":"","sources":["../../../../openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,+CAA+C,EAC/C,gDAAgD,EAChD,gBAAgB,EAChB,8BAA8B,EAC9B,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,uCAAuC,EACvC,wCAAwC,EACxC,oCAAoC,EACpC,qCAAqC,EACrC,0CAA0C,EAC1C,2CAA2C,EAC3C,uCAAuC,EACvC,gCAAgC,EAChC,iCAAiC,EACjC,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,EACvC,wCAAwC,EACxC,qCAAqC,EACrC,sCAAsC,EACtC,mCAAmC,EACnC,oCAAoC,EACpC,sCAAsC,EACtC,uCAAuC,EACvC,0CAA0C,EAC1C,2CAA2C,EAC5C,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,6BAA6B,GACxC,WAAW,MAAM,EACjB,QAAQ,MAAM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