@settlemint/sdk-viem 2.5.13 → 2.5.14-pr1d8ba627
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/README.md +99 -100
- package/dist/browser/viem.d.ts +25 -6
- package/dist/browser/viem.js +17 -1
- package/dist/browser/viem.js.map +1 -1
- package/dist/viem.cjs +17 -1
- package/dist/viem.cjs.map +1 -1
- package/dist/viem.d.cts +25 -6
- package/dist/viem.d.ts +25 -6
- package/dist/viem.js +17 -1
- package/dist/viem.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ The SettleMint Viem SDK provides a lightweight wrapper that automatically config
|
|
|
83
83
|
|
|
84
84
|
> **getChainId**(`options`): `Promise`\<`number`\>
|
|
85
85
|
|
|
86
|
-
Defined in: [sdk/viem/src/viem.ts:446](https://github.com/settlemint/sdk/blob/v2.5.
|
|
86
|
+
Defined in: [sdk/viem/src/viem.ts:446](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L446)
|
|
87
87
|
|
|
88
88
|
Discovers the chain ID from an RPC endpoint without requiring prior knowledge.
|
|
89
89
|
|
|
@@ -136,7 +136,7 @@ console.log(chainId);
|
|
|
136
136
|
|
|
137
137
|
> **getPublicClient**(`options`): \{ \} \| \{ \}
|
|
138
138
|
|
|
139
|
-
Defined in: [sdk/viem/src/viem.ts:201](https://github.com/settlemint/sdk/blob/v2.5.
|
|
139
|
+
Defined in: [sdk/viem/src/viem.ts:201](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L201)
|
|
140
140
|
|
|
141
141
|
Creates an optimized public client for blockchain read operations.
|
|
142
142
|
|
|
@@ -194,7 +194,7 @@ console.log(block);
|
|
|
194
194
|
|
|
195
195
|
> **getWalletClient**(`options`): (`verificationOptions?`) => `Client`\<`HttpTransport`\<`undefined` \| `RpcSchema`, `boolean`\>\>
|
|
196
196
|
|
|
197
|
-
Defined in: [sdk/viem/src/viem.ts:315](https://github.com/settlemint/sdk/blob/v2.5.
|
|
197
|
+
Defined in: [sdk/viem/src/viem.ts:315](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L315)
|
|
198
198
|
|
|
199
199
|
Creates a factory function for wallet clients with runtime verification support.
|
|
200
200
|
|
|
@@ -275,7 +275,7 @@ console.log(transactionHash);
|
|
|
275
275
|
|
|
276
276
|
#### OTPAlgorithm
|
|
277
277
|
|
|
278
|
-
Defined in: [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:18](https://github.com/settlemint/sdk/blob/v2.5.
|
|
278
|
+
Defined in: [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:18](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L18)
|
|
279
279
|
|
|
280
280
|
Supported hash algorithms for One-Time Password (OTP) verification.
|
|
281
281
|
These algorithms determine the cryptographic function used to generate OTP codes.
|
|
@@ -284,21 +284,21 @@ These algorithms determine the cryptographic function used to generate OTP codes
|
|
|
284
284
|
|
|
285
285
|
| Enumeration Member | Value | Description | Defined in |
|
|
286
286
|
| ------ | ------ | ------ | ------ |
|
|
287
|
-
| <a id="sha1"></a> `SHA1` | `"SHA1"` | SHA-1 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:20](https://github.com/settlemint/sdk/blob/v2.5.
|
|
288
|
-
| <a id="sha224"></a> `SHA224` | `"SHA224"` | SHA-224 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:22](https://github.com/settlemint/sdk/blob/v2.5.
|
|
289
|
-
| <a id="sha256"></a> `SHA256` | `"SHA256"` | SHA-256 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:24](https://github.com/settlemint/sdk/blob/v2.5.
|
|
290
|
-
| <a id="sha3_224"></a> `SHA3_224` | `"SHA3-224"` | SHA3-224 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:30](https://github.com/settlemint/sdk/blob/v2.5.
|
|
291
|
-
| <a id="sha3_256"></a> `SHA3_256` | `"SHA3-256"` | SHA3-256 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:32](https://github.com/settlemint/sdk/blob/v2.5.
|
|
292
|
-
| <a id="sha3_384"></a> `SHA3_384` | `"SHA3-384"` | SHA3-384 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:34](https://github.com/settlemint/sdk/blob/v2.5.
|
|
293
|
-
| <a id="sha3_512"></a> `SHA3_512` | `"SHA3-512"` | SHA3-512 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:36](https://github.com/settlemint/sdk/blob/v2.5.
|
|
294
|
-
| <a id="sha384"></a> `SHA384` | `"SHA384"` | SHA-384 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:26](https://github.com/settlemint/sdk/blob/v2.5.
|
|
295
|
-
| <a id="sha512"></a> `SHA512` | `"SHA512"` | SHA-512 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:28](https://github.com/settlemint/sdk/blob/v2.5.
|
|
287
|
+
| <a id="sha1"></a> `SHA1` | `"SHA1"` | SHA-1 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:20](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L20) |
|
|
288
|
+
| <a id="sha224"></a> `SHA224` | `"SHA224"` | SHA-224 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:22](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L22) |
|
|
289
|
+
| <a id="sha256"></a> `SHA256` | `"SHA256"` | SHA-256 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:24](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L24) |
|
|
290
|
+
| <a id="sha3_224"></a> `SHA3_224` | `"SHA3-224"` | SHA3-224 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:30](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L30) |
|
|
291
|
+
| <a id="sha3_256"></a> `SHA3_256` | `"SHA3-256"` | SHA3-256 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:32](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L32) |
|
|
292
|
+
| <a id="sha3_384"></a> `SHA3_384` | `"SHA3-384"` | SHA3-384 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:34](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L34) |
|
|
293
|
+
| <a id="sha3_512"></a> `SHA3_512` | `"SHA3-512"` | SHA3-512 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:36](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L36) |
|
|
294
|
+
| <a id="sha384"></a> `SHA384` | `"SHA384"` | SHA-384 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:26](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L26) |
|
|
295
|
+
| <a id="sha512"></a> `SHA512` | `"SHA512"` | SHA-512 hash algorithm | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:28](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L28) |
|
|
296
296
|
|
|
297
297
|
***
|
|
298
298
|
|
|
299
299
|
#### WalletVerificationType
|
|
300
300
|
|
|
301
|
-
Defined in: [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:5](https://github.com/settlemint/sdk/blob/v2.5.
|
|
301
|
+
Defined in: [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:5](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L5)
|
|
302
302
|
|
|
303
303
|
Types of wallet verification methods supported by the system.
|
|
304
304
|
Used to identify different verification mechanisms when creating or managing wallet verifications.
|
|
@@ -307,15 +307,15 @@ Used to identify different verification mechanisms when creating or managing wal
|
|
|
307
307
|
|
|
308
308
|
| Enumeration Member | Value | Description | Defined in |
|
|
309
309
|
| ------ | ------ | ------ | ------ |
|
|
310
|
-
| <a id="otp"></a> `OTP` | `"OTP"` | One-Time Password verification method | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:9](https://github.com/settlemint/sdk/blob/v2.5.
|
|
311
|
-
| <a id="pincode"></a> `PINCODE` | `"PINCODE"` | PIN code verification method | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:7](https://github.com/settlemint/sdk/blob/v2.5.
|
|
312
|
-
| <a id="secret_codes"></a> `SECRET_CODES` | `"SECRET_CODES"` | Secret recovery codes verification method | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:11](https://github.com/settlemint/sdk/blob/v2.5.
|
|
310
|
+
| <a id="otp"></a> `OTP` | `"OTP"` | One-Time Password verification method | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:9](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L9) |
|
|
311
|
+
| <a id="pincode"></a> `PINCODE` | `"PINCODE"` | PIN code verification method | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:7](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L7) |
|
|
312
|
+
| <a id="secret_codes"></a> `SECRET_CODES` | `"SECRET_CODES"` | Secret recovery codes verification method | [sdk/viem/src/custom-actions/types/wallet-verification.enum.ts:11](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification.enum.ts#L11) |
|
|
313
313
|
|
|
314
314
|
### Interfaces
|
|
315
315
|
|
|
316
316
|
#### CreateWalletParameters
|
|
317
317
|
|
|
318
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet.action.ts:
|
|
318
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet.action.ts:16](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L16)
|
|
319
319
|
|
|
320
320
|
Parameters for creating a wallet.
|
|
321
321
|
|
|
@@ -323,14 +323,14 @@ Parameters for creating a wallet.
|
|
|
323
323
|
|
|
324
324
|
| Property | Type | Description | Defined in |
|
|
325
325
|
| ------ | ------ | ------ | ------ |
|
|
326
|
-
| <a id="keyvaultid"></a> `keyVaultId` | `string` | The unique name of the key vault where the wallet will be created. | [sdk/viem/src/custom-actions/create-wallet.action.ts:
|
|
327
|
-
| <a id="walletinfo"></a> `walletInfo` | [`WalletInfo`](#walletinfo-1) | Information about the wallet to be created. | [sdk/viem/src/custom-actions/create-wallet.action.ts:
|
|
326
|
+
| <a id="keyvaultid"></a> `keyVaultId` | `string` | The unique name of the key vault where the wallet will be created. | [sdk/viem/src/custom-actions/create-wallet.action.ts:18](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L18) |
|
|
327
|
+
| <a id="walletinfo"></a> `walletInfo` | [`WalletInfo`](#walletinfo-1) | Information about the wallet to be created. | [sdk/viem/src/custom-actions/create-wallet.action.ts:20](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L20) |
|
|
328
328
|
|
|
329
329
|
***
|
|
330
330
|
|
|
331
331
|
#### CreateWalletResponse
|
|
332
332
|
|
|
333
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet.action.ts:
|
|
333
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet.action.ts:26](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L26)
|
|
334
334
|
|
|
335
335
|
Response from creating a wallet.
|
|
336
336
|
|
|
@@ -338,16 +338,16 @@ Response from creating a wallet.
|
|
|
338
338
|
|
|
339
339
|
| Property | Type | Description | Defined in |
|
|
340
340
|
| ------ | ------ | ------ | ------ |
|
|
341
|
-
| <a id="address"></a> `address` | `string` | The blockchain address of the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:
|
|
342
|
-
| <a id="derivationpath"></a> `derivationPath` | `string` | The HD derivation path used to create the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:
|
|
343
|
-
| <a id="id"></a> `id` | `string` | The unique identifier of the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:
|
|
344
|
-
| <a id="name"></a> `name` | `string` | The name of the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:
|
|
341
|
+
| <a id="address"></a> `address` | `string` | The blockchain address of the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:32](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L32) |
|
|
342
|
+
| <a id="derivationpath"></a> `derivationPath` | `string` | The HD derivation path used to create the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:34](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L34) |
|
|
343
|
+
| <a id="id"></a> `id` | `string` | The unique identifier of the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:28](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L28) |
|
|
344
|
+
| <a id="name"></a> `name` | `string` | The name of the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:30](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L30) |
|
|
345
345
|
|
|
346
346
|
***
|
|
347
347
|
|
|
348
348
|
#### CreateWalletVerificationChallengeParameters
|
|
349
349
|
|
|
350
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:7](https://github.com/settlemint/sdk/blob/v2.5.
|
|
350
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:7](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L7)
|
|
351
351
|
|
|
352
352
|
Parameters for creating wallet verification challenges.
|
|
353
353
|
|
|
@@ -355,14 +355,14 @@ Parameters for creating wallet verification challenges.
|
|
|
355
355
|
|
|
356
356
|
| Property | Type | Description | Defined in |
|
|
357
357
|
| ------ | ------ | ------ | ------ |
|
|
358
|
-
| <a id="userwalletaddress"></a> `userWalletAddress` | `string` | The wallet address. | [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.
|
|
359
|
-
| <a id="verificationid"></a> `verificationId` | `string` | The verification ID. | [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:11](https://github.com/settlemint/sdk/blob/v2.5.
|
|
358
|
+
| <a id="userwalletaddress"></a> `userWalletAddress` | `string` | The wallet address. | [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L9) |
|
|
359
|
+
| <a id="verificationid"></a> `verificationId` | `string` | The verification ID. | [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:11](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L11) |
|
|
360
360
|
|
|
361
361
|
***
|
|
362
362
|
|
|
363
363
|
#### CreateWalletVerificationChallengesParameters
|
|
364
364
|
|
|
365
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts:8](https://github.com/settlemint/sdk/blob/v2.5.
|
|
365
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts:8](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts#L8)
|
|
366
366
|
|
|
367
367
|
Parameters for creating wallet verification challenges.
|
|
368
368
|
|
|
@@ -370,13 +370,13 @@ Parameters for creating wallet verification challenges.
|
|
|
370
370
|
|
|
371
371
|
| Property | Type | Description | Defined in |
|
|
372
372
|
| ------ | ------ | ------ | ------ |
|
|
373
|
-
| <a id="addressorobject"></a> `addressOrObject` | [`AddressOrObject`](#addressorobject-2)\<\{ `amount?`: `number`; \}\> | The wallet address or object containing wallet address and optional verification ID. | [sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts:10](https://github.com/settlemint/sdk/blob/v2.5.
|
|
373
|
+
| <a id="addressorobject"></a> `addressOrObject` | [`AddressOrObject`](#addressorobject-2)\<\{ `amount?`: `number`; \}\> | The wallet address or object containing wallet address and optional verification ID. | [sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts:10](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts#L10) |
|
|
374
374
|
|
|
375
375
|
***
|
|
376
376
|
|
|
377
377
|
#### CreateWalletVerificationParameters
|
|
378
378
|
|
|
379
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:59](https://github.com/settlemint/sdk/blob/v2.5.
|
|
379
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:59](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L59)
|
|
380
380
|
|
|
381
381
|
Parameters for creating a wallet verification.
|
|
382
382
|
|
|
@@ -384,14 +384,14 @@ Parameters for creating a wallet verification.
|
|
|
384
384
|
|
|
385
385
|
| Property | Type | Description | Defined in |
|
|
386
386
|
| ------ | ------ | ------ | ------ |
|
|
387
|
-
| <a id="userwalletaddress-1"></a> `userWalletAddress` | `string` | The wallet address for which to create the verification. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:61](https://github.com/settlemint/sdk/blob/v2.5.
|
|
388
|
-
| <a id="walletverificationinfo"></a> `walletVerificationInfo` | [`WalletVerificationInfo`](#walletverificationinfo-1) | The verification information to create. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:63](https://github.com/settlemint/sdk/blob/v2.5.
|
|
387
|
+
| <a id="userwalletaddress-1"></a> `userWalletAddress` | `string` | The wallet address for which to create the verification. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:61](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L61) |
|
|
388
|
+
| <a id="walletverificationinfo"></a> `walletVerificationInfo` | [`WalletVerificationInfo`](#walletverificationinfo-1) | The verification information to create. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:63](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L63) |
|
|
389
389
|
|
|
390
390
|
***
|
|
391
391
|
|
|
392
392
|
#### CreateWalletVerificationResponse
|
|
393
393
|
|
|
394
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:69](https://github.com/settlemint/sdk/blob/v2.5.
|
|
394
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:69](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L69)
|
|
395
395
|
|
|
396
396
|
Response from creating a wallet verification.
|
|
397
397
|
|
|
@@ -399,16 +399,16 @@ Response from creating a wallet verification.
|
|
|
399
399
|
|
|
400
400
|
| Property | Type | Description | Defined in |
|
|
401
401
|
| ------ | ------ | ------ | ------ |
|
|
402
|
-
| <a id="id-1"></a> `id` | `string` | The unique identifier of the verification. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:71](https://github.com/settlemint/sdk/blob/v2.5.
|
|
403
|
-
| <a id="name-1"></a> `name` | `string` | The name of the verification method. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:73](https://github.com/settlemint/sdk/blob/v2.5.
|
|
404
|
-
| <a id="parameters"></a> `parameters` | `Record`\<`string`, `string`\> | Additional parameters specific to the verification type. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:77](https://github.com/settlemint/sdk/blob/v2.5.
|
|
405
|
-
| <a id="verificationtype"></a> `verificationType` | [`WalletVerificationType`](#walletverificationtype) | The type of verification method. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:75](https://github.com/settlemint/sdk/blob/v2.5.
|
|
402
|
+
| <a id="id-1"></a> `id` | `string` | The unique identifier of the verification. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:71](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L71) |
|
|
403
|
+
| <a id="name-1"></a> `name` | `string` | The name of the verification method. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:73](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L73) |
|
|
404
|
+
| <a id="parameters"></a> `parameters` | `Record`\<`string`, `string`\> | Additional parameters specific to the verification type. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:77](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L77) |
|
|
405
|
+
| <a id="verificationtype"></a> `verificationType` | [`WalletVerificationType`](#walletverificationtype) | The type of verification method. | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:75](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L75) |
|
|
406
406
|
|
|
407
407
|
***
|
|
408
408
|
|
|
409
409
|
#### DeleteWalletVerificationParameters
|
|
410
410
|
|
|
411
|
-
Defined in: [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:6](https://github.com/settlemint/sdk/blob/v2.5.
|
|
411
|
+
Defined in: [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:6](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/delete-wallet-verification.action.ts#L6)
|
|
412
412
|
|
|
413
413
|
Parameters for deleting a wallet verification.
|
|
414
414
|
|
|
@@ -416,14 +416,14 @@ Parameters for deleting a wallet verification.
|
|
|
416
416
|
|
|
417
417
|
| Property | Type | Description | Defined in |
|
|
418
418
|
| ------ | ------ | ------ | ------ |
|
|
419
|
-
| <a id="userwalletaddress-2"></a> `userWalletAddress` | `string` | The wallet address for which to delete the verification. | [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:8](https://github.com/settlemint/sdk/blob/v2.5.
|
|
420
|
-
| <a id="verificationid-1"></a> `verificationId` | `string` | The unique identifier of the verification to delete. | [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:10](https://github.com/settlemint/sdk/blob/v2.5.
|
|
419
|
+
| <a id="userwalletaddress-2"></a> `userWalletAddress` | `string` | The wallet address for which to delete the verification. | [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:8](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/delete-wallet-verification.action.ts#L8) |
|
|
420
|
+
| <a id="verificationid-1"></a> `verificationId` | `string` | The unique identifier of the verification to delete. | [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:10](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/delete-wallet-verification.action.ts#L10) |
|
|
421
421
|
|
|
422
422
|
***
|
|
423
423
|
|
|
424
424
|
#### DeleteWalletVerificationResponse
|
|
425
425
|
|
|
426
|
-
Defined in: [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:16](https://github.com/settlemint/sdk/blob/v2.5.
|
|
426
|
+
Defined in: [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:16](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/delete-wallet-verification.action.ts#L16)
|
|
427
427
|
|
|
428
428
|
Response from deleting a wallet verification.
|
|
429
429
|
|
|
@@ -431,13 +431,13 @@ Response from deleting a wallet verification.
|
|
|
431
431
|
|
|
432
432
|
| Property | Type | Description | Defined in |
|
|
433
433
|
| ------ | ------ | ------ | ------ |
|
|
434
|
-
| <a id="success"></a> `success` | `boolean` | Whether the deletion was successful. | [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:18](https://github.com/settlemint/sdk/blob/v2.5.
|
|
434
|
+
| <a id="success"></a> `success` | `boolean` | Whether the deletion was successful. | [sdk/viem/src/custom-actions/delete-wallet-verification.action.ts:18](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/delete-wallet-verification.action.ts#L18) |
|
|
435
435
|
|
|
436
436
|
***
|
|
437
437
|
|
|
438
438
|
#### GetWalletVerificationsParameters
|
|
439
439
|
|
|
440
|
-
Defined in: [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:7](https://github.com/settlemint/sdk/blob/v2.5.
|
|
440
|
+
Defined in: [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:7](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/get-wallet-verifications.action.ts#L7)
|
|
441
441
|
|
|
442
442
|
Parameters for getting wallet verifications.
|
|
443
443
|
|
|
@@ -445,13 +445,13 @@ Parameters for getting wallet verifications.
|
|
|
445
445
|
|
|
446
446
|
| Property | Type | Description | Defined in |
|
|
447
447
|
| ------ | ------ | ------ | ------ |
|
|
448
|
-
| <a id="userwalletaddress-3"></a> `userWalletAddress` | `string` | The wallet address for which to fetch verifications. | [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.
|
|
448
|
+
| <a id="userwalletaddress-3"></a> `userWalletAddress` | `string` | The wallet address for which to fetch verifications. | [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/get-wallet-verifications.action.ts#L9) |
|
|
449
449
|
|
|
450
450
|
***
|
|
451
451
|
|
|
452
452
|
#### VerificationResult
|
|
453
453
|
|
|
454
|
-
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:38](https://github.com/settlemint/sdk/blob/v2.5.
|
|
454
|
+
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:38](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L38)
|
|
455
455
|
|
|
456
456
|
Result of a wallet verification challenge.
|
|
457
457
|
|
|
@@ -459,13 +459,13 @@ Result of a wallet verification challenge.
|
|
|
459
459
|
|
|
460
460
|
| Property | Type | Description | Defined in |
|
|
461
461
|
| ------ | ------ | ------ | ------ |
|
|
462
|
-
| <a id="verified"></a> `verified` | `boolean` | Whether the verification was successful. | [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:40](https://github.com/settlemint/sdk/blob/v2.5.
|
|
462
|
+
| <a id="verified"></a> `verified` | `boolean` | Whether the verification was successful. | [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:40](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L40) |
|
|
463
463
|
|
|
464
464
|
***
|
|
465
465
|
|
|
466
466
|
#### VerifyWalletVerificationChallengeParameters
|
|
467
467
|
|
|
468
|
-
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:28](https://github.com/settlemint/sdk/blob/v2.5.
|
|
468
|
+
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:28](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L28)
|
|
469
469
|
|
|
470
470
|
Parameters for verifying a wallet verification challenge.
|
|
471
471
|
|
|
@@ -473,14 +473,14 @@ Parameters for verifying a wallet verification challenge.
|
|
|
473
473
|
|
|
474
474
|
| Property | Type | Description | Defined in |
|
|
475
475
|
| ------ | ------ | ------ | ------ |
|
|
476
|
-
| <a id="addressorobject-1"></a> `addressOrObject` | [`AddressOrObjectWithChallengeId`](#addressorobjectwithchallengeid) | The wallet address or object containing wallet address and optional verification ID. | [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:30](https://github.com/settlemint/sdk/blob/v2.5.
|
|
477
|
-
| <a id="challengeresponse"></a> `challengeResponse` | `string` | The response to the verification challenge. | [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:32](https://github.com/settlemint/sdk/blob/v2.5.
|
|
476
|
+
| <a id="addressorobject-1"></a> `addressOrObject` | [`AddressOrObjectWithChallengeId`](#addressorobjectwithchallengeid) | The wallet address or object containing wallet address and optional verification ID. | [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:30](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L30) |
|
|
477
|
+
| <a id="challengeresponse"></a> `challengeResponse` | `string` | The response to the verification challenge. | [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:32](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L32) |
|
|
478
478
|
|
|
479
479
|
***
|
|
480
480
|
|
|
481
481
|
#### WalletInfo
|
|
482
482
|
|
|
483
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet.action.ts:6](https://github.com/settlemint/sdk/blob/v2.5.
|
|
483
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet.action.ts:6](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L6)
|
|
484
484
|
|
|
485
485
|
Information about the wallet to be created.
|
|
486
486
|
|
|
@@ -488,13 +488,14 @@ Information about the wallet to be created.
|
|
|
488
488
|
|
|
489
489
|
| Property | Type | Description | Defined in |
|
|
490
490
|
| ------ | ------ | ------ | ------ |
|
|
491
|
-
| <a id="name-2"></a> `name` | `string` | The name of the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:8](https://github.com/settlemint/sdk/blob/v2.5.
|
|
491
|
+
| <a id="name-2"></a> `name` | `string` | The name of the wallet. | [sdk/viem/src/custom-actions/create-wallet.action.ts:8](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L8) |
|
|
492
|
+
| <a id="walletindex"></a> `walletIndex?` | `number` | Optional index for the wallet, walletIndex enables HD derivation paths | [sdk/viem/src/custom-actions/create-wallet.action.ts:10](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet.action.ts#L10) |
|
|
492
493
|
|
|
493
494
|
***
|
|
494
495
|
|
|
495
496
|
#### WalletOTPVerificationInfo
|
|
496
497
|
|
|
497
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:27](https://github.com/settlemint/sdk/blob/v2.5.
|
|
498
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:27](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L27)
|
|
498
499
|
|
|
499
500
|
Information for One-Time Password (OTP) verification.
|
|
500
501
|
|
|
@@ -506,18 +507,18 @@ Information for One-Time Password (OTP) verification.
|
|
|
506
507
|
|
|
507
508
|
| Property | Type | Description | Overrides | Inherited from | Defined in |
|
|
508
509
|
| ------ | ------ | ------ | ------ | ------ | ------ |
|
|
509
|
-
| <a id="algorithm"></a> `algorithm?` | [`OTPAlgorithm`](#otpalgorithm) | The hash algorithm to use for OTP generation. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:31](https://github.com/settlemint/sdk/blob/v2.5.
|
|
510
|
-
| <a id="digits"></a> `digits?` | `number` | The number of digits in the OTP code. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:33](https://github.com/settlemint/sdk/blob/v2.5.
|
|
511
|
-
| <a id="issuer"></a> `issuer?` | `string` | The issuer of the OTP. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:37](https://github.com/settlemint/sdk/blob/v2.5.
|
|
512
|
-
| <a id="name-3"></a> `name` | `string` | The name of the verification method. | - | `BaseWalletVerificationInfo.name` | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.
|
|
513
|
-
| <a id="period"></a> `period?` | `number` | The time period in seconds for OTP validity. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:35](https://github.com/settlemint/sdk/blob/v2.5.
|
|
514
|
-
| <a id="verificationtype-1"></a> `verificationType` | [`OTP`](#otp) | The type of verification method. | `BaseWalletVerificationInfo.verificationType` | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:29](https://github.com/settlemint/sdk/blob/v2.5.
|
|
510
|
+
| <a id="algorithm"></a> `algorithm?` | [`OTPAlgorithm`](#otpalgorithm) | The hash algorithm to use for OTP generation. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:31](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L31) |
|
|
511
|
+
| <a id="digits"></a> `digits?` | `number` | The number of digits in the OTP code. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:33](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L33) |
|
|
512
|
+
| <a id="issuer"></a> `issuer?` | `string` | The issuer of the OTP. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:37](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L37) |
|
|
513
|
+
| <a id="name-3"></a> `name` | `string` | The name of the verification method. | - | `BaseWalletVerificationInfo.name` | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L9) |
|
|
514
|
+
| <a id="period"></a> `period?` | `number` | The time period in seconds for OTP validity. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:35](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L35) |
|
|
515
|
+
| <a id="verificationtype-1"></a> `verificationType` | [`OTP`](#otp) | The type of verification method. | `BaseWalletVerificationInfo.verificationType` | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:29](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L29) |
|
|
515
516
|
|
|
516
517
|
***
|
|
517
518
|
|
|
518
519
|
#### WalletPincodeVerificationInfo
|
|
519
520
|
|
|
520
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:17](https://github.com/settlemint/sdk/blob/v2.5.
|
|
521
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:17](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L17)
|
|
521
522
|
|
|
522
523
|
Information for PIN code verification.
|
|
523
524
|
|
|
@@ -529,15 +530,15 @@ Information for PIN code verification.
|
|
|
529
530
|
|
|
530
531
|
| Property | Type | Description | Overrides | Inherited from | Defined in |
|
|
531
532
|
| ------ | ------ | ------ | ------ | ------ | ------ |
|
|
532
|
-
| <a id="name-4"></a> `name` | `string` | The name of the verification method. | - | `BaseWalletVerificationInfo.name` | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.
|
|
533
|
-
| <a id="pincode-1"></a> `pincode` | `string` | The PIN code to use for verification. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:21](https://github.com/settlemint/sdk/blob/v2.5.
|
|
534
|
-
| <a id="verificationtype-2"></a> `verificationType` | [`PINCODE`](#pincode) | The type of verification method. | `BaseWalletVerificationInfo.verificationType` | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:19](https://github.com/settlemint/sdk/blob/v2.5.
|
|
533
|
+
| <a id="name-4"></a> `name` | `string` | The name of the verification method. | - | `BaseWalletVerificationInfo.name` | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L9) |
|
|
534
|
+
| <a id="pincode-1"></a> `pincode` | `string` | The PIN code to use for verification. | - | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:21](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L21) |
|
|
535
|
+
| <a id="verificationtype-2"></a> `verificationType` | [`PINCODE`](#pincode) | The type of verification method. | `BaseWalletVerificationInfo.verificationType` | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:19](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L19) |
|
|
535
536
|
|
|
536
537
|
***
|
|
537
538
|
|
|
538
539
|
#### WalletSecretCodesVerificationInfo
|
|
539
540
|
|
|
540
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:43](https://github.com/settlemint/sdk/blob/v2.5.
|
|
541
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:43](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L43)
|
|
541
542
|
|
|
542
543
|
Information for secret recovery codes verification.
|
|
543
544
|
|
|
@@ -549,14 +550,14 @@ Information for secret recovery codes verification.
|
|
|
549
550
|
|
|
550
551
|
| Property | Type | Description | Overrides | Inherited from | Defined in |
|
|
551
552
|
| ------ | ------ | ------ | ------ | ------ | ------ |
|
|
552
|
-
| <a id="name-5"></a> `name` | `string` | The name of the verification method. | - | `BaseWalletVerificationInfo.name` | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.
|
|
553
|
-
| <a id="verificationtype-3"></a> `verificationType` | [`SECRET_CODES`](#secret_codes) | The type of verification method. | `BaseWalletVerificationInfo.verificationType` | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:45](https://github.com/settlemint/sdk/blob/v2.5.
|
|
553
|
+
| <a id="name-5"></a> `name` | `string` | The name of the verification method. | - | `BaseWalletVerificationInfo.name` | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:9](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L9) |
|
|
554
|
+
| <a id="verificationtype-3"></a> `verificationType` | [`SECRET_CODES`](#secret_codes) | The type of verification method. | `BaseWalletVerificationInfo.verificationType` | - | [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:45](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L45) |
|
|
554
555
|
|
|
555
556
|
***
|
|
556
557
|
|
|
557
558
|
#### WalletVerification
|
|
558
559
|
|
|
559
|
-
Defined in: [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:15](https://github.com/settlemint/sdk/blob/v2.5.
|
|
560
|
+
Defined in: [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:15](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/get-wallet-verifications.action.ts#L15)
|
|
560
561
|
|
|
561
562
|
Represents a wallet verification.
|
|
562
563
|
|
|
@@ -564,15 +565,15 @@ Represents a wallet verification.
|
|
|
564
565
|
|
|
565
566
|
| Property | Type | Description | Defined in |
|
|
566
567
|
| ------ | ------ | ------ | ------ |
|
|
567
|
-
| <a id="id-2"></a> `id` | `string` | The unique identifier of the verification. | [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:17](https://github.com/settlemint/sdk/blob/v2.5.
|
|
568
|
-
| <a id="name-6"></a> `name` | `string` | The name of the verification method. | [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:19](https://github.com/settlemint/sdk/blob/v2.5.
|
|
569
|
-
| <a id="verificationtype-4"></a> `verificationType` | [`WalletVerificationType`](#walletverificationtype) | The type of verification method. | [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:21](https://github.com/settlemint/sdk/blob/v2.5.
|
|
568
|
+
| <a id="id-2"></a> `id` | `string` | The unique identifier of the verification. | [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:17](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/get-wallet-verifications.action.ts#L17) |
|
|
569
|
+
| <a id="name-6"></a> `name` | `string` | The name of the verification method. | [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:19](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/get-wallet-verifications.action.ts#L19) |
|
|
570
|
+
| <a id="verificationtype-4"></a> `verificationType` | [`WalletVerificationType`](#walletverificationtype) | The type of verification method. | [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:21](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/get-wallet-verifications.action.ts#L21) |
|
|
570
571
|
|
|
571
572
|
***
|
|
572
573
|
|
|
573
574
|
#### WalletVerificationChallenge\<ChallengeData\>
|
|
574
575
|
|
|
575
|
-
Defined in: [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:6](https://github.com/settlemint/sdk/blob/v2.5.
|
|
576
|
+
Defined in: [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:6](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts#L6)
|
|
576
577
|
|
|
577
578
|
Represents a wallet verification challenge.
|
|
578
579
|
|
|
@@ -586,17 +587,17 @@ Represents a wallet verification challenge.
|
|
|
586
587
|
|
|
587
588
|
| Property | Type | Description | Defined in |
|
|
588
589
|
| ------ | ------ | ------ | ------ |
|
|
589
|
-
| <a id="challenge"></a> `challenge` | `ChallengeData` | The challenge parameters specific to the verification type. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:16](https://github.com/settlemint/sdk/blob/v2.5.
|
|
590
|
-
| <a id="id-3"></a> `id` | `string` | The unique identifier of the challenge. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:8](https://github.com/settlemint/sdk/blob/v2.5.
|
|
591
|
-
| <a id="name-7"></a> `name` | `string` | The name of the challenge. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:10](https://github.com/settlemint/sdk/blob/v2.5.
|
|
592
|
-
| <a id="verificationid-2"></a> `verificationId` | `string` | The verification ID. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:12](https://github.com/settlemint/sdk/blob/v2.5.
|
|
593
|
-
| <a id="verificationtype-5"></a> `verificationType` | [`WalletVerificationType`](#walletverificationtype) | The type of verification required. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:14](https://github.com/settlemint/sdk/blob/v2.5.
|
|
590
|
+
| <a id="challenge"></a> `challenge` | `ChallengeData` | The challenge parameters specific to the verification type. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:16](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts#L16) |
|
|
591
|
+
| <a id="id-3"></a> `id` | `string` | The unique identifier of the challenge. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:8](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts#L8) |
|
|
592
|
+
| <a id="name-7"></a> `name` | `string` | The name of the challenge. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:10](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts#L10) |
|
|
593
|
+
| <a id="verificationid-2"></a> `verificationId` | `string` | The verification ID. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:12](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts#L12) |
|
|
594
|
+
| <a id="verificationtype-5"></a> `verificationType` | [`WalletVerificationType`](#walletverificationtype) | The type of verification required. | [sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts:14](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/types/wallet-verification-challenge.ts#L14) |
|
|
594
595
|
|
|
595
596
|
***
|
|
596
597
|
|
|
597
598
|
#### WalletVerificationChallengeData
|
|
598
599
|
|
|
599
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:17](https://github.com/settlemint/sdk/blob/v2.5.
|
|
600
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:17](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L17)
|
|
600
601
|
|
|
601
602
|
Data specific to a wallet verification challenge.
|
|
602
603
|
|
|
@@ -604,16 +605,14 @@ Data specific to a wallet verification challenge.
|
|
|
604
605
|
|
|
605
606
|
| Property | Type | Description | Defined in |
|
|
606
607
|
| ------ | ------ | ------ | ------ |
|
|
607
|
-
| <a id="
|
|
608
|
-
| <a id="
|
|
609
|
-
| <a id="salt"></a> `salt?` | `string` | Optional salt for PINCODE verification type. | [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:23](https://github.com/settlemint/sdk/blob/v2.5.13/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L23) |
|
|
610
|
-
| <a id="secret"></a> `secret?` | `string` | Optional secret for PINCODE verification type. | [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:25](https://github.com/settlemint/sdk/blob/v2.5.13/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L25) |
|
|
608
|
+
| <a id="salt"></a> `salt?` | `string` | Optional salt for PINCODE verification type. | [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:19](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L19) |
|
|
609
|
+
| <a id="secret"></a> `secret?` | `string` | Optional secret for PINCODE verification type. | [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:21](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L21) |
|
|
611
610
|
|
|
612
611
|
***
|
|
613
612
|
|
|
614
613
|
#### WalletVerificationOptions
|
|
615
614
|
|
|
616
|
-
Defined in: [sdk/viem/src/viem.ts:248](https://github.com/settlemint/sdk/blob/v2.5.
|
|
615
|
+
Defined in: [sdk/viem/src/viem.ts:248](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L248)
|
|
617
616
|
|
|
618
617
|
The options for the wallet client.
|
|
619
618
|
|
|
@@ -621,9 +620,9 @@ The options for the wallet client.
|
|
|
621
620
|
|
|
622
621
|
| Property | Type | Description | Defined in |
|
|
623
622
|
| ------ | ------ | ------ | ------ |
|
|
624
|
-
| <a id="challengeid
|
|
625
|
-
| <a id="challengeresponse-1"></a> `challengeResponse` | `string` | The challenge response (used for HD wallets) | [sdk/viem/src/viem.ts:260](https://github.com/settlemint/sdk/blob/v2.5.
|
|
626
|
-
| <a id="verificationid-3"></a> `verificationId?` | `string` | The verification id (used for HD wallets), if not provided, the challenge response will be validated against all active verifications. | [sdk/viem/src/viem.ts:252](https://github.com/settlemint/sdk/blob/v2.5.
|
|
623
|
+
| <a id="challengeid"></a> `challengeId?` | `string` | The challenge id (used for HD wallets) | [sdk/viem/src/viem.ts:256](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L256) |
|
|
624
|
+
| <a id="challengeresponse-1"></a> `challengeResponse` | `string` | The challenge response (used for HD wallets) | [sdk/viem/src/viem.ts:260](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L260) |
|
|
625
|
+
| <a id="verificationid-3"></a> `verificationId?` | `string` | The verification id (used for HD wallets), if not provided, the challenge response will be validated against all active verifications. | [sdk/viem/src/viem.ts:252](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L252) |
|
|
627
626
|
|
|
628
627
|
### Type Aliases
|
|
629
628
|
|
|
@@ -631,7 +630,7 @@ The options for the wallet client.
|
|
|
631
630
|
|
|
632
631
|
> **AddressOrObject**\<`Extra`\> = `string` \| `object` & `Extra`
|
|
633
632
|
|
|
634
|
-
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:8](https://github.com/settlemint/sdk/blob/v2.5.
|
|
633
|
+
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:8](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L8)
|
|
635
634
|
|
|
636
635
|
Represents either a wallet address string or an object containing wallet address and optional verification ID.
|
|
637
636
|
|
|
@@ -647,7 +646,7 @@ Represents either a wallet address string or an object containing wallet address
|
|
|
647
646
|
|
|
648
647
|
> **AddressOrObjectWithChallengeId** = [`AddressOrObject`](#addressorobject-2) \| \{ `challengeId`: `string`; \}
|
|
649
648
|
|
|
650
|
-
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:18](https://github.com/settlemint/sdk/blob/v2.5.
|
|
649
|
+
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:18](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L18)
|
|
651
650
|
|
|
652
651
|
Represents either a wallet address string, an object containing wallet address and optional verification ID or a challenge ID.
|
|
653
652
|
|
|
@@ -659,7 +658,7 @@ Represents either a wallet address string, an object containing wallet address a
|
|
|
659
658
|
|
|
660
659
|
| Name | Type | Description | Defined in |
|
|
661
660
|
| ------ | ------ | ------ | ------ |
|
|
662
|
-
| `challengeId` | `string` | ID of the challenge to verify against | [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:22](https://github.com/settlemint/sdk/blob/v2.5.
|
|
661
|
+
| `challengeId` | `string` | ID of the challenge to verify against | [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:22](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L22) |
|
|
663
662
|
|
|
664
663
|
***
|
|
665
664
|
|
|
@@ -667,7 +666,7 @@ Represents either a wallet address string, an object containing wallet address a
|
|
|
667
666
|
|
|
668
667
|
> **ClientOptions** = `Omit`\<`z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>, `"httpTransportConfig"`\> & `object`
|
|
669
668
|
|
|
670
|
-
Defined in: [sdk/viem/src/viem.ts:163](https://github.com/settlemint/sdk/blob/v2.5.
|
|
669
|
+
Defined in: [sdk/viem/src/viem.ts:163](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L163)
|
|
671
670
|
|
|
672
671
|
Type representing the validated client options.
|
|
673
672
|
|
|
@@ -675,7 +674,7 @@ Type representing the validated client options.
|
|
|
675
674
|
|
|
676
675
|
| Name | Type | Defined in |
|
|
677
676
|
| ------ | ------ | ------ |
|
|
678
|
-
| `httpTransportConfig?` | `HttpTransportConfig` | [sdk/viem/src/viem.ts:164](https://github.com/settlemint/sdk/blob/v2.5.
|
|
677
|
+
| `httpTransportConfig?` | `HttpTransportConfig` | [sdk/viem/src/viem.ts:164](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L164) |
|
|
679
678
|
|
|
680
679
|
***
|
|
681
680
|
|
|
@@ -683,7 +682,7 @@ Type representing the validated client options.
|
|
|
683
682
|
|
|
684
683
|
> **CreateWalletVerificationChallengeResponse** = [`WalletVerificationChallenge`](#walletverificationchallenge)\<[`WalletVerificationChallengeData`](#walletverificationchallengedata)\>
|
|
685
684
|
|
|
686
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:
|
|
685
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts:27](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenge.action.ts#L27)
|
|
687
686
|
|
|
688
687
|
Response from creating wallet verification challenge.
|
|
689
688
|
|
|
@@ -691,9 +690,9 @@ Response from creating wallet verification challenge.
|
|
|
691
690
|
|
|
692
691
|
#### CreateWalletVerificationChallengesResponse
|
|
693
692
|
|
|
694
|
-
> **CreateWalletVerificationChallengesResponse** = [`WalletVerificationChallenge`](#walletverificationchallenge)\<`Record`\<`string`, `string
|
|
693
|
+
> **CreateWalletVerificationChallengesResponse** = `Omit`\<[`WalletVerificationChallenge`](#walletverificationchallenge)\<`Record`\<`string`, `string`\>\>, `"verificationId"`\>[]
|
|
695
694
|
|
|
696
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts:16](https://github.com/settlemint/sdk/blob/v2.5.
|
|
695
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts:16](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification-challenges.action.ts#L16)
|
|
697
696
|
|
|
698
697
|
Response from creating wallet verification challenges.
|
|
699
698
|
|
|
@@ -703,7 +702,7 @@ Response from creating wallet verification challenges.
|
|
|
703
702
|
|
|
704
703
|
> **GetChainIdOptions** = `Omit`\<`z.infer`\<*typeof* [`GetChainIdOptionsSchema`](#getchainidoptionsschema)\>, `"httpTransportConfig"`\> & `object`
|
|
705
704
|
|
|
706
|
-
Defined in: [sdk/viem/src/viem.ts:413](https://github.com/settlemint/sdk/blob/v2.5.
|
|
705
|
+
Defined in: [sdk/viem/src/viem.ts:413](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L413)
|
|
707
706
|
|
|
708
707
|
Type representing the validated get chain id options.
|
|
709
708
|
|
|
@@ -711,7 +710,7 @@ Type representing the validated get chain id options.
|
|
|
711
710
|
|
|
712
711
|
| Name | Type | Defined in |
|
|
713
712
|
| ------ | ------ | ------ |
|
|
714
|
-
| `httpTransportConfig?` | `HttpTransportConfig` | [sdk/viem/src/viem.ts:414](https://github.com/settlemint/sdk/blob/v2.5.
|
|
713
|
+
| `httpTransportConfig?` | `HttpTransportConfig` | [sdk/viem/src/viem.ts:414](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L414) |
|
|
715
714
|
|
|
716
715
|
***
|
|
717
716
|
|
|
@@ -719,7 +718,7 @@ Type representing the validated get chain id options.
|
|
|
719
718
|
|
|
720
719
|
> **GetWalletVerificationsResponse** = [`WalletVerification`](#walletverification)[]
|
|
721
720
|
|
|
722
|
-
Defined in: [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:27](https://github.com/settlemint/sdk/blob/v2.5.
|
|
721
|
+
Defined in: [sdk/viem/src/custom-actions/get-wallet-verifications.action.ts:27](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/get-wallet-verifications.action.ts#L27)
|
|
723
722
|
|
|
724
723
|
Response from getting wallet verifications.
|
|
725
724
|
|
|
@@ -729,7 +728,7 @@ Response from getting wallet verifications.
|
|
|
729
728
|
|
|
730
729
|
> **VerifyWalletVerificationChallengeResponse** = [`VerificationResult`](#verificationresult)[]
|
|
731
730
|
|
|
732
|
-
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:46](https://github.com/settlemint/sdk/blob/v2.5.
|
|
731
|
+
Defined in: [sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts:46](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/verify-wallet-verification-challenge.action.ts#L46)
|
|
733
732
|
|
|
734
733
|
Response from verifying a wallet verification challenge.
|
|
735
734
|
|
|
@@ -739,7 +738,7 @@ Response from verifying a wallet verification challenge.
|
|
|
739
738
|
|
|
740
739
|
> **WalletVerificationInfo** = [`WalletPincodeVerificationInfo`](#walletpincodeverificationinfo) \| [`WalletOTPVerificationInfo`](#walletotpverificationinfo) \| [`WalletSecretCodesVerificationInfo`](#walletsecretcodesverificationinfo)
|
|
741
740
|
|
|
742
|
-
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:51](https://github.com/settlemint/sdk/blob/v2.5.
|
|
741
|
+
Defined in: [sdk/viem/src/custom-actions/create-wallet-verification.action.ts:51](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/custom-actions/create-wallet-verification.action.ts#L51)
|
|
743
742
|
|
|
744
743
|
Union type of all possible wallet verification information types.
|
|
745
744
|
|
|
@@ -749,7 +748,7 @@ Union type of all possible wallet verification information types.
|
|
|
749
748
|
|
|
750
749
|
> `const` **ClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodOptional`\<`ZodString`\>; `chainId`: `ZodString`; `chainName`: `ZodString`; `httpTransportConfig`: `ZodOptional`\<`ZodAny`\>; `rpcUrl`: `ZodUnion`\<readonly \[`ZodString`, `ZodString`\]\>; \}, `$strip`\>
|
|
751
750
|
|
|
752
|
-
Defined in: [sdk/viem/src/viem.ts:137](https://github.com/settlemint/sdk/blob/v2.5.
|
|
751
|
+
Defined in: [sdk/viem/src/viem.ts:137](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L137)
|
|
753
752
|
|
|
754
753
|
Schema for the viem client options.
|
|
755
754
|
|
|
@@ -759,7 +758,7 @@ Schema for the viem client options.
|
|
|
759
758
|
|
|
760
759
|
> `const` **GetChainIdOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodOptional`\<`ZodString`\>; `httpTransportConfig`: `ZodOptional`\<`ZodAny`\>; `rpcUrl`: `ZodUnion`\<readonly \[`ZodString`, `ZodString`\]\>; \}, `$strip`\>
|
|
761
760
|
|
|
762
|
-
Defined in: [sdk/viem/src/viem.ts:395](https://github.com/settlemint/sdk/blob/v2.5.
|
|
761
|
+
Defined in: [sdk/viem/src/viem.ts:395](https://github.com/settlemint/sdk/blob/v2.5.14/sdk/viem/src/viem.ts#L395)
|
|
763
762
|
|
|
764
763
|
Schema for the viem client options.
|
|
765
764
|
|