@coinbase/cdp-sdk 1.45.0 → 1.46.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/CHANGELOG.md +14 -2
- package/README.md +47 -43
- package/_cjs/accounts/evm/eip6492.js +49 -0
- package/_cjs/accounts/evm/eip6492.js.map +1 -0
- package/_cjs/accounts/evm/toEvmSmartAccount.js +6 -2
- package/_cjs/accounts/evm/toEvmSmartAccount.js.map +1 -1
- package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js +31 -0
- package/_cjs/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
- package/_cjs/actions/solana/transfer.js.map +1 -1
- package/_cjs/actions/solana/utils.js +9 -9
- package/_cjs/actions/solana/utils.js.map +1 -1
- package/_cjs/auth/utils/http.js +1 -0
- package/_cjs/auth/utils/http.js.map +1 -1
- package/_cjs/client/cdp.js +4 -1
- package/_cjs/client/cdp.js.map +1 -1
- package/_cjs/client/end-user/endUser.js +385 -4
- package/_cjs/client/end-user/endUser.js.map +1 -1
- package/_cjs/client/end-user/toEndUserAccount.js +201 -23
- package/_cjs/client/end-user/toEndUserAccount.js.map +1 -1
- package/_cjs/client/solana/solana.js +39 -13
- package/_cjs/client/solana/solana.js.map +1 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/openapi-client/cdpApiClient.js +32 -0
- package/_cjs/openapi-client/cdpApiClient.js.map +1 -1
- package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +52 -15
- package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
- package/_cjs/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js +261 -0
- package/_cjs/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js.map +1 -0
- package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
- package/_cjs/openapi-client/generated/evm-accounts/evm-accounts.js.map +1 -1
- package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +2 -2
- package/_cjs/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
- package/_cjs/openapi-client/generated/evm-swaps/evm-swaps.js.map +1 -1
- package/_cjs/openapi-client/generated/evm-token-balances/evm-token-balances.js.map +1 -1
- package/_cjs/openapi-client/generated/faucets/faucets.js +6 -5
- package/_cjs/openapi-client/generated/faucets/faucets.js.map +1 -1
- package/_cjs/openapi-client/generated/onchain-data/onchain-data.js.map +1 -1
- package/_cjs/openapi-client/generated/onramp/onramp.js.map +1 -1
- package/_cjs/openapi-client/generated/policy-engine/policy-engine.js.map +1 -1
- package/_cjs/openapi-client/generated/solana-accounts/solana-accounts.js.map +1 -1
- package/_cjs/openapi-client/generated/solana-token-balances/solana-token-balances.js.map +1 -1
- package/_cjs/openapi-client/generated/sql-api/sql-api.js +75 -0
- package/_cjs/openapi-client/generated/sql-api/sql-api.js.map +1 -0
- package/_cjs/openapi-client/generated/webhooks/webhooks.js.map +1 -1
- package/_cjs/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -1
- package/_cjs/openapi-client/index.js +4 -1
- package/_cjs/openapi-client/index.js.map +1 -1
- package/_cjs/utils/export.js +6 -5
- package/_cjs/utils/export.js.map +1 -1
- package/_cjs/version.js +1 -1
- package/_esm/accounts/evm/eip6492.js +46 -0
- package/_esm/accounts/evm/eip6492.js.map +1 -0
- package/_esm/accounts/evm/toEvmSmartAccount.js +6 -2
- package/_esm/accounts/evm/toEvmSmartAccount.js.map +1 -1
- package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js +31 -0
- package/_esm/accounts/evm/toNetworkScopedEvmSmartAccount.js.map +1 -1
- package/_esm/actions/solana/transfer.js.map +1 -1
- package/_esm/actions/solana/utils.js +9 -9
- package/_esm/actions/solana/utils.js.map +1 -1
- package/_esm/auth/utils/http.js +1 -0
- package/_esm/auth/utils/http.js.map +1 -1
- package/_esm/client/cdp.js +4 -1
- package/_esm/client/cdp.js.map +1 -1
- package/_esm/client/end-user/endUser.js +385 -4
- package/_esm/client/end-user/endUser.js.map +1 -1
- package/_esm/client/end-user/toEndUserAccount.js +201 -23
- package/_esm/client/end-user/toEndUserAccount.js.map +1 -1
- package/_esm/client/solana/solana.js +39 -13
- package/_esm/client/solana/solana.js.map +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/openapi-client/cdpApiClient.js +32 -0
- package/_esm/openapi-client/cdpApiClient.js.map +1 -1
- package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +49 -12
- package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
- package/_esm/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js +243 -0
- package/_esm/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.js.map +1 -0
- package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
- package/_esm/openapi-client/generated/evm-accounts/evm-accounts.js.map +1 -1
- package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js +2 -2
- package/_esm/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.js.map +1 -1
- package/_esm/openapi-client/generated/evm-swaps/evm-swaps.js.map +1 -1
- package/_esm/openapi-client/generated/evm-token-balances/evm-token-balances.js.map +1 -1
- package/_esm/openapi-client/generated/faucets/faucets.js +6 -5
- package/_esm/openapi-client/generated/faucets/faucets.js.map +1 -1
- package/_esm/openapi-client/generated/onchain-data/onchain-data.js.map +1 -1
- package/_esm/openapi-client/generated/onramp/onramp.js.map +1 -1
- package/_esm/openapi-client/generated/policy-engine/policy-engine.js.map +1 -1
- package/_esm/openapi-client/generated/solana-accounts/solana-accounts.js.map +1 -1
- package/_esm/openapi-client/generated/solana-token-balances/solana-token-balances.js.map +1 -1
- package/_esm/openapi-client/generated/sql-api/sql-api.js +70 -0
- package/_esm/openapi-client/generated/sql-api/sql-api.js.map +1 -0
- package/_esm/openapi-client/generated/webhooks/webhooks.js.map +1 -1
- package/_esm/openapi-client/generated/x402-facilitator/x402-facilitator.js.map +1 -1
- package/_esm/openapi-client/index.js +4 -1
- package/_esm/openapi-client/index.js.map +1 -1
- package/_esm/utils/export.js +6 -5
- package/_esm/utils/export.js.map +1 -1
- package/_esm/version.js +1 -1
- package/_types/accounts/evm/eip6492.d.ts +17 -0
- package/_types/accounts/evm/eip6492.d.ts.map +1 -0
- package/_types/accounts/evm/toEvmSmartAccount.d.ts.map +1 -1
- package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts +4 -4
- package/_types/accounts/evm/toNetworkScopedEvmSmartAccount.d.ts.map +1 -1
- package/_types/accounts/evm/types.d.ts +3 -2
- package/_types/accounts/evm/types.d.ts.map +1 -1
- package/_types/actions/solana/transfer.d.ts +3 -4
- package/_types/actions/solana/transfer.d.ts.map +1 -1
- package/_types/actions/solana/types.d.ts +79 -29
- package/_types/actions/solana/types.d.ts.map +1 -1
- package/_types/actions/solana/utils.d.ts +10 -9
- package/_types/actions/solana/utils.d.ts.map +1 -1
- package/_types/auth/utils/http.d.ts.map +1 -1
- package/_types/client/cdp.d.ts +4 -0
- package/_types/client/cdp.d.ts.map +1 -1
- package/_types/client/end-user/endUser.d.ts +272 -1
- package/_types/client/end-user/endUser.d.ts.map +1 -1
- package/_types/client/end-user/endUser.types.d.ts +491 -1
- package/_types/client/end-user/endUser.types.d.ts.map +1 -1
- package/_types/client/end-user/toEndUserAccount.d.ts +4 -1
- package/_types/client/end-user/toEndUserAccount.d.ts.map +1 -1
- package/_types/client/evm/evm.types.d.ts.map +1 -1
- package/_types/client/solana/solana.d.ts +38 -12
- package/_types/client/solana/solana.d.ts.map +1 -1
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/openapi-client/cdpApiClient.d.ts.map +1 -1
- package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +487 -119
- package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
- package/_types/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.d.ts +163 -0
- package/_types/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.d.ts.map +1 -0
- package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts +9 -9
- package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts.map +1 -1
- package/_types/openapi-client/generated/evm-accounts/evm-accounts.d.ts +16 -16
- package/_types/openapi-client/generated/evm-accounts/evm-accounts.d.ts.map +1 -1
- package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts +14 -14
- package/_types/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.d.ts.map +1 -1
- package/_types/openapi-client/generated/evm-swaps/evm-swaps.d.ts +3 -3
- package/_types/openapi-client/generated/evm-swaps/evm-swaps.d.ts.map +1 -1
- package/_types/openapi-client/generated/evm-token-balances/evm-token-balances.d.ts +2 -2
- package/_types/openapi-client/generated/evm-token-balances/evm-token-balances.d.ts.map +1 -1
- package/_types/openapi-client/generated/faucets/faucets.d.ts +9 -8
- package/_types/openapi-client/generated/faucets/faucets.d.ts.map +1 -1
- package/_types/openapi-client/generated/onchain-data/onchain-data.d.ts +3 -3
- package/_types/openapi-client/generated/onchain-data/onchain-data.d.ts.map +1 -1
- package/_types/openapi-client/generated/onramp/onramp.d.ts +5 -5
- package/_types/openapi-client/generated/onramp/onramp.d.ts.map +1 -1
- package/_types/openapi-client/generated/policy-engine/policy-engine.d.ts +6 -6
- package/_types/openapi-client/generated/policy-engine/policy-engine.d.ts.map +1 -1
- package/_types/openapi-client/generated/solana-accounts/solana-accounts.d.ts +12 -12
- package/_types/openapi-client/generated/solana-accounts/solana-accounts.d.ts.map +1 -1
- package/_types/openapi-client/generated/solana-token-balances/solana-token-balances.d.ts +2 -2
- package/_types/openapi-client/generated/solana-token-balances/solana-token-balances.d.ts.map +1 -1
- package/_types/openapi-client/generated/sql-api/sql-api.d.ts +73 -0
- package/_types/openapi-client/generated/sql-api/sql-api.d.ts.map +1 -0
- package/_types/openapi-client/generated/webhooks/webhooks.d.ts +6 -6
- package/_types/openapi-client/generated/webhooks/webhooks.d.ts.map +1 -1
- package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts +4 -4
- package/_types/openapi-client/generated/x402-facilitator/x402-facilitator.d.ts.map +1 -1
- package/_types/openapi-client/index.d.ts +19 -3
- package/_types/openapi-client/index.d.ts.map +1 -1
- package/_types/policies/evmSchema.d.ts +26 -78
- package/_types/policies/evmSchema.d.ts.map +1 -1
- package/_types/policies/types.d.ts.map +1 -1
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/utils/export.d.ts +1 -1
- package/_types/utils/export.d.ts.map +1 -1
- package/_types/version.d.ts +1 -1
- package/accounts/evm/eip6492.ts +60 -0
- package/accounts/evm/toEvmSmartAccount.ts +17 -4
- package/accounts/evm/toNetworkScopedEvmSmartAccount.ts +44 -5
- package/accounts/evm/types.ts +8 -3
- package/actions/solana/transfer.ts +3 -3
- package/actions/solana/types.ts +79 -29
- package/actions/solana/utils.ts +13 -11
- package/auth/utils/http.ts +1 -0
- package/client/cdp.ts +6 -1
- package/client/end-user/endUser.ts +513 -4
- package/client/end-user/endUser.types.ts +598 -0
- package/client/end-user/toEndUserAccount.ts +330 -26
- package/client/evm/evm.types.ts +4 -2
- package/client/solana/solana.ts +39 -13
- package/index.ts +31 -1
- package/openapi-client/cdpApiClient.ts +34 -0
- package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +566 -152
- package/openapi-client/generated/embedded-wallets-core-functionality/embedded-wallets-core-functionality.ts +455 -0
- package/openapi-client/generated/end-user-accounts/end-user-accounts.ts +12 -9
- package/openapi-client/generated/evm-accounts/evm-accounts.ts +19 -16
- package/openapi-client/generated/evm-smart-accounts/evm-smart-accounts.ts +16 -16
- package/openapi-client/generated/evm-swaps/evm-swaps.ts +3 -3
- package/openapi-client/generated/evm-token-balances/evm-token-balances.ts +2 -2
- package/openapi-client/generated/faucets/faucets.ts +9 -8
- package/openapi-client/generated/onchain-data/onchain-data.ts +3 -3
- package/openapi-client/generated/onramp/onramp.ts +5 -5
- package/openapi-client/generated/policy-engine/policy-engine.ts +12 -6
- package/openapi-client/generated/solana-accounts/solana-accounts.ts +12 -12
- package/openapi-client/generated/solana-token-balances/solana-token-balances.ts +2 -2
- package/openapi-client/generated/sql-api/sql-api.ts +92 -0
- package/openapi-client/generated/webhooks/webhooks.ts +6 -6
- package/openapi-client/generated/x402-facilitator/x402-facilitator.ts +6 -4
- package/openapi-client/index.ts +4 -1
- package/package.json +7 -8
- package/types/contract.ts +2 -4
- package/utils/export.ts +6 -5
- package/version.ts +1 -1
- package/_cjs/openapi-client/generated/sql-api-alpha/sql-api-alpha.js +0 -55
- package/_cjs/openapi-client/generated/sql-api-alpha/sql-api-alpha.js.map +0 -1
- package/_esm/openapi-client/generated/sql-api-alpha/sql-api-alpha.js +0 -50
- package/_esm/openapi-client/generated/sql-api-alpha/sql-api-alpha.js.map +0 -1
- package/_types/openapi-client/generated/sql-api-alpha/sql-api-alpha.d.ts +0 -53
- package/_types/openapi-client/generated/sql-api-alpha/sql-api-alpha.d.ts.map +0 -1
- package/openapi-client/generated/sql-api-alpha/sql-api-alpha.ts +0 -72
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateEndUserBody, ListEndUsersParams, ImportEndUserBodyKeyType, AuthenticationMethods, AddEndUserEvmAccount201, AddEndUserEvmSmartAccount201, AddEndUserSolanaAccount201, EndUser as OpenAPIEndUser } from "../../openapi-client/index.js";
|
|
1
|
+
import type { CreateEndUserBody, ListEndUsersParams, ImportEndUserBodyKeyType, AuthenticationMethods, AddEndUserEvmAccount201, AddEndUserEvmSmartAccount201, AddEndUserSolanaAccount201, EndUser as OpenAPIEndUser, SignEvmHashWithEndUserAccount200, SignEvmTransactionWithEndUserAccount200, SignEvmMessageWithEndUserAccount200, SignEvmTypedDataWithEndUserAccount200, SendEvmTransactionWithEndUserAccount200, SendEvmTransactionWithEndUserAccountBodyNetwork, SendEvmAssetWithEndUserAccount200, SendEvmAssetWithEndUserAccountBodyNetwork, SendUserOperationWithEndUserAccountResult, EvmUserOperationNetwork, EvmCall, CreateEvmEip7702DelegationWithEndUserAccount201, EvmEip7702DelegationNetwork, SignSolanaHashWithEndUserAccount200, SignSolanaMessageWithEndUserAccount200, SignSolanaTransactionWithEndUserAccount200, SendSolanaTransactionWithEndUserAccount200, SendSolanaTransactionWithEndUserAccountBodyNetwork, SendSolanaAssetWithEndUserAccount200, SendSolanaAssetWithEndUserAccountBodyNetwork, EIP712Message } from "../../openapi-client/index.js";
|
|
2
2
|
import type { Prettify } from "../../types/utils.js";
|
|
3
3
|
/**
|
|
4
4
|
* The options for validating an access token.
|
|
@@ -99,6 +99,391 @@ export interface ImportEndUserOptions {
|
|
|
99
99
|
*/
|
|
100
100
|
encryptionPublicKey?: string;
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* The options for revoking all active delegations for an end user.
|
|
104
|
+
*/
|
|
105
|
+
export interface RevokeDelegationForEndUserOptions {
|
|
106
|
+
/**
|
|
107
|
+
* The unique identifier of the end user.
|
|
108
|
+
*/
|
|
109
|
+
userId: string;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The options for signing an EVM hash on behalf of an end user.
|
|
113
|
+
*/
|
|
114
|
+
export interface SignEvmHashOptions {
|
|
115
|
+
/** The unique identifier of the end user. */
|
|
116
|
+
userId: string;
|
|
117
|
+
/** The 32-byte hash to sign, hex-encoded. */
|
|
118
|
+
hash: string;
|
|
119
|
+
/** The EVM address to sign with. */
|
|
120
|
+
address: string;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* The result of signing an EVM hash on behalf of an end user.
|
|
124
|
+
*/
|
|
125
|
+
export type SignEvmHashResult = SignEvmHashWithEndUserAccount200;
|
|
126
|
+
/**
|
|
127
|
+
* The options for signing an EVM transaction on behalf of an end user.
|
|
128
|
+
*/
|
|
129
|
+
export interface SignEvmTransactionOptions {
|
|
130
|
+
/** The unique identifier of the end user. */
|
|
131
|
+
userId: string;
|
|
132
|
+
/** The EVM address to sign with. */
|
|
133
|
+
address: string;
|
|
134
|
+
/** The RLP-serialized EIP-1559 transaction to sign, hex-encoded. */
|
|
135
|
+
transaction: string;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* The result of signing an EVM transaction on behalf of an end user.
|
|
139
|
+
*/
|
|
140
|
+
export type SignEvmTransactionResult = SignEvmTransactionWithEndUserAccount200;
|
|
141
|
+
/**
|
|
142
|
+
* The options for signing an EVM message on behalf of an end user.
|
|
143
|
+
*/
|
|
144
|
+
export interface SignEvmMessageOptions {
|
|
145
|
+
/** The unique identifier of the end user. */
|
|
146
|
+
userId: string;
|
|
147
|
+
/** The EVM address to sign with. */
|
|
148
|
+
address: string;
|
|
149
|
+
/** The EIP-191 message to sign. */
|
|
150
|
+
message: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The result of signing an EVM message on behalf of an end user.
|
|
154
|
+
*/
|
|
155
|
+
export type SignEvmMessageResult = SignEvmMessageWithEndUserAccount200;
|
|
156
|
+
/**
|
|
157
|
+
* The options for signing EVM EIP-712 typed data on behalf of an end user.
|
|
158
|
+
*/
|
|
159
|
+
export interface SignEvmTypedDataOptions {
|
|
160
|
+
/** The unique identifier of the end user. */
|
|
161
|
+
userId: string;
|
|
162
|
+
/** The EVM address to sign with. */
|
|
163
|
+
address: string;
|
|
164
|
+
/** The EIP-712 typed data to sign. */
|
|
165
|
+
typedData: EIP712Message;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The result of signing EVM typed data on behalf of an end user.
|
|
169
|
+
*/
|
|
170
|
+
export type SignEvmTypedDataResult = SignEvmTypedDataWithEndUserAccount200;
|
|
171
|
+
/**
|
|
172
|
+
* The options for sending an EVM transaction on behalf of an end user.
|
|
173
|
+
*/
|
|
174
|
+
export interface SendEvmTransactionOptions {
|
|
175
|
+
/** The unique identifier of the end user. */
|
|
176
|
+
userId: string;
|
|
177
|
+
/** The EVM address to send from. */
|
|
178
|
+
address: string;
|
|
179
|
+
/** The RLP-serialized EIP-1559 transaction to send, hex-encoded. */
|
|
180
|
+
transaction: string;
|
|
181
|
+
/** The network to send the transaction on. */
|
|
182
|
+
network: SendEvmTransactionWithEndUserAccountBodyNetwork;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The result of sending an EVM transaction on behalf of an end user.
|
|
186
|
+
*/
|
|
187
|
+
export type SendEvmTransactionResult = SendEvmTransactionWithEndUserAccount200;
|
|
188
|
+
/**
|
|
189
|
+
* The options for sending an EVM asset on behalf of an end user.
|
|
190
|
+
*/
|
|
191
|
+
export interface SendEvmAssetOptions {
|
|
192
|
+
/** The unique identifier of the end user. */
|
|
193
|
+
userId: string;
|
|
194
|
+
/** The EVM address to send from. */
|
|
195
|
+
address: string;
|
|
196
|
+
/** The asset to send. Defaults to "usdc". */
|
|
197
|
+
asset?: "usdc";
|
|
198
|
+
/** The recipient address. */
|
|
199
|
+
to: string;
|
|
200
|
+
/** The amount to send. */
|
|
201
|
+
amount: string;
|
|
202
|
+
/** The network to send on. */
|
|
203
|
+
network: SendEvmAssetWithEndUserAccountBodyNetwork;
|
|
204
|
+
/** Whether to use the CDP paymaster. */
|
|
205
|
+
useCdpPaymaster?: boolean;
|
|
206
|
+
/** A custom paymaster URL. */
|
|
207
|
+
paymasterUrl?: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* The result of sending an EVM asset on behalf of an end user.
|
|
211
|
+
*/
|
|
212
|
+
export type SendEvmAssetResult = SendEvmAssetWithEndUserAccount200;
|
|
213
|
+
/**
|
|
214
|
+
* The options for sending a user operation on behalf of an end user.
|
|
215
|
+
*/
|
|
216
|
+
export interface SendUserOperationOptions {
|
|
217
|
+
/** The unique identifier of the end user. */
|
|
218
|
+
userId: string;
|
|
219
|
+
/** The EVM smart account address. */
|
|
220
|
+
address: string;
|
|
221
|
+
/** The network to send the user operation on. */
|
|
222
|
+
network: EvmUserOperationNetwork;
|
|
223
|
+
/** The calls to execute. */
|
|
224
|
+
calls: EvmCall[];
|
|
225
|
+
/** Whether to use the CDP paymaster. */
|
|
226
|
+
useCdpPaymaster: boolean;
|
|
227
|
+
/** A custom paymaster URL. */
|
|
228
|
+
paymasterUrl?: string;
|
|
229
|
+
/** An optional data suffix. */
|
|
230
|
+
dataSuffix?: string;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* The result of sending a user operation on behalf of an end user.
|
|
234
|
+
*/
|
|
235
|
+
export type SendUserOperationResult = SendUserOperationWithEndUserAccountResult;
|
|
236
|
+
/**
|
|
237
|
+
* The options for creating an EVM EIP-7702 delegation on behalf of an end user.
|
|
238
|
+
*/
|
|
239
|
+
export interface CreateEvmEip7702DelegationOptions {
|
|
240
|
+
/** The unique identifier of the end user. */
|
|
241
|
+
userId: string;
|
|
242
|
+
/** The EVM address to delegate. */
|
|
243
|
+
address: string;
|
|
244
|
+
/** The network for the delegation. */
|
|
245
|
+
network: EvmEip7702DelegationNetwork;
|
|
246
|
+
/** Whether to enable spend permissions for the delegation. */
|
|
247
|
+
enableSpendPermissions?: boolean;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* The result of creating an EVM EIP-7702 delegation on behalf of an end user.
|
|
251
|
+
*/
|
|
252
|
+
export type CreateEvmEip7702DelegationForEndUserResult = CreateEvmEip7702DelegationWithEndUserAccount201;
|
|
253
|
+
/**
|
|
254
|
+
* The options for signing a Solana hash on behalf of an end user.
|
|
255
|
+
*/
|
|
256
|
+
export interface SignSolanaHashOptions {
|
|
257
|
+
/** The unique identifier of the end user. */
|
|
258
|
+
userId: string;
|
|
259
|
+
/** The 32-byte hash to sign. */
|
|
260
|
+
hash: string;
|
|
261
|
+
/** The Solana address to sign with. */
|
|
262
|
+
address: string;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* The result of signing a Solana hash on behalf of an end user.
|
|
266
|
+
*/
|
|
267
|
+
export type SignSolanaHashResult = SignSolanaHashWithEndUserAccount200;
|
|
268
|
+
/**
|
|
269
|
+
* The options for signing a Solana message on behalf of an end user.
|
|
270
|
+
*/
|
|
271
|
+
export interface SignSolanaMessageOptions {
|
|
272
|
+
/** The unique identifier of the end user. */
|
|
273
|
+
userId: string;
|
|
274
|
+
/** The Solana address to sign with. */
|
|
275
|
+
address: string;
|
|
276
|
+
/** The base64-encoded message to sign. */
|
|
277
|
+
message: string;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* The result of signing a Solana message on behalf of an end user.
|
|
281
|
+
*/
|
|
282
|
+
export type SignSolanaMessageResult = SignSolanaMessageWithEndUserAccount200;
|
|
283
|
+
/**
|
|
284
|
+
* The options for signing a Solana transaction on behalf of an end user.
|
|
285
|
+
*/
|
|
286
|
+
export interface SignSolanaTransactionOptions {
|
|
287
|
+
/** The unique identifier of the end user. */
|
|
288
|
+
userId: string;
|
|
289
|
+
/** The Solana address to sign with. */
|
|
290
|
+
address: string;
|
|
291
|
+
/** The base64-encoded Solana transaction to sign. */
|
|
292
|
+
transaction: string;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* The result of signing a Solana transaction on behalf of an end user.
|
|
296
|
+
*/
|
|
297
|
+
export type SignSolanaTransactionResult = SignSolanaTransactionWithEndUserAccount200;
|
|
298
|
+
/**
|
|
299
|
+
* The options for sending a Solana transaction on behalf of an end user.
|
|
300
|
+
*/
|
|
301
|
+
export interface SendSolanaTransactionOptions {
|
|
302
|
+
/** The unique identifier of the end user. */
|
|
303
|
+
userId: string;
|
|
304
|
+
/** The Solana address to send from. */
|
|
305
|
+
address: string;
|
|
306
|
+
/** The base64-encoded Solana transaction to send. */
|
|
307
|
+
transaction: string;
|
|
308
|
+
/** The Solana network to send on. */
|
|
309
|
+
network: SendSolanaTransactionWithEndUserAccountBodyNetwork;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* The result of sending a Solana transaction on behalf of an end user.
|
|
313
|
+
*/
|
|
314
|
+
export type SendSolanaTransactionResult = SendSolanaTransactionWithEndUserAccount200;
|
|
315
|
+
/**
|
|
316
|
+
* The options for sending a Solana asset on behalf of an end user.
|
|
317
|
+
*/
|
|
318
|
+
export interface SendSolanaAssetOptions {
|
|
319
|
+
/** The unique identifier of the end user. */
|
|
320
|
+
userId: string;
|
|
321
|
+
/** The Solana address to send from. */
|
|
322
|
+
address: string;
|
|
323
|
+
/** The asset to send. Defaults to "usdc". */
|
|
324
|
+
asset?: "usdc";
|
|
325
|
+
/** The recipient address. */
|
|
326
|
+
to: string;
|
|
327
|
+
/** The amount to send. */
|
|
328
|
+
amount: string;
|
|
329
|
+
/** The Solana network to send on. */
|
|
330
|
+
network: SendSolanaAssetWithEndUserAccountBodyNetwork;
|
|
331
|
+
/** Whether to create the recipient's associated token account if it doesn't exist. */
|
|
332
|
+
createRecipientAta?: boolean;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* The result of sending a Solana asset on behalf of an end user.
|
|
336
|
+
*/
|
|
337
|
+
export type SendSolanaAssetResult = SendSolanaAssetWithEndUserAccount200;
|
|
338
|
+
/**
|
|
339
|
+
* The options for signing an EVM hash on an EndUser object.
|
|
340
|
+
*/
|
|
341
|
+
export interface AccountSignEvmHashOptions {
|
|
342
|
+
/** The 32-byte hash to sign, hex-encoded. */
|
|
343
|
+
hash: string;
|
|
344
|
+
/** The EVM address to sign with. Uses the first EVM account if not provided. */
|
|
345
|
+
address?: string;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* The options for signing an EVM transaction on an EndUser object.
|
|
349
|
+
*/
|
|
350
|
+
export interface AccountSignEvmTransactionOptions {
|
|
351
|
+
/** The EVM address to sign with. Uses the first EVM account if not provided. */
|
|
352
|
+
address?: string;
|
|
353
|
+
/** The RLP-serialized EIP-1559 transaction to sign, hex-encoded. */
|
|
354
|
+
transaction: string;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* The options for signing an EVM message on an EndUser object.
|
|
358
|
+
*/
|
|
359
|
+
export interface AccountSignEvmMessageOptions {
|
|
360
|
+
/** The EVM address to sign with. Uses the first EVM account if not provided. */
|
|
361
|
+
address?: string;
|
|
362
|
+
/** The EIP-191 message to sign. */
|
|
363
|
+
message: string;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* The options for signing EVM typed data on an EndUser object.
|
|
367
|
+
*/
|
|
368
|
+
export interface AccountSignEvmTypedDataOptions {
|
|
369
|
+
/** The EVM address to sign with. Uses the first EVM account if not provided. */
|
|
370
|
+
address?: string;
|
|
371
|
+
/** The EIP-712 typed data to sign. */
|
|
372
|
+
typedData: EIP712Message;
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* The options for sending an EVM transaction on an EndUser object.
|
|
376
|
+
*/
|
|
377
|
+
export interface AccountSendEvmTransactionOptions {
|
|
378
|
+
/** The EVM address to send from. Uses the first EVM account if not provided. */
|
|
379
|
+
address?: string;
|
|
380
|
+
/** The RLP-serialized EIP-1559 transaction to send, hex-encoded. */
|
|
381
|
+
transaction: string;
|
|
382
|
+
/** The network to send the transaction on. */
|
|
383
|
+
network: SendEvmTransactionWithEndUserAccountBodyNetwork;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* The options for sending an EVM asset on an EndUser object.
|
|
387
|
+
*/
|
|
388
|
+
export interface AccountSendEvmAssetOptions {
|
|
389
|
+
/** The EVM address to send from. Uses the first EVM account if not provided. */
|
|
390
|
+
address?: string;
|
|
391
|
+
/** The asset to send. Defaults to "usdc". */
|
|
392
|
+
asset?: "usdc";
|
|
393
|
+
/** The recipient address. */
|
|
394
|
+
to: string;
|
|
395
|
+
/** The amount to send. */
|
|
396
|
+
amount: string;
|
|
397
|
+
/** The network to send on. */
|
|
398
|
+
network: SendEvmAssetWithEndUserAccountBodyNetwork;
|
|
399
|
+
/** Whether to use the CDP paymaster. */
|
|
400
|
+
useCdpPaymaster?: boolean;
|
|
401
|
+
/** A custom paymaster URL. */
|
|
402
|
+
paymasterUrl?: string;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* The options for sending a user operation on an EndUser object.
|
|
406
|
+
*/
|
|
407
|
+
export interface AccountSendUserOperationOptions {
|
|
408
|
+
/** The EVM smart account address. Uses the first smart account if not provided. */
|
|
409
|
+
address?: string;
|
|
410
|
+
/** The network to send the user operation on. */
|
|
411
|
+
network: EvmUserOperationNetwork;
|
|
412
|
+
/** The calls to execute. */
|
|
413
|
+
calls: EvmCall[];
|
|
414
|
+
/** Whether to use the CDP paymaster. */
|
|
415
|
+
useCdpPaymaster: boolean;
|
|
416
|
+
/** A custom paymaster URL. */
|
|
417
|
+
paymasterUrl?: string;
|
|
418
|
+
/** An optional data suffix. */
|
|
419
|
+
dataSuffix?: string;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* The options for creating an EVM EIP-7702 delegation on an EndUser object.
|
|
423
|
+
*/
|
|
424
|
+
export interface AccountCreateEvmEip7702DelegationOptions {
|
|
425
|
+
/** The EVM address to delegate. Uses the first EVM account if not provided. */
|
|
426
|
+
address?: string;
|
|
427
|
+
/** The network for the delegation. */
|
|
428
|
+
network: EvmEip7702DelegationNetwork;
|
|
429
|
+
/** Whether to enable spend permissions for the delegation. */
|
|
430
|
+
enableSpendPermissions?: boolean;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* The options for signing a Solana hash on an EndUser object.
|
|
434
|
+
*/
|
|
435
|
+
export interface AccountSignSolanaHashOptions {
|
|
436
|
+
/** The 32-byte hash to sign. */
|
|
437
|
+
hash: string;
|
|
438
|
+
/** The Solana address to sign with. Uses the first Solana account if not provided. */
|
|
439
|
+
address?: string;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* The options for signing a Solana message on an EndUser object.
|
|
443
|
+
*/
|
|
444
|
+
export interface AccountSignSolanaMessageOptions {
|
|
445
|
+
/** The Solana address to sign with. Uses the first Solana account if not provided. */
|
|
446
|
+
address?: string;
|
|
447
|
+
/** The base64-encoded message to sign. */
|
|
448
|
+
message: string;
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* The options for signing a Solana transaction on an EndUser object.
|
|
452
|
+
*/
|
|
453
|
+
export interface AccountSignSolanaTransactionOptions {
|
|
454
|
+
/** The Solana address to sign with. Uses the first Solana account if not provided. */
|
|
455
|
+
address?: string;
|
|
456
|
+
/** The base64-encoded Solana transaction to sign. */
|
|
457
|
+
transaction: string;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* The options for sending a Solana transaction on an EndUser object.
|
|
461
|
+
*/
|
|
462
|
+
export interface AccountSendSolanaTransactionOptions {
|
|
463
|
+
/** The Solana address to send from. Uses the first Solana account if not provided. */
|
|
464
|
+
address?: string;
|
|
465
|
+
/** The base64-encoded Solana transaction to send. */
|
|
466
|
+
transaction: string;
|
|
467
|
+
/** The Solana network to send on. */
|
|
468
|
+
network: SendSolanaTransactionWithEndUserAccountBodyNetwork;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* The options for sending a Solana asset on an EndUser object.
|
|
472
|
+
*/
|
|
473
|
+
export interface AccountSendSolanaAssetOptions {
|
|
474
|
+
/** The Solana address to send from. Uses the first Solana account if not provided. */
|
|
475
|
+
address?: string;
|
|
476
|
+
/** The asset to send. Defaults to "usdc". */
|
|
477
|
+
asset?: "usdc";
|
|
478
|
+
/** The recipient address. */
|
|
479
|
+
to: string;
|
|
480
|
+
/** The amount to send. */
|
|
481
|
+
amount: string;
|
|
482
|
+
/** The Solana network to send on. */
|
|
483
|
+
network: SendSolanaAssetWithEndUserAccountBodyNetwork;
|
|
484
|
+
/** Whether to create the recipient's associated token account if it doesn't exist. */
|
|
485
|
+
createRecipientAta?: boolean;
|
|
486
|
+
}
|
|
102
487
|
/**
|
|
103
488
|
* The options for adding an EVM smart account to an EndUser object.
|
|
104
489
|
*/
|
|
@@ -165,6 +550,111 @@ export type EndUserAccountActions = {
|
|
|
165
550
|
* ```
|
|
166
551
|
*/
|
|
167
552
|
addSolanaAccount: () => Promise<AddEndUserSolanaAccountResult>;
|
|
553
|
+
/**
|
|
554
|
+
* Revokes all active delegations for this end user.
|
|
555
|
+
* This operation can be performed by the end user themselves or by a developer using their API key.
|
|
556
|
+
*
|
|
557
|
+
* @returns A promise that resolves when the delegation has been revoked.
|
|
558
|
+
*
|
|
559
|
+
* @example
|
|
560
|
+
* ```ts
|
|
561
|
+
* const endUser = await cdp.endUser.getEndUser({ userId: "user-123" });
|
|
562
|
+
*
|
|
563
|
+
* await endUser.revokeDelegation();
|
|
564
|
+
* ```
|
|
565
|
+
*/
|
|
566
|
+
revokeDelegation: () => Promise<void>;
|
|
567
|
+
/**
|
|
568
|
+
* Signs an EVM hash on behalf of this end user using a delegation.
|
|
569
|
+
*
|
|
570
|
+
* @param options - The signing options.
|
|
571
|
+
* @returns A promise that resolves to the signature.
|
|
572
|
+
*/
|
|
573
|
+
signEvmHash: (options: AccountSignEvmHashOptions) => Promise<SignEvmHashResult>;
|
|
574
|
+
/**
|
|
575
|
+
* Signs an EVM transaction on behalf of this end user using a delegation.
|
|
576
|
+
*
|
|
577
|
+
* @param options - The signing options.
|
|
578
|
+
* @returns A promise that resolves to the signed transaction.
|
|
579
|
+
*/
|
|
580
|
+
signEvmTransaction: (options: AccountSignEvmTransactionOptions) => Promise<SignEvmTransactionResult>;
|
|
581
|
+
/**
|
|
582
|
+
* Signs an EVM message on behalf of this end user using a delegation.
|
|
583
|
+
*
|
|
584
|
+
* @param options - The signing options.
|
|
585
|
+
* @returns A promise that resolves to the signature.
|
|
586
|
+
*/
|
|
587
|
+
signEvmMessage: (options: AccountSignEvmMessageOptions) => Promise<SignEvmMessageResult>;
|
|
588
|
+
/**
|
|
589
|
+
* Signs EVM EIP-712 typed data on behalf of this end user using a delegation.
|
|
590
|
+
*
|
|
591
|
+
* @param options - The signing options.
|
|
592
|
+
* @returns A promise that resolves to the signature.
|
|
593
|
+
*/
|
|
594
|
+
signEvmTypedData: (options: AccountSignEvmTypedDataOptions) => Promise<SignEvmTypedDataResult>;
|
|
595
|
+
/**
|
|
596
|
+
* Sends an EVM transaction on behalf of this end user using a delegation.
|
|
597
|
+
*
|
|
598
|
+
* @param options - The send options.
|
|
599
|
+
* @returns A promise that resolves to the transaction hash.
|
|
600
|
+
*/
|
|
601
|
+
sendEvmTransaction: (options: AccountSendEvmTransactionOptions) => Promise<SendEvmTransactionResult>;
|
|
602
|
+
/**
|
|
603
|
+
* Sends an EVM asset on behalf of this end user using a delegation.
|
|
604
|
+
*
|
|
605
|
+
* @param options - The send options.
|
|
606
|
+
* @returns A promise that resolves to the transaction result.
|
|
607
|
+
*/
|
|
608
|
+
sendEvmAsset: (options: AccountSendEvmAssetOptions) => Promise<SendEvmAssetResult>;
|
|
609
|
+
/**
|
|
610
|
+
* Sends a user operation on behalf of this end user using a delegation.
|
|
611
|
+
*
|
|
612
|
+
* @param options - The send options.
|
|
613
|
+
* @returns A promise that resolves to the user operation result.
|
|
614
|
+
*/
|
|
615
|
+
sendUserOperation: (options: AccountSendUserOperationOptions) => Promise<SendUserOperationResult>;
|
|
616
|
+
/**
|
|
617
|
+
* Creates an EVM EIP-7702 delegation on behalf of this end user.
|
|
618
|
+
*
|
|
619
|
+
* @param options - The delegation options.
|
|
620
|
+
* @returns A promise that resolves to the delegation operation ID.
|
|
621
|
+
*/
|
|
622
|
+
createEvmEip7702Delegation: (options: AccountCreateEvmEip7702DelegationOptions) => Promise<CreateEvmEip7702DelegationForEndUserResult>;
|
|
623
|
+
/**
|
|
624
|
+
* Signs a Solana hash on behalf of this end user using a delegation.
|
|
625
|
+
*
|
|
626
|
+
* @param options - The signing options.
|
|
627
|
+
* @returns A promise that resolves to the signature.
|
|
628
|
+
*/
|
|
629
|
+
signSolanaHash: (options: AccountSignSolanaHashOptions) => Promise<SignSolanaHashResult>;
|
|
630
|
+
/**
|
|
631
|
+
* Signs a Solana message on behalf of this end user using a delegation.
|
|
632
|
+
*
|
|
633
|
+
* @param options - The signing options.
|
|
634
|
+
* @returns A promise that resolves to the signature.
|
|
635
|
+
*/
|
|
636
|
+
signSolanaMessage: (options: AccountSignSolanaMessageOptions) => Promise<SignSolanaMessageResult>;
|
|
637
|
+
/**
|
|
638
|
+
* Signs a Solana transaction on behalf of this end user using a delegation.
|
|
639
|
+
*
|
|
640
|
+
* @param options - The signing options.
|
|
641
|
+
* @returns A promise that resolves to the signed transaction.
|
|
642
|
+
*/
|
|
643
|
+
signSolanaTransaction: (options: AccountSignSolanaTransactionOptions) => Promise<SignSolanaTransactionResult>;
|
|
644
|
+
/**
|
|
645
|
+
* Sends a Solana transaction on behalf of this end user using a delegation.
|
|
646
|
+
*
|
|
647
|
+
* @param options - The send options.
|
|
648
|
+
* @returns A promise that resolves to the transaction signature.
|
|
649
|
+
*/
|
|
650
|
+
sendSolanaTransaction: (options: AccountSendSolanaTransactionOptions) => Promise<SendSolanaTransactionResult>;
|
|
651
|
+
/**
|
|
652
|
+
* Sends a Solana asset on behalf of this end user using a delegation.
|
|
653
|
+
*
|
|
654
|
+
* @param options - The send options.
|
|
655
|
+
* @returns A promise that resolves to the transaction signature.
|
|
656
|
+
*/
|
|
657
|
+
sendSolanaAsset: (options: AccountSendSolanaAssetOptions) => Promise<SendSolanaAssetResult>;
|
|
168
658
|
};
|
|
169
659
|
/**
|
|
170
660
|
* An end user with actions that can be performed directly on the object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endUser.types.d.ts","sourceRoot":"","sources":["../../../client/end-user/endUser.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,0BAA0B,EAC1B,OAAO,IAAI,cAAc,
|
|
1
|
+
{"version":3,"file":"endUser.types.d.ts","sourceRoot":"","sources":["../../../client/end-user/endUser.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,0BAA0B,EAC1B,OAAO,IAAI,cAAc,EACzB,gCAAgC,EAChC,uCAAuC,EACvC,mCAAmC,EACnC,qCAAqC,EACrC,uCAAuC,EACvC,+CAA+C,EAC/C,iCAAiC,EACjC,yCAAyC,EACzC,yCAAyC,EACzC,uBAAuB,EACvB,OAAO,EACP,+CAA+C,EAC/C,2BAA2B,EAC3B,mCAAmC,EACnC,sCAAsC,EACtC,0CAA0C,EAC1C,0CAA0C,EAC1C,kDAAkD,EAClD,oCAAoC,EACpC,4CAA4C,EAC5C,aAAa,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,uBAAuB,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,4BAA4B,CAAC;AAE3E;;GAEG;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AC;IAI1C;;;;;OAKG;IACH,qBAAqB,EAAE,CACrB,OAAO,EAAE,mCAAmC,KACzC,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAE1C;;;;;OAKG;IACH,eAAe,EAAE,CAAC,OAAO,EAAE,6BAA6B,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC;CAC7F,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,cAAc,GAAG,qBAAqB,CAAC,CAAC"}
|
|
@@ -6,10 +6,13 @@ import type { CdpOpenApiClientType, EndUser as OpenAPIEndUser } from "../../open
|
|
|
6
6
|
export type ToEndUserAccountOptions = {
|
|
7
7
|
/** The end user from the API response. */
|
|
8
8
|
endUser: OpenAPIEndUser;
|
|
9
|
+
/** The CDP project ID. Required for delegation operations (signing, sending). */
|
|
10
|
+
projectId?: string;
|
|
9
11
|
};
|
|
10
12
|
/**
|
|
11
13
|
* Creates an EndUserAccount instance with actions from an existing OpenAPI EndUser.
|
|
12
|
-
* This wraps the raw API response and adds convenience methods for adding accounts
|
|
14
|
+
* This wraps the raw API response and adds convenience methods for adding accounts
|
|
15
|
+
* and performing delegated signing/sending operations.
|
|
13
16
|
*
|
|
14
17
|
* @param apiClient - The API client.
|
|
15
18
|
* @param options - Configuration options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toEndUserAccount.d.ts","sourceRoot":"","sources":["../../../client/end-user/toEndUserAccount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,
|
|
1
|
+
{"version":3,"file":"toEndUserAccount.d.ts","sourceRoot":"","sources":["../../../client/end-user/toEndUserAccount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EA+Bf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,oBAAoB,EACpB,OAAO,IAAI,cAAc,EAC1B,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,uBAAuB,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AAM,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"}
|
|
@@ -232,18 +232,44 @@ export declare class SolanaClient implements SolanaClientInterface {
|
|
|
232
232
|
* // Create a Solana account
|
|
233
233
|
* const account = await cdp.solana.createAccount();
|
|
234
234
|
*
|
|
235
|
-
* //
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
235
|
+
* // Build your transaction using @solana/kit
|
|
236
|
+
* import {
|
|
237
|
+
* address as solanaAddress,
|
|
238
|
+
* appendTransactionMessageInstructions,
|
|
239
|
+
* compileTransaction,
|
|
240
|
+
* createNoopSigner,
|
|
241
|
+
* createSolanaRpc,
|
|
242
|
+
* createTransactionMessage,
|
|
243
|
+
* getBase64EncodedWireTransaction,
|
|
244
|
+
* pipe,
|
|
245
|
+
* setTransactionMessageFeePayer,
|
|
246
|
+
* setTransactionMessageLifetimeUsingBlockhash,
|
|
247
|
+
* } from "@solana/kit";
|
|
248
|
+
* import { getTransferSolInstruction } from "@solana-program/system";
|
|
249
|
+
*
|
|
250
|
+
* const rpc = createSolanaRpc("https://api.devnet.solana.com");
|
|
251
|
+
* const { value: { blockhash, lastValidBlockHeight } } = await rpc.getLatestBlockhash().send();
|
|
252
|
+
*
|
|
253
|
+
* const txMsg = pipe(
|
|
254
|
+
* createTransactionMessage({ version: 0 }),
|
|
255
|
+
* (tx) => setTransactionMessageFeePayer(solanaAddress(account.address), tx),
|
|
256
|
+
* (tx) => setTransactionMessageLifetimeUsingBlockhash(
|
|
257
|
+
* { blockhash, lastValidBlockHeight },
|
|
258
|
+
* tx,
|
|
259
|
+
* ),
|
|
260
|
+
* (tx) => appendTransactionMessageInstructions([
|
|
261
|
+
* getTransferSolInstruction({
|
|
262
|
+
* source: createNoopSigner(solanaAddress(account.address)),
|
|
263
|
+
* destination: solanaAddress("3KzDtddx4i53FBkvCzuDmRbaMozTZoJBb1TToWhz3JfE"),
|
|
264
|
+
* amount: 10000n,
|
|
265
|
+
* }),
|
|
266
|
+
* ], tx),
|
|
267
|
+
* );
|
|
268
|
+
*
|
|
269
|
+
* // Base64 encode the compiled transaction
|
|
270
|
+
* const transaction = getBase64EncodedWireTransaction(compileTransaction(txMsg));
|
|
271
|
+
*
|
|
272
|
+
* // Sign the transaction via the CDP API
|
|
247
273
|
* const signature = await cdp.solana.signTransaction({
|
|
248
274
|
* address: account.address,
|
|
249
275
|
* transaction,
|