@crossmint/wallets-sdk 0.7.4 → 0.7.6
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/dist/api/client.cjs +1 -1
- package/dist/api/client.js +1 -1
- package/dist/api/gen/index.cjs +1 -1
- package/dist/api/gen/index.d.cts +2 -2
- package/dist/api/gen/index.d.ts +2 -2
- package/dist/api/gen/index.js +1 -1
- package/dist/api/gen/sdk.gen.cjs +1 -1
- package/dist/api/gen/sdk.gen.d.cts +225 -24
- package/dist/api/gen/sdk.gen.d.ts +225 -24
- package/dist/api/gen/sdk.gen.js +1 -1
- package/dist/api/gen/types.gen.d.cts +1717 -253
- package/dist/api/gen/types.gen.d.ts +1717 -253
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.js +1 -1
- package/dist/chunk-3J4NDFR5.js +1 -0
- package/dist/{chunk-TQQNXOGG.js → chunk-4D4A5K5R.js} +1 -1
- package/dist/chunk-53ZDAWYY.js +1 -0
- package/dist/{chunk-JI5ML6ZA.js → chunk-CO44CBSD.js} +1 -1
- package/dist/{chunk-4HRSAWPF.js → chunk-EXL4UPTQ.js} +1 -1
- package/dist/chunk-EZ7PEO5P.cjs +1 -0
- package/dist/{chunk-HO4IZZCF.cjs → chunk-FW4XDSDQ.cjs} +1 -1
- package/dist/{chunk-SKZH2NH2.js → chunk-GVODHIFI.js} +1 -1
- package/dist/{chunk-6XVLBPWP.cjs → chunk-HROTIKDF.cjs} +1 -1
- package/dist/chunk-MV7LJCAB.cjs +1 -0
- package/dist/{chunk-JWPBOPF4.js → chunk-OOIAM7PV.js} +1 -1
- package/dist/{chunk-UHHRDHBX.cjs → chunk-PX2AXTK7.cjs} +1 -1
- package/dist/{chunk-2WFGAPU4.cjs → chunk-RHWWITWQ.cjs} +1 -1
- package/dist/{chunk-4QWF26JB.cjs → chunk-TIHEQM7E.cjs} +1 -1
- package/dist/{chunk-SXLQIUG7.js → chunk-TJ6XT7RN.js} +1 -1
- package/dist/{chunk-FCWTUTU4.cjs → chunk-TV2ZK6RX.cjs} +1 -1
- package/dist/{chunk-HTFPW2QH.js → chunk-V2SMQFNY.js} +1 -1
- package/dist/{chunk-WY5HQ44G.cjs → chunk-W5SM7M4H.cjs} +1 -1
- package/dist/evm/chains/index.cjs +1 -1
- package/dist/evm/chains/index.d.cts +1 -1
- package/dist/evm/chains/index.d.ts +1 -1
- package/dist/evm/chains/index.js +1 -1
- package/dist/evm/index.cjs +1 -1
- package/dist/evm/index.js +1 -1
- package/dist/evm/wallet.cjs +1 -1
- package/dist/evm/wallet.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/sdk.cjs +1 -1
- package/dist/sdk.js +1 -1
- package/dist/services/wallet-factory.cjs +1 -1
- package/dist/services/wallet-factory.js +1 -1
- package/dist/solana/index.cjs +1 -1
- package/dist/solana/index.js +1 -1
- package/dist/solana/services/transactions-service.cjs +1 -1
- package/dist/solana/services/transactions-service.js +1 -1
- package/dist/solana/wallet.cjs +1 -1
- package/dist/solana/wallet.js +1 -1
- package/dist/utils/constants.cjs +1 -1
- package/dist/utils/constants.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-DBOB7H6W.cjs +0 -1
- package/dist/chunk-N2TNL3K4.js +0 -1
- package/dist/chunk-WVCL7F3L.js +0 -1
- package/dist/chunk-ZABEVVGH.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WalletsV1ControllerSubmitMeApprovals5Data, WalletsV1Alpha2TransactionResponseDto, WalletV1Alpha2ErrorDto, WalletsV1ControllerGetMeTransaction5Data, WalletsV1ControllerGetMeTransactionsWithoutChain5Data, WalletsV1Alpha2TransactionsResponseDto, WalletsV1ControllerCreateMeTransaction5Data, WalletsV1ControllerCreateMeTransaction5Error, WalletsV1ControllerGetMeDelegatedSigner5Data, DelegatedSignerDto, WalletsV1ControllerCreateMeDelegatedSigner5Data, WalletsV1ControllerSubmitMeSignatureApprovals5Data, WalletsV1Alpha2SignatureResponseDto, WalletsV1ControllerGetMeSignature5Data, WalletsV1ControllerCreateMeSignatureRequest5Data, WalletsV1ControllerGetMeWallet5Data, WalletV1Alpha2ResponseDto, WalletsV1ControllerCreateMeWallet5Data, WalletsV1ControllerSubmitApprovals5Data, WalletsV1ControllerGetTransaction5Data, WalletsV1ControllerGetTransactionsWithoutChain5Data, WalletsV1ControllerCreateTransaction5Data, WalletsV1ControllerCreateTransaction5Error, WalletsV1ControllerGetDelegatedSigner5Data, WalletsV1ControllerCreateDelegatedSigner5Data, WalletsV1ControllerSubmitSignatureApprovals5Data, WalletsV1ControllerGetSignature5Data, WalletsV1ControllerGetAllSignatures5Data, WalletsV1Alpha2MultipleSignatureResponseDto, WalletsV1ControllerCreateSignatureRequest5Data, FetchContentFromWalletData, Nftevm, Nftsol, _Error, BalanceControllerGetBalanceForLocator2Data, WalletBalanceResponseDto, BalanceControllerFundWallet2Data, WalletsV1ControllerGetWalletActivity5Data, WalletsV1Alpha2ActivityResponseDto, WalletsV1ControllerGetWalletByLocator5Data, WalletsV1ControllerCreateWallet5Data, WalletsSendTokenControllerSendToken2Data, WalletsV1ControllerSubmitMeApprovals4Data, WalletsV1ControllerGetMeTransaction4Data, WalletsV1ControllerGetMeTransactionsWithoutChain4Data, WalletsV1ControllerCreateMeTransaction4Data, WalletsV1ControllerCreateMeTransaction4Error, WalletsV1ControllerGetMeDelegatedSigner4Data, WalletsV1ControllerCreateMeDelegatedSigner4Data, WalletsV1ControllerSubmitMeSignatureApprovals4Data, WalletsV1ControllerGetMeSignature4Data, WalletsV1ControllerCreateMeSignatureRequest4Data, WalletsV1ControllerGetMeWallet4Data, WalletsV1ControllerCreateMeWallet4Data, WalletsV1ControllerSubmitApprovals4Data, WalletsV1ControllerGetTransaction4Data, WalletsV1ControllerGetTransactionsWithoutChain4Data, WalletsV1ControllerCreateTransaction4Data, WalletsV1ControllerCreateTransaction4Error, WalletsV1ControllerGetDelegatedSigner4Data, WalletsV1ControllerCreateDelegatedSigner4Data, WalletsV1ControllerSubmitSignatureApprovals4Data, WalletsV1ControllerGetSignature4Data, WalletsV1ControllerGetAllSignatures4Data, WalletsV1ControllerCreateSignatureRequest4Data, WalletsV1ControllerGetWalletActivity4Data, WalletsV1ControllerGetWalletByLocator4Data, WalletsV1ControllerCreateWallet4Data } from './types.gen.js';
|
|
2
2
|
import * as _hey_api_client_fetch from '@hey-api/client-fetch';
|
|
3
3
|
import { TDataShape, Options as Options$1, Client } from '@hey-api/client-fetch';
|
|
4
4
|
|
|
@@ -15,6 +15,201 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
15
15
|
*/
|
|
16
16
|
meta?: Record<string, unknown>;
|
|
17
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* Approve Transaction For Authenticated User
|
|
20
|
+
* Submit approval signature for a pending transaction. Required for transactions using external signers.
|
|
21
|
+
*
|
|
22
|
+
* **API scope required**: `wallets:transactions.sign`
|
|
23
|
+
*/
|
|
24
|
+
declare const walletsV1ControllerSubmitMeApprovals5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerSubmitMeApprovals5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
25
|
+
/**
|
|
26
|
+
* Get Transaction For Authenticated User
|
|
27
|
+
* Retrieves the current status and details of a specific transaction.
|
|
28
|
+
*
|
|
29
|
+
* **API scope required**: `wallets:transactions.read`
|
|
30
|
+
*/
|
|
31
|
+
declare const walletsV1ControllerGetMeTransaction5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetMeTransaction5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
32
|
+
/**
|
|
33
|
+
* Get Wallet Transactions For Authenticated User
|
|
34
|
+
* Retrieves all transactions associated with the specified wallet.
|
|
35
|
+
*
|
|
36
|
+
* **API scope required**: `wallets:transactions.read`
|
|
37
|
+
*/
|
|
38
|
+
declare const walletsV1ControllerGetMeTransactionsWithoutChain5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetMeTransactionsWithoutChain5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionsResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
39
|
+
/**
|
|
40
|
+
* Create Transaction For Authenticated User
|
|
41
|
+
* Creates a new transaction for the authenticated user. Transaction will be automatically broadcast once it has all necessary approvals.
|
|
42
|
+
*
|
|
43
|
+
* **API scope required**: `wallets:transactions.create`
|
|
44
|
+
*/
|
|
45
|
+
declare const walletsV1ControllerCreateMeTransaction5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateMeTransaction5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, WalletsV1ControllerCreateMeTransaction5Error, ThrowOnError>;
|
|
46
|
+
/**
|
|
47
|
+
* Get Delegated Signer For Authenticated User
|
|
48
|
+
* Retrieve details about a specific delegated signer by its locator.
|
|
49
|
+
*
|
|
50
|
+
* **API scope required**: `wallets.read`
|
|
51
|
+
*/
|
|
52
|
+
declare const walletsV1ControllerGetMeDelegatedSigner5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetMeDelegatedSigner5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DelegatedSignerDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
53
|
+
/**
|
|
54
|
+
* Register Delegated Signer For Authenticated User
|
|
55
|
+
* Register a delegated key for a smart wallet with optional restrictions around permissions and expiry date.
|
|
56
|
+
*
|
|
57
|
+
* **API scope required**: `wallets.create`
|
|
58
|
+
*/
|
|
59
|
+
declare const walletsV1ControllerCreateMeDelegatedSigner5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateMeDelegatedSigner5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DelegatedSignerDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
60
|
+
/**
|
|
61
|
+
* Approve Signature For Authenticated User
|
|
62
|
+
* Submit approval for a signature to sign a message or typed data.
|
|
63
|
+
*
|
|
64
|
+
* **API scope required**: `wallets:signatures.create`
|
|
65
|
+
*/
|
|
66
|
+
declare const walletsV1ControllerSubmitMeSignatureApprovals5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerSubmitMeSignatureApprovals5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2SignatureResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
67
|
+
/**
|
|
68
|
+
* Get Signature For Authenticated User
|
|
69
|
+
* Retrieves details about a specific signature by its ID.
|
|
70
|
+
*
|
|
71
|
+
* **API scope required**: `wallets:signatures.read`
|
|
72
|
+
*/
|
|
73
|
+
declare const walletsV1ControllerGetMeSignature5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetMeSignature5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2SignatureResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
74
|
+
/**
|
|
75
|
+
* Create Signature For Authenticated User
|
|
76
|
+
* Creates a new signature for signing messages or typed data.
|
|
77
|
+
*
|
|
78
|
+
* **API scope required**: `wallets:signatures.create`
|
|
79
|
+
*/
|
|
80
|
+
declare const walletsV1ControllerCreateMeSignatureRequest5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateMeSignatureRequest5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2SignatureResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
81
|
+
/**
|
|
82
|
+
* Get Wallet For Authenticated User
|
|
83
|
+
* Retrieves a wallet for the authenticated user.
|
|
84
|
+
*
|
|
85
|
+
* **API scope required**: `wallets.read`
|
|
86
|
+
*/
|
|
87
|
+
declare const walletsV1ControllerGetMeWallet5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetMeWallet5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletV1Alpha2ResponseDto, unknown, ThrowOnError>;
|
|
88
|
+
/**
|
|
89
|
+
* Create Wallet For Authenticated User
|
|
90
|
+
* Creates a new wallet of specified type for the authenticated user. If called for a user who already has a wallet, returns the existing wallet. Supports both custodial and non-custodial wallet types. Uses client-side API key authentication.
|
|
91
|
+
*
|
|
92
|
+
* **API scope required**: `wallets.create`
|
|
93
|
+
*/
|
|
94
|
+
declare const walletsV1ControllerCreateMeWallet5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateMeWallet5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletV1Alpha2ResponseDto, unknown, ThrowOnError>;
|
|
95
|
+
/**
|
|
96
|
+
* Approve Transaction
|
|
97
|
+
* Submit approval signature for a pending transaction. Required for transactions using external signers.
|
|
98
|
+
*
|
|
99
|
+
* **API scope required**: `wallets:transactions.sign`
|
|
100
|
+
*/
|
|
101
|
+
declare const walletsV1ControllerSubmitApprovals5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerSubmitApprovals5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
102
|
+
/**
|
|
103
|
+
* Get Transaction
|
|
104
|
+
* Retrieves the current status and details of a specific transaction.
|
|
105
|
+
*
|
|
106
|
+
* **API scope required**: `wallets:transactions.read`
|
|
107
|
+
*/
|
|
108
|
+
declare const walletsV1ControllerGetTransaction5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetTransaction5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
109
|
+
/**
|
|
110
|
+
* Get Wallet Transactions
|
|
111
|
+
* Retrieves all transactions associated with the specified wallet.
|
|
112
|
+
*
|
|
113
|
+
* **API scope required**: `wallets:transactions.read`
|
|
114
|
+
*/
|
|
115
|
+
declare const walletsV1ControllerGetTransactionsWithoutChain5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetTransactionsWithoutChain5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionsResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
116
|
+
/**
|
|
117
|
+
* Create Transaction
|
|
118
|
+
* Creates a new transaction for the specified wallet. Transaction will be automatically broadcast once it has all necessary approvals.
|
|
119
|
+
*
|
|
120
|
+
* **API scope required**: `wallets:transactions.create`
|
|
121
|
+
*/
|
|
122
|
+
declare const walletsV1ControllerCreateTransaction5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateTransaction5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, WalletsV1ControllerCreateTransaction5Error, ThrowOnError>;
|
|
123
|
+
/**
|
|
124
|
+
* Get Delegated Signer
|
|
125
|
+
* Retrieve details about a specific delegated signer by its locator.
|
|
126
|
+
*
|
|
127
|
+
* **API scope required**: `wallets.read`
|
|
128
|
+
*/
|
|
129
|
+
declare const walletsV1ControllerGetDelegatedSigner5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetDelegatedSigner5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DelegatedSignerDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
130
|
+
/**
|
|
131
|
+
* Register Delegated Signer
|
|
132
|
+
* Register a delegated key for a smart wallet with optional restrictions around permissions and expiry date.
|
|
133
|
+
*
|
|
134
|
+
* **API scope required**: `wallets.create`
|
|
135
|
+
*/
|
|
136
|
+
declare const walletsV1ControllerCreateDelegatedSigner5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateDelegatedSigner5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DelegatedSignerDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
137
|
+
/**
|
|
138
|
+
* Approve Signature
|
|
139
|
+
* Submit approval for a signature to sign a message or typed data.
|
|
140
|
+
*
|
|
141
|
+
* **API scope required**: `wallets:signatures.create`
|
|
142
|
+
*/
|
|
143
|
+
declare const walletsV1ControllerSubmitSignatureApprovals5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerSubmitSignatureApprovals5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2SignatureResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
144
|
+
/**
|
|
145
|
+
* Get Signature
|
|
146
|
+
* Retrieves details about a specific signature by its ID.
|
|
147
|
+
*
|
|
148
|
+
* **API scope required**: `wallets:signatures.read`
|
|
149
|
+
*/
|
|
150
|
+
declare const walletsV1ControllerGetSignature5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetSignature5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2SignatureResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
151
|
+
/**
|
|
152
|
+
* Get All Signatures
|
|
153
|
+
* Retrieves all signatures associated with the specified wallet.
|
|
154
|
+
*
|
|
155
|
+
* **API scope required**: `wallets:signatures.read`
|
|
156
|
+
*/
|
|
157
|
+
declare const walletsV1ControllerGetAllSignatures5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetAllSignatures5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2MultipleSignatureResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
158
|
+
/**
|
|
159
|
+
* Create Signature
|
|
160
|
+
* Creates a new signature for signing messages or typed data.
|
|
161
|
+
*
|
|
162
|
+
* **API scope required**: `wallets:signatures.create`
|
|
163
|
+
*/
|
|
164
|
+
declare const walletsV1ControllerCreateSignatureRequest5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateSignatureRequest5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2SignatureResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
165
|
+
/**
|
|
166
|
+
* Get NFTs from Wallet
|
|
167
|
+
* Fetch the NFTs in a provided wallet
|
|
168
|
+
*
|
|
169
|
+
* **API scope required**: `wallets:nfts.read`
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
declare const fetchContentFromWallet: <ThrowOnError extends boolean = false>(options: Options<FetchContentFromWalletData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Nftevm | Nftsol, _Error, ThrowOnError>;
|
|
173
|
+
/**
|
|
174
|
+
* Get Wallet Balance
|
|
175
|
+
* Get the balance of a wallet for a given chain and currency
|
|
176
|
+
*
|
|
177
|
+
* **API scope required**: `wallets:balance.read`
|
|
178
|
+
*/
|
|
179
|
+
declare const balanceControllerGetBalanceForLocator2: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerGetBalanceForLocator2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletBalanceResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
180
|
+
/**
|
|
181
|
+
* Fund Wallet
|
|
182
|
+
* Send funds to a wallet.
|
|
183
|
+
*
|
|
184
|
+
* **API scope required**: `wallets.fund`
|
|
185
|
+
*/
|
|
186
|
+
declare const balanceControllerFundWallet2: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerFundWallet2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletBalanceResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
187
|
+
/**
|
|
188
|
+
* Get Wallet Activity
|
|
189
|
+
* Retrieves activity history for the specified wallet including transactions and other relevant events.
|
|
190
|
+
*
|
|
191
|
+
* **API scope required**: `wallets.read`
|
|
192
|
+
*/
|
|
193
|
+
declare const walletsV1ControllerGetWalletActivity5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetWalletActivity5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2ActivityResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
194
|
+
/**
|
|
195
|
+
* Get Wallet By Locator
|
|
196
|
+
* Retrieves a wallet by its locator (address or user identifier and wallet type)
|
|
197
|
+
*
|
|
198
|
+
* **API scope required**: `wallets.read`
|
|
199
|
+
*/
|
|
200
|
+
declare const walletsV1ControllerGetWalletByLocator5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetWalletByLocator5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletV1Alpha2ResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
201
|
+
/**
|
|
202
|
+
* Create Wallet
|
|
203
|
+
* Creates a new wallet of specified type. If called with an idempotency key or for a user who already has a wallet, returns existing wallet. When linkedUser is provided, subsequent calls with the same linkedUser will return the existing wallet. Supports both custodial and non-custodial wallet types.
|
|
204
|
+
*
|
|
205
|
+
* **API scope required**: `wallets.create`
|
|
206
|
+
*/
|
|
207
|
+
declare const walletsV1ControllerCreateWallet5: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateWallet5Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletV1Alpha2ResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
208
|
+
/**
|
|
209
|
+
* Send Token
|
|
210
|
+
* Sends a token of any type from this wallet to a recipient
|
|
211
|
+
*/
|
|
212
|
+
declare const walletsSendTokenControllerSendToken2: <ThrowOnError extends boolean = false>(options: Options<WalletsSendTokenControllerSendToken2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, unknown, ThrowOnError>;
|
|
18
213
|
/**
|
|
19
214
|
* Approve Transaction For Authenticated User
|
|
20
215
|
* Submit approval signature for a pending transaction. Required for transactions using external signers.
|
|
@@ -29,6 +224,13 @@ declare const walletsV1ControllerSubmitMeApprovals4: <ThrowOnError extends boole
|
|
|
29
224
|
* **API scope required**: `wallets:transactions.read`
|
|
30
225
|
*/
|
|
31
226
|
declare const walletsV1ControllerGetMeTransaction4: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetMeTransaction4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
227
|
+
/**
|
|
228
|
+
* Get Wallet Transactions For Authenticated User
|
|
229
|
+
* Retrieves all transactions associated with the specified wallet.
|
|
230
|
+
*
|
|
231
|
+
* **API scope required**: `wallets:transactions.read`
|
|
232
|
+
*/
|
|
233
|
+
declare const walletsV1ControllerGetMeTransactionsWithoutChain4: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetMeTransactionsWithoutChain4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionsResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
32
234
|
/**
|
|
33
235
|
* Create Transaction For Authenticated User
|
|
34
236
|
* Creates a new transaction for the authenticated user. Transaction will be automatically broadcast once it has all necessary approvals.
|
|
@@ -36,6 +238,20 @@ declare const walletsV1ControllerGetMeTransaction4: <ThrowOnError extends boolea
|
|
|
36
238
|
* **API scope required**: `wallets:transactions.create`
|
|
37
239
|
*/
|
|
38
240
|
declare const walletsV1ControllerCreateMeTransaction4: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateMeTransaction4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2TransactionResponseDto, WalletsV1ControllerCreateMeTransaction4Error, ThrowOnError>;
|
|
241
|
+
/**
|
|
242
|
+
* Get Delegated Signer For Authenticated User
|
|
243
|
+
* Retrieve details about a specific delegated signer by its locator.
|
|
244
|
+
*
|
|
245
|
+
* **API scope required**: `wallets.read`
|
|
246
|
+
*/
|
|
247
|
+
declare const walletsV1ControllerGetMeDelegatedSigner4: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetMeDelegatedSigner4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DelegatedSignerDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
248
|
+
/**
|
|
249
|
+
* Register Delegated Signer For Authenticated User
|
|
250
|
+
* Register a delegated key for a smart wallet with optional restrictions around permissions and expiry date.
|
|
251
|
+
*
|
|
252
|
+
* **API scope required**: `wallets.create`
|
|
253
|
+
*/
|
|
254
|
+
declare const walletsV1ControllerCreateMeDelegatedSigner4: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateMeDelegatedSigner4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DelegatedSignerDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
39
255
|
/**
|
|
40
256
|
* Approve Signature For Authenticated User
|
|
41
257
|
* Submit approval for a signature to sign a message or typed data.
|
|
@@ -141,6 +357,13 @@ declare const walletsV1ControllerGetAllSignatures4: <ThrowOnError extends boolea
|
|
|
141
357
|
* **API scope required**: `wallets:signatures.create`
|
|
142
358
|
*/
|
|
143
359
|
declare const walletsV1ControllerCreateSignatureRequest4: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateSignatureRequest4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2SignatureResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
360
|
+
/**
|
|
361
|
+
* Get Wallet Activity
|
|
362
|
+
* Retrieves activity history for the specified wallet including transactions and other relevant events.
|
|
363
|
+
*
|
|
364
|
+
* **API scope required**: `wallets.read`
|
|
365
|
+
*/
|
|
366
|
+
declare const walletsV1ControllerGetWalletActivity4: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerGetWalletActivity4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletsV1Alpha2ActivityResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
144
367
|
/**
|
|
145
368
|
* Get Wallet By Locator
|
|
146
369
|
* Retrieves a wallet by its locator (address or user identifier and wallet type)
|
|
@@ -155,27 +378,5 @@ declare const walletsV1ControllerGetWalletByLocator4: <ThrowOnError extends bool
|
|
|
155
378
|
* **API scope required**: `wallets.create`
|
|
156
379
|
*/
|
|
157
380
|
declare const walletsV1ControllerCreateWallet4: <ThrowOnError extends boolean = false>(options: Options<WalletsV1ControllerCreateWallet4Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletV1Alpha2ResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
158
|
-
/**
|
|
159
|
-
* Get NFTs from Wallet
|
|
160
|
-
* Fetch the NFTs in a provided wallet
|
|
161
|
-
*
|
|
162
|
-
* **API scope required**: `wallets:nfts.read`
|
|
163
|
-
*
|
|
164
|
-
*/
|
|
165
|
-
declare const fetchContentFromWallet: <ThrowOnError extends boolean = false>(options: Options<FetchContentFromWalletData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Nftevm | Nftsol, _Error, ThrowOnError>;
|
|
166
|
-
/**
|
|
167
|
-
* Get Wallet Balance
|
|
168
|
-
* Get the balance of a wallet for a given chain and currency
|
|
169
|
-
*
|
|
170
|
-
* **API scope required**: `wallets:balance.read`
|
|
171
|
-
*/
|
|
172
|
-
declare const balanceControllerGetBalanceForLocator2: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerGetBalanceForLocator2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletBalanceResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
173
|
-
/**
|
|
174
|
-
* Fund Wallet
|
|
175
|
-
* Send funds to a wallet.
|
|
176
|
-
*
|
|
177
|
-
* **API scope required**: `wallets.fund`
|
|
178
|
-
*/
|
|
179
|
-
declare const balanceControllerFundWallet2: <ThrowOnError extends boolean = false>(options: Options<BalanceControllerFundWallet2Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<WalletBalanceResponseDto, WalletV1Alpha2ErrorDto, ThrowOnError>;
|
|
180
381
|
|
|
181
|
-
export { type Options, balanceControllerFundWallet2, balanceControllerGetBalanceForLocator2, fetchContentFromWallet, walletsV1ControllerCreateDelegatedSigner4, walletsV1ControllerCreateMeSignatureRequest4, walletsV1ControllerCreateMeTransaction4, walletsV1ControllerCreateMeWallet4, walletsV1ControllerCreateSignatureRequest4, walletsV1ControllerCreateTransaction4, walletsV1ControllerCreateWallet4, walletsV1ControllerGetAllSignatures4, walletsV1ControllerGetDelegatedSigner4, walletsV1ControllerGetMeSignature4, walletsV1ControllerGetMeTransaction4, walletsV1ControllerGetMeWallet4, walletsV1ControllerGetSignature4, walletsV1ControllerGetTransaction4, walletsV1ControllerGetTransactionsWithoutChain4, walletsV1ControllerGetWalletByLocator4, walletsV1ControllerSubmitApprovals4, walletsV1ControllerSubmitMeApprovals4, walletsV1ControllerSubmitMeSignatureApprovals4, walletsV1ControllerSubmitSignatureApprovals4 };
|
|
382
|
+
export { type Options, balanceControllerFundWallet2, balanceControllerGetBalanceForLocator2, fetchContentFromWallet, walletsSendTokenControllerSendToken2, walletsV1ControllerCreateDelegatedSigner4, walletsV1ControllerCreateDelegatedSigner5, walletsV1ControllerCreateMeDelegatedSigner4, walletsV1ControllerCreateMeDelegatedSigner5, walletsV1ControllerCreateMeSignatureRequest4, walletsV1ControllerCreateMeSignatureRequest5, walletsV1ControllerCreateMeTransaction4, walletsV1ControllerCreateMeTransaction5, walletsV1ControllerCreateMeWallet4, walletsV1ControllerCreateMeWallet5, walletsV1ControllerCreateSignatureRequest4, walletsV1ControllerCreateSignatureRequest5, walletsV1ControllerCreateTransaction4, walletsV1ControllerCreateTransaction5, walletsV1ControllerCreateWallet4, walletsV1ControllerCreateWallet5, walletsV1ControllerGetAllSignatures4, walletsV1ControllerGetAllSignatures5, walletsV1ControllerGetDelegatedSigner4, walletsV1ControllerGetDelegatedSigner5, walletsV1ControllerGetMeDelegatedSigner4, walletsV1ControllerGetMeDelegatedSigner5, walletsV1ControllerGetMeSignature4, walletsV1ControllerGetMeSignature5, walletsV1ControllerGetMeTransaction4, walletsV1ControllerGetMeTransaction5, walletsV1ControllerGetMeTransactionsWithoutChain4, walletsV1ControllerGetMeTransactionsWithoutChain5, walletsV1ControllerGetMeWallet4, walletsV1ControllerGetMeWallet5, walletsV1ControllerGetSignature4, walletsV1ControllerGetSignature5, walletsV1ControllerGetTransaction4, walletsV1ControllerGetTransaction5, walletsV1ControllerGetTransactionsWithoutChain4, walletsV1ControllerGetTransactionsWithoutChain5, walletsV1ControllerGetWalletActivity4, walletsV1ControllerGetWalletActivity5, walletsV1ControllerGetWalletByLocator4, walletsV1ControllerGetWalletByLocator5, walletsV1ControllerSubmitApprovals4, walletsV1ControllerSubmitApprovals5, walletsV1ControllerSubmitMeApprovals4, walletsV1ControllerSubmitMeApprovals5, walletsV1ControllerSubmitMeSignatureApprovals4, walletsV1ControllerSubmitMeSignatureApprovals5, walletsV1ControllerSubmitSignatureApprovals4, walletsV1ControllerSubmitSignatureApprovals5 };
|
package/dist/api/gen/sdk.gen.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w}from"../../chunk-
|
|
1
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../../chunk-3J4NDFR5.js";import"../../chunk-5M7IRODB.js";import"../../chunk-22GIA4MK.js";export{x as balanceControllerFundWallet2,w as balanceControllerGetBalanceForLocator2,v as fetchContentFromWallet,B as walletsSendTokenControllerSendToken2,S as walletsV1ControllerCreateDelegatedSigner4,q as walletsV1ControllerCreateDelegatedSigner5,H as walletsV1ControllerCreateMeDelegatedSigner4,f as walletsV1ControllerCreateMeDelegatedSigner5,K as walletsV1ControllerCreateMeSignatureRequest4,i as walletsV1ControllerCreateMeSignatureRequest5,F as walletsV1ControllerCreateMeTransaction4,d as walletsV1ControllerCreateMeTransaction5,M as walletsV1ControllerCreateMeWallet4,k as walletsV1ControllerCreateMeWallet5,W as walletsV1ControllerCreateSignatureRequest4,u as walletsV1ControllerCreateSignatureRequest5,Q as walletsV1ControllerCreateTransaction4,o as walletsV1ControllerCreateTransaction5,Z as walletsV1ControllerCreateWallet4,A as walletsV1ControllerCreateWallet5,V as walletsV1ControllerGetAllSignatures4,t as walletsV1ControllerGetAllSignatures5,R as walletsV1ControllerGetDelegatedSigner4,p as walletsV1ControllerGetDelegatedSigner5,G as walletsV1ControllerGetMeDelegatedSigner4,e as walletsV1ControllerGetMeDelegatedSigner5,J as walletsV1ControllerGetMeSignature4,h as walletsV1ControllerGetMeSignature5,D as walletsV1ControllerGetMeTransaction4,b as walletsV1ControllerGetMeTransaction5,E as walletsV1ControllerGetMeTransactionsWithoutChain4,c as walletsV1ControllerGetMeTransactionsWithoutChain5,L as walletsV1ControllerGetMeWallet4,j as walletsV1ControllerGetMeWallet5,U as walletsV1ControllerGetSignature4,s as walletsV1ControllerGetSignature5,O as walletsV1ControllerGetTransaction4,m as walletsV1ControllerGetTransaction5,P as walletsV1ControllerGetTransactionsWithoutChain4,n as walletsV1ControllerGetTransactionsWithoutChain5,X as walletsV1ControllerGetWalletActivity4,y as walletsV1ControllerGetWalletActivity5,Y as walletsV1ControllerGetWalletByLocator4,z as walletsV1ControllerGetWalletByLocator5,N as walletsV1ControllerSubmitApprovals4,l as walletsV1ControllerSubmitApprovals5,C as walletsV1ControllerSubmitMeApprovals4,a as walletsV1ControllerSubmitMeApprovals5,I as walletsV1ControllerSubmitMeSignatureApprovals4,g as walletsV1ControllerSubmitMeSignatureApprovals5,T as walletsV1ControllerSubmitSignatureApprovals4,r as walletsV1ControllerSubmitSignatureApprovals5};
|