@coinbase/cdp-sdk 1.28.0 → 1.30.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 (274) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/_cjs/accounts/evm/networkCapabilities.js +101 -0
  3. package/_cjs/accounts/evm/networkCapabilities.js.map +1 -1
  4. package/_cjs/accounts/evm/toEvmServerAccount.js +12 -1
  5. package/_cjs/accounts/evm/toEvmServerAccount.js.map +1 -1
  6. package/_cjs/accounts/evm/toEvmSmartAccount.js +12 -1
  7. package/_cjs/accounts/evm/toEvmSmartAccount.js.map +1 -1
  8. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js +10 -0
  9. package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  10. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js +11 -1
  11. package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  12. package/_cjs/accounts/solana/toSolanaAccount.js +41 -1
  13. package/_cjs/accounts/solana/toSolanaAccount.js.map +1 -1
  14. package/_cjs/actions/Quote.js +106 -0
  15. package/_cjs/actions/Quote.js.map +1 -0
  16. package/_cjs/actions/evm/fund/fund.js +5 -5
  17. package/_cjs/actions/evm/fund/fund.js.map +1 -1
  18. package/_cjs/actions/evm/fund/quoteFund.js +7 -7
  19. package/_cjs/actions/evm/fund/quoteFund.js.map +1 -1
  20. package/_cjs/actions/evm/getUserOperation.js +1 -0
  21. package/_cjs/actions/evm/getUserOperation.js.map +1 -1
  22. package/_cjs/actions/evm/spend-permissions/account.use.js +33 -0
  23. package/_cjs/actions/evm/spend-permissions/account.use.js.map +1 -0
  24. package/_cjs/actions/evm/spend-permissions/smartAccount.use.js +35 -0
  25. package/_cjs/actions/evm/spend-permissions/smartAccount.use.js.map +1 -0
  26. package/_cjs/actions/evm/spend-permissions/types.js.map +1 -0
  27. package/_cjs/actions/evm/transfer/accountTransferStrategy.js +1 -0
  28. package/_cjs/actions/evm/transfer/accountTransferStrategy.js.map +1 -1
  29. package/_cjs/actions/solana/fund/fund.js +50 -0
  30. package/_cjs/actions/solana/fund/fund.js.map +1 -0
  31. package/_cjs/actions/solana/fund/quoteFund.js +47 -0
  32. package/_cjs/actions/solana/fund/quoteFund.js.map +1 -0
  33. package/_cjs/actions/solana/sendTransaction.js +1 -0
  34. package/_cjs/actions/solana/sendTransaction.js.map +1 -1
  35. package/_cjs/actions/solana/signTransaction.js +1 -0
  36. package/_cjs/actions/solana/signTransaction.js.map +1 -1
  37. package/_cjs/actions/types.js +3 -0
  38. package/{_esm/actions/evm/fund → _cjs/actions}/types.js.map +1 -1
  39. package/_cjs/actions/{evm/fund/waitForFundOperationReceipt.js → waitForFundOperationReceipt.js} +2 -2
  40. package/_cjs/actions/waitForFundOperationReceipt.js.map +1 -0
  41. package/_cjs/auth/hooks/axios/withAuth.js +3 -0
  42. package/_cjs/auth/hooks/axios/withAuth.js.map +1 -1
  43. package/_cjs/auth/utils/http.js +2 -1
  44. package/_cjs/auth/utils/http.js.map +1 -1
  45. package/_cjs/client/evm/evm.js +51 -1
  46. package/_cjs/client/evm/evm.js.map +1 -1
  47. package/_cjs/client/solana/solana.js.map +1 -1
  48. package/_cjs/index.js +5 -1
  49. package/_cjs/index.js.map +1 -1
  50. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +54 -7
  51. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  52. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +14 -1
  53. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  54. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js +76 -4
  55. package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js.map +1 -1
  56. package/_cjs/openapi-client/generated/index.msw.js +2 -0
  57. package/_cjs/openapi-client/generated/index.msw.js.map +1 -1
  58. package/_cjs/openapi-client/generated/onramp/onramp.js +30 -0
  59. package/_cjs/openapi-client/generated/onramp/onramp.js.map +1 -0
  60. package/_cjs/openapi-client/generated/onramp/onramp.msw.js +98 -0
  61. package/_cjs/openapi-client/generated/onramp/onramp.msw.js.map +1 -0
  62. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js +15 -0
  63. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -0
  64. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js +69 -0
  65. package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js.map +1 -0
  66. package/_cjs/openapi-client/index.js +2 -0
  67. package/_cjs/openapi-client/index.js.map +1 -1
  68. package/_cjs/spend-permissions/constants.js +716 -0
  69. package/_cjs/spend-permissions/constants.js.map +1 -0
  70. package/_cjs/spend-permissions/types.js +3 -0
  71. package/_cjs/{actions/evm/fund → spend-permissions}/types.js.map +1 -1
  72. package/_cjs/version.js +1 -1
  73. package/_esm/accounts/evm/networkCapabilities.js +101 -0
  74. package/_esm/accounts/evm/networkCapabilities.js.map +1 -1
  75. package/_esm/accounts/evm/toEvmServerAccount.js +12 -1
  76. package/_esm/accounts/evm/toEvmServerAccount.js.map +1 -1
  77. package/_esm/accounts/evm/toEvmSmartAccount.js +12 -1
  78. package/_esm/accounts/evm/toEvmSmartAccount.js.map +1 -1
  79. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js +10 -0
  80. package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
  81. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js +11 -1
  82. package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
  83. package/_esm/accounts/solana/toSolanaAccount.js +41 -1
  84. package/_esm/accounts/solana/toSolanaAccount.js.map +1 -1
  85. package/_esm/actions/Quote.js +101 -0
  86. package/_esm/actions/Quote.js.map +1 -0
  87. package/_esm/actions/evm/fund/fund.js +5 -5
  88. package/_esm/actions/evm/fund/fund.js.map +1 -1
  89. package/_esm/actions/evm/fund/quoteFund.js +7 -7
  90. package/_esm/actions/evm/fund/quoteFund.js.map +1 -1
  91. package/_esm/actions/evm/getUserOperation.js +1 -0
  92. package/_esm/actions/evm/getUserOperation.js.map +1 -1
  93. package/_esm/actions/evm/spend-permissions/account.use.js +30 -0
  94. package/_esm/actions/evm/spend-permissions/account.use.js.map +1 -0
  95. package/_esm/actions/evm/spend-permissions/smartAccount.use.js +32 -0
  96. package/_esm/actions/evm/spend-permissions/smartAccount.use.js.map +1 -0
  97. package/_esm/actions/evm/spend-permissions/types.js.map +1 -0
  98. package/_esm/actions/evm/transfer/accountTransferStrategy.js +1 -0
  99. package/_esm/actions/evm/transfer/accountTransferStrategy.js.map +1 -1
  100. package/_esm/actions/solana/fund/fund.js +47 -0
  101. package/_esm/actions/solana/fund/fund.js.map +1 -0
  102. package/_esm/actions/solana/fund/quoteFund.js +44 -0
  103. package/_esm/actions/solana/fund/quoteFund.js.map +1 -0
  104. package/_esm/actions/solana/sendTransaction.js +1 -0
  105. package/_esm/actions/solana/sendTransaction.js.map +1 -1
  106. package/_esm/actions/solana/signTransaction.js +1 -0
  107. package/_esm/actions/solana/signTransaction.js.map +1 -1
  108. package/_esm/actions/types.js +2 -0
  109. package/_esm/actions/types.js.map +1 -0
  110. package/_esm/actions/{evm/fund/waitForFundOperationReceipt.js → waitForFundOperationReceipt.js} +2 -2
  111. package/_esm/actions/waitForFundOperationReceipt.js.map +1 -0
  112. package/_esm/auth/hooks/axios/withAuth.js +3 -0
  113. package/_esm/auth/hooks/axios/withAuth.js.map +1 -1
  114. package/_esm/auth/utils/http.js +2 -1
  115. package/_esm/auth/utils/http.js.map +1 -1
  116. package/_esm/client/evm/evm.js +51 -1
  117. package/_esm/client/evm/evm.js.map +1 -1
  118. package/_esm/client/solana/solana.js +2 -2
  119. package/_esm/client/solana/solana.js.map +1 -1
  120. package/_esm/index.js +2 -1
  121. package/_esm/index.js.map +1 -1
  122. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +52 -5
  123. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  124. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +12 -0
  125. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
  126. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js +73 -3
  127. package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.js.map +1 -1
  128. package/_esm/openapi-client/generated/index.msw.js +2 -0
  129. package/_esm/openapi-client/generated/index.msw.js.map +1 -1
  130. package/_esm/openapi-client/generated/onramp/onramp.js +25 -0
  131. package/_esm/openapi-client/generated/onramp/onramp.js.map +1 -0
  132. package/_esm/openapi-client/generated/onramp/onramp.msw.js +90 -0
  133. package/_esm/openapi-client/generated/onramp/onramp.msw.js.map +1 -0
  134. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js +11 -0
  135. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -0
  136. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js +63 -0
  137. package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.msw.js.map +1 -0
  138. package/_esm/openapi-client/index.js +2 -0
  139. package/_esm/openapi-client/index.js.map +1 -1
  140. package/_esm/spend-permissions/constants.js +713 -0
  141. package/_esm/spend-permissions/constants.js.map +1 -0
  142. package/_esm/spend-permissions/types.js +2 -0
  143. package/_esm/spend-permissions/types.js.map +1 -0
  144. package/_esm/version.js +1 -1
  145. package/_types/accounts/evm/networkCapabilities.d.ts +101 -0
  146. package/_types/accounts/evm/networkCapabilities.d.ts.map +1 -1
  147. package/_types/accounts/evm/toEvmServerAccount.d.ts.map +1 -1
  148. package/_types/accounts/evm/toEvmSmartAccount.d.ts +1 -1
  149. package/_types/accounts/evm/toEvmSmartAccount.d.ts.map +1 -1
  150. package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts.map +1 -1
  151. package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts.map +1 -1
  152. package/_types/accounts/evm/types.d.ts +15 -9
  153. package/_types/accounts/evm/types.d.ts.map +1 -1
  154. package/_types/accounts/solana/toSolanaAccount.d.ts.map +1 -1
  155. package/_types/actions/Quote.d.ts +97 -0
  156. package/_types/actions/Quote.d.ts.map +1 -0
  157. package/_types/actions/evm/fund/fund.d.ts +3 -7
  158. package/_types/actions/evm/fund/fund.d.ts.map +1 -1
  159. package/_types/actions/evm/fund/quoteFund.d.ts +4 -7
  160. package/_types/actions/evm/fund/quoteFund.d.ts.map +1 -1
  161. package/_types/actions/evm/getUserOperation.d.ts.map +1 -1
  162. package/_types/actions/evm/spend-permissions/account.use.d.ts +15 -0
  163. package/_types/actions/evm/spend-permissions/account.use.d.ts.map +1 -0
  164. package/_types/actions/evm/spend-permissions/smartAccount.use.d.ts +15 -0
  165. package/_types/actions/evm/spend-permissions/smartAccount.use.d.ts.map +1 -0
  166. package/_types/actions/evm/spend-permissions/types.d.ts +13 -0
  167. package/_types/actions/evm/spend-permissions/types.d.ts.map +1 -0
  168. package/_types/actions/evm/transfer/accountTransferStrategy.d.ts.map +1 -1
  169. package/_types/actions/evm/types.d.ts +82 -7
  170. package/_types/actions/evm/types.d.ts.map +1 -1
  171. package/_types/actions/solana/fund/fund.d.ts +19 -0
  172. package/_types/actions/solana/fund/fund.d.ts.map +1 -0
  173. package/_types/actions/solana/fund/quoteFund.d.ts +20 -0
  174. package/_types/actions/solana/fund/quoteFund.d.ts.map +1 -0
  175. package/_types/actions/solana/sendTransaction.d.ts +8 -2
  176. package/_types/actions/solana/sendTransaction.d.ts.map +1 -1
  177. package/_types/actions/solana/signTransaction.d.ts +8 -2
  178. package/_types/actions/solana/signTransaction.d.ts.map +1 -1
  179. package/_types/actions/solana/types.d.ts +99 -3
  180. package/_types/actions/solana/types.d.ts.map +1 -1
  181. package/_types/actions/types.d.ts +37 -0
  182. package/_types/actions/types.d.ts.map +1 -0
  183. package/_types/actions/{evm/fund/waitForFundOperationReceipt.d.ts → waitForFundOperationReceipt.d.ts} +2 -2
  184. package/_types/actions/waitForFundOperationReceipt.d.ts.map +1 -0
  185. package/_types/auth/hooks/axios/withAuth.d.ts.map +1 -1
  186. package/_types/auth/utils/http.d.ts.map +1 -1
  187. package/_types/client/evm/evm.d.ts +19 -1
  188. package/_types/client/evm/evm.d.ts.map +1 -1
  189. package/_types/client/evm/evm.types.d.ts +29 -2
  190. package/_types/client/evm/evm.types.d.ts.map +1 -1
  191. package/_types/client/solana/solana.d.ts +5 -3
  192. package/_types/client/solana/solana.d.ts.map +1 -1
  193. package/_types/index.d.ts +3 -1
  194. package/_types/index.d.ts.map +1 -1
  195. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +356 -20
  196. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
  197. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts +7 -1
  198. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts.map +1 -1
  199. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.d.ts +2 -0
  200. package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.d.ts.map +1 -1
  201. package/_types/openapi-client/generated/index.msw.d.ts +2 -0
  202. package/_types/openapi-client/generated/index.msw.d.ts.map +1 -1
  203. package/_types/openapi-client/generated/onramp/onramp.d.ts +28 -0
  204. package/_types/openapi-client/generated/onramp/onramp.d.ts.map +1 -0
  205. package/_types/openapi-client/generated/onramp/onramp.msw.d.ts +8 -0
  206. package/_types/openapi-client/generated/onramp/onramp.msw.d.ts.map +1 -0
  207. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts +20 -0
  208. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts.map +1 -0
  209. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.msw.d.ts +6 -0
  210. package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.msw.d.ts.map +1 -0
  211. package/_types/openapi-client/index.d.ts +4 -0
  212. package/_types/openapi-client/index.d.ts.map +1 -1
  213. package/_types/spend-permissions/constants.d.ts +1357 -0
  214. package/_types/spend-permissions/constants.d.ts.map +1 -0
  215. package/_types/spend-permissions/types.d.ts +30 -0
  216. package/_types/spend-permissions/types.d.ts.map +1 -0
  217. package/_types/version.d.ts +1 -1
  218. package/accounts/evm/networkCapabilities.ts +101 -0
  219. package/accounts/evm/toEvmServerAccount.ts +26 -11
  220. package/accounts/evm/toEvmSmartAccount.ts +30 -15
  221. package/accounts/evm/toNetworkScopedEvmServerAccount.ts +20 -5
  222. package/accounts/evm/toNetworkScopedEvmSmartAccount.ts +21 -6
  223. package/accounts/evm/types.ts +34 -12
  224. package/accounts/solana/toSolanaAccount.ts +58 -3
  225. package/actions/Quote.ts +154 -0
  226. package/actions/evm/fund/fund.ts +10 -14
  227. package/actions/evm/fund/quoteFund.ts +13 -16
  228. package/actions/evm/getUserOperation.ts +1 -0
  229. package/actions/evm/spend-permissions/account.use.ts +48 -0
  230. package/actions/evm/spend-permissions/smartAccount.use.ts +49 -0
  231. package/actions/evm/spend-permissions/types.ts +13 -0
  232. package/actions/evm/transfer/accountTransferStrategy.ts +2 -0
  233. package/actions/evm/types.ts +88 -7
  234. package/actions/solana/fund/fund.ts +71 -0
  235. package/actions/solana/fund/quoteFund.ts +77 -0
  236. package/actions/solana/sendTransaction.ts +10 -2
  237. package/actions/solana/signTransaction.ts +10 -2
  238. package/actions/solana/types.ts +113 -2
  239. package/actions/types.ts +39 -0
  240. package/actions/{evm/fund/waitForFundOperationReceipt.ts → waitForFundOperationReceipt.ts} +2 -2
  241. package/auth/hooks/axios/withAuth.ts +3 -0
  242. package/auth/utils/http.ts +2 -1
  243. package/client/evm/evm.ts +61 -1
  244. package/client/evm/evm.types.ts +31 -0
  245. package/client/solana/solana.ts +10 -5
  246. package/index.ts +6 -1
  247. package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +400 -26
  248. package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.msw.ts +89 -3
  249. package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.ts +23 -0
  250. package/openapi-client/generated/index.msw.ts +2 -0
  251. package/openapi-client/generated/onramp/onramp.msw.ts +135 -0
  252. package/openapi-client/generated/onramp/onramp.ts +54 -0
  253. package/openapi-client/generated/x402-facilitator/x402-facilitator.msw.ts +85 -0
  254. package/openapi-client/generated/x402-facilitator/x402-facilitator.ts +34 -0
  255. package/openapi-client/index.ts +2 -0
  256. package/package.json +1 -1
  257. package/spend-permissions/constants.ts +713 -0
  258. package/spend-permissions/types.ts +42 -0
  259. package/version.ts +1 -1
  260. package/_cjs/actions/evm/fund/Quote.js +0 -63
  261. package/_cjs/actions/evm/fund/Quote.js.map +0 -1
  262. package/_cjs/actions/evm/fund/waitForFundOperationReceipt.js.map +0 -1
  263. package/_esm/actions/evm/fund/Quote.js +0 -59
  264. package/_esm/actions/evm/fund/Quote.js.map +0 -1
  265. package/_esm/actions/evm/fund/waitForFundOperationReceipt.js.map +0 -1
  266. package/_types/actions/evm/fund/Quote.d.ts +0 -51
  267. package/_types/actions/evm/fund/Quote.d.ts.map +0 -1
  268. package/_types/actions/evm/fund/types.d.ts +0 -16
  269. package/_types/actions/evm/fund/types.d.ts.map +0 -1
  270. package/_types/actions/evm/fund/waitForFundOperationReceipt.d.ts.map +0 -1
  271. package/actions/evm/fund/Quote.ts +0 -83
  272. package/actions/evm/fund/types.ts +0 -16
  273. /package/_cjs/actions/evm/{fund → spend-permissions}/types.js +0 -0
  274. /package/_esm/actions/evm/{fund → spend-permissions}/types.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"evm.types.d.ts","sourceRoot":"","sources":["../../../client/evm/evm.types.ts"],"names":[],"mappings":"AAA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MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"evm.types.d.ts","sourceRoot":"","sources":["../../../client/evm/evm.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,KAAK,EACV,UAAU,IAAI,OAAO,EACrB,gBAAgB,IAAI,aAAa,EACjC,eAAe,IAAI,YAAY,EAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACpG,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EACV,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,IAAI,gBAAgB,EACxC,yBAAyB,IAAI,qBAAqB,EAClD,oBAAoB,EACrB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,OAAO,iBAAiB,EACtB,kBAAkB,GAClB,uBAAuB,GACvB,uBAAuB,GACvB,kBAAkB,GAClB,kBAAkB,GAClB,wBAAwB,GACxB,eAAe,GACf,qBAAqB,GACrB,oBAAoB,GACpB,0BAA0B,GAC1B,iBAAiB,GACjB,oBAAoB,GACpB,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ChB,wBAAwB;IACxB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;AACvD,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AACrD,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,CAAC;AACtD,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AACpD,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAC/D,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,uCAAuC;IACtD,mEAAmE;IACnE,OAAO,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,SAAS,EAAE,aAAa,CAAC;IACzB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -1,5 +1,7 @@
