@coinbase/cdp-sdk 1.38.3 → 1.38.5
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.
- package/CHANGELOG.md +13 -0
- package/README.md +24 -0
- package/_cjs/accounts/evm/toEvmServerAccount.js +0 -36
- package/_cjs/accounts/evm/toEvmServerAccount.js.map +1 -1
- package/_cjs/accounts/evm/toEvmSmartAccount.js +0 -36
- package/_cjs/accounts/evm/toEvmSmartAccount.js.map +1 -1
- package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js +0 -42
- package/_cjs/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
- package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js +0 -42
- package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
- package/_cjs/accounts/solana/toSolanaAccount.js +0 -30
- package/_cjs/accounts/solana/toSolanaAccount.js.map +1 -1
- package/_cjs/actions/evm/sendUserOperation.js +2 -0
- package/_cjs/actions/evm/sendUserOperation.js.map +1 -1
- package/_cjs/actions/solana/rpc.js +16 -0
- package/_cjs/actions/solana/rpc.js.map +1 -0
- package/_cjs/actions/solana/transfer.js +74 -48
- package/_cjs/actions/solana/transfer.js.map +1 -1
- package/_cjs/actions/solana/utils.js +4 -6
- package/_cjs/actions/solana/utils.js.map +1 -1
- package/_cjs/auth/utils/http.js +5 -2
- package/_cjs/auth/utils/http.js.map +1 -1
- package/_cjs/auth/utils/jwt.js +1 -1
- package/_cjs/auth/utils/jwt.js.map +1 -1
- package/_cjs/client/evm/evm.js +49 -0
- package/_cjs/client/evm/evm.js.map +1 -1
- package/_cjs/openapi-client/cdpApiClient.js +4 -0
- package/_cjs/openapi-client/cdpApiClient.js.map +1 -1
- package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +6 -41
- package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
- package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js +10 -1
- package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
- package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +14 -1
- package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
- package/_cjs/openapi-client/generated/sql-api-alpha/sql-api-alpha.js +14 -1
- package/_cjs/openapi-client/generated/sql-api-alpha/sql-api-alpha.js.map +1 -1
- package/_cjs/openapi-client/index.js +0 -3
- package/_cjs/openapi-client/index.js.map +1 -1
- package/_cjs/version.js +1 -1
- package/_esm/accounts/evm/toEvmServerAccount.js +0 -36
- package/_esm/accounts/evm/toEvmServerAccount.js.map +1 -1
- package/_esm/accounts/evm/toEvmSmartAccount.js +0 -36
- package/_esm/accounts/evm/toEvmSmartAccount.js.map +1 -1
- package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js +0 -42
- package/_esm/accounts/evm/toNetworkScopedEvmServerAccount.js.map +1 -1
- package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js +0 -42
- package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
- package/_esm/accounts/solana/toSolanaAccount.js +0 -30
- package/_esm/accounts/solana/toSolanaAccount.js.map +1 -1
- package/_esm/actions/evm/sendUserOperation.js +2 -0
- package/_esm/actions/evm/sendUserOperation.js.map +1 -1
- package/_esm/actions/solana/rpc.js +13 -0
- package/_esm/actions/solana/rpc.js.map +1 -0
- package/_esm/actions/solana/transfer.js +72 -48
- package/_esm/actions/solana/transfer.js.map +1 -1
- package/_esm/actions/solana/utils.js +4 -6
- package/_esm/actions/solana/utils.js.map +1 -1
- package/_esm/auth/utils/http.js +5 -2
- package/_esm/auth/utils/http.js.map +1 -1
- package/_esm/auth/utils/jwt.js +1 -1
- package/_esm/auth/utils/jwt.js.map +1 -1
- package/_esm/client/evm/evm.js +49 -0
- package/_esm/client/evm/evm.js.map +1 -1
- package/_esm/openapi-client/cdpApiClient.js +4 -0
- package/_esm/openapi-client/cdpApiClient.js.map +1 -1
- package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +5 -39
- package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
- package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js +8 -0
- package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
- package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +12 -0
- package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
- package/_esm/openapi-client/generated/sql-api-alpha/sql-api-alpha.js +12 -0
- package/_esm/openapi-client/generated/sql-api-alpha/sql-api-alpha.js.map +1 -1
- package/_esm/openapi-client/index.js +0 -3
- package/_esm/openapi-client/index.js.map +1 -1
- package/_esm/version.js +1 -1
- package/_types/accounts/evm/toEvmServerAccount.d.ts.map +1 -1
- package/_types/accounts/evm/toEvmSmartAccount.d.ts.map +1 -1
- package/_types/accounts/evm/toNetworkScopedEvmServerAccount.d.ts.map +1 -1
- package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts.map +1 -1
- package/_types/accounts/evm/types.d.ts +3 -18
- package/_types/accounts/evm/types.d.ts.map +1 -1
- package/_types/accounts/solana/toSolanaAccount.d.ts.map +1 -1
- package/_types/actions/evm/sendUserOperation.d.ts +11 -0
- package/_types/actions/evm/sendUserOperation.d.ts.map +1 -1
- package/_types/actions/evm/types.d.ts +1 -66
- package/_types/actions/evm/types.d.ts.map +1 -1
- package/_types/actions/solana/rpc.d.ts +10 -0
- package/_types/actions/solana/rpc.d.ts.map +1 -0
- package/_types/actions/solana/transfer.d.ts +37 -1
- package/_types/actions/solana/transfer.d.ts.map +1 -1
- package/_types/actions/solana/types.d.ts +1 -62
- package/_types/actions/solana/types.d.ts.map +1 -1
- package/_types/actions/solana/utils.d.ts +4 -6
- package/_types/actions/solana/utils.d.ts.map +1 -1
- package/_types/auth/utils/http.d.ts.map +1 -1
- package/_types/client/evm/evm.d.ts +29 -2
- package/_types/client/evm/evm.d.ts.map +1 -1
- package/_types/client/evm/evm.types.d.ts +20 -2
- package/_types/client/evm/evm.types.d.ts.map +1 -1
- package/_types/openapi-client/cdpApiClient.d.ts.map +1 -1
- package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +44 -246
- package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
- package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts +8 -1
- package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts.map +1 -1
- package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts +7 -1
- package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts.map +1 -1
- package/_types/openapi-client/generated/sql-api-alpha/sql-api-alpha.d.ts +11 -0
- package/_types/openapi-client/generated/sql-api-alpha/sql-api-alpha.d.ts.map +1 -1
- package/_types/openapi-client/index.d.ts +3 -6
- package/_types/openapi-client/index.d.ts.map +1 -1
- package/_types/types/calls.d.ts +1 -0
- package/_types/types/calls.d.ts.map +1 -1
- package/_types/version.d.ts +1 -1
- package/accounts/evm/toEvmServerAccount.ts +0 -47
- package/accounts/evm/toEvmSmartAccount.ts +0 -47
- package/accounts/evm/toNetworkScopedEvmServerAccount.ts +0 -50
- package/accounts/evm/toNetworkScopedEvmSmartAccount.ts +0 -49
- package/accounts/evm/types.ts +5 -49
- package/accounts/solana/toSolanaAccount.ts +0 -41
- package/actions/evm/sendUserOperation.ts +14 -0
- package/actions/evm/types.ts +1 -74
- package/actions/solana/rpc.ts +17 -0
- package/actions/solana/transfer.ts +115 -84
- package/actions/solana/types.ts +1 -70
- package/actions/solana/utils.ts +4 -6
- package/auth/utils/http.ts +5 -2
- package/auth/utils/jwt.ts +1 -1
- package/client/evm/evm.ts +61 -0
- package/client/evm/evm.types.ts +23 -0
- package/openapi-client/cdpApiClient.ts +5 -0
- package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +53 -289
- package/openapi-client/generated/end-user-accounts/end-user-accounts.ts +14 -0
- package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.ts +23 -0
- package/openapi-client/generated/sql-api-alpha/sql-api-alpha.ts +13 -0
- package/openapi-client/index.ts +0 -3
- package/package.json +5 -6
- package/types/calls.ts +1 -0
- package/version.ts +1 -1
- package/_cjs/actions/Quote.js +0 -106
- package/_cjs/actions/Quote.js.map +0 -1
- package/_cjs/actions/evm/fund/fund.js +0 -50
- package/_cjs/actions/evm/fund/fund.js.map +0 -1
- package/_cjs/actions/evm/fund/quoteFund.js +0 -47
- package/_cjs/actions/evm/fund/quoteFund.js.map +0 -1
- package/_cjs/actions/solana/fund/fund.js +0 -50
- package/_cjs/actions/solana/fund/fund.js.map +0 -1
- package/_cjs/actions/solana/fund/quoteFund.js +0 -47
- package/_cjs/actions/solana/fund/quoteFund.js.map +0 -1
- package/_cjs/actions/types.js +0 -3
- package/_cjs/actions/types.js.map +0 -1
- package/_cjs/actions/waitForFundOperationReceipt.js +0 -64
- package/_cjs/actions/waitForFundOperationReceipt.js.map +0 -1
- package/_cjs/openapi-client/generated/payments-alpha/payments-alpha.js +0 -50
- package/_cjs/openapi-client/generated/payments-alpha/payments-alpha.js.map +0 -1
- package/_esm/actions/Quote.js +0 -101
- package/_esm/actions/Quote.js.map +0 -1
- package/_esm/actions/evm/fund/fund.js +0 -47
- package/_esm/actions/evm/fund/fund.js.map +0 -1
- package/_esm/actions/evm/fund/quoteFund.js +0 -44
- package/_esm/actions/evm/fund/quoteFund.js.map +0 -1
- package/_esm/actions/solana/fund/fund.js +0 -47
- package/_esm/actions/solana/fund/fund.js.map +0 -1
- package/_esm/actions/solana/fund/quoteFund.js +0 -44
- package/_esm/actions/solana/fund/quoteFund.js.map +0 -1
- package/_esm/actions/types.js +0 -2
- package/_esm/actions/types.js.map +0 -1
- package/_esm/actions/waitForFundOperationReceipt.js +0 -61
- package/_esm/actions/waitForFundOperationReceipt.js.map +0 -1
- package/_esm/openapi-client/generated/payments-alpha/payments-alpha.js +0 -42
- package/_esm/openapi-client/generated/payments-alpha/payments-alpha.js.map +0 -1
- package/_types/actions/Quote.d.ts +0 -97
- package/_types/actions/Quote.d.ts.map +0 -1
- package/_types/actions/evm/fund/fund.d.ts +0 -21
- package/_types/actions/evm/fund/fund.d.ts.map +0 -1
- package/_types/actions/evm/fund/quoteFund.d.ts +0 -22
- package/_types/actions/evm/fund/quoteFund.d.ts.map +0 -1
- package/_types/actions/solana/fund/fund.d.ts +0 -19
- package/_types/actions/solana/fund/fund.d.ts.map +0 -1
- package/_types/actions/solana/fund/quoteFund.d.ts +0 -20
- package/_types/actions/solana/fund/quoteFund.d.ts.map +0 -1
- package/_types/actions/types.d.ts +0 -37
- package/_types/actions/types.d.ts.map +0 -1
- package/_types/actions/waitForFundOperationReceipt.d.ts +0 -68
- package/_types/actions/waitForFundOperationReceipt.d.ts.map +0 -1
- package/_types/openapi-client/generated/payments-alpha/payments-alpha.d.ts +0 -42
- package/_types/openapi-client/generated/payments-alpha/payments-alpha.d.ts.map +0 -1
- package/actions/Quote.ts +0 -154
- package/actions/evm/fund/fund.ts +0 -73
- package/actions/evm/fund/quoteFund.ts +0 -79
- package/actions/solana/fund/fund.ts +0 -71
- package/actions/solana/fund/quoteFund.ts +0 -77
- package/actions/types.ts +0 -39
- package/actions/waitForFundOperationReceipt.ts +0 -118
- package/openapi-client/generated/payments-alpha/payments-alpha.ts +0 -96
|
@@ -4,7 +4,7 @@ type GetOrCreateConnectionOptions = {
|
|
|
4
4
|
networkOrConnection: Network | Connection;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
|
-
* Get a connection
|
|
7
|
+
* Get a connection for the Solana network
|
|
8
8
|
*
|
|
9
9
|
* @param options - The options for the connection
|
|
10
10
|
*
|
|
@@ -14,12 +14,10 @@ type GetOrCreateConnectionOptions = {
|
|
|
14
14
|
*/
|
|
15
15
|
export declare function getOrCreateConnection({ networkOrConnection, }: GetOrCreateConnectionOptions): Connection;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Legacy function for compatibility during migration
|
|
18
18
|
*
|
|
19
|
-
* @param connection - The
|
|
20
|
-
* @
|
|
21
|
-
*
|
|
22
|
-
* @returns The network of the connected Solana node
|
|
19
|
+
* @param connection - The Solana Connection instance
|
|
20
|
+
* @returns The network type (mainnet or devnet)
|
|
23
21
|
*/
|
|
24
22
|
export declare function getConnectedNetwork(connection: Connection): Promise<Network>;
|
|
25
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../actions/solana/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAS7C,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3C,KAAK,4BAA4B,GAAG;IAClC,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAAC;CAC3C,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,mBAAmB,GACpB,EAAE,4BAA4B,GAAG,UAAU,CAU3C;AAED
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../actions/solana/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAS7C,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3C,KAAK,4BAA4B,GAAG;IAClC,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAAC;CAC3C,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,mBAAmB,GACpB,EAAE,4BAA4B,GAAG,UAAU,CAU3C;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,CAUlF;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAK3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../auth/utils/http.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../auth/utils/http.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAsCjC;AAkBD;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAYlF"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module Client
|
|
3
3
|
*/
|
|
4
|
-
import { CreateServerAccountOptions, CreateSmartAccountOptions, CreateSwapQuoteOptions, CreateSwapQuoteResult, EvmClientInterface, ExportServerAccountOptions, GetOrCreateServerAccountOptions, GetOrCreateSmartAccountOptions, GetServerAccountOptions, GetSmartAccountOptions, GetSwapPriceOptions, GetSwapPriceResult, GetUserOperationOptions, ImportServerAccountOptions, ListServerAccountResult, ListServerAccountsOptions, ListSmartAccountResult, ListSmartAccountsOptions, PrepareUserOperationOptions, ServerAccount, SignatureResult, SignHashOptions, SignMessageOptions, SignTransactionOptions, SignTypedDataOptions, SmartAccount, SwapUnavailableResult, UpdateEvmAccountOptions, UpdateEvmSmartAccountOptions, UserOperation, WaitForUserOperationOptions } from "./evm.types.js";
|
|
4
|
+
import { CreateServerAccountOptions, CreateSmartAccountOptions, CreateSwapQuoteOptions, CreateSwapQuoteResult, EvmClientInterface, ExportServerAccountOptions, GetOrCreateServerAccountOptions, GetOrCreateSmartAccountOptions, GetServerAccountOptions, GetSmartAccountOptions, GetSwapPriceOptions, GetSwapPriceResult, GetUserOperationOptions, ImportServerAccountOptions, ListServerAccountResult, ListServerAccountsOptions, ListSmartAccountResult, ListSmartAccountsOptions, PrepareAndSendUserOperationOptions, PrepareUserOperationOptions, ServerAccount, SignatureResult, SignHashOptions, SignMessageOptions, SignTransactionOptions, SignTypedDataOptions, SmartAccount, SwapUnavailableResult, UpdateEvmAccountOptions, UpdateEvmSmartAccountOptions, UserOperation, WaitForUserOperationOptions } from "./evm.types.js";
|
|
5
5
|
import { ListSpendPermissionsResult } from "../../actions/evm/listSpendPermissions.js";
|
|
6
6
|
import { ListTokenBalancesOptions, ListTokenBalancesResult } from "../../actions/evm/listTokenBalances.js";
|
|
7
7
|
import { RequestFaucetOptions, RequestFaucetResult } from "../../actions/evm/requestFaucet.js";
|
|
8
|
-
import { SendUserOperationOptions, SendUserOperationReturnType } from "../../actions/evm/sendUserOperation.js";
|
|
8
|
+
import { PrepareAndSendUserOperationReturnType, SendUserOperationOptions, SendUserOperationReturnType } from "../../actions/evm/sendUserOperation.js";
|
|
9
9
|
import { WaitForUserOperationReturnType } from "../../actions/evm/waitForUserOperation.js";
|
|
10
10
|
import type { SendTransactionOptions, TransactionResult } from "../../actions/evm/sendTransaction.js";
|
|
11
11
|
import type { CreateSpendPermissionOptions, ListSpendPermissionsOptions, RevokeSpendPermissionOptions } from "../../spend-permissions/types.js";
|
|
@@ -466,6 +466,33 @@ export declare class EvmClient implements EvmClientInterface {
|
|
|
466
466
|
* ```
|
|
467
467
|
*/
|
|
468
468
|
prepareUserOperation(options: PrepareUserOperationOptions): Promise<UserOperation>;
|
|
469
|
+
/**
|
|
470
|
+
* Prepares and sends a user operation for a smart account.
|
|
471
|
+
*
|
|
472
|
+
* @param {PrepareAndSendUserOperationOptions} options - Parameters for preparing and sending the user operation.
|
|
473
|
+
* @param {SmartAccount} options.smartAccount - The smart account signing the user operation.
|
|
474
|
+
* @param {string} options.network - The network to prepare and send the user operation on.
|
|
475
|
+
* @param {EvmCall[]} options.calls - The calls to include in the user operation.
|
|
476
|
+
* @param {string} [options.paymasterUrl] - The optional paymaster URL to use for the user operation.
|
|
477
|
+
*
|
|
478
|
+
* @returns A promise that resolves to the smart account address, user operation hash, and status of the user operation.
|
|
479
|
+
*
|
|
480
|
+
* @example
|
|
481
|
+
* ```ts
|
|
482
|
+
* const { userOpHash } = await cdp.evm.prepareAndSendUserOperation({
|
|
483
|
+
* smartAccount,
|
|
484
|
+
* network: "base-sepolia",
|
|
485
|
+
* calls: [
|
|
486
|
+
* {
|
|
487
|
+
* to: "0x1234567890123456789012345678901234567890",
|
|
488
|
+
* value: parseEther("0.000001"),
|
|
489
|
+
* data: "0x",
|
|
490
|
+
* },
|
|
491
|
+
* ],
|
|
492
|
+
* });
|
|
493
|
+
* ```
|
|
494
|
+
*/
|
|
495
|
+
prepareAndSendUserOperation(options: PrepareAndSendUserOperationOptions): Promise<PrepareAndSendUserOperationReturnType>;
|
|
469
496
|
/**
|
|
470
497
|
* Requests funds from an EVM faucet.
|
|
471
498
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../../client/evm/evm.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,OAAO,EACL,0BAA0B,EAC1B,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,+BAA+B,EAC/B,8BAA8B,EAC9B,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACb,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,aAAa,EACb,2BAA2B,EAC5B,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAEL,0BAA0B,EAC3B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,
|
|
1
|
+
{"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../../client/evm/evm.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,OAAO,EACL,0BAA0B,EAC1B,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,+BAA+B,EAC/B,8BAA8B,EAC9B,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,kCAAkC,EAClC,2BAA2B,EAC3B,aAAa,EACb,eAAe,EACf,eAAe,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACG,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,aAAa,CAAC;IAoB7E;;;;;;;;;;;OAWG;IACG,kBAAkB,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,YAAY,CAAC;IAqBtF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACG,oBAAoB,CACxB,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,8BAA8B,CAAC;IAU1C;;;;;;OAMG;YACW,sBAAsB;IAoBpC;;;;;;OAMG;YACW,mBAAmB;IAsBjC;;;;;;OAMG;YACW,2BAA2B;IA2BzC;;;;;;OAMG;YACW,wBAAwB;CA6BvC"}
|
|
@@ -6,7 +6,7 @@ import type { ListSpendPermissionsResult } from "../../actions/evm/listSpendPerm
|
|
|
6
6
|
import type { ListTokenBalancesOptions, ListTokenBalancesResult } from "../../actions/evm/listTokenBalances.js";
|
|
7
7
|
import type { RequestFaucetOptions, RequestFaucetResult } from "../../actions/evm/requestFaucet.js";
|
|
8
8
|
import type { TransactionResult, SendTransactionOptions } from "../../actions/evm/sendTransaction.js";
|
|
9
|
-
import type { SendUserOperationOptions, SendUserOperationReturnType } from "../../actions/evm/sendUserOperation.js";
|
|
9
|
+
import type { PrepareAndSendUserOperationReturnType, SendUserOperationOptions, SendUserOperationReturnType } from "../../actions/evm/sendUserOperation.js";
|
|
10
10
|
import type { SmartAccountActions } from "../../actions/evm/types.js";
|
|
11
11
|
import type { EvmSwapsNetwork, EvmUserOperationNetwork, EvmUserOperationStatus, OpenApiEvmMethods, UpdateEvmAccountBody as UpdateEvmAccount, UpdateEvmSmartAccountBody as UpdateEvmSmartAccount, UserOperationReceipt } from "../../openapi-client/index.js";
|
|
12
12
|
import type { ListSpendPermissionsOptions } from "../../spend-permissions/types.js";
|
|
@@ -16,7 +16,7 @@ import type { WaitOptions } from "../../utils/wait.js";
|
|
|
16
16
|
/**
|
|
17
17
|
* The EvmClient type, where all OpenApiEvmMethods methods are wrapped.
|
|
18
18
|
*/
|
|
19
|
-
export type EvmClientInterface = Omit<typeof OpenApiEvmMethods, "createEvmAccount" | "createEvmSmartAccount" | "createSpendPermission" | "listSpendPermissions" | "revokeSpendPermission" | "importEvmAccount" | "exportEvmAccount" | "exportEvmAccountByName" | "getEvmAccount" | "getEvmAccountByName" | "getEvmSmartAccount" | "getEvmSmartAccountByName" | "getEvmSwapPrice" | "createEvmSwapQuote" | "getUserOperation" | "updateEvmAccount" | "listEvmAccounts" | "listEvmSmartAccounts" | "listEvmTokenBalances" | "prepareUserOperation" | "requestEvmFaucet" | "sendUserOperation" | "signEvmHash" | "signEvmMessage" | "signEvmTransaction" | "signEvmTypedData" | "sendEvmTransaction" | "signEvmTypedData" | "updateEvmAccount" | "exportEvmAccount" | "exportEvmAccountByName" | "updateEvmSmartAccount"> & {
|
|
19
|
+
export type EvmClientInterface = Omit<typeof OpenApiEvmMethods, "createEvmAccount" | "createEvmSmartAccount" | "createSpendPermission" | "listSpendPermissions" | "revokeSpendPermission" | "importEvmAccount" | "exportEvmAccount" | "exportEvmAccountByName" | "getEvmAccount" | "getEvmAccountByName" | "getEvmSmartAccount" | "getEvmSmartAccountByName" | "getEvmSwapPrice" | "createEvmSwapQuote" | "getUserOperation" | "updateEvmAccount" | "listEvmAccounts" | "listEvmSmartAccounts" | "listEvmTokenBalances" | "prepareUserOperation" | "prepareAndSendUserOperation" | "requestEvmFaucet" | "sendUserOperation" | "signEvmHash" | "signEvmMessage" | "signEvmTransaction" | "signEvmTypedData" | "sendEvmTransaction" | "signEvmTypedData" | "updateEvmAccount" | "exportEvmAccount" | "exportEvmAccountByName" | "updateEvmSmartAccount"> & {
|
|
20
20
|
createAccount: (options: CreateServerAccountOptions) => Promise<ServerAccount>;
|
|
21
21
|
createSmartAccount: (options: CreateSmartAccountOptions) => Promise<SmartAccount>;
|
|
22
22
|
importAccount: (options: ImportServerAccountOptions) => Promise<ServerAccount>;
|
|
@@ -37,6 +37,7 @@ export type EvmClientInterface = Omit<typeof OpenApiEvmMethods, "createEvmAccoun
|
|
|
37
37
|
requestFaucet: (options: RequestFaucetOptions) => Promise<RequestFaucetResult>;
|
|
38
38
|
sendTransaction: (options: SendTransactionOptions) => Promise<TransactionResult>;
|
|
39
39
|
sendUserOperation: (options: SendUserOperationOptions<unknown[]>) => Promise<SendUserOperationReturnType>;
|
|
40
|
+
prepareAndSendUserOperation: (options: PrepareAndSendUserOperationOptions) => Promise<PrepareAndSendUserOperationReturnType>;
|
|
40
41
|
signHash: (options: SignHashOptions) => Promise<SignatureResult>;
|
|
41
42
|
signMessage: (options: SignMessageOptions) => Promise<SignatureResult>;
|
|
42
43
|
signTypedData: (options: SignTypedDataOptions) => Promise<SignatureResult>;
|
|
@@ -217,6 +218,21 @@ export interface PrepareUserOperationOptions {
|
|
|
217
218
|
/** The paymaster URL. */
|
|
218
219
|
paymasterUrl?: string;
|
|
219
220
|
}
|
|
221
|
+
/**
|
|
222
|
+
* Options for preparing and sending a user operation.
|
|
223
|
+
*/
|
|
224
|
+
export interface PrepareAndSendUserOperationOptions {
|
|
225
|
+
/** The smart account. */
|
|
226
|
+
smartAccount: SmartAccount;
|
|
227
|
+
/** The network. */
|
|
228
|
+
network: EvmUserOperationNetwork;
|
|
229
|
+
/** The calls. */
|
|
230
|
+
calls: Calls<EvmCall[]>;
|
|
231
|
+
/** The paymaster URL. */
|
|
232
|
+
paymasterUrl?: string;
|
|
233
|
+
/** An optional idempotency key. */
|
|
234
|
+
idempotencyKey?: string;
|
|
235
|
+
}
|
|
220
236
|
/**
|
|
221
237
|
* A call to be executed in a user operation.
|
|
222
238
|
*/
|
|
@@ -231,6 +247,8 @@ export interface EvmCall {
|
|
|
231
247
|
* The call data to send. This is the hex-encoded data of the function call consisting of the method selector and the function arguments.
|
|
232
248
|
*/
|
|
233
249
|
data: Hex;
|
|
250
|
+
/** The override gas limit. */
|
|
251
|
+
overrideGasLimit?: string;
|
|
234
252
|
}
|
|
235
253
|
/**
|
|
236
254
|
* A user operation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evm.types.d.ts","sourceRoot":"","sources":["../../../client/evm/evm.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,UAAU,IAAI,OAAO,EACrB,gBAAgB,IAAI,aAAa,EACjC,eAAe,IAAI,YAAY,EAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,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,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,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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D,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdpApiClient.d.ts","sourceRoot":"","sources":["../../openapi-client/cdpApiClient.ts"],"names":[],"mappings":"AACA,OAAc,EAAiB,kBAAkB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"cdpApiClient.d.ts","sourceRoot":"","sources":["../../openapi-client/cdpApiClient.ts"],"names":[],"mappings":"AACA,OAAc,EAAiB,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAQjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB,qEAAqE;IACrE,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,2FAA2F;IAC3F,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAIF,eAAO,IAAI,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,SACxE,CAAC;AAEZ;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,SAAS,UAAU,SAyB5C,CAAC;AA0BF;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,GAAU,CAAC,EAClC,QAAQ,kBAAkB,EAC1B,iBAAiB,MAAM,KACtB,OAAO,CAAC,CAAC,CAsLX,CAAC"}
|
|
@@ -83,6 +83,10 @@ export interface EndUser {
|
|
|
83
83
|
/** The list of Solana accounts associated with the end user. Currently, only one Solana account is supported per end user. */
|
|
84
84
|
solanaAccounts: string[];
|
|
85
85
|
}
|
|
86
|
+
export interface ListResponse {
|
|
87
|
+
/** The token for the next page of items, if any. */
|
|
88
|
+
nextPageToken?: string;
|
|
89
|
+
}
|
|
86
90
|
/**
|
|
87
91
|
* The code that indicates the type of error that occurred. These error codes can be used to determine how to handle the error.
|
|
88
92
|
*/
|
|
@@ -151,10 +155,6 @@ export interface EvmAccount {
|
|
|
151
155
|
/** The UTC ISO 8601 timestamp at which the account was last updated. */
|
|
152
156
|
updatedAt?: string;
|
|
153
157
|
}
|
|
154
|
-
export interface ListResponse {
|
|
155
|
-
/** The token for the next page of items, if any. */
|
|
156
|
-
nextPageToken?: string;
|
|
157
|
-
}
|
|
158
158
|
/**
|
|
159
159
|
* The domain of the EIP-712 typed data.
|
|
160
160
|
*/
|
|
@@ -252,6 +252,8 @@ export interface EvmCall {
|
|
|
252
252
|
* @pattern ^0x[0-9a-fA-F]*$
|
|
253
253
|
*/
|
|
254
254
|
data: string;
|
|
255
|
+
/** The override gas limit to use for the call instead of the bundler's estimated gas limit. */
|
|
256
|
+
overrideGasLimit?: string;
|
|
255
257
|
}
|
|
256
258
|
/**
|
|
257
259
|
* The revert data if the user operation has reverted.
|
|
@@ -1854,7 +1856,7 @@ export interface OnchainDataQuery {
|
|
|
1854
1856
|
/**
|
|
1855
1857
|
* SQL query to execute against the indexed blockchain data.
|
|
1856
1858
|
* @minLength 1
|
|
1857
|
-
* @maxLength
|
|
1859
|
+
* @maxLength 50000
|
|
1858
1860
|
*/
|
|
1859
1861
|
sql: string;
|
|
1860
1862
|
}
|
|
@@ -2184,206 +2186,6 @@ export interface X402SupportedPaymentKind {
|
|
|
2184
2186
|
/** The optional additional scheme-specific payment info. */
|
|
2185
2187
|
extra?: X402SupportedPaymentKindExtra;
|
|
2186
2188
|
}
|
|
2187
|
-
/**
|
|
2188
|
-
* The action of the payment method.
|
|
2189
|
-
*/
|
|
2190
|
-
export type PaymentRailAction = (typeof PaymentRailAction)[keyof typeof PaymentRailAction];
|
|
2191
|
-
export declare const PaymentRailAction: {
|
|
2192
|
-
readonly source: "source";
|
|
2193
|
-
readonly target: "target";
|
|
2194
|
-
};
|
|
2195
|
-
/**
|
|
2196
|
-
* The type of payment method.
|
|
2197
|
-
*/
|
|
2198
|
-
export type PaymentMethodType = (typeof PaymentMethodType)[keyof typeof PaymentMethodType];
|
|
2199
|
-
export declare const PaymentMethodType: {
|
|
2200
|
-
readonly card: "card";
|
|
2201
|
-
readonly fiat_account: "fiat_account";
|
|
2202
|
-
};
|
|
2203
|
-
/**
|
|
2204
|
-
* The limit for this payment method being used as a source for transfers.
|
|
2205
|
-
*/
|
|
2206
|
-
export type PaymentMethodLimitsSourceLimit = {
|
|
2207
|
-
/** The amount of the limit. */
|
|
2208
|
-
amount?: string;
|
|
2209
|
-
/** The currency of the limit. */
|
|
2210
|
-
currency?: string;
|
|
2211
|
-
};
|
|
2212
|
-
/**
|
|
2213
|
-
* The limit for this payment method being used as a target for transfers.
|
|
2214
|
-
*/
|
|
2215
|
-
export type PaymentMethodLimitsTargetLimit = {
|
|
2216
|
-
/** The amount of the limit. */
|
|
2217
|
-
amount?: string;
|
|
2218
|
-
/** The currency of the limit. */
|
|
2219
|
-
currency?: string;
|
|
2220
|
-
};
|
|
2221
|
-
/**
|
|
2222
|
-
* The limits of the payment method.
|
|
2223
|
-
*/
|
|
2224
|
-
export type PaymentMethodLimits = {
|
|
2225
|
-
/** The limit for this payment method being used as a source for transfers. */
|
|
2226
|
-
sourceLimit?: PaymentMethodLimitsSourceLimit;
|
|
2227
|
-
/** The limit for this payment method being used as a target for transfers. */
|
|
2228
|
-
targetLimit?: PaymentMethodLimitsTargetLimit;
|
|
2229
|
-
};
|
|
2230
|
-
/**
|
|
2231
|
-
* The fiat payment method object.
|
|
2232
|
-
*/
|
|
2233
|
-
export interface PaymentMethod {
|
|
2234
|
-
/**
|
|
2235
|
-
* The ID of the payment method which previously was added.
|
|
2236
|
-
* @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
2237
|
-
*/
|
|
2238
|
-
id: string;
|
|
2239
|
-
/** The type of payment method. */
|
|
2240
|
-
type: PaymentMethodType;
|
|
2241
|
-
/** The currency of the payment method. */
|
|
2242
|
-
currency: string;
|
|
2243
|
-
/** The actions for the payment method. */
|
|
2244
|
-
actions: PaymentRailAction[];
|
|
2245
|
-
/** The limits of the payment method. */
|
|
2246
|
-
limits?: PaymentMethodLimits;
|
|
2247
|
-
}
|
|
2248
|
-
/**
|
|
2249
|
-
* The networks of the asset.
|
|
2250
|
-
*/
|
|
2251
|
-
export type CryptoRailNetworksItem = {
|
|
2252
|
-
/** The name of the network. */
|
|
2253
|
-
name?: string;
|
|
2254
|
-
/** The chain ID of the network. */
|
|
2255
|
-
chainId?: number;
|
|
2256
|
-
/** The contract address of the asset on the network. */
|
|
2257
|
-
contractAddress?: string;
|
|
2258
|
-
};
|
|
2259
|
-
/**
|
|
2260
|
-
* The crypto rails available.
|
|
2261
|
-
*/
|
|
2262
|
-
export interface CryptoRail {
|
|
2263
|
-
/** The currency symbol of the asset. */
|
|
2264
|
-
currency: string;
|
|
2265
|
-
/** The name of the asset. */
|
|
2266
|
-
name: string;
|
|
2267
|
-
/** All available networks of the asset. */
|
|
2268
|
-
networks: CryptoRailNetworksItem[];
|
|
2269
|
-
/** The actions for the crypto rail. */
|
|
2270
|
-
actions: PaymentRailAction[];
|
|
2271
|
-
}
|
|
2272
|
-
/**
|
|
2273
|
-
* The fiat payment method request object.
|
|
2274
|
-
*/
|
|
2275
|
-
export interface PaymentMethodRequest {
|
|
2276
|
-
/**
|
|
2277
|
-
* The ID of the payment method.
|
|
2278
|
-
* @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
2279
|
-
*/
|
|
2280
|
-
id: string;
|
|
2281
|
-
}
|
|
2282
|
-
/**
|
|
2283
|
-
* The source of the transfer.
|
|
2284
|
-
*/
|
|
2285
|
-
export type TransferSource = PaymentMethodRequest;
|
|
2286
|
-
/**
|
|
2287
|
-
* The crypto rail input object which specifies the symbol, network, and address which is the source or destination wallet address.
|
|
2288
|
-
*/
|
|
2289
|
-
export interface CryptoRailAddress {
|
|
2290
|
-
/** The symbol of the currency of the payment rail. */
|
|
2291
|
-
currency: string;
|
|
2292
|
-
/** The network of the payment rail. */
|
|
2293
|
-
network: string;
|
|
2294
|
-
/** The address of the payment rail. This is the source or destination wallet address. It is not a contract address. */
|
|
2295
|
-
address: string;
|
|
2296
|
-
}
|
|
2297
|
-
/**
|
|
2298
|
-
* The target of the transfer.
|
|
2299
|
-
*/
|
|
2300
|
-
export type TransferTarget = CryptoRailAddress;
|
|
2301
|
-
/**
|
|
2302
|
-
* The type of fee.
|
|
2303
|
-
*/
|
|
2304
|
-
export type FeeType = (typeof FeeType)[keyof typeof FeeType];
|
|
2305
|
-
export declare const FeeType: {
|
|
2306
|
-
readonly exchange_fee: "exchange_fee";
|
|
2307
|
-
readonly network_fee: "network_fee";
|
|
2308
|
-
};
|
|
2309
|
-
/**
|
|
2310
|
-
* The fee for the transfer.
|
|
2311
|
-
*/
|
|
2312
|
-
export interface Fee {
|
|
2313
|
-
/** The type of fee. */
|
|
2314
|
-
type: FeeType;
|
|
2315
|
-
/** The amount of the fee. */
|
|
2316
|
-
amount: string;
|
|
2317
|
-
/** The currency of the fee. */
|
|
2318
|
-
currency: string;
|
|
2319
|
-
/** The description of the fee. */
|
|
2320
|
-
description?: string;
|
|
2321
|
-
}
|
|
2322
|
-
/**
|
|
2323
|
-
* The type of the source of the transfer.
|
|
2324
|
-
*/
|
|
2325
|
-
export type TransferSourceType = (typeof TransferSourceType)[keyof typeof TransferSourceType];
|
|
2326
|
-
export declare const TransferSourceType: {
|
|
2327
|
-
readonly payment_method: "payment_method";
|
|
2328
|
-
};
|
|
2329
|
-
/**
|
|
2330
|
-
* The type of the target of the transfer.
|
|
2331
|
-
*/
|
|
2332
|
-
export type TransferTargetType = (typeof TransferTargetType)[keyof typeof TransferTargetType];
|
|
2333
|
-
export declare const TransferTargetType: {
|
|
2334
|
-
readonly crypto_rail: "crypto_rail";
|
|
2335
|
-
};
|
|
2336
|
-
/**
|
|
2337
|
-
* The status of the transfer.
|
|
2338
|
-
*/
|
|
2339
|
-
export type TransferStatus = (typeof TransferStatus)[keyof typeof TransferStatus];
|
|
2340
|
-
export declare const TransferStatus: {
|
|
2341
|
-
readonly created: "created";
|
|
2342
|
-
readonly pending: "pending";
|
|
2343
|
-
readonly started: "started";
|
|
2344
|
-
readonly completed: "completed";
|
|
2345
|
-
readonly failed: "failed";
|
|
2346
|
-
};
|
|
2347
|
-
/**
|
|
2348
|
-
* The transfer object.
|
|
2349
|
-
*/
|
|
2350
|
-
export interface Transfer {
|
|
2351
|
-
/**
|
|
2352
|
-
* The ID of the transfer.
|
|
2353
|
-
* @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
|
|
2354
|
-
*/
|
|
2355
|
-
id: string;
|
|
2356
|
-
/** The type of the source of the transfer. */
|
|
2357
|
-
sourceType: TransferSourceType;
|
|
2358
|
-
/** The source of the transfer. */
|
|
2359
|
-
source: PaymentMethodRequest;
|
|
2360
|
-
/** The type of the target of the transfer. */
|
|
2361
|
-
targetType: TransferTargetType;
|
|
2362
|
-
/** The target of the transfer. */
|
|
2363
|
-
target: CryptoRailAddress;
|
|
2364
|
-
/** The amount the source will transfer. */
|
|
2365
|
-
sourceAmount: string;
|
|
2366
|
-
/** The currency the source will transfer. */
|
|
2367
|
-
sourceCurrency: string;
|
|
2368
|
-
/** The amount the target will receive. */
|
|
2369
|
-
targetAmount: string;
|
|
2370
|
-
/** The currency the target will receive. */
|
|
2371
|
-
targetCurrency: string;
|
|
2372
|
-
/** The amount the customer put in to transfer. */
|
|
2373
|
-
userAmount: string;
|
|
2374
|
-
/** The currency the customer put in to transfer. */
|
|
2375
|
-
userCurrency: string;
|
|
2376
|
-
/** The fees for the transfer. */
|
|
2377
|
-
fees: Fee[];
|
|
2378
|
-
/** The status of the transfer. */
|
|
2379
|
-
status: TransferStatus;
|
|
2380
|
-
/** The UTC date and time in ISO 8601 format the transfer was created. */
|
|
2381
|
-
createdAt: string;
|
|
2382
|
-
/** The UTC date and time in ISO 8601 format the transfer was updated. */
|
|
2383
|
-
updatedAt: string;
|
|
2384
|
-
/** The transaction hash or transaction signature of the transfer. */
|
|
2385
|
-
transactionHash?: string;
|
|
2386
|
-
}
|
|
2387
2189
|
/**
|
|
2388
2190
|
* The type of payment method to be used to complete an onramp order.
|
|
2389
2191
|
*/
|
|
@@ -2453,6 +2255,8 @@ export interface OnrampOrder {
|
|
|
2453
2255
|
createdAt: string;
|
|
2454
2256
|
/** The date and time the order was last updated. */
|
|
2455
2257
|
updatedAt: string;
|
|
2258
|
+
/** The partner user reference ID. */
|
|
2259
|
+
partnerUserRef?: string;
|
|
2456
2260
|
}
|
|
2457
2261
|
/**
|
|
2458
2262
|
* The type of payment link.
|
|
@@ -2511,6 +2315,10 @@ export interface OnrampQuote {
|
|
|
2511
2315
|
/** The exchange rate used to convert fiat to crypto i.e. the crypto value of one fiat. */
|
|
2512
2316
|
exchangeRate: string;
|
|
2513
2317
|
}
|
|
2318
|
+
/**
|
|
2319
|
+
* Unauthorized.
|
|
2320
|
+
*/
|
|
2321
|
+
export type UnauthorizedErrorResponse = Error;
|
|
2514
2322
|
/**
|
|
2515
2323
|
* Internal server error.
|
|
2516
2324
|
*/
|
|
@@ -2539,10 +2347,6 @@ export type AlreadyExistsErrorResponse = Error;
|
|
|
2539
2347
|
* The underlying SQL string is invalid.
|
|
2540
2348
|
*/
|
|
2541
2349
|
export type InvalidSQLQueryErrorResponse = Error;
|
|
2542
|
-
/**
|
|
2543
|
-
* Unauthorized.
|
|
2544
|
-
*/
|
|
2545
|
-
export type UnauthorizedErrorResponse = Error;
|
|
2546
2350
|
/**
|
|
2547
2351
|
* The request timed out.
|
|
2548
2352
|
*/
|
|
@@ -2606,6 +2410,30 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
2606
2410
|
|
|
2607
2411
|
*/
|
|
2608
2412
|
export type IdempotencyKeyParameter = string;
|
|
2413
|
+
export type ListEndUsersParams = {
|
|
2414
|
+
/**
|
|
2415
|
+
* The number of end users to return per page.
|
|
2416
|
+
*/
|
|
2417
|
+
pageSize?: number;
|
|
2418
|
+
/**
|
|
2419
|
+
* The token for the desired page of end users. Will be empty if there are no more end users to fetch.
|
|
2420
|
+
*/
|
|
2421
|
+
pageToken?: string;
|
|
2422
|
+
/**
|
|
2423
|
+
* Sort end users. Defaults to ascending order (oldest first).
|
|
2424
|
+
*/
|
|
2425
|
+
sort?: ListEndUsersSortItem[];
|
|
2426
|
+
};
|
|
2427
|
+
export type ListEndUsersSortItem = (typeof ListEndUsersSortItem)[keyof typeof ListEndUsersSortItem];
|
|
2428
|
+
export declare const ListEndUsersSortItem: {
|
|
2429
|
+
readonly "createdAt=asc": "createdAt=asc";
|
|
2430
|
+
readonly "createdAt=desc": "createdAt=desc";
|
|
2431
|
+
};
|
|
2432
|
+
export type ListEndUsers200AllOf = {
|
|
2433
|
+
/** The list of end users. */
|
|
2434
|
+
endUsers: EndUser[];
|
|
2435
|
+
};
|
|
2436
|
+
export type ListEndUsers200 = ListEndUsers200AllOf & ListResponse;
|
|
2609
2437
|
/**
|
|
2610
2438
|
* The request body for a developer to verify an end user's access token.
|
|
2611
2439
|
*/
|
|
@@ -2782,6 +2610,13 @@ export type PrepareUserOperationBody = {
|
|
|
2782
2610
|
/** The URL of the paymaster to use for the user operation. */
|
|
2783
2611
|
paymasterUrl?: string;
|
|
2784
2612
|
};
|
|
2613
|
+
export type PrepareAndSendUserOperationBody = {
|
|
2614
|
+
network: EvmUserOperationNetwork;
|
|
2615
|
+
/** The list of calls to make from the Smart Account. */
|
|
2616
|
+
calls: EvmCall[];
|
|
2617
|
+
/** The URL of the paymaster to use for the user operation. */
|
|
2618
|
+
paymasterUrl?: string;
|
|
2619
|
+
};
|
|
2785
2620
|
export type SendUserOperationBody = {
|
|
2786
2621
|
/** The hex-encoded signature of the user operation. This should be a 65-byte signature consisting of the `r`, `s`, and `v` values of the ECDSA signature. Note that the `v` value should conform to the `personal_sign` standard, which means it should be 27 or 28. */
|
|
2787
2622
|
signature: string;
|
|
@@ -3118,43 +2953,6 @@ export type SettleX402PaymentBody = {
|
|
|
3118
2953
|
paymentPayload: X402PaymentPayload;
|
|
3119
2954
|
paymentRequirements: X402PaymentRequirements;
|
|
3120
2955
|
};
|
|
3121
|
-
export type GetCryptoRailsParams = {
|
|
3122
|
-
/**
|
|
3123
|
-
* Comma separated list of networks to filter the rails by.
|
|
3124
|
-
*/
|
|
3125
|
-
networks?: string;
|
|
3126
|
-
};
|
|
3127
|
-
/**
|
|
3128
|
-
* The type of the source of the transfer.
|
|
3129
|
-
*/
|
|
3130
|
-
export type CreatePaymentTransferQuoteBodySourceType = (typeof CreatePaymentTransferQuoteBodySourceType)[keyof typeof CreatePaymentTransferQuoteBodySourceType];
|
|
3131
|
-
export declare const CreatePaymentTransferQuoteBodySourceType: {
|
|
3132
|
-
readonly payment_method: "payment_method";
|
|
3133
|
-
};
|
|
3134
|
-
/**
|
|
3135
|
-
* The type of the target of the transfer.
|
|
3136
|
-
*/
|
|
3137
|
-
export type CreatePaymentTransferQuoteBodyTargetType = (typeof CreatePaymentTransferQuoteBodyTargetType)[keyof typeof CreatePaymentTransferQuoteBodyTargetType];
|
|
3138
|
-
export declare const CreatePaymentTransferQuoteBodyTargetType: {
|
|
3139
|
-
readonly crypto_rail: "crypto_rail";
|
|
3140
|
-
};
|
|
3141
|
-
export type CreatePaymentTransferQuoteBody = {
|
|
3142
|
-
/** The type of the source of the transfer. */
|
|
3143
|
-
sourceType: CreatePaymentTransferQuoteBodySourceType;
|
|
3144
|
-
source: TransferSource;
|
|
3145
|
-
/** The type of the target of the transfer. */
|
|
3146
|
-
targetType: CreatePaymentTransferQuoteBodyTargetType;
|
|
3147
|
-
target: TransferTarget;
|
|
3148
|
-
/** The amount of the transfer, which is either for the source currency to buy, or the target currency to receive. */
|
|
3149
|
-
amount: string;
|
|
3150
|
-
/** The currency of the transfer. This can be specified as the source currency, which would be used to buy, or else the target currency, which is how much will be received. */
|
|
3151
|
-
currency: string;
|
|
3152
|
-
/** Whether to execute the transfer. If true, the transfer will be committed and executed. If false, the quote will be generated and returned. */
|
|
3153
|
-
execute?: boolean;
|
|
3154
|
-
};
|
|
3155
|
-
export type CreatePaymentTransferQuote201 = {
|
|
3156
|
-
transfer: Transfer;
|
|
3157
|
-
};
|
|
3158
2956
|
export type CreateOnrampOrderBody = {
|
|
3159
2957
|
/** The timestamp of when the user acknowledged that by using Coinbase Onramp they are accepting the Coinbase Terms (https://www.coinbase.com/legal/guest-checkout/us), User Agreement (https://www.coinbase.com/legal/user_agreement), and Privacy Policy (https://www.coinbase.com/legal/privacy). */
|
|
3160
2958
|
agreementAcceptedAt: string;
|