@settlemint/sdk-eas 2.6.2-prfff372b1 → 2.6.3-pr2085fb82
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 +94 -94
- package/dist/browser/eas.d.ts +0 -1
- package/dist/eas.d.cts +0 -1
- package/dist/eas.d.ts +0 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -950,7 +950,7 @@ export { runEASWorkflow, type UserReputationSchema };
|
|
|
950
950
|
|
|
951
951
|
> **createEASClient**(`options`): [`EASClient`](#easclient)
|
|
952
952
|
|
|
953
|
-
Defined in: [sdk/eas/src/eas.ts:716](https://github.com/settlemint/sdk/blob/v2.6.
|
|
953
|
+
Defined in: [sdk/eas/src/eas.ts:716](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L716)
|
|
954
954
|
|
|
955
955
|
Create an EAS client instance
|
|
956
956
|
|
|
@@ -989,7 +989,7 @@ const deployment = await easClient.deploy("0x1234...deployer-address");
|
|
|
989
989
|
|
|
990
990
|
#### EASClient
|
|
991
991
|
|
|
992
|
-
Defined in: [sdk/eas/src/eas.ts:44](https://github.com/settlemint/sdk/blob/v2.6.
|
|
992
|
+
Defined in: [sdk/eas/src/eas.ts:44](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L44)
|
|
993
993
|
|
|
994
994
|
Main EAS client class for interacting with Ethereum Attestation Service via Portal
|
|
995
995
|
|
|
@@ -1014,7 +1014,7 @@ console.log("EAS deployed at:", deployment.easAddress);
|
|
|
1014
1014
|
|
|
1015
1015
|
> **new EASClient**(`options`): [`EASClient`](#easclient)
|
|
1016
1016
|
|
|
1017
|
-
Defined in: [sdk/eas/src/eas.ts:55](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1017
|
+
Defined in: [sdk/eas/src/eas.ts:55](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L55)
|
|
1018
1018
|
|
|
1019
1019
|
Create a new EAS client instance
|
|
1020
1020
|
|
|
@@ -1039,7 +1039,7 @@ Create a new EAS client instance
|
|
|
1039
1039
|
|
|
1040
1040
|
> **attest**(`request`, `fromAddress`, `gasLimit?`): `Promise`\<[`TransactionResult`](#transactionresult)\>
|
|
1041
1041
|
|
|
1042
|
-
Defined in: [sdk/eas/src/eas.ts:295](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1042
|
+
Defined in: [sdk/eas/src/eas.ts:295](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L295)
|
|
1043
1043
|
|
|
1044
1044
|
Create an attestation
|
|
1045
1045
|
|
|
@@ -1089,7 +1089,7 @@ console.log("Attestation created:", attestationResult.hash);
|
|
|
1089
1089
|
|
|
1090
1090
|
> **deploy**(`deployerAddress`, `forwarderAddress?`, `gasLimit?`): `Promise`\<[`DeploymentResult`](#deploymentresult)\>
|
|
1091
1091
|
|
|
1092
|
-
Defined in: [sdk/eas/src/eas.ts:106](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1092
|
+
Defined in: [sdk/eas/src/eas.ts:106](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L106)
|
|
1093
1093
|
|
|
1094
1094
|
Deploy EAS contracts via Portal
|
|
1095
1095
|
|
|
@@ -1131,7 +1131,7 @@ console.log("EAS Contract:", deployment.easAddress);
|
|
|
1131
1131
|
|
|
1132
1132
|
> **getAttestation**(`uid`): `Promise`\<[`AttestationInfo`](#attestationinfo)\>
|
|
1133
1133
|
|
|
1134
|
-
Defined in: [sdk/eas/src/eas.ts:549](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1134
|
+
Defined in: [sdk/eas/src/eas.ts:549](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L549)
|
|
1135
1135
|
|
|
1136
1136
|
Get an attestation by UID
|
|
1137
1137
|
|
|
@@ -1149,7 +1149,7 @@ Get an attestation by UID
|
|
|
1149
1149
|
|
|
1150
1150
|
> **getAttestations**(`_options?`): `Promise`\<[`AttestationInfo`](#attestationinfo)[]\>
|
|
1151
1151
|
|
|
1152
|
-
Defined in: [sdk/eas/src/eas.ts:589](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1152
|
+
Defined in: [sdk/eas/src/eas.ts:589](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L589)
|
|
1153
1153
|
|
|
1154
1154
|
Get attestations with pagination and filtering
|
|
1155
1155
|
|
|
@@ -1171,7 +1171,7 @@ Consider using getAttestation() for individual attestation lookups.
|
|
|
1171
1171
|
|
|
1172
1172
|
> **getContractAddresses**(): `object`
|
|
1173
1173
|
|
|
1174
|
-
Defined in: [sdk/eas/src/eas.ts:662](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1174
|
+
Defined in: [sdk/eas/src/eas.ts:662](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L662)
|
|
1175
1175
|
|
|
1176
1176
|
Get current contract addresses
|
|
1177
1177
|
|
|
@@ -1181,14 +1181,14 @@ Get current contract addresses
|
|
|
1181
1181
|
|
|
1182
1182
|
| Name | Type | Defined in |
|
|
1183
1183
|
| ------ | ------ | ------ |
|
|
1184
|
-
| `easAddress?` | `` `0x${string}` `` | [sdk/eas/src/eas.ts:662](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1185
|
-
| `schemaRegistryAddress?` | `` `0x${string}` `` | [sdk/eas/src/eas.ts:662](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1184
|
+
| `easAddress?` | `` `0x${string}` `` | [sdk/eas/src/eas.ts:662](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L662) |
|
|
1185
|
+
| `schemaRegistryAddress?` | `` `0x${string}` `` | [sdk/eas/src/eas.ts:662](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L662) |
|
|
1186
1186
|
|
|
1187
1187
|
###### getOptions()
|
|
1188
1188
|
|
|
1189
1189
|
> **getOptions**(): `object`
|
|
1190
1190
|
|
|
1191
|
-
Defined in: [sdk/eas/src/eas.ts:648](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1191
|
+
Defined in: [sdk/eas/src/eas.ts:648](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L648)
|
|
1192
1192
|
|
|
1193
1193
|
Get client configuration
|
|
1194
1194
|
|
|
@@ -1196,17 +1196,17 @@ Get client configuration
|
|
|
1196
1196
|
|
|
1197
1197
|
| Name | Type | Default value | Description | Defined in |
|
|
1198
1198
|
| ------ | ------ | ------ | ------ | ------ |
|
|
1199
|
-
| `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1200
|
-
| `debug?` | `boolean` | - | Whether to enable debug mode | [sdk/eas/src/utils/validation.ts:33](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1201
|
-
| `easContractAddress?` | `` `0x${string}` `` | - | The EAS contract address | [sdk/eas/src/utils/validation.ts:25](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1202
|
-
| `instance` | `string` | `UrlSchema` | The EAS instance URL | [sdk/eas/src/utils/validation.ts:17](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1203
|
-
| `schemaRegistryContractAddress?` | `` `0x${string}` `` | - | The schema registry contract address | [sdk/eas/src/utils/validation.ts:29](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1199
|
+
| `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L21) |
|
|
1200
|
+
| `debug?` | `boolean` | - | Whether to enable debug mode | [sdk/eas/src/utils/validation.ts:33](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L33) |
|
|
1201
|
+
| `easContractAddress?` | `` `0x${string}` `` | - | The EAS contract address | [sdk/eas/src/utils/validation.ts:25](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L25) |
|
|
1202
|
+
| `instance` | `string` | `UrlSchema` | The EAS instance URL | [sdk/eas/src/utils/validation.ts:17](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L17) |
|
|
1203
|
+
| `schemaRegistryContractAddress?` | `` `0x${string}` `` | - | The schema registry contract address | [sdk/eas/src/utils/validation.ts:29](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L29) |
|
|
1204
1204
|
|
|
1205
1205
|
###### getPortalClient()
|
|
1206
1206
|
|
|
1207
1207
|
> **getPortalClient**(): `GraphQLClient`
|
|
1208
1208
|
|
|
1209
|
-
Defined in: [sdk/eas/src/eas.ts:655](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1209
|
+
Defined in: [sdk/eas/src/eas.ts:655](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L655)
|
|
1210
1210
|
|
|
1211
1211
|
Get the Portal client instance for advanced operations
|
|
1212
1212
|
|
|
@@ -1218,7 +1218,7 @@ Get the Portal client instance for advanced operations
|
|
|
1218
1218
|
|
|
1219
1219
|
> **getSchema**(`uid`): `Promise`\<[`SchemaData`](#schemadata)\>
|
|
1220
1220
|
|
|
1221
|
-
Defined in: [sdk/eas/src/eas.ts:506](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1221
|
+
Defined in: [sdk/eas/src/eas.ts:506](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L506)
|
|
1222
1222
|
|
|
1223
1223
|
Get a schema by UID
|
|
1224
1224
|
|
|
@@ -1236,7 +1236,7 @@ Get a schema by UID
|
|
|
1236
1236
|
|
|
1237
1237
|
> **getSchemas**(`_options?`): `Promise`\<[`SchemaData`](#schemadata)[]\>
|
|
1238
1238
|
|
|
1239
|
-
Defined in: [sdk/eas/src/eas.ts:540](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1239
|
+
Defined in: [sdk/eas/src/eas.ts:540](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L540)
|
|
1240
1240
|
|
|
1241
1241
|
Get all schemas with pagination
|
|
1242
1242
|
|
|
@@ -1258,7 +1258,7 @@ Consider using getSchema() for individual schema lookups.
|
|
|
1258
1258
|
|
|
1259
1259
|
> **getTimestamp**(`data`): `Promise`\<`bigint`\>
|
|
1260
1260
|
|
|
1261
|
-
Defined in: [sdk/eas/src/eas.ts:623](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1261
|
+
Defined in: [sdk/eas/src/eas.ts:623](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L623)
|
|
1262
1262
|
|
|
1263
1263
|
Get the timestamp for specific data
|
|
1264
1264
|
|
|
@@ -1278,7 +1278,7 @@ The timestamp when the data was timestamped
|
|
|
1278
1278
|
|
|
1279
1279
|
> **isValidAttestation**(`uid`): `Promise`\<`boolean`\>
|
|
1280
1280
|
|
|
1281
|
-
Defined in: [sdk/eas/src/eas.ts:598](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1281
|
+
Defined in: [sdk/eas/src/eas.ts:598](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L598)
|
|
1282
1282
|
|
|
1283
1283
|
Check if an attestation is valid
|
|
1284
1284
|
|
|
@@ -1296,7 +1296,7 @@ Check if an attestation is valid
|
|
|
1296
1296
|
|
|
1297
1297
|
> **multiAttest**(`requests`, `fromAddress`, `gasLimit?`): `Promise`\<[`TransactionResult`](#transactionresult)\>
|
|
1298
1298
|
|
|
1299
|
-
Defined in: [sdk/eas/src/eas.ts:386](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1299
|
+
Defined in: [sdk/eas/src/eas.ts:386](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L386)
|
|
1300
1300
|
|
|
1301
1301
|
Create multiple attestations in a single transaction
|
|
1302
1302
|
|
|
@@ -1359,7 +1359,7 @@ console.log("Multiple attestations created:", multiAttestResult.hash);
|
|
|
1359
1359
|
|
|
1360
1360
|
> **registerSchema**(`request`, `fromAddress`, `gasLimit?`): `Promise`\<[`TransactionResult`](#transactionresult)\>
|
|
1361
1361
|
|
|
1362
|
-
Defined in: [sdk/eas/src/eas.ts:216](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1362
|
+
Defined in: [sdk/eas/src/eas.ts:216](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L216)
|
|
1363
1363
|
|
|
1364
1364
|
Register a new schema in the EAS Schema Registry
|
|
1365
1365
|
|
|
@@ -1403,7 +1403,7 @@ console.log("Schema registered:", schemaResult.hash);
|
|
|
1403
1403
|
|
|
1404
1404
|
> **revoke**(`schemaUID`, `attestationUID`, `fromAddress`, `value?`, `gasLimit?`): `Promise`\<[`TransactionResult`](#transactionresult)\>
|
|
1405
1405
|
|
|
1406
|
-
Defined in: [sdk/eas/src/eas.ts:464](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1406
|
+
Defined in: [sdk/eas/src/eas.ts:464](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/eas.ts#L464)
|
|
1407
1407
|
|
|
1408
1408
|
Revoke an existing attestation
|
|
1409
1409
|
|
|
@@ -1447,7 +1447,7 @@ console.log("Attestation revoked:", revokeResult.hash);
|
|
|
1447
1447
|
|
|
1448
1448
|
#### AttestationData
|
|
1449
1449
|
|
|
1450
|
-
Defined in: [sdk/eas/src/schema.ts:63](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1450
|
+
Defined in: [sdk/eas/src/schema.ts:63](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L63)
|
|
1451
1451
|
|
|
1452
1452
|
Attestation data structure
|
|
1453
1453
|
|
|
@@ -1455,18 +1455,18 @@ Attestation data structure
|
|
|
1455
1455
|
|
|
1456
1456
|
| Property | Type | Description | Defined in |
|
|
1457
1457
|
| ------ | ------ | ------ | ------ |
|
|
1458
|
-
| <a id="data"></a> `data` | `` `0x${string}` `` | Encoded attestation data | [sdk/eas/src/schema.ts:73](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1459
|
-
| <a id="expirationtime"></a> `expirationTime` | `bigint` | Expiration time (0 for no expiration) | [sdk/eas/src/schema.ts:67](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1460
|
-
| <a id="recipient"></a> `recipient` | `` `0x${string}` `` | Recipient of the attestation | [sdk/eas/src/schema.ts:65](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1461
|
-
| <a id="refuid"></a> `refUID` | `` `0x${string}` `` | Reference UID (use ZERO_BYTES32 for no reference) | [sdk/eas/src/schema.ts:71](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1462
|
-
| <a id="revocable"></a> `revocable` | `boolean` | Whether this attestation can be revoked | [sdk/eas/src/schema.ts:69](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1463
|
-
| <a id="value"></a> `value` | `bigint` | Value sent with the attestation | [sdk/eas/src/schema.ts:75](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1458
|
+
| <a id="data"></a> `data` | `` `0x${string}` `` | Encoded attestation data | [sdk/eas/src/schema.ts:73](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L73) |
|
|
1459
|
+
| <a id="expirationtime"></a> `expirationTime` | `bigint` | Expiration time (0 for no expiration) | [sdk/eas/src/schema.ts:67](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L67) |
|
|
1460
|
+
| <a id="recipient"></a> `recipient` | `` `0x${string}` `` | Recipient of the attestation | [sdk/eas/src/schema.ts:65](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L65) |
|
|
1461
|
+
| <a id="refuid"></a> `refUID` | `` `0x${string}` `` | Reference UID (use ZERO_BYTES32 for no reference) | [sdk/eas/src/schema.ts:71](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L71) |
|
|
1462
|
+
| <a id="revocable"></a> `revocable` | `boolean` | Whether this attestation can be revoked | [sdk/eas/src/schema.ts:69](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L69) |
|
|
1463
|
+
| <a id="value"></a> `value` | `bigint` | Value sent with the attestation | [sdk/eas/src/schema.ts:75](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L75) |
|
|
1464
1464
|
|
|
1465
1465
|
***
|
|
1466
1466
|
|
|
1467
1467
|
#### AttestationInfo
|
|
1468
1468
|
|
|
1469
|
-
Defined in: [sdk/eas/src/schema.ts:115](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1469
|
+
Defined in: [sdk/eas/src/schema.ts:115](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L115)
|
|
1470
1470
|
|
|
1471
1471
|
Attestation information
|
|
1472
1472
|
|
|
@@ -1474,22 +1474,22 @@ Attestation information
|
|
|
1474
1474
|
|
|
1475
1475
|
| Property | Type | Description | Defined in |
|
|
1476
1476
|
| ------ | ------ | ------ | ------ |
|
|
1477
|
-
| <a id="attester"></a> `attester` | `` `0x${string}` `` | Address that created the attestation | [sdk/eas/src/schema.ts:121](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1478
|
-
| <a id="data-1"></a> `data` | `` `0x${string}` `` | Encoded attestation data | [sdk/eas/src/schema.ts:133](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1479
|
-
| <a id="expirationtime-1"></a> `expirationTime` | `bigint` | Expiration timestamp | [sdk/eas/src/schema.ts:127](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1480
|
-
| <a id="recipient-1"></a> `recipient` | `` `0x${string}` `` | Recipient of the attestation | [sdk/eas/src/schema.ts:123](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1481
|
-
| <a id="refuid-1"></a> `refUID` | `` `0x${string}` `` | Reference UID | [sdk/eas/src/schema.ts:131](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1482
|
-
| <a id="revocable-1"></a> `revocable` | `boolean` | Whether this attestation can be revoked | [sdk/eas/src/schema.ts:129](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1483
|
-
| <a id="schema"></a> `schema` | `` `0x${string}` `` | Schema UID | [sdk/eas/src/schema.ts:119](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1484
|
-
| <a id="time"></a> `time` | `bigint` | Creation timestamp | [sdk/eas/src/schema.ts:125](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1485
|
-
| <a id="uid"></a> `uid` | `` `0x${string}` `` | Attestation UID | [sdk/eas/src/schema.ts:117](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1486
|
-
| <a id="value-1"></a> `value` | `bigint` | Value sent with the attestation | [sdk/eas/src/schema.ts:135](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1477
|
+
| <a id="attester"></a> `attester` | `` `0x${string}` `` | Address that created the attestation | [sdk/eas/src/schema.ts:121](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L121) |
|
|
1478
|
+
| <a id="data-1"></a> `data` | `` `0x${string}` `` | Encoded attestation data | [sdk/eas/src/schema.ts:133](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L133) |
|
|
1479
|
+
| <a id="expirationtime-1"></a> `expirationTime` | `bigint` | Expiration timestamp | [sdk/eas/src/schema.ts:127](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L127) |
|
|
1480
|
+
| <a id="recipient-1"></a> `recipient` | `` `0x${string}` `` | Recipient of the attestation | [sdk/eas/src/schema.ts:123](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L123) |
|
|
1481
|
+
| <a id="refuid-1"></a> `refUID` | `` `0x${string}` `` | Reference UID | [sdk/eas/src/schema.ts:131](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L131) |
|
|
1482
|
+
| <a id="revocable-1"></a> `revocable` | `boolean` | Whether this attestation can be revoked | [sdk/eas/src/schema.ts:129](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L129) |
|
|
1483
|
+
| <a id="schema"></a> `schema` | `` `0x${string}` `` | Schema UID | [sdk/eas/src/schema.ts:119](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L119) |
|
|
1484
|
+
| <a id="time"></a> `time` | `bigint` | Creation timestamp | [sdk/eas/src/schema.ts:125](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L125) |
|
|
1485
|
+
| <a id="uid"></a> `uid` | `` `0x${string}` `` | Attestation UID | [sdk/eas/src/schema.ts:117](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L117) |
|
|
1486
|
+
| <a id="value-1"></a> `value` | `bigint` | Value sent with the attestation | [sdk/eas/src/schema.ts:135](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L135) |
|
|
1487
1487
|
|
|
1488
1488
|
***
|
|
1489
1489
|
|
|
1490
1490
|
#### AttestationRequest
|
|
1491
1491
|
|
|
1492
|
-
Defined in: [sdk/eas/src/schema.ts:81](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1492
|
+
Defined in: [sdk/eas/src/schema.ts:81](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L81)
|
|
1493
1493
|
|
|
1494
1494
|
Attestation request
|
|
1495
1495
|
|
|
@@ -1497,14 +1497,14 @@ Attestation request
|
|
|
1497
1497
|
|
|
1498
1498
|
| Property | Type | Description | Defined in |
|
|
1499
1499
|
| ------ | ------ | ------ | ------ |
|
|
1500
|
-
| <a id="data-2"></a> `data` | [`AttestationData`](#attestationdata) | Attestation data | [sdk/eas/src/schema.ts:85](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1501
|
-
| <a id="schema-1"></a> `schema` | `` `0x${string}` `` | Schema UID to attest against | [sdk/eas/src/schema.ts:83](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1500
|
+
| <a id="data-2"></a> `data` | [`AttestationData`](#attestationdata) | Attestation data | [sdk/eas/src/schema.ts:85](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L85) |
|
|
1501
|
+
| <a id="schema-1"></a> `schema` | `` `0x${string}` `` | Schema UID to attest against | [sdk/eas/src/schema.ts:83](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L83) |
|
|
1502
1502
|
|
|
1503
1503
|
***
|
|
1504
1504
|
|
|
1505
1505
|
#### DeploymentResult
|
|
1506
1506
|
|
|
1507
|
-
Defined in: [sdk/eas/src/schema.ts:167](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1507
|
+
Defined in: [sdk/eas/src/schema.ts:167](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L167)
|
|
1508
1508
|
|
|
1509
1509
|
Contract deployment result
|
|
1510
1510
|
|
|
@@ -1512,16 +1512,16 @@ Contract deployment result
|
|
|
1512
1512
|
|
|
1513
1513
|
| Property | Type | Description | Defined in |
|
|
1514
1514
|
| ------ | ------ | ------ | ------ |
|
|
1515
|
-
| <a id="easaddress"></a> `easAddress` | `` `0x${string}` `` | Deployed EAS contract address | [sdk/eas/src/schema.ts:169](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1516
|
-
| <a id="eastransactionhash"></a> `easTransactionHash?` | `` `0x${string}` `` | EAS deployment transaction hash (when address not immediately available) | [sdk/eas/src/schema.ts:173](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1517
|
-
| <a id="schemaregistryaddress"></a> `schemaRegistryAddress` | `` `0x${string}` `` | Deployed Schema Registry contract address | [sdk/eas/src/schema.ts:171](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1518
|
-
| <a id="schemaregistrytransactionhash"></a> `schemaRegistryTransactionHash?` | `` `0x${string}` `` | Schema Registry deployment transaction hash (when address not immediately available) | [sdk/eas/src/schema.ts:175](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1515
|
+
| <a id="easaddress"></a> `easAddress` | `` `0x${string}` `` | Deployed EAS contract address | [sdk/eas/src/schema.ts:169](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L169) |
|
|
1516
|
+
| <a id="eastransactionhash"></a> `easTransactionHash?` | `` `0x${string}` `` | EAS deployment transaction hash (when address not immediately available) | [sdk/eas/src/schema.ts:173](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L173) |
|
|
1517
|
+
| <a id="schemaregistryaddress"></a> `schemaRegistryAddress` | `` `0x${string}` `` | Deployed Schema Registry contract address | [sdk/eas/src/schema.ts:171](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L171) |
|
|
1518
|
+
| <a id="schemaregistrytransactionhash"></a> `schemaRegistryTransactionHash?` | `` `0x${string}` `` | Schema Registry deployment transaction hash (when address not immediately available) | [sdk/eas/src/schema.ts:175](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L175) |
|
|
1519
1519
|
|
|
1520
1520
|
***
|
|
1521
1521
|
|
|
1522
1522
|
#### GetAttestationsOptions
|
|
1523
1523
|
|
|
1524
|
-
Defined in: [sdk/eas/src/schema.ts:151](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1524
|
+
Defined in: [sdk/eas/src/schema.ts:151](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L151)
|
|
1525
1525
|
|
|
1526
1526
|
Options for retrieving attestations
|
|
1527
1527
|
|
|
@@ -1529,17 +1529,17 @@ Options for retrieving attestations
|
|
|
1529
1529
|
|
|
1530
1530
|
| Property | Type | Description | Defined in |
|
|
1531
1531
|
| ------ | ------ | ------ | ------ |
|
|
1532
|
-
| <a id="attester-1"></a> `attester?` | `` `0x${string}` `` | Filter by attester address | [sdk/eas/src/schema.ts:159](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1533
|
-
| <a id="limit"></a> `limit?` | `number` | Maximum number of attestations to return | [sdk/eas/src/schema.ts:153](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1534
|
-
| <a id="offset"></a> `offset?` | `number` | Number of attestations to skip | [sdk/eas/src/schema.ts:155](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1535
|
-
| <a id="recipient-2"></a> `recipient?` | `` `0x${string}` `` | Filter by recipient address | [sdk/eas/src/schema.ts:161](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1536
|
-
| <a id="schema-2"></a> `schema?` | `` `0x${string}` `` | Filter by schema UID | [sdk/eas/src/schema.ts:157](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1532
|
+
| <a id="attester-1"></a> `attester?` | `` `0x${string}` `` | Filter by attester address | [sdk/eas/src/schema.ts:159](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L159) |
|
|
1533
|
+
| <a id="limit"></a> `limit?` | `number` | Maximum number of attestations to return | [sdk/eas/src/schema.ts:153](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L153) |
|
|
1534
|
+
| <a id="offset"></a> `offset?` | `number` | Number of attestations to skip | [sdk/eas/src/schema.ts:155](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L155) |
|
|
1535
|
+
| <a id="recipient-2"></a> `recipient?` | `` `0x${string}` `` | Filter by recipient address | [sdk/eas/src/schema.ts:161](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L161) |
|
|
1536
|
+
| <a id="schema-2"></a> `schema?` | `` `0x${string}` `` | Filter by schema UID | [sdk/eas/src/schema.ts:157](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L157) |
|
|
1537
1537
|
|
|
1538
1538
|
***
|
|
1539
1539
|
|
|
1540
1540
|
#### GetSchemasOptions
|
|
1541
1541
|
|
|
1542
|
-
Defined in: [sdk/eas/src/schema.ts:141](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1542
|
+
Defined in: [sdk/eas/src/schema.ts:141](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L141)
|
|
1543
1543
|
|
|
1544
1544
|
Options for retrieving schemas
|
|
1545
1545
|
|
|
@@ -1547,14 +1547,14 @@ Options for retrieving schemas
|
|
|
1547
1547
|
|
|
1548
1548
|
| Property | Type | Description | Defined in |
|
|
1549
1549
|
| ------ | ------ | ------ | ------ |
|
|
1550
|
-
| <a id="limit-1"></a> `limit?` | `number` | Maximum number of schemas to return | [sdk/eas/src/schema.ts:143](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1551
|
-
| <a id="offset-1"></a> `offset?` | `number` | Number of schemas to skip | [sdk/eas/src/schema.ts:145](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1550
|
+
| <a id="limit-1"></a> `limit?` | `number` | Maximum number of schemas to return | [sdk/eas/src/schema.ts:143](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L143) |
|
|
1551
|
+
| <a id="offset-1"></a> `offset?` | `number` | Number of schemas to skip | [sdk/eas/src/schema.ts:145](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L145) |
|
|
1552
1552
|
|
|
1553
1553
|
***
|
|
1554
1554
|
|
|
1555
1555
|
#### SchemaData
|
|
1556
1556
|
|
|
1557
|
-
Defined in: [sdk/eas/src/schema.ts:101](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1557
|
+
Defined in: [sdk/eas/src/schema.ts:101](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L101)
|
|
1558
1558
|
|
|
1559
1559
|
Schema information
|
|
1560
1560
|
|
|
@@ -1562,16 +1562,16 @@ Schema information
|
|
|
1562
1562
|
|
|
1563
1563
|
| Property | Type | Description | Defined in |
|
|
1564
1564
|
| ------ | ------ | ------ | ------ |
|
|
1565
|
-
| <a id="resolver"></a> `resolver` | `` `0x${string}` `` | Resolver contract address | [sdk/eas/src/schema.ts:105](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1566
|
-
| <a id="revocable-2"></a> `revocable` | `boolean` | Whether attestations can be revoked | [sdk/eas/src/schema.ts:107](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1567
|
-
| <a id="schema-3"></a> `schema` | `string` | Schema string | [sdk/eas/src/schema.ts:109](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1568
|
-
| <a id="uid-1"></a> `uid` | `` `0x${string}` `` | Schema UID | [sdk/eas/src/schema.ts:103](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1565
|
+
| <a id="resolver"></a> `resolver` | `` `0x${string}` `` | Resolver contract address | [sdk/eas/src/schema.ts:105](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L105) |
|
|
1566
|
+
| <a id="revocable-2"></a> `revocable` | `boolean` | Whether attestations can be revoked | [sdk/eas/src/schema.ts:107](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L107) |
|
|
1567
|
+
| <a id="schema-3"></a> `schema` | `string` | Schema string | [sdk/eas/src/schema.ts:109](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L109) |
|
|
1568
|
+
| <a id="uid-1"></a> `uid` | `` `0x${string}` `` | Schema UID | [sdk/eas/src/schema.ts:103](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L103) |
|
|
1569
1569
|
|
|
1570
1570
|
***
|
|
1571
1571
|
|
|
1572
1572
|
#### SchemaField
|
|
1573
1573
|
|
|
1574
|
-
Defined in: [sdk/eas/src/schema.ts:32](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1574
|
+
Defined in: [sdk/eas/src/schema.ts:32](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L32)
|
|
1575
1575
|
|
|
1576
1576
|
Represents a single field in an EAS schema.
|
|
1577
1577
|
|
|
@@ -1579,15 +1579,15 @@ Represents a single field in an EAS schema.
|
|
|
1579
1579
|
|
|
1580
1580
|
| Property | Type | Description | Defined in |
|
|
1581
1581
|
| ------ | ------ | ------ | ------ |
|
|
1582
|
-
| <a id="description"></a> `description?` | `string` | Optional description of the field's purpose | [sdk/eas/src/schema.ts:38](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1583
|
-
| <a id="name"></a> `name` | `string` | The name of the field | [sdk/eas/src/schema.ts:34](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1584
|
-
| <a id="type"></a> `type` | `"string"` \| `"address"` \| `"bool"` \| `"bytes"` \| `"bytes32"` \| `"uint256"` \| `"int256"` \| `"uint8"` \| `"int8"` | The Solidity type of the field | [sdk/eas/src/schema.ts:36](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1582
|
+
| <a id="description"></a> `description?` | `string` | Optional description of the field's purpose | [sdk/eas/src/schema.ts:38](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L38) |
|
|
1583
|
+
| <a id="name"></a> `name` | `string` | The name of the field | [sdk/eas/src/schema.ts:34](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L34) |
|
|
1584
|
+
| <a id="type"></a> `type` | `"string"` \| `"address"` \| `"bool"` \| `"bytes"` \| `"bytes32"` \| `"uint256"` \| `"int256"` \| `"uint8"` \| `"int8"` | The Solidity type of the field | [sdk/eas/src/schema.ts:36](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L36) |
|
|
1585
1585
|
|
|
1586
1586
|
***
|
|
1587
1587
|
|
|
1588
1588
|
#### SchemaRequest
|
|
1589
1589
|
|
|
1590
|
-
Defined in: [sdk/eas/src/schema.ts:49](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1590
|
+
Defined in: [sdk/eas/src/schema.ts:49](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L49)
|
|
1591
1591
|
|
|
1592
1592
|
Schema registration request
|
|
1593
1593
|
|
|
@@ -1595,16 +1595,16 @@ Schema registration request
|
|
|
1595
1595
|
|
|
1596
1596
|
| Property | Type | Description | Defined in |
|
|
1597
1597
|
| ------ | ------ | ------ | ------ |
|
|
1598
|
-
| <a id="fields"></a> `fields?` | [`SchemaField`](#schemafield)[] | Schema fields (alternative to schema string) | [sdk/eas/src/schema.ts:51](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1599
|
-
| <a id="resolver-1"></a> `resolver` | `` `0x${string}` `` | Resolver contract address (use ZERO_ADDRESS for no resolver) | [sdk/eas/src/schema.ts:55](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1600
|
-
| <a id="revocable-3"></a> `revocable` | `boolean` | Whether attestations using this schema can be revoked | [sdk/eas/src/schema.ts:57](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1601
|
-
| <a id="schema-4"></a> `schema?` | `string` | Raw schema string (alternative to fields) | [sdk/eas/src/schema.ts:53](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1598
|
+
| <a id="fields"></a> `fields?` | [`SchemaField`](#schemafield)[] | Schema fields (alternative to schema string) | [sdk/eas/src/schema.ts:51](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L51) |
|
|
1599
|
+
| <a id="resolver-1"></a> `resolver` | `` `0x${string}` `` | Resolver contract address (use ZERO_ADDRESS for no resolver) | [sdk/eas/src/schema.ts:55](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L55) |
|
|
1600
|
+
| <a id="revocable-3"></a> `revocable` | `boolean` | Whether attestations using this schema can be revoked | [sdk/eas/src/schema.ts:57](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L57) |
|
|
1601
|
+
| <a id="schema-4"></a> `schema?` | `string` | Raw schema string (alternative to fields) | [sdk/eas/src/schema.ts:53](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L53) |
|
|
1602
1602
|
|
|
1603
1603
|
***
|
|
1604
1604
|
|
|
1605
1605
|
#### TransactionResult
|
|
1606
1606
|
|
|
1607
|
-
Defined in: [sdk/eas/src/schema.ts:91](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1607
|
+
Defined in: [sdk/eas/src/schema.ts:91](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L91)
|
|
1608
1608
|
|
|
1609
1609
|
Transaction result
|
|
1610
1610
|
|
|
@@ -1612,8 +1612,8 @@ Transaction result
|
|
|
1612
1612
|
|
|
1613
1613
|
| Property | Type | Description | Defined in |
|
|
1614
1614
|
| ------ | ------ | ------ | ------ |
|
|
1615
|
-
| <a id="hash"></a> `hash` | `` `0x${string}` `` | Transaction hash | [sdk/eas/src/schema.ts:93](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1616
|
-
| <a id="success"></a> `success` | `boolean` | Whether the transaction was successful | [sdk/eas/src/schema.ts:95](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1615
|
+
| <a id="hash"></a> `hash` | `` `0x${string}` `` | Transaction hash | [sdk/eas/src/schema.ts:93](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L93) |
|
|
1616
|
+
| <a id="success"></a> `success` | `boolean` | Whether the transaction was successful | [sdk/eas/src/schema.ts:95](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L95) |
|
|
1617
1617
|
|
|
1618
1618
|
### Type Aliases
|
|
1619
1619
|
|
|
@@ -1621,7 +1621,7 @@ Transaction result
|
|
|
1621
1621
|
|
|
1622
1622
|
> **EASClientOptions** = `object`
|
|
1623
1623
|
|
|
1624
|
-
Defined in: [sdk/eas/src/schema.ts:44](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1624
|
+
Defined in: [sdk/eas/src/schema.ts:44](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L44)
|
|
1625
1625
|
|
|
1626
1626
|
Configuration options for the EAS client
|
|
1627
1627
|
|
|
@@ -1629,11 +1629,11 @@ Configuration options for the EAS client
|
|
|
1629
1629
|
|
|
1630
1630
|
| Name | Type | Default value | Description | Defined in |
|
|
1631
1631
|
| ------ | ------ | ------ | ------ | ------ |
|
|
1632
|
-
| <a id="accesstoken"></a> `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1633
|
-
| <a id="debug"></a> `debug?` | `boolean` | - | Whether to enable debug mode | [sdk/eas/src/utils/validation.ts:33](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1634
|
-
| <a id="eascontractaddress"></a> `easContractAddress?` | `` `0x${string}` `` | - | The EAS contract address | [sdk/eas/src/utils/validation.ts:25](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1635
|
-
| <a id="instance"></a> `instance` | `string` | `UrlSchema` | The EAS instance URL | [sdk/eas/src/utils/validation.ts:17](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1636
|
-
| <a id="schemaregistrycontractaddress"></a> `schemaRegistryContractAddress?` | `` `0x${string}` `` | - | The schema registry contract address | [sdk/eas/src/utils/validation.ts:29](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1632
|
+
| <a id="accesstoken"></a> `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L21) |
|
|
1633
|
+
| <a id="debug"></a> `debug?` | `boolean` | - | Whether to enable debug mode | [sdk/eas/src/utils/validation.ts:33](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L33) |
|
|
1634
|
+
| <a id="eascontractaddress"></a> `easContractAddress?` | `` `0x${string}` `` | - | The EAS contract address | [sdk/eas/src/utils/validation.ts:25](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L25) |
|
|
1635
|
+
| <a id="instance"></a> `instance` | `string` | `UrlSchema` | The EAS instance URL | [sdk/eas/src/utils/validation.ts:17](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L17) |
|
|
1636
|
+
| <a id="schemaregistrycontractaddress"></a> `schemaRegistryContractAddress?` | `` `0x${string}` `` | - | The schema registry contract address | [sdk/eas/src/utils/validation.ts:29](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L29) |
|
|
1637
1637
|
|
|
1638
1638
|
### Variables
|
|
1639
1639
|
|
|
@@ -1641,7 +1641,7 @@ Configuration options for the EAS client
|
|
|
1641
1641
|
|
|
1642
1642
|
> `const` **EAS\_FIELD\_TYPES**: `object`
|
|
1643
1643
|
|
|
1644
|
-
Defined in: [sdk/eas/src/schema.ts:15](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1644
|
+
Defined in: [sdk/eas/src/schema.ts:15](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L15)
|
|
1645
1645
|
|
|
1646
1646
|
Supported field types for EAS schema fields.
|
|
1647
1647
|
Maps to the Solidity types that can be used in EAS schemas.
|
|
@@ -1650,15 +1650,15 @@ Maps to the Solidity types that can be used in EAS schemas.
|
|
|
1650
1650
|
|
|
1651
1651
|
| Name | Type | Default value | Defined in |
|
|
1652
1652
|
| ------ | ------ | ------ | ------ |
|
|
1653
|
-
| <a id="address"></a> `address` | `"address"` | `"address"` | [sdk/eas/src/schema.ts:17](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1654
|
-
| <a id="bool"></a> `bool` | `"bool"` | `"bool"` | [sdk/eas/src/schema.ts:18](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1655
|
-
| <a id="bytes"></a> `bytes` | `"bytes"` | `"bytes"` | [sdk/eas/src/schema.ts:19](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1656
|
-
| <a id="bytes32"></a> `bytes32` | `"bytes32"` | `"bytes32"` | [sdk/eas/src/schema.ts:20](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1657
|
-
| <a id="int256"></a> `int256` | `"int256"` | `"int256"` | [sdk/eas/src/schema.ts:22](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1658
|
-
| <a id="int8"></a> `int8` | `"int8"` | `"int8"` | [sdk/eas/src/schema.ts:24](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1659
|
-
| <a id="string"></a> `string` | `"string"` | `"string"` | [sdk/eas/src/schema.ts:16](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1660
|
-
| <a id="uint256"></a> `uint256` | `"uint256"` | `"uint256"` | [sdk/eas/src/schema.ts:21](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1661
|
-
| <a id="uint8"></a> `uint8` | `"uint8"` | `"uint8"` | [sdk/eas/src/schema.ts:23](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1653
|
+
| <a id="address"></a> `address` | `"address"` | `"address"` | [sdk/eas/src/schema.ts:17](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L17) |
|
|
1654
|
+
| <a id="bool"></a> `bool` | `"bool"` | `"bool"` | [sdk/eas/src/schema.ts:18](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L18) |
|
|
1655
|
+
| <a id="bytes"></a> `bytes` | `"bytes"` | `"bytes"` | [sdk/eas/src/schema.ts:19](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L19) |
|
|
1656
|
+
| <a id="bytes32"></a> `bytes32` | `"bytes32"` | `"bytes32"` | [sdk/eas/src/schema.ts:20](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L20) |
|
|
1657
|
+
| <a id="int256"></a> `int256` | `"int256"` | `"int256"` | [sdk/eas/src/schema.ts:22](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L22) |
|
|
1658
|
+
| <a id="int8"></a> `int8` | `"int8"` | `"int8"` | [sdk/eas/src/schema.ts:24](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L24) |
|
|
1659
|
+
| <a id="string"></a> `string` | `"string"` | `"string"` | [sdk/eas/src/schema.ts:16](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L16) |
|
|
1660
|
+
| <a id="uint256"></a> `uint256` | `"uint256"` | `"uint256"` | [sdk/eas/src/schema.ts:21](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L21) |
|
|
1661
|
+
| <a id="uint8"></a> `uint8` | `"uint8"` | `"uint8"` | [sdk/eas/src/schema.ts:23](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L23) |
|
|
1662
1662
|
|
|
1663
1663
|
***
|
|
1664
1664
|
|
|
@@ -1666,7 +1666,7 @@ Maps to the Solidity types that can be used in EAS schemas.
|
|
|
1666
1666
|
|
|
1667
1667
|
> `const` **EASClientOptionsSchema**: `ZodObject`\<[`EASClientOptions`](#easclientoptions)\>
|
|
1668
1668
|
|
|
1669
|
-
Defined in: [sdk/eas/src/utils/validation.ts:13](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1669
|
+
Defined in: [sdk/eas/src/utils/validation.ts:13](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/utils/validation.ts#L13)
|
|
1670
1670
|
|
|
1671
1671
|
Zod schema for EASClientOptions.
|
|
1672
1672
|
|
|
@@ -1676,7 +1676,7 @@ Zod schema for EASClientOptions.
|
|
|
1676
1676
|
|
|
1677
1677
|
> `const` **ZERO\_ADDRESS**: `"0x0000000000000000000000000000000000000000"` = `zeroAddress`
|
|
1678
1678
|
|
|
1679
|
-
Defined in: [sdk/eas/src/schema.ts:8](https://github.com/settlemint/sdk/blob/v2.6.
|
|
1679
|
+
Defined in: [sdk/eas/src/schema.ts:8](https://github.com/settlemint/sdk/blob/v2.6.3/sdk/eas/src/schema.ts#L8)
|
|
1680
1680
|
|
|
1681
1681
|
Common address constants
|
|
1682
1682
|
|
package/dist/browser/eas.d.ts
CHANGED
package/dist/eas.d.cts
CHANGED
package/dist/eas.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/sdk-eas",
|
|
3
3
|
"description": "Ethereum Attestation Service (EAS) integration for SettleMint SDK",
|
|
4
|
-
"version": "2.6.
|
|
4
|
+
"version": "2.6.3-pr2085fb82",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsdown",
|
|
44
|
-
"dev": "tsdown --watch",
|
|
44
|
+
"dev": "tsdown --watch ./src",
|
|
45
45
|
"publint": "publint run --strict",
|
|
46
46
|
"attw": "attw --pack .",
|
|
47
47
|
"typecheck": "tsc --noEmit",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@settlemint/sdk-portal": "2.6.
|
|
56
|
-
"@settlemint/sdk-utils": "2.6.
|
|
55
|
+
"@settlemint/sdk-portal": "2.6.3-pr2085fb82",
|
|
56
|
+
"@settlemint/sdk-utils": "2.6.3-pr2085fb82",
|
|
57
57
|
"gql.tada": "^1",
|
|
58
58
|
"viem": "^2",
|
|
59
59
|
"zod": "^4"
|