1
- import { CreateAccountOptions, ExportAccountOptions, GetAccountOptions, GetOrCreateAccountOptions, ImportAccountOptions, ListAccountsOptions, ListAccountsResult, ListTokenBalancesOptions, ListTokenBalancesResult, RequestFaucetOptions, SendTransactionOptions, SignatureResult, SignMessageOptions, SignTransactionOptions, SolanaClientInterface, TransactionResult, UpdateSolanaAccountOptions } from "./solana.types.js";
1
+ import { CreateAccountOptions, ExportAccountOptions, GetAccountOptions, GetOrCreateAccountOptions, ImportAccountOptions, ListAccountsOptions, ListAccountsResult, ListTokenBalancesOptions, ListTokenBalancesResult, RequestFaucetOptions, SendTransactionOptions, SignatureResult, SignMessageOptions, SignTransactionOptions, SolanaClientInterface, UpdateSolanaAccountOptions } from "./solana.types.js";
2
2
  import { SolanaAccount } from "../../accounts/solana/types.js";
3
+ import { type SendTransactionResult } from "../../actions/solana/sendTransaction.js";
4
+ import { type SignTransactionResult } from "../../actions/solana/signTransaction.js";
3
5
  /**
4
6
  * The namespace containing all Solana methods.
5
7
  */
