@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
|
@@ -39,26 +39,26 @@ export declare const getOnrampOrderById: import("@distilled.cloud/core/client").
|
|
|
39
39
|
readonly orderId: string;
|
|
40
40
|
}, {
|
|
41
41
|
readonly order: {
|
|
42
|
-
readonly createdAt: string;
|
|
43
|
-
readonly destinationAddress: string;
|
|
44
|
-
readonly destinationNetwork: string;
|
|
45
|
-
readonly exchangeRate: string;
|
|
46
|
-
readonly fees: readonly {
|
|
47
|
-
readonly amount: string;
|
|
48
|
-
readonly currency: string;
|
|
49
|
-
readonly type: "FEE_TYPE_EXCHANGE" | "FEE_TYPE_NETWORK";
|
|
50
|
-
}[];
|
|
51
42
|
readonly orderId: string;
|
|
52
|
-
readonly
|
|
43
|
+
readonly paymentTotal: string;
|
|
44
|
+
readonly paymentSubtotal: string;
|
|
53
45
|
readonly paymentCurrency: string;
|
|
54
46
|
readonly paymentMethod: "GUEST_CHECKOUT_APPLE_PAY" | "GUEST_CHECKOUT_GOOGLE_PAY";
|
|
55
|
-
readonly paymentSubtotal: string;
|
|
56
|
-
readonly paymentTotal: string;
|
|
57
47
|
readonly purchaseAmount: string;
|
|
58
48
|
readonly purchaseCurrency: string;
|
|
49
|
+
readonly fees: readonly {
|
|
50
|
+
readonly type: "FEE_TYPE_EXCHANGE" | "FEE_TYPE_NETWORK";
|
|
51
|
+
readonly amount: string;
|
|
52
|
+
readonly currency: string;
|
|
53
|
+
}[];
|
|
54
|
+
readonly exchangeRate: string;
|
|
55
|
+
readonly destinationAddress: string;
|
|
56
|
+
readonly destinationNetwork: string;
|
|
59
57
|
readonly status: "ONRAMP_ORDER_STATUS_COMPLETED" | "ONRAMP_ORDER_STATUS_FAILED" | "ONRAMP_ORDER_STATUS_PENDING_AUTH" | "ONRAMP_ORDER_STATUS_PENDING_PAYMENT" | "ONRAMP_ORDER_STATUS_PROCESSING";
|
|
60
58
|
readonly txHash?: string | undefined;
|
|
59
|
+
readonly createdAt: string;
|
|
61
60
|
readonly updatedAt: string;
|
|
61
|
+
readonly partnerUserRef?: string | undefined;
|
|
62
62
|
};
|
|
63
63
|
}, never, import("../credentials.ts").Credentials>;
|
|
64
64
|
//# sourceMappingURL=getOnrampOrderById.d.ts.map
|
|
@@ -26,9 +26,9 @@ export declare const getOnrampUserLimits: import("@distilled.cloud/core/client")
|
|
|
26
26
|
readonly userIdType: "phone_number";
|
|
27
27
|
}, {
|
|
28
28
|
readonly limits: readonly {
|
|
29
|
+
readonly limitType: "lifetime_transactions" | "weekly_spending";
|
|
29
30
|
readonly currency?: string | undefined;
|
|
30
31
|
readonly limit: string;
|
|
31
|
-
readonly limitType: "lifetime_transactions" | "weekly_spending";
|
|
32
32
|
readonly remaining: string;
|
|
33
33
|
}[];
|
|
34
34
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -22,11 +22,11 @@ export type GetPolicyByIdOutput = typeof GetPolicyByIdOutput.Type;
|
|
|
22
22
|
export declare const getPolicyById: import("@distilled.cloud/core/client").OperationMethod<{
|
|
23
23
|
readonly policyId: string;
|
|
24
24
|
}, {
|
|
25
|
-
readonly createdAt: string;
|
|
26
|
-
readonly description?: string | undefined;
|
|
27
25
|
readonly id: string;
|
|
28
|
-
readonly
|
|
26
|
+
readonly description?: string | undefined;
|
|
29
27
|
readonly scope: "account" | "project";
|
|
28
|
+
readonly rules: readonly unknown[];
|
|
29
|
+
readonly createdAt: string;
|
|
30
30
|
readonly updatedAt: string;
|
|
31
31
|
}, never, import("../credentials.ts").Credentials>;
|
|
32
32
|
//# sourceMappingURL=getPolicyById.d.ts.map
|
|
@@ -32,15 +32,15 @@ export declare const getSQLSchema: import("@distilled.cloud/core/client").Operat
|
|
|
32
32
|
readonly table?: string | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
readonly tables?: readonly {
|
|
35
|
+
readonly database?: string | undefined;
|
|
36
|
+
readonly table?: string | undefined;
|
|
35
37
|
readonly columns?: readonly {
|
|
36
|
-
readonly description?: string | undefined;
|
|
37
|
-
readonly indexOrder?: number | undefined;
|
|
38
38
|
readonly name?: string | undefined;
|
|
39
|
-
readonly nullable?: boolean | undefined;
|
|
40
39
|
readonly type?: string | undefined;
|
|
40
|
+
readonly nullable?: boolean | undefined;
|
|
41
|
+
readonly description?: string | undefined;
|
|
42
|
+
readonly indexOrder?: number | undefined;
|
|
41
43
|
}[] | undefined;
|
|
42
|
-
readonly database?: string | undefined;
|
|
43
|
-
readonly table?: string | undefined;
|
|
44
44
|
}[] | undefined;
|
|
45
45
|
}, never, import("../credentials.ts").Credentials>;
|
|
46
46
|
//# sourceMappingURL=getSQLSchema.d.ts.map
|
|
@@ -22,9 +22,9 @@ export declare const getSolanaAccount: import("@distilled.cloud/core/client").Op
|
|
|
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=getSolanaAccount.d.ts.map
|
|
@@ -22,9 +22,9 @@ export declare const getSolanaAccountByName: import("@distilled.cloud/core/clien
|
|
|
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=getSolanaAccountByName.d.ts.map
|
|
@@ -39,25 +39,25 @@ export declare const getUserOperation: import("@distilled.cloud/core/client").Op
|
|
|
39
39
|
readonly address: string;
|
|
40
40
|
readonly userOpHash: string;
|
|
41
41
|
}, {
|
|
42
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
43
|
+
readonly userOpHash: string;
|
|
42
44
|
readonly calls: readonly {
|
|
43
|
-
readonly data: string;
|
|
44
|
-
readonly overrideGasLimit?: string | undefined;
|
|
45
45
|
readonly to: string;
|
|
46
46
|
readonly value: string;
|
|
47
|
+
readonly data: string;
|
|
48
|
+
readonly overrideGasLimit?: string | undefined;
|
|
47
49
|
}[];
|
|
48
|
-
readonly
|
|
50
|
+
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
51
|
+
readonly transactionHash?: string | undefined;
|
|
49
52
|
readonly receipts?: readonly {
|
|
50
|
-
readonly blockHash?: string | undefined;
|
|
51
|
-
readonly blockNumber?: number | undefined;
|
|
52
|
-
readonly gasUsed?: string | undefined;
|
|
53
53
|
readonly revert?: {
|
|
54
54
|
readonly data: string;
|
|
55
55
|
readonly message: string;
|
|
56
56
|
} | undefined;
|
|
57
57
|
readonly transactionHash?: string | undefined;
|
|
58
|
+
readonly blockHash?: string | undefined;
|
|
59
|
+
readonly blockNumber?: number | undefined;
|
|
60
|
+
readonly gasUsed?: string | undefined;
|
|
58
61
|
}[] | undefined;
|
|
59
|
-
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
60
|
-
readonly transactionHash?: string | undefined;
|
|
61
|
-
readonly userOpHash: string;
|
|
62
62
|
}, never, import("../credentials.ts").Credentials>;
|
|
63
63
|
//# sourceMappingURL=getUserOperation.d.ts.map
|
|
@@ -38,23 +38,23 @@ export declare const getWebhookSubscription: import("@distilled.cloud/core/clien
|
|
|
38
38
|
readonly subscriptionId: string;
|
|
39
39
|
}, {
|
|
40
40
|
readonly createdAt: string;
|
|
41
|
+
readonly updatedAt?: string | undefined;
|
|
41
42
|
readonly description?: string | undefined;
|
|
42
43
|
readonly eventTypes: readonly string[];
|
|
43
44
|
readonly isEnabled: boolean;
|
|
44
|
-
readonly labels?: {
|
|
45
|
-
readonly [x: string]: string;
|
|
46
|
-
} | undefined;
|
|
47
45
|
readonly metadata?: {
|
|
48
46
|
readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
49
47
|
} | undefined;
|
|
50
48
|
readonly secret: string | import("effect/Redacted").Redacted<string>;
|
|
51
49
|
readonly subscriptionId: string;
|
|
52
50
|
readonly target: {
|
|
51
|
+
readonly url: string;
|
|
53
52
|
readonly headers?: {
|
|
54
53
|
readonly [x: string]: string;
|
|
55
54
|
} | undefined;
|
|
56
|
-
readonly url: string;
|
|
57
55
|
};
|
|
58
|
-
readonly
|
|
56
|
+
readonly labels?: {
|
|
57
|
+
readonly [x: string]: string;
|
|
58
|
+
} | undefined;
|
|
59
59
|
}, never, import("../credentials.ts").Credentials>;
|
|
60
60
|
//# sourceMappingURL=getWebhookSubscription.d.ts.map
|
|
@@ -53,38 +53,38 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
53
53
|
|
|
54
54
|
*/
|
|
55
55
|
export declare const importEndUser: import("@distilled.cloud/core/client").OperationMethod<{
|
|
56
|
+
readonly userId: string;
|
|
56
57
|
readonly authenticationMethods: readonly unknown[];
|
|
57
58
|
readonly encryptedPrivateKey: string;
|
|
58
59
|
readonly keyType: "evm" | "solana";
|
|
59
|
-
readonly userId: string;
|
|
60
60
|
}, {
|
|
61
|
+
readonly userId: string;
|
|
61
62
|
readonly authenticationMethods: readonly unknown[];
|
|
62
|
-
readonly
|
|
63
|
+
readonly mfaMethods?: {
|
|
64
|
+
readonly enrollmentPromptedAt?: string | undefined;
|
|
65
|
+
readonly totp?: {
|
|
66
|
+
readonly enrolledAt: string;
|
|
67
|
+
} | undefined;
|
|
68
|
+
readonly sms?: {
|
|
69
|
+
readonly enrolledAt: string;
|
|
70
|
+
} | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
readonly evmAccounts: readonly string[];
|
|
63
73
|
readonly evmAccountObjects: readonly {
|
|
64
74
|
readonly address: string;
|
|
65
75
|
readonly createdAt: string;
|
|
66
76
|
}[];
|
|
67
|
-
readonly
|
|
77
|
+
readonly evmSmartAccounts: readonly string[];
|
|
68
78
|
readonly evmSmartAccountObjects: readonly {
|
|
69
79
|
readonly address: string;
|
|
70
|
-
readonly createdAt: string;
|
|
71
80
|
readonly ownerAddresses: readonly string[];
|
|
81
|
+
readonly createdAt: string;
|
|
72
82
|
}[];
|
|
73
|
-
readonly
|
|
74
|
-
readonly mfaMethods?: {
|
|
75
|
-
readonly enrollmentPromptedAt?: string | undefined;
|
|
76
|
-
readonly sms?: {
|
|
77
|
-
readonly enrolledAt: string;
|
|
78
|
-
} | undefined;
|
|
79
|
-
readonly totp?: {
|
|
80
|
-
readonly enrolledAt: string;
|
|
81
|
-
} | undefined;
|
|
82
|
-
} | undefined;
|
|
83
|
+
readonly solanaAccounts: readonly string[];
|
|
83
84
|
readonly solanaAccountObjects: readonly {
|
|
84
85
|
readonly address: string;
|
|
85
86
|
readonly createdAt: string;
|
|
86
87
|
}[];
|
|
87
|
-
readonly
|
|
88
|
-
readonly userId: string;
|
|
88
|
+
readonly createdAt: string;
|
|
89
89
|
}, never, import("../credentials.ts").Credentials>;
|
|
90
90
|
//# sourceMappingURL=importEndUser.d.ts.map
|
|
@@ -28,14 +28,14 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
28
28
|
|
|
29
29
|
*/
|
|
30
30
|
export declare const importEvmAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
31
|
-
readonly accountPolicy?: string | undefined;
|
|
32
31
|
readonly encryptedPrivateKey: string;
|
|
33
32
|
readonly name?: string | undefined;
|
|
33
|
+
readonly accountPolicy?: string | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
readonly address: string;
|
|
36
|
-
readonly createdAt?: string | undefined;
|
|
37
36
|
readonly name?: string | undefined;
|
|
38
37
|
readonly policies?: readonly string[] | undefined;
|
|
38
|
+
readonly createdAt?: string | undefined;
|
|
39
39
|
readonly updatedAt?: string | undefined;
|
|
40
40
|
}, never, import("../credentials.ts").Credentials>;
|
|
41
41
|
//# sourceMappingURL=importEvmAccount.d.ts.map
|
|
@@ -31,9 +31,9 @@ export declare const importSolanaAccount: import("@distilled.cloud/core/client")
|
|
|
31
31
|
readonly name?: 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=importSolanaAccount.d.ts.map
|
|
@@ -45,10 +45,10 @@ export declare const listDataTokenBalances: import("@distilled.cloud/core/client
|
|
|
45
45
|
readonly decimals: number;
|
|
46
46
|
};
|
|
47
47
|
readonly token: {
|
|
48
|
-
readonly contractAddress: string;
|
|
49
|
-
readonly name?: string | undefined;
|
|
50
48
|
readonly network: "base" | "base-sepolia" | "ethereum";
|
|
51
49
|
readonly symbol?: string | undefined;
|
|
50
|
+
readonly name?: string | undefined;
|
|
51
|
+
readonly contractAddress: string;
|
|
52
52
|
};
|
|
53
53
|
}[];
|
|
54
54
|
readonly nextPageToken?: string | undefined;
|
|
@@ -55,34 +55,34 @@ export declare const listEndUsers: import("@distilled.cloud/core/client").Operat
|
|
|
55
55
|
readonly sort?: string | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
readonly endUsers: readonly {
|
|
58
|
+
readonly userId: string;
|
|
58
59
|
readonly authenticationMethods: readonly unknown[];
|
|
59
|
-
readonly
|
|
60
|
+
readonly mfaMethods?: {
|
|
61
|
+
readonly enrollmentPromptedAt?: string | undefined;
|
|
62
|
+
readonly totp?: {
|
|
63
|
+
readonly enrolledAt: string;
|
|
64
|
+
} | undefined;
|
|
65
|
+
readonly sms?: {
|
|
66
|
+
readonly enrolledAt: string;
|
|
67
|
+
} | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
readonly evmAccounts: readonly string[];
|
|
60
70
|
readonly evmAccountObjects: readonly {
|
|
61
71
|
readonly address: string;
|
|
62
72
|
readonly createdAt: string;
|
|
63
73
|
}[];
|
|
64
|
-
readonly
|
|
74
|
+
readonly evmSmartAccounts: readonly string[];
|
|
65
75
|
readonly evmSmartAccountObjects: readonly {
|
|
66
76
|
readonly address: string;
|
|
67
|
-
readonly createdAt: string;
|
|
68
77
|
readonly ownerAddresses: readonly string[];
|
|
78
|
+
readonly createdAt: string;
|
|
69
79
|
}[];
|
|
70
|
-
readonly
|
|
71
|
-
readonly mfaMethods?: {
|
|
72
|
-
readonly enrollmentPromptedAt?: string | undefined;
|
|
73
|
-
readonly sms?: {
|
|
74
|
-
readonly enrolledAt: string;
|
|
75
|
-
} | undefined;
|
|
76
|
-
readonly totp?: {
|
|
77
|
-
readonly enrolledAt: string;
|
|
78
|
-
} | undefined;
|
|
79
|
-
} | undefined;
|
|
80
|
+
readonly solanaAccounts: readonly string[];
|
|
80
81
|
readonly solanaAccountObjects: readonly {
|
|
81
82
|
readonly address: string;
|
|
82
83
|
readonly createdAt: string;
|
|
83
84
|
}[];
|
|
84
|
-
readonly
|
|
85
|
-
readonly userId: string;
|
|
85
|
+
readonly createdAt: string;
|
|
86
86
|
}[];
|
|
87
87
|
readonly nextPageToken?: string | undefined;
|
|
88
88
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -30,9 +30,9 @@ export declare const listEvmAccounts: import("@distilled.cloud/core/client").Ope
|
|
|
30
30
|
}, {
|
|
31
31
|
readonly accounts: readonly {
|
|
32
32
|
readonly address: string;
|
|
33
|
-
readonly createdAt?: string | undefined;
|
|
34
33
|
readonly name?: string | undefined;
|
|
35
34
|
readonly policies?: readonly string[] | undefined;
|
|
35
|
+
readonly createdAt?: string | undefined;
|
|
36
36
|
readonly updatedAt?: string | undefined;
|
|
37
37
|
}[];
|
|
38
38
|
readonly nextPageToken?: string | undefined;
|
|
@@ -31,10 +31,10 @@ export declare const listEvmSmartAccounts: import("@distilled.cloud/core/client"
|
|
|
31
31
|
}, {
|
|
32
32
|
readonly accounts: readonly {
|
|
33
33
|
readonly address: string;
|
|
34
|
-
readonly createdAt?: string | undefined;
|
|
35
|
-
readonly name?: string | undefined;
|
|
36
34
|
readonly owners: readonly string[];
|
|
35
|
+
readonly name?: string | undefined;
|
|
37
36
|
readonly policies?: readonly string[] | undefined;
|
|
37
|
+
readonly createdAt?: string | undefined;
|
|
38
38
|
readonly updatedAt?: string | undefined;
|
|
39
39
|
}[];
|
|
40
40
|
readonly nextPageToken?: string | undefined;
|
|
@@ -45,10 +45,10 @@ export declare const listEvmTokenBalances: import("@distilled.cloud/core/client"
|
|
|
45
45
|
readonly decimals: number;
|
|
46
46
|
};
|
|
47
47
|
readonly token: {
|
|
48
|
-
readonly contractAddress: string;
|
|
49
|
-
readonly name?: string | undefined;
|
|
50
48
|
readonly network: "base" | "base-sepolia" | "ethereum";
|
|
51
49
|
readonly symbol?: string | undefined;
|
|
50
|
+
readonly name?: string | undefined;
|
|
51
|
+
readonly contractAddress: string;
|
|
52
52
|
};
|
|
53
53
|
}[];
|
|
54
54
|
readonly nextPageToken?: string | undefined;
|
|
@@ -32,14 +32,14 @@ export declare const listPolicies: import("@distilled.cloud/core/client").Operat
|
|
|
32
32
|
readonly pageToken?: string | undefined;
|
|
33
33
|
readonly scope?: "account" | "project" | undefined;
|
|
34
34
|
}, {
|
|
35
|
-
readonly nextPageToken?: string | undefined;
|
|
36
35
|
readonly policies: readonly {
|
|
37
|
-
readonly createdAt: string;
|
|
38
|
-
readonly description?: string | undefined;
|
|
39
36
|
readonly id: string;
|
|
40
|
-
readonly
|
|
37
|
+
readonly description?: string | undefined;
|
|
41
38
|
readonly scope: "account" | "project";
|
|
39
|
+
readonly rules: readonly unknown[];
|
|
40
|
+
readonly createdAt: string;
|
|
42
41
|
readonly updatedAt: string;
|
|
43
42
|
}[];
|
|
43
|
+
readonly nextPageToken?: string | undefined;
|
|
44
44
|
}, never, import("../credentials.ts").Credentials>;
|
|
45
45
|
//# sourceMappingURL=listPolicies.d.ts.map
|
|
@@ -31,9 +31,9 @@ export declare const listSolanaAccounts: import("@distilled.cloud/core/client").
|
|
|
31
31
|
}, {
|
|
32
32
|
readonly accounts: readonly {
|
|
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
|
}[];
|
|
39
39
|
readonly nextPageToken?: string | undefined;
|
|
@@ -44,9 +44,9 @@ export declare const listSolanaTokenBalances: import("@distilled.cloud/core/clie
|
|
|
44
44
|
readonly decimals: number;
|
|
45
45
|
};
|
|
46
46
|
readonly token: {
|
|
47
|
-
readonly mintAddress: string;
|
|
48
|
-
readonly name?: string | undefined;
|
|
49
47
|
readonly symbol?: string | undefined;
|
|
48
|
+
readonly name?: string | undefined;
|
|
49
|
+
readonly mintAddress: string;
|
|
50
50
|
};
|
|
51
51
|
}[];
|
|
52
52
|
readonly nextPageToken?: string | undefined;
|
|
@@ -41,24 +41,24 @@ export declare const listSpendPermissions: import("@distilled.cloud/core/client"
|
|
|
41
41
|
readonly pageSize?: number | undefined;
|
|
42
42
|
readonly pageToken?: string | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
readonly nextPageToken?: string | undefined;
|
|
45
44
|
readonly spendPermissions: readonly {
|
|
46
|
-
readonly createdAt: string;
|
|
47
|
-
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
48
45
|
readonly permission: {
|
|
49
46
|
readonly account: string;
|
|
47
|
+
readonly spender: string;
|
|
48
|
+
readonly token: string;
|
|
50
49
|
readonly allowance: string;
|
|
51
|
-
readonly end: string;
|
|
52
|
-
readonly extraData: string;
|
|
53
50
|
readonly period: string;
|
|
54
|
-
readonly salt: string;
|
|
55
|
-
readonly spender: string;
|
|
56
51
|
readonly start: string;
|
|
57
|
-
readonly
|
|
52
|
+
readonly end: string;
|
|
53
|
+
readonly salt: string;
|
|
54
|
+
readonly extraData: string;
|
|
58
55
|
};
|
|
59
56
|
readonly permissionHash: string;
|
|
60
57
|
readonly revoked: boolean;
|
|
61
58
|
readonly revokedAt?: string | undefined;
|
|
59
|
+
readonly createdAt: string;
|
|
60
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
62
61
|
}[];
|
|
62
|
+
readonly nextPageToken?: string | undefined;
|
|
63
63
|
}, never, import("../credentials.ts").Credentials>;
|
|
64
64
|
//# sourceMappingURL=listSpendPermissions.d.ts.map
|
|
@@ -20,8 +20,8 @@ export type ListTokensForAccountOutput = typeof ListTokensForAccountOutput.Type;
|
|
|
20
20
|
* @param address - The account address to analyze for token interactions.
|
|
21
21
|
*/
|
|
22
22
|
export declare const listTokensForAccount: import("@distilled.cloud/core/client").OperationMethod<{
|
|
23
|
-
readonly address: string;
|
|
24
23
|
readonly network: "base" | "base-sepolia";
|
|
24
|
+
readonly address: string;
|
|
25
25
|
}, {
|
|
26
26
|
readonly accountAddress?: string | undefined;
|
|
27
27
|
readonly tokenAddresses?: readonly string[] | undefined;
|
|
@@ -49,25 +49,25 @@ export type ListWebhookSubscriptionEventsOutput = typeof ListWebhookSubscription
|
|
|
49
49
|
* @param eventTypeNames - Filter by event type names (comma-separated).
|
|
50
50
|
*/
|
|
51
51
|
export declare const listWebhookSubscriptionEvents: import("@distilled.cloud/core/client").OperationMethod<{
|
|
52
|
+
readonly subscriptionId: string;
|
|
52
53
|
readonly eventId?: string | undefined;
|
|
53
|
-
readonly eventTypeNames?: string | undefined;
|
|
54
|
-
readonly maxCreatedAt?: string | undefined;
|
|
55
54
|
readonly minCreatedAt?: string | undefined;
|
|
56
|
-
readonly
|
|
55
|
+
readonly maxCreatedAt?: string | undefined;
|
|
56
|
+
readonly eventTypeNames?: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
readonly events: readonly {
|
|
59
|
-
readonly createdAt: string;
|
|
60
59
|
readonly eventId: string;
|
|
61
60
|
readonly eventTypeName: string;
|
|
61
|
+
readonly status: "failed" | "pending" | "processing" | "retrying" | "succeeded";
|
|
62
|
+
readonly createdAt: string;
|
|
63
|
+
readonly succeededAt?: string | undefined;
|
|
64
|
+
readonly retryCount: number;
|
|
62
65
|
readonly response?: {
|
|
63
|
-
readonly
|
|
66
|
+
readonly httpCode?: number | undefined;
|
|
64
67
|
readonly elapsedTimeMs?: number | undefined;
|
|
68
|
+
readonly body?: string | undefined;
|
|
65
69
|
readonly errorName?: string | undefined;
|
|
66
|
-
readonly httpCode?: number | undefined;
|
|
67
70
|
} | undefined;
|
|
68
|
-
readonly retryCount: number;
|
|
69
|
-
readonly status: "failed" | "pending" | "processing" | "retrying" | "succeeded";
|
|
70
|
-
readonly succeededAt?: string | undefined;
|
|
71
71
|
}[];
|
|
72
72
|
}, never, import("../credentials.ts").Credentials>;
|
|
73
73
|
//# sourceMappingURL=listWebhookSubscriptionEvents.d.ts.map
|
|
@@ -43,27 +43,27 @@ export declare const listWebhookSubscriptions: import("@distilled.cloud/core/cli
|
|
|
43
43
|
readonly pageSize?: number | undefined;
|
|
44
44
|
readonly pageToken?: string | undefined;
|
|
45
45
|
}, {
|
|
46
|
-
readonly nextPageToken?: string | undefined;
|
|
47
46
|
readonly subscriptions: readonly {
|
|
48
47
|
readonly createdAt: string;
|
|
48
|
+
readonly updatedAt?: string | undefined;
|
|
49
49
|
readonly description?: string | undefined;
|
|
50
50
|
readonly eventTypes: readonly string[];
|
|
51
51
|
readonly isEnabled: boolean;
|
|
52
|
-
readonly labels?: {
|
|
53
|
-
readonly [x: string]: string;
|
|
54
|
-
} | undefined;
|
|
55
52
|
readonly metadata?: {
|
|
56
53
|
readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
57
54
|
} | undefined;
|
|
58
55
|
readonly secret: string | import("effect/Redacted").Redacted<string>;
|
|
59
56
|
readonly subscriptionId: string;
|
|
60
57
|
readonly target: {
|
|
58
|
+
readonly url: string;
|
|
61
59
|
readonly headers?: {
|
|
62
60
|
readonly [x: string]: string;
|
|
63
61
|
} | undefined;
|
|
64
|
-
readonly url: string;
|
|
65
62
|
};
|
|
66
|
-
readonly
|
|
63
|
+
readonly labels?: {
|
|
64
|
+
readonly [x: string]: string;
|
|
65
|
+
} | undefined;
|
|
67
66
|
}[];
|
|
67
|
+
readonly nextPageToken?: string | undefined;
|
|
68
68
|
}, never, import("../credentials.ts").Credentials>;
|
|
69
69
|
//# sourceMappingURL=listWebhookSubscriptions.d.ts.map
|
|
@@ -51,34 +51,34 @@ section of our Authentication docs for more details on how to generate your Wall
|
|
|
51
51
|
*/
|
|
52
52
|
export declare const prepareAndSendUserOperation: import("@distilled.cloud/core/client").OperationMethod<{
|
|
53
53
|
readonly address: string;
|
|
54
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
54
55
|
readonly calls: readonly {
|
|
55
|
-
readonly data: string;
|
|
56
|
-
readonly overrideGasLimit?: string | undefined;
|
|
57
56
|
readonly to: string;
|
|
58
57
|
readonly value: string;
|
|
58
|
+
readonly data: string;
|
|
59
|
+
readonly overrideGasLimit?: string | undefined;
|
|
59
60
|
}[];
|
|
60
|
-
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
61
61
|
readonly paymasterUrl?: string | undefined;
|
|
62
62
|
}, {
|
|
63
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
64
|
+
readonly userOpHash: string;
|
|
63
65
|
readonly calls: readonly {
|
|
64
|
-
readonly data: string;
|
|
65
|
-
readonly overrideGasLimit?: string | undefined;
|
|
66
66
|
readonly to: string;
|
|
67
67
|
readonly value: string;
|
|
68
|
+
readonly data: string;
|
|
69
|
+
readonly overrideGasLimit?: string | undefined;
|
|
68
70
|
}[];
|
|
69
|
-
readonly
|
|
71
|
+
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
72
|
+
readonly transactionHash?: string | undefined;
|
|
70
73
|
readonly receipts?: readonly {
|
|
71
|
-
readonly blockHash?: string | undefined;
|
|
72
|
-
readonly blockNumber?: number | undefined;
|
|
73
|
-
readonly gasUsed?: string | undefined;
|
|
74
74
|
readonly revert?: {
|
|
75
75
|
readonly data: string;
|
|
76
76
|
readonly message: string;
|
|
77
77
|
} | undefined;
|
|
78
78
|
readonly transactionHash?: string | undefined;
|
|
79
|
+
readonly blockHash?: string | undefined;
|
|
80
|
+
readonly blockNumber?: number | undefined;
|
|
81
|
+
readonly gasUsed?: string | undefined;
|
|
79
82
|
}[] | undefined;
|
|
80
|
-
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
81
|
-
readonly transactionHash?: string | undefined;
|
|
82
|
-
readonly userOpHash: string;
|
|
83
83
|
}, never, import("../credentials.ts").Credentials>;
|
|
84
84
|
//# sourceMappingURL=prepareAndSendUserOperation.d.ts.map
|
|
@@ -44,35 +44,35 @@ export type PrepareUserOperationOutput = typeof PrepareUserOperationOutput.Type;
|
|
|
44
44
|
*/
|
|
45
45
|
export declare const prepareUserOperation: import("@distilled.cloud/core/client").OperationMethod<{
|
|
46
46
|
readonly address: string;
|
|
47
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
47
48
|
readonly calls: readonly {
|
|
48
|
-
readonly data: string;
|
|
49
|
-
readonly overrideGasLimit?: string | undefined;
|
|
50
49
|
readonly to: string;
|
|
51
50
|
readonly value: string;
|
|
51
|
+
readonly data: string;
|
|
52
|
+
readonly overrideGasLimit?: string | undefined;
|
|
52
53
|
}[];
|
|
53
|
-
readonly dataSuffix?: string | undefined;
|
|
54
|
-
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
55
54
|
readonly paymasterUrl?: string | undefined;
|
|
55
|
+
readonly dataSuffix?: string | undefined;
|
|
56
56
|
}, {
|
|
57
|
+
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
58
|
+
readonly userOpHash: string;
|
|
57
59
|
readonly calls: readonly {
|
|
58
|
-
readonly data: string;
|
|
59
|
-
readonly overrideGasLimit?: string | undefined;
|
|
60
60
|
readonly to: string;
|
|
61
61
|
readonly value: string;
|
|
62
|
+
readonly data: string;
|
|
63
|
+
readonly overrideGasLimit?: string | undefined;
|
|
62
64
|
}[];
|
|
63
|
-
readonly
|
|
65
|
+
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
66
|
+
readonly transactionHash?: string | undefined;
|
|
64
67
|
readonly receipts?: readonly {
|
|
65
|
-
readonly blockHash?: string | undefined;
|
|
66
|
-
readonly blockNumber?: number | undefined;
|
|
67
|
-
readonly gasUsed?: string | undefined;
|
|
68
68
|
readonly revert?: {
|
|
69
69
|
readonly data: string;
|
|
70
70
|
readonly message: string;
|
|
71
71
|
} | undefined;
|
|
72
72
|
readonly transactionHash?: string | undefined;
|
|
73
|
+
readonly blockHash?: string | undefined;
|
|
74
|
+
readonly blockNumber?: number | undefined;
|
|
75
|
+
readonly gasUsed?: string | undefined;
|
|
73
76
|
}[] | undefined;
|
|
74
|
-
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
75
|
-
readonly transactionHash?: string | undefined;
|
|
76
|
-
readonly userOpHash: string;
|
|
77
77
|
}, never, import("../credentials.ts").Credentials>;
|
|
78
78
|
//# sourceMappingURL=prepareUserOperation.d.ts.map
|
|
@@ -19,8 +19,8 @@ export type RequestEvmFaucetOutput = typeof RequestEvmFaucetOutput.Type;
|
|
|
19
19
|
* A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.
|
|
20
20
|
*/
|
|
21
21
|
export declare const requestEvmFaucet: import("@distilled.cloud/core/client").OperationMethod<{
|
|
22
|
-
readonly address: string;
|
|
23
22
|
readonly network: "base-sepolia" | "ethereum-hoodi" | "ethereum-sepolia";
|
|
23
|
+
readonly address: string;
|
|
24
24
|
readonly token: "cbbtc" | "eth" | "eurc" | "usdc";
|
|
25
25
|
}, {
|
|
26
26
|
readonly transactionHash: string;
|