@distilled.cloud/coinbase 0.19.1 → 0.20.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.
- package/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/addEndUserEvmSmartAccount.d.ts +2 -2
- package/lib/operations/createEndUser.d.ts +16 -16
- package/lib/operations/createEvmAccount.d.ts +2 -2
- package/lib/operations/createEvmEip7702Delegation.d.ts +1 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.d.ts +3 -3
- package/lib/operations/createEvmSmartAccount.d.ts +3 -3
- package/lib/operations/createEvmSwapQuote.d.ts +5 -5
- package/lib/operations/createOnrampOrder.d.ts +15 -15
- package/lib/operations/createOnrampSession.d.ts +17 -17
- package/lib/operations/createPolicy.d.ts +4 -4
- package/lib/operations/createSolanaAccount.d.ts +2 -2
- package/lib/operations/createSpendPermission.d.ts +15 -15
- package/lib/operations/createWebhookSubscription.d.ts +12 -12
- package/lib/operations/exportEvmAccountByName.d.ts +1 -1
- package/lib/operations/exportSolanaAccountByName.d.ts +1 -1
- package/lib/operations/getDelegationForEndUser.d.ts +1 -1
- package/lib/operations/getEndUser.d.ts +15 -15
- package/lib/operations/getEvmAccount.d.ts +1 -1
- package/lib/operations/getEvmAccountByName.d.ts +1 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts +2 -2
- package/lib/operations/getEvmSmartAccount.d.ts +2 -2
- package/lib/operations/getEvmSmartAccountByName.d.ts +2 -2
- package/lib/operations/getEvmSwapPrice.d.ts +5 -5
- package/lib/operations/getOnrampOrderById.d.ts +12 -12
- package/lib/operations/getOnrampUserLimits.d.ts +1 -1
- package/lib/operations/getPolicyById.d.ts +3 -3
- package/lib/operations/getSQLSchema.d.ts +5 -5
- package/lib/operations/getSolanaAccount.d.ts +1 -1
- package/lib/operations/getSolanaAccountByName.d.ts +1 -1
- package/lib/operations/getUserOperation.d.ts +9 -9
- package/lib/operations/getWebhookSubscription.d.ts +5 -5
- package/lib/operations/importEndUser.d.ts +16 -16
- package/lib/operations/importEvmAccount.d.ts +2 -2
- package/lib/operations/importSolanaAccount.d.ts +1 -1
- package/lib/operations/listDataTokenBalances.d.ts +2 -2
- package/lib/operations/listEndUsers.d.ts +15 -15
- package/lib/operations/listEvmAccounts.d.ts +1 -1
- package/lib/operations/listEvmSmartAccounts.d.ts +2 -2
- package/lib/operations/listEvmTokenBalances.d.ts +2 -2
- package/lib/operations/listPolicies.d.ts +4 -4
- package/lib/operations/listSolanaAccounts.d.ts +1 -1
- package/lib/operations/listSolanaTokenBalances.d.ts +2 -2
- package/lib/operations/listSpendPermissions.d.ts +8 -8
- package/lib/operations/listTokensForAccount.d.ts +1 -1
- package/lib/operations/listWebhookSubscriptionEvents.d.ts +9 -9
- package/lib/operations/listWebhookSubscriptions.d.ts +6 -6
- package/lib/operations/prepareAndSendUserOperation.d.ts +12 -12
- package/lib/operations/prepareUserOperation.d.ts +13 -13
- package/lib/operations/requestEvmFaucet.d.ts +1 -1
- package/lib/operations/revokeSpendPermission.d.ts +10 -10
- package/lib/operations/runSQLQuery.d.ts +7 -7
- package/lib/operations/sendEvmAssetWithEndUserAccount.d.ts +4 -4
- package/lib/operations/sendEvmTransactionWithEndUserAccount.d.ts +3 -3
- package/lib/operations/sendSolanaAssetWithEndUserAccount.d.ts +5 -5
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.d.ts +3 -3
- package/lib/operations/sendUserOperation.d.ts +10 -10
- package/lib/operations/sendUserOperationWithEndUserAccount.d.ts +16 -16
- package/lib/operations/settleX402Payment.d.ts +5 -5
- package/lib/operations/signEvmMessageWithEndUserAccount.d.ts +2 -2
- package/lib/operations/signEvmTransactionWithEndUserAccount.d.ts +2 -2
- package/lib/operations/signEvmTypedData.d.ts +5 -5
- package/lib/operations/signEvmTypedDataWithEndUserAccount.d.ts +7 -7
- package/lib/operations/signSolanaMessageWithEndUserAccount.d.ts +2 -2
- package/lib/operations/signSolanaTransactionWithEndUserAccount.d.ts +2 -2
- package/lib/operations/supportedX402PaymentKinds.d.ts +4 -4
- package/lib/operations/updateEvmAccount.d.ts +2 -2
- package/lib/operations/updateEvmSmartAccount.d.ts +2 -2
- package/lib/operations/updatePolicy.d.ts +4 -4
- package/lib/operations/updateSolanaAccount.d.ts +2 -2
- package/lib/operations/updateWebhookSubscription.d.ts +13 -13
- package/lib/operations/validateEndUserAccessToken.d.ts +15 -15
- package/lib/operations/verifyX402Payment.d.ts +3 -3
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
package/lib/credentials.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
1
2
|
import * as Context from "effect/Context";
|
|
2
3
|
import * as Layer from "effect/Layer";
|
|
3
4
|
import * as Redacted from "effect/Redacted";
|
|
4
|
-
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
5
5
|
export declare const DEFAULT_API_BASE_URL = "https://api.cdp.coinbase.com/platform";
|
|
6
6
|
export interface Config {
|
|
7
7
|
/**
|
package/lib/credentials.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,eAAO,MAAM,oBAAoB,0CAA0C,CAAC;AAE5E,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjD;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAE9D;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AASJ,eAAO,MAAM,kBAAkB,8CAgC9B,CAAC"}
|
package/lib/credentials.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
1
2
|
import * as EffectConfig from "effect/Config";
|
|
2
3
|
import * as Context from "effect/Context";
|
|
3
4
|
import * as Effect from "effect/Effect";
|
|
4
5
|
import * as Layer from "effect/Layer";
|
|
5
6
|
import * as Option from "effect/Option";
|
|
6
7
|
import * as Redacted from "effect/Redacted";
|
|
7
|
-
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
8
8
|
export const DEFAULT_API_BASE_URL = "https://api.cdp.coinbase.com/platform";
|
|
9
9
|
export class Credentials extends Context.Service()("CoinbaseCredentials") {
|
|
10
10
|
}
|
|
@@ -15,7 +15,7 @@ const envConfig = EffectConfig.all({
|
|
|
15
15
|
walletSecret: EffectConfig.option(EffectConfig.string("CDP_WALLET_SECRET")),
|
|
16
16
|
});
|
|
17
17
|
export const CredentialsFromEnv = Layer.effect(Credentials, Effect.gen(function* () {
|
|
18
|
-
const config = yield* envConfig.
|
|
18
|
+
const config = yield* envConfig.pipe(Effect.mapError(() => new ConfigError({
|
|
19
19
|
message: "CDP_API_KEY_SECRET environment variable is required",
|
|
20
20
|
})));
|
|
21
21
|
const apiKeyId = Option.getOrUndefined(config.apiKeyId) ??
|
package/lib/credentials.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AA4B5E,MAAM,OAAO,WAAY,SAAQ,OAAO,CAAC,OAAO,EAAuB,CACrE,qBAAqB,CACtB;CAAG;AAEJ,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC;IACjC,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IACpE,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IACxE,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,oBAAoB,CAAC;IACvD,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;CAC5E,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,SAAS,CAAC,IAAI,CAClC,MAAM,CAAC,QAAQ,CACb,GAAG,EAAE,CACH,IAAI,WAAW,CAAC;QACd,OAAO,EAAE,qDAAqD;KAC/D,CAAC,CACL,CACF,CAAC;IAEF,MAAM,QAAQ,GACZ,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC;QACtC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAE3C,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,KAAK,CAAC,CAAC,IAAI,WAAW,CAAC;YAC5B,OAAO,EACL,uEAAuE;SAC1E,CAAC,CAAC;IACL,CAAC;IAED,MAAM,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAEhE,OAAO;QACL,QAAQ;QACR,YAAY,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC;QAChD,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS;QACpE,UAAU,EAAE,oBAAoB;KACjC,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -29,13 +29,13 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
29
29
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const addEndUserEvmSmartAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
32
|
-
readonly enableSpendPermissions?: boolean | undefined;
|
|
33
32
|
readonly userId: string;
|
|
33
|
+
readonly enableSpendPermissions?: boolean | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
readonly evmSmartAccount: {
|
|
36
36
|
readonly address: string;
|
|
37
|
-
readonly createdAt: string;
|
|
38
37
|
readonly ownerAddresses: readonly string[];
|
|
38
|
+
readonly createdAt: string;
|
|
39
39
|
};
|
|
40
40
|
}, never, import("../credentials.ts").Credentials>;
|
|
41
41
|
//# sourceMappingURL=addEndUserEvmSmartAccount.d.ts.map
|
|
@@ -58,6 +58,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
58
58
|
|
|
59
59
|
*/
|
|
60
60
|
export declare const createEndUser: import("@distilled.cloud/core/client").OperationMethod<{
|
|
61
|
+
readonly userId?: string | undefined;
|
|
61
62
|
readonly authenticationMethods: readonly unknown[];
|
|
62
63
|
readonly evmAccount?: {
|
|
63
64
|
readonly createSmartAccount?: boolean | undefined;
|
|
@@ -66,35 +67,34 @@ export declare const createEndUser: import("@distilled.cloud/core/client").Opera
|
|
|
66
67
|
readonly solanaAccount?: {
|
|
67
68
|
readonly createSmartAccount?: boolean | undefined;
|
|
68
69
|
} | undefined;
|
|
69
|
-
readonly userId?: string | undefined;
|
|
70
70
|
}, {
|
|
71
|
+
readonly userId: string;
|
|
71
72
|
readonly authenticationMethods: readonly unknown[];
|
|
72
|
-
readonly
|
|
73
|
+
readonly mfaMethods?: {
|
|
74
|
+
readonly enrollmentPromptedAt?: string | undefined;
|
|
75
|
+
readonly totp?: {
|
|
76
|
+
readonly enrolledAt: string;
|
|
77
|
+
} | undefined;
|
|
78
|
+
readonly sms?: {
|
|
79
|
+
readonly enrolledAt: string;
|
|
80
|
+
} | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
readonly evmAccounts: readonly string[];
|
|
73
83
|
readonly evmAccountObjects: readonly {
|
|
74
84
|
readonly address: string;
|
|
75
85
|
readonly createdAt: string;
|
|
76
86
|
}[];
|
|
77
|
-
readonly
|
|
87
|
+
readonly evmSmartAccounts: readonly string[];
|
|
78
88
|
readonly evmSmartAccountObjects: readonly {
|
|
79
89
|
readonly address: string;
|
|
80
|
-
readonly createdAt: string;
|
|
81
90
|
readonly ownerAddresses: readonly string[];
|
|
91
|
+
readonly createdAt: string;
|
|
82
92
|
}[];
|
|
83
|
-
readonly
|
|
84
|
-
readonly mfaMethods?: {
|
|
85
|
-
readonly enrollmentPromptedAt?: string | undefined;
|
|
86
|
-
readonly sms?: {
|
|
87
|
-
readonly enrolledAt: string;
|
|
88
|
-
} | undefined;
|
|
89
|
-
readonly totp?: {
|
|
90
|
-
readonly enrolledAt: string;
|
|
91
|
-
} | undefined;
|
|
92
|
-
} | undefined;
|
|
93
|
+
readonly solanaAccounts: readonly string[];
|
|
93
94
|
readonly solanaAccountObjects: readonly {
|
|
94
95
|
readonly address: string;
|
|
95
96
|
readonly createdAt: string;
|
|
96
97
|
}[];
|
|
97
|
-
readonly
|
|
98
|
-
readonly userId: string;
|
|
98
|
+
readonly createdAt: string;
|
|
99
99
|
}, never, import("../credentials.ts").Credentials>;
|
|
100
100
|
//# sourceMappingURL=createEndUser.d.ts.map
|
|
@@ -27,13 +27,13 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
27
27
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const createEvmAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
30
|
-
readonly accountPolicy?: string | undefined;
|
|
31
30
|
readonly name?: string | undefined;
|
|
31
|
+
readonly accountPolicy?: string | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
readonly address: string;
|
|
34
|
-
readonly createdAt?: string | undefined;
|
|
35
34
|
readonly name?: string | undefined;
|
|
36
35
|
readonly policies?: readonly string[] | undefined;
|
|
36
|
+
readonly createdAt?: string | undefined;
|
|
37
37
|
readonly updatedAt?: string | undefined;
|
|
38
38
|
}, never, import("../credentials.ts").Credentials>;
|
|
39
39
|
//# sourceMappingURL=createEvmAccount.d.ts.map
|
|
@@ -32,8 +32,8 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const createEvmEip7702Delegation: import("@distilled.cloud/core/client").OperationMethod<{
|
|
34
34
|
readonly address: string;
|
|
35
|
-
readonly enableSpendPermissions?: boolean | undefined;
|
|
36
35
|
readonly network: "arbitrum" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
36
|
+
readonly enableSpendPermissions?: boolean | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
readonly delegationOperationId: string;
|
|
39
39
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -39,11 +39,11 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
39
39
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
40
40
|
*/
|
|
41
41
|
export declare const createEvmEip7702DelegationWithEndUserAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
42
|
+
readonly userId: string;
|
|
43
|
+
readonly projectID?: string | undefined;
|
|
42
44
|
readonly address: string;
|
|
43
|
-
readonly enableSpendPermissions?: boolean | undefined;
|
|
44
45
|
readonly network: "arbitrum" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
45
|
-
readonly
|
|
46
|
-
readonly userId: string;
|
|
46
|
+
readonly enableSpendPermissions?: boolean | undefined;
|
|
47
47
|
readonly walletSecretId?: string | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
readonly delegationOperationId: string;
|
|
@@ -24,14 +24,14 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
24
24
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const createEvmSmartAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
27
|
-
readonly name?: string | undefined;
|
|
28
27
|
readonly owners: readonly string[];
|
|
28
|
+
readonly name?: string | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
readonly address: string;
|
|
31
|
-
readonly createdAt?: string | undefined;
|
|
32
|
-
readonly name?: string | undefined;
|
|
33
31
|
readonly owners: readonly string[];
|
|
32
|
+
readonly name?: string | undefined;
|
|
34
33
|
readonly policies?: readonly string[] | undefined;
|
|
34
|
+
readonly createdAt?: string | undefined;
|
|
35
35
|
readonly updatedAt?: string | undefined;
|
|
36
36
|
}, never, import("../credentials.ts").Credentials>;
|
|
37
37
|
//# sourceMappingURL=createEvmSmartAccount.d.ts.map
|
|
@@ -23,13 +23,13 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
23
23
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const createEvmSwapQuote: import("@distilled.cloud/core/client").OperationMethod<{
|
|
26
|
-
readonly fromAmount: string;
|
|
27
|
-
readonly fromToken: string;
|
|
28
|
-
readonly gasPrice?: string | undefined;
|
|
29
26
|
readonly network: "arbitrum" | "base" | "ethereum" | "optimism" | "polygon";
|
|
27
|
+
readonly toToken: string;
|
|
28
|
+
readonly fromToken: string;
|
|
29
|
+
readonly fromAmount: string;
|
|
30
|
+
readonly taker: string;
|
|
30
31
|
readonly signerAddress?: string | undefined;
|
|
32
|
+
readonly gasPrice?: string | undefined;
|
|
31
33
|
readonly slippageBps?: number | undefined;
|
|
32
|
-
readonly taker: string;
|
|
33
|
-
readonly toToken: string;
|
|
34
34
|
}, unknown, never, import("../credentials.ts").Credentials>;
|
|
35
35
|
//# sourceMappingURL=createEvmSwapQuote.d.ts.map
|
|
@@ -56,10 +56,8 @@ export type CreateOnrampOrderOutput = typeof CreateOnrampOrderOutput.Type;
|
|
|
56
56
|
*/
|
|
57
57
|
export declare const createOnrampOrder: import("@distilled.cloud/core/client").OperationMethod<{
|
|
58
58
|
readonly agreementAcceptedAt: string;
|
|
59
|
-
readonly clientIp?: string | undefined;
|
|
60
59
|
readonly destinationAddress: string;
|
|
61
60
|
readonly destinationNetwork: string;
|
|
62
|
-
readonly domain?: string | undefined;
|
|
63
61
|
readonly email: string;
|
|
64
62
|
readonly isQuote?: boolean | undefined;
|
|
65
63
|
readonly partnerOrderRef?: string | undefined;
|
|
@@ -71,32 +69,34 @@ export declare const createOnrampOrder: import("@distilled.cloud/core/client").O
|
|
|
71
69
|
readonly phoneNumberVerifiedAt: string;
|
|
72
70
|
readonly purchaseAmount?: string | undefined;
|
|
73
71
|
readonly purchaseCurrency: string;
|
|
72
|
+
readonly clientIp?: string | undefined;
|
|
73
|
+
readonly domain?: string | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
readonly order: {
|
|
76
|
-
readonly createdAt: string;
|
|
77
|
-
readonly destinationAddress: string;
|
|
78
|
-
readonly destinationNetwork: string;
|
|
79
|
-
readonly exchangeRate: string;
|
|
80
|
-
readonly fees: readonly {
|
|
81
|
-
readonly amount: string;
|
|
82
|
-
readonly currency: string;
|
|
83
|
-
readonly type: "FEE_TYPE_EXCHANGE" | "FEE_TYPE_NETWORK";
|
|
84
|
-
}[];
|
|
85
76
|
readonly orderId: string;
|
|
86
|
-
readonly
|
|
77
|
+
readonly paymentTotal: string;
|
|
78
|
+
readonly paymentSubtotal: string;
|
|
87
79
|
readonly paymentCurrency: string;
|
|
88
80
|
readonly paymentMethod: "GUEST_CHECKOUT_APPLE_PAY" | "GUEST_CHECKOUT_GOOGLE_PAY";
|
|
89
|
-
readonly paymentSubtotal: string;
|
|
90
|
-
readonly paymentTotal: string;
|
|
91
81
|
readonly purchaseAmount: string;
|
|
92
82
|
readonly purchaseCurrency: string;
|
|
83
|
+
readonly fees: readonly {
|
|
84
|
+
readonly type: "FEE_TYPE_EXCHANGE" | "FEE_TYPE_NETWORK";
|
|
85
|
+
readonly amount: string;
|
|
86
|
+
readonly currency: string;
|
|
87
|
+
}[];
|
|
88
|
+
readonly exchangeRate: string;
|
|
89
|
+
readonly destinationAddress: string;
|
|
90
|
+
readonly destinationNetwork: string;
|
|
93
91
|
readonly status: "ONRAMP_ORDER_STATUS_COMPLETED" | "ONRAMP_ORDER_STATUS_FAILED" | "ONRAMP_ORDER_STATUS_PENDING_AUTH" | "ONRAMP_ORDER_STATUS_PENDING_PAYMENT" | "ONRAMP_ORDER_STATUS_PROCESSING";
|
|
94
92
|
readonly txHash?: string | undefined;
|
|
93
|
+
readonly createdAt: string;
|
|
95
94
|
readonly updatedAt: string;
|
|
95
|
+
readonly partnerUserRef?: string | undefined;
|
|
96
96
|
};
|
|
97
97
|
readonly paymentLink?: {
|
|
98
|
-
readonly paymentLinkType: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON";
|
|
99
98
|
readonly url: string;
|
|
99
|
+
readonly paymentLinkType: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON";
|
|
100
100
|
} | undefined;
|
|
101
101
|
}, never, import("../credentials.ts").Credentials>;
|
|
102
102
|
//# sourceMappingURL=createOnrampOrder.d.ts.map
|
|
@@ -52,35 +52,35 @@ export type CreateOnrampSessionOutput = typeof CreateOnrampSessionOutput.Type;
|
|
|
52
52
|
* **Note**: Only one of `paymentAmount` or `purchaseAmount` should be provided, not both. Providing both will result in an error. When `paymentAmount` is provided, the quote shows how much crypto the user will receive for the specified fiat amount (fee-inclusive). When `purchaseAmount` is provided, the quote shows how much fiat the user needs to pay for the specified crypto amount (fee-exclusive).
|
|
53
53
|
*/
|
|
54
54
|
export declare const createOnrampSession: import("@distilled.cloud/core/client").OperationMethod<{
|
|
55
|
-
readonly
|
|
56
|
-
readonly country?: string | undefined;
|
|
57
|
-
readonly destinationAddress: string;
|
|
55
|
+
readonly purchaseCurrency: string;
|
|
58
56
|
readonly destinationNetwork: string;
|
|
59
|
-
readonly
|
|
57
|
+
readonly destinationAddress: string;
|
|
60
58
|
readonly paymentAmount?: string | undefined;
|
|
59
|
+
readonly purchaseAmount?: string | undefined;
|
|
61
60
|
readonly paymentCurrency?: string | undefined;
|
|
62
61
|
readonly paymentMethod?: "ACH" | "APPLE_PAY" | "CARD" | "CRYPTO_WALLET" | "FIAT_WALLET" | "PAYPAL" | undefined;
|
|
63
|
-
readonly
|
|
64
|
-
readonly purchaseCurrency: string;
|
|
65
|
-
readonly redirectUrl?: string | undefined;
|
|
62
|
+
readonly country?: string | undefined;
|
|
66
63
|
readonly subdivision?: string | undefined;
|
|
64
|
+
readonly redirectUrl?: string | undefined;
|
|
65
|
+
readonly clientIp?: string | undefined;
|
|
66
|
+
readonly partnerUserRef?: string | undefined;
|
|
67
67
|
}, {
|
|
68
|
+
readonly session: {
|
|
69
|
+
readonly onrampUrl: string;
|
|
70
|
+
};
|
|
68
71
|
readonly quote?: {
|
|
72
|
+
readonly paymentTotal: string;
|
|
73
|
+
readonly paymentSubtotal: string;
|
|
74
|
+
readonly paymentCurrency: string;
|
|
75
|
+
readonly purchaseAmount: string;
|
|
76
|
+
readonly purchaseCurrency: string;
|
|
69
77
|
readonly destinationNetwork: string;
|
|
70
|
-
readonly exchangeRate: string;
|
|
71
78
|
readonly fees: readonly {
|
|
79
|
+
readonly type: "FEE_TYPE_EXCHANGE" | "FEE_TYPE_NETWORK";
|
|
72
80
|
readonly amount: string;
|
|
73
81
|
readonly currency: string;
|
|
74
|
-
readonly type: "FEE_TYPE_EXCHANGE" | "FEE_TYPE_NETWORK";
|
|
75
82
|
}[];
|
|
76
|
-
readonly
|
|
77
|
-
readonly paymentSubtotal: string;
|
|
78
|
-
readonly paymentTotal: string;
|
|
79
|
-
readonly purchaseAmount: string;
|
|
80
|
-
readonly purchaseCurrency: string;
|
|
83
|
+
readonly exchangeRate: string;
|
|
81
84
|
} | undefined;
|
|
82
|
-
readonly session: {
|
|
83
|
-
readonly onrampUrl: string;
|
|
84
|
-
};
|
|
85
85
|
}, never, import("../credentials.ts").Credentials>;
|
|
86
86
|
//# sourceMappingURL=createOnrampSession.d.ts.map
|
|
@@ -25,15 +25,15 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
25
25
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const createPolicy: import("@distilled.cloud/core/client").OperationMethod<{
|
|
28
|
+
readonly scope: "account" | "project";
|
|
28
29
|
readonly description?: string | undefined;
|
|
29
30
|
readonly rules: readonly unknown[];
|
|
30
|
-
readonly scope: "account" | "project";
|
|
31
31
|
}, {
|
|
32
|
-
readonly createdAt: string;
|
|
33
|
-
readonly description?: string | undefined;
|
|
34
32
|
readonly id: string;
|
|
35
|
-
readonly
|
|
33
|
+
readonly description?: string | undefined;
|
|
36
34
|
readonly scope: "account" | "project";
|
|
35
|
+
readonly rules: readonly unknown[];
|
|
36
|
+
readonly createdAt: string;
|
|
37
37
|
readonly updatedAt: string;
|
|
38
38
|
}, never, import("../credentials.ts").Credentials>;
|
|
39
39
|
//# sourceMappingURL=createPolicy.d.ts.map
|
|
@@ -27,13 +27,13 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
27
27
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const createSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
30
|
-
readonly accountPolicy?: string | undefined;
|
|
31
30
|
readonly name?: string | undefined;
|
|
31
|
+
readonly accountPolicy?: string | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
readonly address: string;
|
|
34
|
-
readonly createdAt?: string | undefined;
|
|
35
34
|
readonly name?: string | undefined;
|
|
36
35
|
readonly policies?: readonly string[] | undefined;
|
|
36
|
+
readonly createdAt?: string | undefined;
|
|
37
37
|
readonly updatedAt?: string | undefined;
|
|
38
38
|
}, never, import("../credentials.ts").Credentials>;
|
|
39
39
|
//# sourceMappingURL=createSolanaAccount.d.ts.map
|
|
@@ -53,36 +53,36 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
53
53
|
*/
|
|
54
54
|
export declare const createSpendPermission: import("@distilled.cloud/core/client").OperationMethod<{
|
|
55
55
|
readonly address: string;
|
|
56
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
57
|
+
readonly spender: string;
|
|
58
|
+
readonly token: string;
|
|
56
59
|
readonly allowance: string;
|
|
60
|
+
readonly period: string;
|
|
61
|
+
readonly start: string;
|
|
57
62
|
readonly end: string;
|
|
63
|
+
readonly salt?: string | undefined;
|
|
58
64
|
readonly extraData?: string | undefined;
|
|
59
|
-
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
60
65
|
readonly paymasterUrl?: string | undefined;
|
|
61
|
-
readonly period: string;
|
|
62
|
-
readonly salt?: string | undefined;
|
|
63
|
-
readonly spender: string;
|
|
64
|
-
readonly start: string;
|
|
65
|
-
readonly token: string;
|
|
66
66
|
}, {
|
|
67
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
68
|
+
readonly userOpHash: string;
|
|
67
69
|
readonly calls: readonly {
|
|
68
|
-
readonly data: string;
|
|
69
|
-
readonly overrideGasLimit?: string | undefined;
|
|
70
70
|
readonly to: string;
|
|
71
71
|
readonly value: string;
|
|
72
|
+
readonly data: string;
|
|
73
|
+
readonly overrideGasLimit?: string | undefined;
|
|
72
74
|
}[];
|
|
73
|
-
readonly
|
|
75
|
+
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
76
|
+
readonly transactionHash?: string | undefined;
|
|
74
77
|
readonly receipts?: readonly {
|
|
75
|
-
readonly blockHash?: string | undefined;
|
|
76
|
-
readonly blockNumber?: number | undefined;
|
|
77
|
-
readonly gasUsed?: string | undefined;
|
|
78
78
|
readonly revert?: {
|
|
79
79
|
readonly data: string;
|
|
80
80
|
readonly message: string;
|
|
81
81
|
} | undefined;
|
|
82
82
|
readonly transactionHash?: string | undefined;
|
|
83
|
+
readonly blockHash?: string | undefined;
|
|
84
|
+
readonly blockNumber?: number | undefined;
|
|
85
|
+
readonly gasUsed?: string | undefined;
|
|
83
86
|
}[] | undefined;
|
|
84
|
-
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
85
|
-
readonly transactionHash?: string | undefined;
|
|
86
|
-
readonly userOpHash: string;
|
|
87
87
|
}, never, import("../credentials.ts").Credentials>;
|
|
88
88
|
//# sourceMappingURL=createSpendPermission.d.ts.map
|
|
@@ -77,37 +77,37 @@ export declare const createWebhookSubscription: import("@distilled.cloud/core/cl
|
|
|
77
77
|
readonly description?: string | undefined;
|
|
78
78
|
readonly eventTypes: readonly string[];
|
|
79
79
|
readonly isEnabled: boolean;
|
|
80
|
-
readonly labels?: {
|
|
81
|
-
readonly [x: string]: string;
|
|
82
|
-
} | undefined;
|
|
83
|
-
readonly metadata?: {
|
|
84
|
-
readonly [x: string]: string;
|
|
85
|
-
} | undefined;
|
|
86
80
|
readonly target: {
|
|
81
|
+
readonly url: string;
|
|
87
82
|
readonly headers?: {
|
|
88
83
|
readonly [x: string]: string;
|
|
89
84
|
} | undefined;
|
|
90
|
-
readonly url: string;
|
|
91
85
|
};
|
|
86
|
+
readonly metadata?: {
|
|
87
|
+
readonly [x: string]: string;
|
|
88
|
+
} | undefined;
|
|
89
|
+
readonly labels?: {
|
|
90
|
+
readonly [x: string]: string;
|
|
91
|
+
} | undefined;
|
|
92
92
|
}, {
|
|
93
93
|
readonly createdAt: string;
|
|
94
|
+
readonly updatedAt?: string | undefined;
|
|
94
95
|
readonly description?: string | undefined;
|
|
95
96
|
readonly eventTypes: readonly string[];
|
|
96
97
|
readonly isEnabled: boolean;
|
|
97
|
-
readonly labels?: {
|
|
98
|
-
readonly [x: string]: string;
|
|
99
|
-
} | undefined;
|
|
100
98
|
readonly metadata?: {
|
|
101
99
|
readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
102
100
|
} | undefined;
|
|
103
101
|
readonly secret: string | import("effect/Redacted").Redacted<string>;
|
|
104
102
|
readonly subscriptionId: string;
|
|
105
103
|
readonly target: {
|
|
104
|
+
readonly url: string;
|
|
106
105
|
readonly headers?: {
|
|
107
106
|
readonly [x: string]: string;
|
|
108
107
|
} | undefined;
|
|
109
|
-
readonly url: string;
|
|
110
108
|
};
|
|
111
|
-
readonly
|
|
109
|
+
readonly labels?: {
|
|
110
|
+
readonly [x: string]: string;
|
|
111
|
+
} | undefined;
|
|
112
112
|
}, never, import("../credentials.ts").Credentials>;
|
|
113
113
|
//# sourceMappingURL=createWebhookSubscription.d.ts.map
|
|
@@ -24,8 +24,8 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
24
24
|
* @param name - The name of the EVM account.
|
|
25
25
|
*/
|
|
26
26
|
export declare const exportEvmAccountByName: import("@distilled.cloud/core/client").OperationMethod<{
|
|
27
|
-
readonly exportEncryptionKey: string;
|
|
28
27
|
readonly name: string;
|
|
28
|
+
readonly exportEncryptionKey: string;
|
|
29
29
|
}, {
|
|
30
30
|
readonly encryptedPrivateKey: string;
|
|
31
31
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -24,8 +24,8 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
24
24
|
* @param name - The name of the Solana account.
|
|
25
25
|
*/
|
|
26
26
|
export declare const exportSolanaAccountByName: import("@distilled.cloud/core/client").OperationMethod<{
|
|
27
|
-
readonly exportEncryptionKey: string;
|
|
28
27
|
readonly name: string;
|
|
28
|
+
readonly exportEncryptionKey: string;
|
|
29
29
|
}, {
|
|
30
30
|
readonly encryptedPrivateKey: string;
|
|
31
31
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -17,8 +17,8 @@ export type GetDelegationForEndUserOutput = typeof GetDelegationForEndUserOutput
|
|
|
17
17
|
* @param projectID - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
|
|
18
18
|
*/
|
|
19
19
|
export declare const getDelegationForEndUser: import("@distilled.cloud/core/client").OperationMethod<{
|
|
20
|
-
readonly projectID?: string | undefined;
|
|
21
20
|
readonly userId: string;
|
|
21
|
+
readonly projectID?: string | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
readonly expiresAt: string;
|
|
24
24
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -45,33 +45,33 @@ export type GetEndUserOutput = typeof GetEndUserOutput.Type;
|
|
|
45
45
|
export declare const getEndUser: import("@distilled.cloud/core/client").OperationMethod<{
|
|
46
46
|
readonly userId: string;
|
|
47
47
|
}, {
|
|
48
|
+
readonly userId: string;
|
|
48
49
|
readonly authenticationMethods: readonly unknown[];
|
|
49
|
-
readonly
|
|
50
|
+
readonly mfaMethods?: {
|
|
51
|
+
readonly enrollmentPromptedAt?: string | undefined;
|
|
52
|
+
readonly totp?: {
|
|
53
|
+
readonly enrolledAt: string;
|
|
54
|
+
} | undefined;
|
|
55
|
+
readonly sms?: {
|
|
56
|
+
readonly enrolledAt: string;
|
|
57
|
+
} | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly evmAccounts: readonly string[];
|
|
50
60
|
readonly evmAccountObjects: readonly {
|
|
51
61
|
readonly address: string;
|
|
52
62
|
readonly createdAt: string;
|
|
53
63
|
}[];
|
|
54
|
-
readonly
|
|
64
|
+
readonly evmSmartAccounts: readonly string[];
|
|
55
65
|
readonly evmSmartAccountObjects: readonly {
|
|
56
66
|
readonly address: string;
|
|
57
|
-
readonly createdAt: string;
|
|
58
67
|
readonly ownerAddresses: readonly string[];
|
|
68
|
+
readonly createdAt: string;
|
|
59
69
|
}[];
|
|
60
|
-
readonly
|
|
61
|
-
readonly mfaMethods?: {
|
|
62
|
-
readonly enrollmentPromptedAt?: string | undefined;
|
|
63
|
-
readonly sms?: {
|
|
64
|
-
readonly enrolledAt: string;
|
|
65
|
-
} | undefined;
|
|
66
|
-
readonly totp?: {
|
|
67
|
-
readonly enrolledAt: string;
|
|
68
|
-
} | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
+
readonly solanaAccounts: readonly string[];
|
|
70
71
|
readonly solanaAccountObjects: readonly {
|
|
71
72
|
readonly address: string;
|
|
72
73
|
readonly createdAt: string;
|
|
73
74
|
}[];
|
|
74
|
-
readonly
|
|
75
|
-
readonly userId: string;
|
|
75
|
+
readonly createdAt: string;
|
|
76
76
|
}, never, import("../credentials.ts").Credentials>;
|
|
77
77
|
//# sourceMappingURL=getEndUser.d.ts.map
|
|
@@ -22,9 +22,9 @@ export declare const getEvmAccount: import("@distilled.cloud/core/client").Opera
|
|
|
22
22
|
readonly address: string;
|
|
23
23
|
}, {
|
|
24
24
|
readonly address: string;
|
|
25
|
-
readonly createdAt?: string | undefined;
|
|
26
25
|
readonly name?: string | undefined;
|
|
27
26
|
readonly policies?: readonly string[] | undefined;
|
|
27
|
+
readonly createdAt?: string | undefined;
|
|
28
28
|
readonly updatedAt?: string | undefined;
|
|
29
29
|
}, never, import("../credentials.ts").Credentials>;
|
|
30
30
|
//# sourceMappingURL=getEvmAccount.d.ts.map
|
|
@@ -22,9 +22,9 @@ export declare const getEvmAccountByName: import("@distilled.cloud/core/client")
|
|
|
22
22
|
readonly name: string;
|
|
23
23
|
}, {
|
|
24
24
|
readonly address: string;
|
|
25
|
-
readonly createdAt?: string | undefined;
|
|
26
25
|
readonly name?: string | undefined;
|
|
27
26
|
readonly policies?: readonly string[] | undefined;
|
|
27
|
+
readonly createdAt?: string | undefined;
|
|
28
28
|
readonly updatedAt?: string | undefined;
|
|
29
29
|
}, never, import("../credentials.ts").Credentials>;
|
|
30
30
|
//# sourceMappingURL=getEvmAccountByName.d.ts.map
|
|
@@ -21,10 +21,10 @@ export type GetEvmEip7702DelegationOperationByIdOutput = typeof GetEvmEip7702Del
|
|
|
21
21
|
export declare const getEvmEip7702DelegationOperationById: import("@distilled.cloud/core/client").OperationMethod<{
|
|
22
22
|
readonly delegationOperationId: string;
|
|
23
23
|
}, {
|
|
24
|
-
readonly delegateAddress?: string | undefined;
|
|
25
24
|
readonly delegationOperationId: string;
|
|
26
|
-
readonly network: "arbitrum" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
27
25
|
readonly status: "COMPLETED" | "FAILED" | "PENDING" | "SUBMITTED" | "UNSPECIFIED";
|
|
28
26
|
readonly transactionHash?: string | undefined;
|
|
27
|
+
readonly network: "arbitrum" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
28
|
+
readonly delegateAddress?: string | undefined;
|
|
29
29
|
}, never, import("../credentials.ts").Credentials>;
|
|
30
30
|
//# sourceMappingURL=getEvmEip7702DelegationOperationById.d.ts.map
|
|
@@ -23,10 +23,10 @@ export declare const getEvmSmartAccount: import("@distilled.cloud/core/client").
|
|
|
23
23
|
readonly address: string;
|
|
24
24
|
}, {
|
|
25
25
|
readonly address: string;
|
|
26
|
-
readonly createdAt?: string | undefined;
|
|
27
|
-
readonly name?: string | undefined;
|
|
28
26
|
readonly owners: readonly string[];
|
|
27
|
+
readonly name?: string | undefined;
|
|
29
28
|
readonly policies?: readonly string[] | undefined;
|
|
29
|
+
readonly createdAt?: string | undefined;
|
|
30
30
|
readonly updatedAt?: string | undefined;
|
|
31
31
|
}, never, import("../credentials.ts").Credentials>;
|
|
32
32
|
//# sourceMappingURL=getEvmSmartAccount.d.ts.map
|
|
@@ -23,10 +23,10 @@ export declare const getEvmSmartAccountByName: import("@distilled.cloud/core/cli
|
|
|
23
23
|
readonly name: string;
|
|
24
24
|
}, {
|
|
25
25
|
readonly address: string;
|
|
26
|
-
readonly createdAt?: string | undefined;
|
|
27
|
-
readonly name?: string | undefined;
|
|
28
26
|
readonly owners: readonly string[];
|
|
27
|
+
readonly name?: string | undefined;
|
|
29
28
|
readonly policies?: readonly string[] | undefined;
|
|
29
|
+
readonly createdAt?: string | undefined;
|
|
30
30
|
readonly updatedAt?: string | undefined;
|
|
31
31
|
}, never, import("../credentials.ts").Credentials>;
|
|
32
32
|
//# sourceMappingURL=getEvmSmartAccountByName.d.ts.map
|
|
@@ -18,13 +18,13 @@ export type GetEvmSwapPriceOutput = typeof GetEvmSwapPriceOutput.Type;
|
|
|
18
18
|
* Get a price estimate for a swap between two tokens on an EVM network.
|
|
19
19
|
*/
|
|
20
20
|
export declare const getEvmSwapPrice: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly fromAmount: string;
|
|
22
|
-
readonly fromToken: string;
|
|
23
|
-
readonly gasPrice?: string | undefined;
|
|
24
21
|
readonly network: string;
|
|
22
|
+
readonly toToken: string;
|
|
23
|
+
readonly fromToken: string;
|
|
24
|
+
readonly fromAmount: string;
|
|
25
|
+
readonly taker: string;
|
|
25
26
|
readonly signerAddress?: string | undefined;
|
|
27
|
+
readonly gasPrice?: string | undefined;
|
|
26
28
|
readonly slippageBps?: string | undefined;
|
|
27
|
-
readonly taker: string;
|
|
28
|
-
readonly toToken: string;
|
|
29
29
|
}, unknown, never, import("../credentials.ts").Credentials>;
|
|
30
30
|
//# sourceMappingURL=getEvmSwapPrice.d.ts.map
|