@@ -245,7 +247,7 @@ export declare class SolanaClient implements SolanaClientInterface {
245
247
  * });
246
248
  * ```
247
249
  */
248
- signTransaction(options: SignTransactionOptions): Promise<SignatureResult>;
250
+ signTransaction(options: SignTransactionOptions): Promise<SignTransactionResult>;
249
251
  /**
250
252
  * Updates a CDP Solana account.
251
253
  *
@@ -306,7 +308,7 @@ export declare class SolanaClient implements SolanaClientInterface {
306
308
  * });
307
309
  * ```
308
310
  */
309
- sendTransaction(options: SendTransactionOptions): Promise<TransactionResult>;
311
+ sendTransaction(options: SendTransactionOptions): Promise<SendTransactionResult>;
310
312
  /**
311
313
  * Lists the token balances for a Solana account.
312
314
  *
@@ -1 +1 @@
1
- {"version":3,"file":"solana.d.ts","sourceRoot":"","sources":["../../../client/solana/solana.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAgB/D;;GAEG;AACH,qBAAa,YAAa,YAAW,qBAAqB;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACG,aAAa,CAAC,OAAO,GAAE,oBAAyB,GAAG,OAAO,CAAC,aAAa,CAAC;IAuB/E;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACG,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;IAoCnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACG,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,aAAa,CAAC;IAkD1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;;;;;;;;;;;;;;;;;OAgCG;IACG,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAStF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACG,aAAa,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,aAAa,CAAC;IAqBhF;;;;;;;;;;;;;;;;;OAiBG;IACG,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAYtF;;;;;;;;;;;;;;;;OAgBG;IACG,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAmC7F"}
package/_types/index.d.ts CHANGED
@@ -3,5 +3,7 @@ export type { EvmServerAccount, EvmSmartAccount } from "./accounts/evm/types.js"
3
3
  export type { Policy } from "./policies/types.js";
4
4
  export { CreatePolicyBodySchema, UpdatePolicyBodySchema, type CreatePolicyBody, type UpdatePolicyBody, } from "./policies/schema.js";
5
5
  export { NetworkError } from "./openapi-client/errors.js";
6
- export { parseEther } from "viem";
6
+ export type { SpendPermission } from "./spend-permissions/types.js";
7
+ export { SPEND_PERMISSION_MANAGER_ABI as spendPermissionManagerAbi, SPEND_PERMISSION_MANAGER_ADDRESS as spendPermissionManagerAddress, } from "./spend-permissions/constants.js";
8
+ export { parseEther, parseUnits } from "viem";
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACjF,YAAY,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACjF,YAAY,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,YAAY,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,4BAA4B,IAAI,yBAAyB,EACzD,gCAAgC,IAAI,6BAA6B,GAClE,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC"}
@@ -53,6 +53,12 @@ export declare const ErrorType: {
53
53
  readonly policy_violation: "policy_violation";
54
54
  readonly policy_in_use: "policy_in_use";
55
55
  readonly account_limit_exceeded: "account_limit_exceeded";
56
+ readonly network_not_tradable: "network_not_tradable";
57
+ readonly guest_permission_denied: "guest_permission_denied";
58
+ readonly guest_region_forbidden: "guest_region_forbidden";
59
+ readonly guest_transaction_limit: "guest_transaction_limit";
60
+ readonly guest_transaction_count: "guest_transaction_count";
61
+ readonly phone_number_verification_expired: "phone_number_verification_expired";
56
62
  };
57
63
  /**
58
64
  * An error response including the code for the type of error and a human-readable message describing the error.
@@ -134,6 +140,22 @@ export interface EvmSmartAccount {
134
140
  /** The UTC ISO 8601 timestamp at which the account was last updated. */
135
141
  updatedAt?: string;
136
142
  }
143
+ /**
144
+ * The network the user operation is for.
145
+ */
146
+ export type EvmUserOperationNetwork = (typeof EvmUserOperationNetwork)[keyof typeof EvmUserOperationNetwork];
147
+ export declare const EvmUserOperationNetwork: {
148
+ readonly "base-sepolia": "base-sepolia";
149
+ readonly base: "base";
150
+ readonly arbitrum: "arbitrum";
151
+ readonly optimism: "optimism";
152
+ readonly zora: "zora";
153
+ readonly polygon: "polygon";
154
+ readonly bnb: "bnb";
155
+ readonly avalanche: "avalanche";
156
+ readonly ethereum: "ethereum";
157
+ readonly "ethereum-sepolia": "ethereum-sepolia";
158
+ };
137
159
  export interface EvmCall {
138
160
  /**
139
161
  * The address the call is directed to.
@@ -149,13 +171,23 @@ export interface EvmCall {
149
171
  data: string;
150
172
  }
151
173
  /**
152
- * The network the user operation is for.
174
+ * The revert data if the user operation has reverted.
153
175
  */
154
- export type EvmUserOperationNetwork = (typeof EvmUserOperationNetwork)[keyof typeof EvmUserOperationNetwork];
155
- export declare const EvmUserOperationNetwork: {
156
- readonly "base-sepolia": "base-sepolia";
157
- readonly base: "base";
158
- };
176
+ export interface UserOperationReceiptRevert {
177
+ /**
178
+ * The 0x-prefixed raw hex string.
179
+ * @pattern ^0x[0-9a-fA-F]*$
180
+ */
181
+ data: string;
182
+ /** Human-readable revert reason if able to decode. */
183
+ message: string;
184
+ }
185
+ /**
186
+ * The receipt that contains information about the execution of user operation.
187
+ */
188
+ export interface UserOperationReceipt {
189
+ revert?: UserOperationReceiptRevert;
190
+ }
159
191
  /**
160
192
  * The status of the user operation.
161
193
  */
@@ -169,7 +201,6 @@ export declare const EvmUserOperationStatus: {
169
201
  readonly failed: "failed";
170
202
  };
171
203
  export interface EvmUserOperation {
172
- /** The network the user operation is for. */
173
204
  network: EvmUserOperationNetwork;
174
205
  /**
175
206
  * The hash of the user operation. This is not the transaction hash, as a transaction consists of multiple user operations. The user operation hash is the hash of this particular user operation which gets signed by the owner of the Smart Account.
@@ -185,6 +216,41 @@ export interface EvmUserOperation {
185
216
  * @pattern ^0x[0-9a-fA-F]{64}$|^$
186
217
  */
187
218
  transactionHash?: string;
219
+ /** The list of receipts associated with the user operation. */
220
+ receipts?: UserOperationReceipt[];
221
+ }
222
+ export interface CreateSpendPermissionRequest {
223
+ /** The network of the spend permission. */
224
+ network: string;
225
+ /**
226
+ * Smart account this spend permission is valid for.
227
+ * @pattern ^0x[a-fA-F0-9]{40}$
228
+ */
229
+ account: string;
230
+ /**
231
+ * Entity that can spend account's tokens.
232
+ * @pattern ^0x[a-fA-F0-9]{40}$
233
+ */
234
+ spender: string;
235
+ /**
236
+ * Token address (ERC-7528 native token address or ERC-20 contract).
237
+ * @pattern ^0x[a-fA-F0-9]{40}$
238
+ */
239
+ token: string;
240
+ /** Maximum allowed value to spend, in atomic units for the specified token, within each period. */
241
+ allowance: string;
242
+ /** Time duration for resetting used allowance on a recurring basis (seconds). */
243
+ period: string;
244
+ /** The start time for this spend permission, in Unix seconds. */
245
+ start: string;
246
+ /** The expiration time for this spend permission, in Unix seconds. */
247
+ end: string;
248
+ /** An arbitrary salt to differentiate unique spend permissions with otherwise identical data. */
249
+ salt?: string;
250
+ /** Arbitrary data to include in the permission. */
251
+ extraData?: string;
252
+ /** The paymaster URL of the spend permission. */
253
+ paymasterUrl?: string;
188
254
  }
189
255
  /**
190
256
  * The network on which to perform the swap.
@@ -539,7 +605,7 @@ export declare const EvmAddressCriterionOperator: {
539
605
  export interface EvmAddressCriterion {
540
606
  /** The type of criterion to use. This should be `evmAddress`. */
541
607
  type: EvmAddressCriterionType;
542
- /** A list of 0x-prefixed EVM addresses that the transaction's `to` field should be compared to. There is a limit of 100 addresses per criterion. */
608
+ /** A list of 0x-prefixed EVM addresses that the transaction's `to` field should be compared to. There is a limit of 300 addresses per criterion. */
543
609
  addresses: string[];
544
610
  /** The operator to use for the comparison. The transaction's `to` field will be on the left-hand side of the operator, and the `addresses` field will be on the right-hand side. */
545
611
  operator: EvmAddressCriterionOperator;
@@ -843,7 +909,7 @@ export declare const EvmTypedAddressConditionOperator: {
843
909
  * A schema for specifying criterion for an address field of an EVM typed message. The address can be deeply nested within the typed data's message.
844
910
  */
845
911
  export interface EvmTypedAddressCondition {
846
- /** A list of 0x-prefixed EVM addresses that the value located at the message's path should be compared to. There is a limit of 100 addresses per criterion. */
912
+ /** A list of 0x-prefixed EVM addresses that the value located at the message's path should be compared to. There is a limit of 300 addresses per criterion. */
847
913
  addresses: string[];
848
914
  /** The operator to use for the comparison. The value located at the message's path will be on the left-hand side of the operator, and the `addresses` field will be on the right-hand side. */
849
915
  operator: EvmTypedAddressConditionOperator;
@@ -942,7 +1008,7 @@ export declare const SignEvmTypedDataVerifyingContractCriterionOperator: {
942
1008
  export interface SignEvmTypedDataVerifyingContractCriterion {
943
1009
  /** The type of criterion to use. This should be `evmTypedDataVerifyingContract`. */
944
1010
  type: SignEvmTypedDataVerifyingContractCriterionType;
945
- /** A list of 0x-prefixed EVM addresses that the domain's verifying contract should be compared to. There is a limit of 100 addresses per criterion. */
1011
+ /** A list of 0x-prefixed EVM addresses that the domain's verifying contract should be compared to. There is a limit of 300 addresses per criterion. */
946
1012
  addresses: string[];
947
1013
  /** The operator to use for the comparison. The domain's verifying contract will be on the left-hand side of the operator, and the `addresses` field will be on the right-hand side. */
948
1014
  operator: SignEvmTypedDataVerifyingContractCriterionOperator;
@@ -1200,6 +1266,131 @@ export interface SolanaTokenBalance {
1200
1266
  amount: SolanaTokenAmount;
1201
1267
  token: SolanaToken;
1202
1268
  }
1269
+ /**
1270
+ * The version of the x402 protocol.
1271
+ */
1272
+ export type X402Version = (typeof X402Version)[keyof typeof X402Version];
1273
+ export declare const X402Version: {
1274
+ readonly NUMBER_1: 1;
1275
+ };
1276
+ /**
1277
+ * The scheme of the payment protocol to use. Currently, the only supported scheme is `exact`.
1278
+ */
1279
+ export type X402PaymentRequirementsScheme = (typeof X402PaymentRequirementsScheme)[keyof typeof X402PaymentRequirementsScheme];
1280
+ export declare const X402PaymentRequirementsScheme: {
1281
+ readonly exact: "exact";
1282
+ };
1283
+ /**
1284
+ * The network of the blockchain to send payment on.
1285
+ */
1286
+ export type X402PaymentRequirementsNetwork = (typeof X402PaymentRequirementsNetwork)[keyof typeof X402PaymentRequirementsNetwork];
1287
+ export declare const X402PaymentRequirementsNetwork: {
1288
+ readonly "base-sepolia": "base-sepolia";
1289
+ readonly base: "base";
1290
+ };
1291
+ /**
1292
+ * The optional JSON schema describing the resource output.
1293
+ */
1294
+ export type X402PaymentRequirementsOutputSchema = {
1295
+ [key: string]: unknown;
1296
+ };
1297
+ /**
1298
+ * The optional additional scheme-specific payment info.
1299
+ */
1300
+ export type X402PaymentRequirementsExtra = {
1301
+ [key: string]: unknown;
1302
+ };
1303
+ /**
1304
+ * The x402 protocol payment requirements that the resource server expects the client's payment payload to meet.
1305
+ */
1306
+ export interface X402PaymentRequirements {
1307
+ /** The scheme of the payment protocol to use. Currently, the only supported scheme is `exact`. */
1308
+ scheme: X402PaymentRequirementsScheme;
1309
+ /** The network of the blockchain to send payment on. */
1310
+ network: X402PaymentRequirementsNetwork;
1311
+ /** The maximum amount required to pay for the resource in atomic units of the payment asset. */
1312
+ maxAmountRequired: string;
1313
+ /** The URL of the resource to pay for. */
1314
+ resource: string;
1315
+ /** The description of the resource. */
1316
+ description: string;
1317
+ /** The MIME type of the resource response. */
1318
+ mimeType: string;
1319
+ /** The optional JSON schema describing the resource output. */
1320
+ outputSchema?: X402PaymentRequirementsOutputSchema;
1321
+ /**
1322
+ * The destination to pay value to.
1323
+
1324
+ For EVM networks, payTo will be a 0x-prefixed, checksum EVM address.
1325
+
1326
+ For Solana-based networks, payTo will be a base58-encoded Solana address.
1327
+ * @pattern ^0x[a-fA-F0-9]{40}|[A-Za-z0-9][A-Za-z0-9-]{0,34}[A-Za-z0-9]$
1328
+ */
1329
+ payTo: string;
1330
+ /** The maximum time in seconds for the resource server to respond. */
1331
+ maxTimeoutSeconds: number;
1332
+ /**
1333
+ * The asset to pay with.
1334
+
1335
+ For EVM networks, the asset will be a 0x-prefixed, checksum EVM address.
1336
+
1337
+ For Solana-based networks, the asset will be a base58-encoded Solana address.
1338
+ * @pattern ^0x[a-fA-F0-9]{40}|[A-Za-z0-9][A-Za-z0-9-]{0,34}[A-Za-z0-9]$
1339
+ */
1340
+ asset: string;
1341
+ /** The optional additional scheme-specific payment info. */
1342
+ extra?: X402PaymentRequirementsExtra;
1343
+ }
1344
+ /**
1345
+ * Communication protocol (e.g., "http", "mcp").
1346
+ */
1347
+ export type X402DiscoveryResourceType = (typeof X402DiscoveryResourceType)[keyof typeof X402DiscoveryResourceType];
1348
+ export declare const X402DiscoveryResourceType: {
1349
+ readonly http: "http";
1350
+ };
1351
+ /**
1352
+ * Additional metadata as a JSON object.
1353
+ */
1354
+ export type X402DiscoveryResourceMetadata = {
1355
+ [key: string]: unknown;
1356
+ };
1357
+ /**
1358
+ * A single discovered x402 resource.
1359
+ */
1360
+ export interface X402DiscoveryResource {
1361
+ /** The normalized resource identifier. */
1362
+ resource: string;
1363
+ /** Communication protocol (e.g., "http", "mcp"). */
1364
+ type: X402DiscoveryResourceType;
1365
+ x402Version: X402Version;
1366
+ /** Payment requirements as an array of JSON objects. */
1367
+ accepts?: X402PaymentRequirements[];
1368
+ /** Timestamp of the last update. */
1369
+ lastUpdated: string;
1370
+ /** Additional metadata as a JSON object. */
1371
+ metadata?: X402DiscoveryResourceMetadata;
1372
+ }
1373
+ /**
1374
+ * Pagination information for the response.
1375
+ */
1376
+ export type X402DiscoveryResourcesResponsePagination = {
1377
+ /** The number of discovered x402 resources to return per page. */
1378
+ limit?: number;
1379
+ /** The offset of the first discovered x402 resource to return. */
1380
+ offset?: number;
1381
+ /** The total number of discovered x402 resources. */
1382
+ total?: number;
1383
+ };
1384
+ /**
1385
+ * Response containing discovered x402 resources.
1386
+ */
1387
+ export interface X402DiscoveryResourcesResponse {
1388
+ x402Version: X402Version;
1389
+ /** List of discovered x402 resources. */
1390
+ items: X402DiscoveryResource[];
1391
+ /** Pagination information for the response. */
1392
+ pagination: X402DiscoveryResourcesResponsePagination;
1393
+ }
1203
1394
  /**
1204
1395
  * The action of the payment method.
1205
1396
  */
@@ -1400,6 +1591,93 @@ export interface Transfer {
1400
1591
  /** The transaction hash or transaction signature of the transfer. */
1401
1592
  transactionHash?: string;
1402
1593
  }
1594
+ /**
1595
+ * The type of payment method to be used to complete the order.
1596
+ */
1597
+ export type OnrampPaymentMethodTypeId = (typeof OnrampPaymentMethodTypeId)[keyof typeof OnrampPaymentMethodTypeId];
1598
+ export declare const OnrampPaymentMethodTypeId: {
1599
+ readonly GUEST_CHECKOUT_APPLE_PAY: "GUEST_CHECKOUT_APPLE_PAY";
1600
+ };
1601
+ /**
1602
+ * The type of fee.
1603
+ */
1604
+ export type OnrampOrderFeeType = (typeof OnrampOrderFeeType)[keyof typeof OnrampOrderFeeType];
1605
+ export declare const OnrampOrderFeeType: {
1606
+ readonly FEE_TYPE_NETWORK: "FEE_TYPE_NETWORK";
1607
+ readonly FEE_TYPE_EXCHANGE: "FEE_TYPE_EXCHANGE";
1608
+ };
1609
+ /**
1610
+ * A fee associated with an order.
1611
+ */
1612
+ export interface OnrampOrderFee {
1613
+ /** The type of fee. */
1614
+ type: OnrampOrderFeeType;
1615
+ /** The amount of the fee. */
1616
+ amount: string;
1617
+ /** The currency of the fee. */
1618
+ currency: string;
1619
+ }
1620
+ /**
1621
+ * The status of an onramp order.
1622
+ */
1623
+ export type OnrampOrderStatus = (typeof OnrampOrderStatus)[keyof typeof OnrampOrderStatus];
1624
+ export declare const OnrampOrderStatus: {
1625
+ readonly ONRAMP_ORDER_STATUS_PENDING_AUTH: "ONRAMP_ORDER_STATUS_PENDING_AUTH";
1626
+ readonly ONRAMP_ORDER_STATUS_PENDING_PAYMENT: "ONRAMP_ORDER_STATUS_PENDING_PAYMENT";
1627
+ readonly ONRAMP_ORDER_STATUS_PROCESSING: "ONRAMP_ORDER_STATUS_PROCESSING";
1628
+ readonly ONRAMP_ORDER_STATUS_COMPLETED: "ONRAMP_ORDER_STATUS_COMPLETED";
1629
+ readonly ONRAMP_ORDER_STATUS_FAILED: "ONRAMP_ORDER_STATUS_FAILED";
1630
+ };
1631
+ /**
1632
+ * An Onramp order.
1633
+ */
1634
+ export interface OnrampOrder {
1635
+ /** The ID of the onramp order. */
1636
+ orderId: string;
1637
+ /** The total amount of fiat to be paid. */
1638
+ paymentTotal: string;
1639
+ /** The amount of fiat to be converted to crypto. */
1640
+ paymentSubtotal: unknown;
1641
+ /** The fiat currency to be converted to crypto. */
1642
+ paymentCurrency: string;
1643
+ paymentMethod: OnrampPaymentMethodTypeId;
1644
+ /** The amount of crypto to be purchased. */
1645
+ purchaseAmount: string;
1646
+ /** The crypto currency to be purchased. */
1647
+ purchaseCurrency: string;
1648
+ /** The fees associated with the order. */
1649
+ fees: OnrampOrderFee[];
1650
+ /** The exchange rate used to convert fiat to crypto. */
1651
+ exchangeRate: string;
1652
+ /** The destination address to send the crypto to. */
1653
+ destinationAddress: string;
1654
+ /** The network to send the crypto on. */
1655
+ destinationNetwork: string;
1656
+ status: OnrampOrderStatus;
1657
+ /** The transaction hash of the order (only available once crypto has been sent). */
1658
+ txHash?: string;
1659
+ /** The date and time the order was created. */
1660
+ createdAt: string;
1661
+ /** The date and time the order was last updated. */
1662
+ updatedAt: string;
1663
+ }
1664
+ /**
1665
+ * The type of payment link.
1666
+ */
1667
+ export type OnrampPaymentLinkType = (typeof OnrampPaymentLinkType)[keyof typeof OnrampPaymentLinkType];
1668
+ export declare const OnrampPaymentLinkType: {
1669
+ readonly PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON";
1670
+ };
1671
+ /**
1672
+ * A payment link to pay for an order.
1673
+
1674
+ Please refer to the [Onramp docs](https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/onramp-overview) for details on how to integrate with the different payment link types.
1675
+ */
1676
+ export interface OnrampPaymentLink {
1677
+ /** The URL to the hosted widget the user should be redirected to, append your own redirect_url query parameter to this URL to ensure the user is redirected back to your app after the widget completes. */
1678
+ url: string;
1679
+ paymentLinkType: OnrampPaymentLinkType;
1680
+ }
1403
1681
  /**
1404
1682
  * Internal server error.
1405
1683
  */
@@ -1424,6 +1702,14 @@ export type IdempotencyErrorResponse = Error;
1424
1702
  * The resource already exists.
1425
1703
  */
1426
1704
  export type AlreadyExistsErrorResponse = Error;
1705
+ /**
1706
+ * Unauthorized.
1707
+ */
1708
+ export type UnauthorizedErrorResponse = Error;
1709
+ /**
1710
+ * Rate limit exceeded.
1711
+ */
1712
+ export type RateLimitExceededResponse = Error;
1427
1713
  /**
1428
1714
  * A JWT signed using your Wallet Secret, encoded in base64. Refer to the
1429
1715
  [Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token)
@@ -1596,17 +1882,8 @@ export type UpdateEvmSmartAccountBody = {
1596
1882
  */
1597
1883
  name?: string;
1598
1884
  };
1599
- /**
1600
- * The network to prepare the user operation for.
1601
- */
1602
- export type PrepareUserOperationBodyNetwork = (typeof PrepareUserOperationBodyNetwork)[keyof typeof PrepareUserOperationBodyNetwork];
1603
- export declare const PrepareUserOperationBodyNetwork: {
1604
- readonly "base-sepolia": "base-sepolia";
1605
- readonly base: "base";
1606
- };
1607
1885
  export type PrepareUserOperationBody = {
1608
- /** The network to prepare the user operation for. */
1609
- network: PrepareUserOperationBodyNetwork;
1886
+ network: EvmUserOperationNetwork;
1610
1887
  /** The list of calls to make from the Smart Account. */
1611
1888
  calls: EvmCall[];
1612
1889
  /** The URL of the paymaster to use for the user operation. */
@@ -1908,6 +2185,21 @@ export type ListSolanaTokenBalances200AllOf = {
1908
2185
  balances: SolanaTokenBalance[];
1909
2186
  };
1910
2187
  export type ListSolanaTokenBalances200 = ListSolanaTokenBalances200AllOf & ListResponse;
2188
+ export type ListX402DiscoveryResourcesParams = {
2189
+ /**
2190
+ * Filter by protocol type (e.g., "http", "mcp").
2191
+ Currently, the only supported protocol type is "http".
2192
+ */
2193
+ type?: string;
2194
+ /**
2195
+ * The number of discovered x402 resources to return per page.
2196
+ */
2197
+ limit?: number;
2198
+ /**
2199
+ * The offset of the first discovered x402 resource to return.
2200
+ */
2201
+ offset?: number;
2202
+ };
1911
2203
  export type GetCryptoRailsParams = {
1912
2204
  /**
1913
2205
  * Comma separated list of networks to filter the rails by.
@@ -1945,4 +2237,48 @@ export type CreatePaymentTransferQuoteBody = {
1945
2237
  export type CreatePaymentTransferQuote201 = {
1946
2238
  transfer: Transfer;
1947
2239
  };
2240
+ export type CreateOnrampOrderBody = {
2241
+ /** The timestamp of the time the user acknowledged they are accepting the Coinbase service agreement (https://www.coinbase.com/legal/guest-checkout/us) by using Coinbase Onramp. */
2242
+ agreementAcceptedAt: string;
2243
+ /** The address the purchased crypto will be sent to. */
2244
+ destinationAddress: string;
2245
+ /** The name of the crypto network the purchased currency will be sent on.
2246
+
2247
+ Use the [Onramp Buy Options API](https://docs.cdp.coinbase.com/api-reference/rest-api/onramp-offramp/get-buy-options) to discover the supported networks for your user's location. */
2248
+ destinationNetwork: string;
2249
+ /** The email address of the user requesting the onramp transaction. */
2250
+ email: string;
2251
+ /** If true, this API will return a quote without creating any transaction. */
2252
+ isQuote?: boolean;
2253
+ /** Optional partner order reference ID. */
2254
+ partnerOrderRef?: string;
2255
+ /** A unique string that represents the user in your app. This can be used to link individual transactions together so you can retrieve the transaction history for your users. Prefix this string with “sandbox-” to perform a sandbox transaction which will allow you to test your integration without any real transfer of funds.
2256
+
2257
+ This value can be used with with [Onramp User Transactions API](https://docs.cdp.coinbase.com/api-reference/rest-api/onramp-offramp/get-onramp-transactions-by-id) to retrieve all transactions created by the user. */
2258
+ partnerUserRef: string;
2259
+ /** A string representing the amount of fiat the user wishes to pay in exchange for crypto. When using this parameter, the returned quote will be inclusive of fees i.e. the user will pay this exact amount of the payment currency. */
2260
+ paymentAmount?: string;
2261
+ /** The fiat currency to be converted to crypto. */
2262
+ paymentCurrency: string;
2263
+ paymentMethod: OnrampPaymentMethodTypeId;
2264
+ /** The phone number of the user requesting the onramp transaction in E.164 format. This phone number must be verified by your app (via OTP) before being used with the Onramp API.
2265
+
2266
+ Please refer to the [Onramp docs](https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/onramp-overview) for more details on phone number verification requirements and best practices. */
2267
+ phoneNumber: string;
2268
+ /** Timestamp of when the user's phone number was verified via OTP. User phone number must be verified every 60 days. If this timestamp is older than 60 days, an error will be returned. */
2269
+ phoneNumberVerifiedAt: string;
2270
+ /** A string representing the amount of fiat the user wishes to pay in exchange for crypto. When using this parameter the returned quote will be exclusive of fees i.e. the user will receive this exact amount of the purchase currency. */
2271
+ purchaseAmount?: string;
2272
+ /** The ticker (e.g. `BTC`, `USDC`) or the UUID (e.g. `d85dce9b-5b73-5c3c-8978-522ce1d1c1b4`) of crypto asset to be purchased.
2273
+
2274
+ Use the [Onramp Buy Options API](https://docs.cdp.coinbase.com/api-reference/rest-api/onramp-offramp/get-buy-options) to discover the supported purchase currencies for your user's location. */
2275
+ purchaseCurrency: string;
2276
+ };
2277
+ export type CreateOnrampOrder201 = {
2278
+ order: OnrampOrder;
2279
+ paymentLink?: OnrampPaymentLink;
2280
+ };
2281
+ export type GetOnrampOrderById200 = {
2282
+ order: OnrampOrder;
2283
+ };
1948
2284
  //# sourceMappingURL=coinbaseDeveloperPlatformAPIs.schemas.d.ts.map