@settlemint/sdk-eas 2.5.4 → 2.5.5
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/package.json +3 -3
package/README.md
CHANGED
|
@@ -471,7 +471,7 @@ export { runEASWorkflow, type UserReputationSchema };
|
|
|
471
471
|
|
|
472
472
|
> **createEASClient**(`options`): [`EASClient`](#easclient)
|
|
473
473
|
|
|
474
|
-
Defined in: [sdk/eas/src/eas.ts:632](https://github.com/settlemint/sdk/blob/v2.5.
|
|
474
|
+
Defined in: [sdk/eas/src/eas.ts:632](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L632)
|
|
475
475
|
|
|
476
476
|
Create an EAS client instance
|
|
477
477
|
|
|
@@ -510,7 +510,7 @@ const deployment = await easClient.deploy("0x1234...deployer-address");
|
|
|
510
510
|
|
|
511
511
|
#### EASClient
|
|
512
512
|
|
|
513
|
-
Defined in: [sdk/eas/src/eas.ts:44](https://github.com/settlemint/sdk/blob/v2.5.
|
|
513
|
+
Defined in: [sdk/eas/src/eas.ts:44](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L44)
|
|
514
514
|
|
|
515
515
|
Main EAS client class for interacting with Ethereum Attestation Service via Portal
|
|
516
516
|
|
|
@@ -535,7 +535,7 @@ console.log("EAS deployed at:", deployment.easAddress);
|
|
|
535
535
|
|
|
536
536
|
> **new EASClient**(`options`): [`EASClient`](#easclient)
|
|
537
537
|
|
|
538
|
-
Defined in: [sdk/eas/src/eas.ts:55](https://github.com/settlemint/sdk/blob/v2.5.
|
|
538
|
+
Defined in: [sdk/eas/src/eas.ts:55](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L55)
|
|
539
539
|
|
|
540
540
|
Create a new EAS client instance
|
|
541
541
|
|
|
@@ -560,7 +560,7 @@ Create a new EAS client instance
|
|
|
560
560
|
|
|
561
561
|
> **attest**(`request`, `fromAddress`, `gasLimit?`): `Promise`\<[`TransactionResult`](#transactionresult)\>
|
|
562
562
|
|
|
563
|
-
Defined in: [sdk/eas/src/eas.ts:295](https://github.com/settlemint/sdk/blob/v2.5.
|
|
563
|
+
Defined in: [sdk/eas/src/eas.ts:295](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L295)
|
|
564
564
|
|
|
565
565
|
Create an attestation
|
|
566
566
|
|
|
@@ -610,7 +610,7 @@ console.log("Attestation created:", attestationResult.hash);
|
|
|
610
610
|
|
|
611
611
|
> **deploy**(`deployerAddress`, `forwarderAddress?`, `gasLimit?`): `Promise`\<[`DeploymentResult`](#deploymentresult)\>
|
|
612
612
|
|
|
613
|
-
Defined in: [sdk/eas/src/eas.ts:106](https://github.com/settlemint/sdk/blob/v2.5.
|
|
613
|
+
Defined in: [sdk/eas/src/eas.ts:106](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L106)
|
|
614
614
|
|
|
615
615
|
Deploy EAS contracts via Portal
|
|
616
616
|
|
|
@@ -652,7 +652,7 @@ console.log("EAS Contract:", deployment.easAddress);
|
|
|
652
652
|
|
|
653
653
|
> **getAttestation**(`uid`): `Promise`\<[`AttestationInfo`](#attestationinfo)\>
|
|
654
654
|
|
|
655
|
-
Defined in: [sdk/eas/src/eas.ts:528](https://github.com/settlemint/sdk/blob/v2.5.
|
|
655
|
+
Defined in: [sdk/eas/src/eas.ts:528](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L528)
|
|
656
656
|
|
|
657
657
|
Get an attestation by UID
|
|
658
658
|
|
|
@@ -672,7 +672,7 @@ TODO: Implement using The Graph subgraph for EAS data queries
|
|
|
672
672
|
|
|
673
673
|
> **getAttestations**(`_options?`): `Promise`\<[`AttestationInfo`](#attestationinfo)[]\>
|
|
674
674
|
|
|
675
|
-
Defined in: [sdk/eas/src/eas.ts:539](https://github.com/settlemint/sdk/blob/v2.5.
|
|
675
|
+
Defined in: [sdk/eas/src/eas.ts:539](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L539)
|
|
676
676
|
|
|
677
677
|
Get attestations with pagination and filtering
|
|
678
678
|
|
|
@@ -692,7 +692,7 @@ TODO: Implement using The Graph subgraph for EAS data queries
|
|
|
692
692
|
|
|
693
693
|
> **getContractAddresses**(): `object`
|
|
694
694
|
|
|
695
|
-
Defined in: [sdk/eas/src/eas.ts:578](https://github.com/settlemint/sdk/blob/v2.5.
|
|
695
|
+
Defined in: [sdk/eas/src/eas.ts:578](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L578)
|
|
696
696
|
|
|
697
697
|
Get current contract addresses
|
|
698
698
|
|
|
@@ -702,14 +702,14 @@ Get current contract addresses
|
|
|
702
702
|
|
|
703
703
|
| Name | Type | Defined in |
|
|
704
704
|
| ------ | ------ | ------ |
|
|
705
|
-
| `easAddress?` | `` `0x${string}` `` | [sdk/eas/src/eas.ts:578](https://github.com/settlemint/sdk/blob/v2.5.
|
|
706
|
-
| `schemaRegistryAddress?` | `` `0x${string}` `` | [sdk/eas/src/eas.ts:578](https://github.com/settlemint/sdk/blob/v2.5.
|
|
705
|
+
| `easAddress?` | `` `0x${string}` `` | [sdk/eas/src/eas.ts:578](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L578) |
|
|
706
|
+
| `schemaRegistryAddress?` | `` `0x${string}` `` | [sdk/eas/src/eas.ts:578](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L578) |
|
|
707
707
|
|
|
708
708
|
###### getOptions()
|
|
709
709
|
|
|
710
710
|
> **getOptions**(): `object`
|
|
711
711
|
|
|
712
|
-
Defined in: [sdk/eas/src/eas.ts:564](https://github.com/settlemint/sdk/blob/v2.5.
|
|
712
|
+
Defined in: [sdk/eas/src/eas.ts:564](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L564)
|
|
713
713
|
|
|
714
714
|
Get client configuration
|
|
715
715
|
|
|
@@ -717,17 +717,17 @@ Get client configuration
|
|
|
717
717
|
|
|
718
718
|
| Name | Type | Default value | Description | Defined in |
|
|
719
719
|
| ------ | ------ | ------ | ------ | ------ |
|
|
720
|
-
| `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.5.
|
|
721
|
-
| `debug?` | `boolean` | - | Whether to enable debug mode | [sdk/eas/src/utils/validation.ts:33](https://github.com/settlemint/sdk/blob/v2.5.
|
|
722
|
-
| `easContractAddress?` | `` `0x${string}` `` | - | The EAS contract address | [sdk/eas/src/utils/validation.ts:25](https://github.com/settlemint/sdk/blob/v2.5.
|
|
723
|
-
| `instance` | `string` | `UrlSchema` | The EAS instance URL | [sdk/eas/src/utils/validation.ts:17](https://github.com/settlemint/sdk/blob/v2.5.
|
|
724
|
-
| `schemaRegistryContractAddress?` | `` `0x${string}` `` | - | The schema registry contract address | [sdk/eas/src/utils/validation.ts:29](https://github.com/settlemint/sdk/blob/v2.5.
|
|
720
|
+
| `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/utils/validation.ts#L21) |
|
|
721
|
+
| `debug?` | `boolean` | - | Whether to enable debug mode | [sdk/eas/src/utils/validation.ts:33](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/utils/validation.ts#L33) |
|
|
722
|
+
| `easContractAddress?` | `` `0x${string}` `` | - | The EAS contract address | [sdk/eas/src/utils/validation.ts:25](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/utils/validation.ts#L25) |
|
|
723
|
+
| `instance` | `string` | `UrlSchema` | The EAS instance URL | [sdk/eas/src/utils/validation.ts:17](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/utils/validation.ts#L17) |
|
|
724
|
+
| `schemaRegistryContractAddress?` | `` `0x${string}` `` | - | The schema registry contract address | [sdk/eas/src/utils/validation.ts:29](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/utils/validation.ts#L29) |
|
|
725
725
|
|
|
726
726
|
###### getPortalClient()
|
|
727
727
|
|
|
728
728
|
> **getPortalClient**(): `GraphQLClient`
|
|
729
729
|
|
|
730
|
-
Defined in: [sdk/eas/src/eas.ts:571](https://github.com/settlemint/sdk/blob/v2.5.
|
|
730
|
+
Defined in: [sdk/eas/src/eas.ts:571](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L571)
|
|
731
731
|
|
|
732
732
|
Get the Portal client instance for advanced operations
|
|
733
733
|
|
|
@@ -739,7 +739,7 @@ Get the Portal client instance for advanced operations
|
|
|
739
739
|
|
|
740
740
|
> **getSchema**(`uid`): `Promise`\<[`SchemaData`](#schemadata)\>
|
|
741
741
|
|
|
742
|
-
Defined in: [sdk/eas/src/eas.ts:508](https://github.com/settlemint/sdk/blob/v2.5.
|
|
742
|
+
Defined in: [sdk/eas/src/eas.ts:508](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L508)
|
|
743
743
|
|
|
744
744
|
Get a schema by UID
|
|
745
745
|
|
|
@@ -759,7 +759,7 @@ TODO: Implement using The Graph subgraph for EAS data queries
|
|
|
759
759
|
|
|
760
760
|
> **getSchemas**(`_options?`): `Promise`\<[`SchemaData`](#schemadata)[]\>
|
|
761
761
|
|
|
762
|
-
Defined in: [sdk/eas/src/eas.ts:519](https://github.com/settlemint/sdk/blob/v2.5.
|
|
762
|
+
Defined in: [sdk/eas/src/eas.ts:519](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L519)
|
|
763
763
|
|
|
764
764
|
Get all schemas with pagination
|
|
765
765
|
|
|
@@ -779,7 +779,7 @@ TODO: Implement using The Graph subgraph for EAS data queries
|
|
|
779
779
|
|
|
780
780
|
> **getTimestamp**(): `Promise`\<`bigint`\>
|
|
781
781
|
|
|
782
|
-
Defined in: [sdk/eas/src/eas.ts:557](https://github.com/settlemint/sdk/blob/v2.5.
|
|
782
|
+
Defined in: [sdk/eas/src/eas.ts:557](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L557)
|
|
783
783
|
|
|
784
784
|
Get the current timestamp from the contract
|
|
785
785
|
|
|
@@ -793,7 +793,7 @@ TODO: Fix Portal GraphQL query parameter encoding or use The Graph subgraph
|
|
|
793
793
|
|
|
794
794
|
> **isValidAttestation**(`_uid`): `Promise`\<`boolean`\>
|
|
795
795
|
|
|
796
|
-
Defined in: [sdk/eas/src/eas.ts:548](https://github.com/settlemint/sdk/blob/v2.5.
|
|
796
|
+
Defined in: [sdk/eas/src/eas.ts:548](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L548)
|
|
797
797
|
|
|
798
798
|
Check if an attestation is valid
|
|
799
799
|
|
|
@@ -813,7 +813,7 @@ TODO: Implement using The Graph subgraph for EAS data queries
|
|
|
813
813
|
|
|
814
814
|
> **multiAttest**(`requests`, `fromAddress`, `gasLimit?`): `Promise`\<[`TransactionResult`](#transactionresult)\>
|
|
815
815
|
|
|
816
|
-
Defined in: [sdk/eas/src/eas.ts:386](https://github.com/settlemint/sdk/blob/v2.5.
|
|
816
|
+
Defined in: [sdk/eas/src/eas.ts:386](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L386)
|
|
817
817
|
|
|
818
818
|
Create multiple attestations in a single transaction
|
|
819
819
|
|
|
@@ -876,7 +876,7 @@ console.log("Multiple attestations created:", multiAttestResult.hash);
|
|
|
876
876
|
|
|
877
877
|
> **registerSchema**(`request`, `fromAddress`, `gasLimit?`): `Promise`\<[`TransactionResult`](#transactionresult)\>
|
|
878
878
|
|
|
879
|
-
Defined in: [sdk/eas/src/eas.ts:216](https://github.com/settlemint/sdk/blob/v2.5.
|
|
879
|
+
Defined in: [sdk/eas/src/eas.ts:216](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L216)
|
|
880
880
|
|
|
881
881
|
Register a new schema in the EAS Schema Registry
|
|
882
882
|
|
|
@@ -920,7 +920,7 @@ console.log("Schema registered:", schemaResult.hash);
|
|
|
920
920
|
|
|
921
921
|
> **revoke**(`schemaUID`, `attestationUID`, `fromAddress`, `value?`, `gasLimit?`): `Promise`\<[`TransactionResult`](#transactionresult)\>
|
|
922
922
|
|
|
923
|
-
Defined in: [sdk/eas/src/eas.ts:464](https://github.com/settlemint/sdk/blob/v2.5.
|
|
923
|
+
Defined in: [sdk/eas/src/eas.ts:464](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/eas.ts#L464)
|
|
924
924
|
|
|
925
925
|
Revoke an existing attestation
|
|
926
926
|
|
|
@@ -964,7 +964,7 @@ console.log("Attestation revoked:", revokeResult.hash);
|
|
|
964
964
|
|
|
965
965
|
#### AttestationData
|
|
966
966
|
|
|
967
|
-
Defined in: [sdk/eas/src/schema.ts:63](https://github.com/settlemint/sdk/blob/v2.5.
|
|
967
|
+
Defined in: [sdk/eas/src/schema.ts:63](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L63)
|
|
968
968
|
|
|
969
969
|
Attestation data structure
|
|
970
970
|
|
|
@@ -972,18 +972,18 @@ Attestation data structure
|
|
|
972
972
|
|
|
973
973
|
| Property | Type | Description | Defined in |
|
|
974
974
|
| ------ | ------ | ------ | ------ |
|
|
975
|
-
| <a id="data"></a> `data` | `` `0x${string}` `` | Encoded attestation data | [sdk/eas/src/schema.ts:73](https://github.com/settlemint/sdk/blob/v2.5.
|
|
976
|
-
| <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.5.
|
|
977
|
-
| <a id="recipient"></a> `recipient` | `` `0x${string}` `` | Recipient of the attestation | [sdk/eas/src/schema.ts:65](https://github.com/settlemint/sdk/blob/v2.5.
|
|
978
|
-
| <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.5.
|
|
979
|
-
| <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.5.
|
|
980
|
-
| <a id="value"></a> `value` | `bigint` | Value sent with the attestation | [sdk/eas/src/schema.ts:75](https://github.com/settlemint/sdk/blob/v2.5.
|
|
975
|
+
| <a id="data"></a> `data` | `` `0x${string}` `` | Encoded attestation data | [sdk/eas/src/schema.ts:73](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L73) |
|
|
976
|
+
| <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.5.5/sdk/eas/src/schema.ts#L67) |
|
|
977
|
+
| <a id="recipient"></a> `recipient` | `` `0x${string}` `` | Recipient of the attestation | [sdk/eas/src/schema.ts:65](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L65) |
|
|
978
|
+
| <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.5.5/sdk/eas/src/schema.ts#L71) |
|
|
979
|
+
| <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.5.5/sdk/eas/src/schema.ts#L69) |
|
|
980
|
+
| <a id="value"></a> `value` | `bigint` | Value sent with the attestation | [sdk/eas/src/schema.ts:75](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L75) |
|
|
981
981
|
|
|
982
982
|
***
|
|
983
983
|
|
|
984
984
|
#### AttestationInfo
|
|
985
985
|
|
|
986
|
-
Defined in: [sdk/eas/src/schema.ts:115](https://github.com/settlemint/sdk/blob/v2.5.
|
|
986
|
+
Defined in: [sdk/eas/src/schema.ts:115](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L115)
|
|
987
987
|
|
|
988
988
|
Attestation information
|
|
989
989
|
|
|
@@ -991,22 +991,22 @@ Attestation information
|
|
|
991
991
|
|
|
992
992
|
| Property | Type | Description | Defined in |
|
|
993
993
|
| ------ | ------ | ------ | ------ |
|
|
994
|
-
| <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.5.
|
|
995
|
-
| <a id="data-1"></a> `data` | `` `0x${string}` `` | Encoded attestation data | [sdk/eas/src/schema.ts:133](https://github.com/settlemint/sdk/blob/v2.5.
|
|
996
|
-
| <a id="expirationtime-1"></a> `expirationTime` | `bigint` | Expiration timestamp | [sdk/eas/src/schema.ts:127](https://github.com/settlemint/sdk/blob/v2.5.
|
|
997
|
-
| <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.5.
|
|
998
|
-
| <a id="refuid-1"></a> `refUID` | `` `0x${string}` `` | Reference UID | [sdk/eas/src/schema.ts:131](https://github.com/settlemint/sdk/blob/v2.5.
|
|
999
|
-
| <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.5.
|
|
1000
|
-
| <a id="schema"></a> `schema` | `` `0x${string}` `` | Schema UID | [sdk/eas/src/schema.ts:119](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1001
|
-
| <a id="time"></a> `time` | `bigint` | Creation timestamp | [sdk/eas/src/schema.ts:125](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1002
|
-
| <a id="uid"></a> `uid` | `` `0x${string}` `` | Attestation UID | [sdk/eas/src/schema.ts:117](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1003
|
-
| <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.5.
|
|
994
|
+
| <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.5.5/sdk/eas/src/schema.ts#L121) |
|
|
995
|
+
| <a id="data-1"></a> `data` | `` `0x${string}` `` | Encoded attestation data | [sdk/eas/src/schema.ts:133](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L133) |
|
|
996
|
+
| <a id="expirationtime-1"></a> `expirationTime` | `bigint` | Expiration timestamp | [sdk/eas/src/schema.ts:127](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L127) |
|
|
997
|
+
| <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.5.5/sdk/eas/src/schema.ts#L123) |
|
|
998
|
+
| <a id="refuid-1"></a> `refUID` | `` `0x${string}` `` | Reference UID | [sdk/eas/src/schema.ts:131](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L131) |
|
|
999
|
+
| <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.5.5/sdk/eas/src/schema.ts#L129) |
|
|
1000
|
+
| <a id="schema"></a> `schema` | `` `0x${string}` `` | Schema UID | [sdk/eas/src/schema.ts:119](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L119) |
|
|
1001
|
+
| <a id="time"></a> `time` | `bigint` | Creation timestamp | [sdk/eas/src/schema.ts:125](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L125) |
|
|
1002
|
+
| <a id="uid"></a> `uid` | `` `0x${string}` `` | Attestation UID | [sdk/eas/src/schema.ts:117](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L117) |
|
|
1003
|
+
| <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.5.5/sdk/eas/src/schema.ts#L135) |
|
|
1004
1004
|
|
|
1005
1005
|
***
|
|
1006
1006
|
|
|
1007
1007
|
#### AttestationRequest
|
|
1008
1008
|
|
|
1009
|
-
Defined in: [sdk/eas/src/schema.ts:81](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1009
|
+
Defined in: [sdk/eas/src/schema.ts:81](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L81)
|
|
1010
1010
|
|
|
1011
1011
|
Attestation request
|
|
1012
1012
|
|
|
@@ -1014,14 +1014,14 @@ Attestation request
|
|
|
1014
1014
|
|
|
1015
1015
|
| Property | Type | Description | Defined in |
|
|
1016
1016
|
| ------ | ------ | ------ | ------ |
|
|
1017
|
-
| <a id="data-2"></a> `data` | [`AttestationData`](#attestationdata) | Attestation data | [sdk/eas/src/schema.ts:85](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1018
|
-
| <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.5.
|
|
1017
|
+
| <a id="data-2"></a> `data` | [`AttestationData`](#attestationdata) | Attestation data | [sdk/eas/src/schema.ts:85](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L85) |
|
|
1018
|
+
| <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.5.5/sdk/eas/src/schema.ts#L83) |
|
|
1019
1019
|
|
|
1020
1020
|
***
|
|
1021
1021
|
|
|
1022
1022
|
#### DeploymentResult
|
|
1023
1023
|
|
|
1024
|
-
Defined in: [sdk/eas/src/schema.ts:167](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1024
|
+
Defined in: [sdk/eas/src/schema.ts:167](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L167)
|
|
1025
1025
|
|
|
1026
1026
|
Contract deployment result
|
|
1027
1027
|
|
|
@@ -1029,16 +1029,16 @@ Contract deployment result
|
|
|
1029
1029
|
|
|
1030
1030
|
| Property | Type | Description | Defined in |
|
|
1031
1031
|
| ------ | ------ | ------ | ------ |
|
|
1032
|
-
| <a id="easaddress"></a> `easAddress` | `` `0x${string}` `` | Deployed EAS contract address | [sdk/eas/src/schema.ts:169](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1033
|
-
| <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.5.
|
|
1034
|
-
| <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.5.
|
|
1035
|
-
| <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.5.
|
|
1032
|
+
| <a id="easaddress"></a> `easAddress` | `` `0x${string}` `` | Deployed EAS contract address | [sdk/eas/src/schema.ts:169](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L169) |
|
|
1033
|
+
| <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.5.5/sdk/eas/src/schema.ts#L173) |
|
|
1034
|
+
| <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.5.5/sdk/eas/src/schema.ts#L171) |
|
|
1035
|
+
| <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.5.5/sdk/eas/src/schema.ts#L175) |
|
|
1036
1036
|
|
|
1037
1037
|
***
|
|
1038
1038
|
|
|
1039
1039
|
#### GetAttestationsOptions
|
|
1040
1040
|
|
|
1041
|
-
Defined in: [sdk/eas/src/schema.ts:151](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1041
|
+
Defined in: [sdk/eas/src/schema.ts:151](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L151)
|
|
1042
1042
|
|
|
1043
1043
|
Options for retrieving attestations
|
|
1044
1044
|
|
|
@@ -1046,17 +1046,17 @@ Options for retrieving attestations
|
|
|
1046
1046
|
|
|
1047
1047
|
| Property | Type | Description | Defined in |
|
|
1048
1048
|
| ------ | ------ | ------ | ------ |
|
|
1049
|
-
| <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.5.
|
|
1050
|
-
| <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.5.
|
|
1051
|
-
| <a id="offset"></a> `offset?` | `number` | Number of attestations to skip | [sdk/eas/src/schema.ts:155](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1052
|
-
| <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.5.
|
|
1053
|
-
| <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.5.
|
|
1049
|
+
| <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.5.5/sdk/eas/src/schema.ts#L159) |
|
|
1050
|
+
| <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.5.5/sdk/eas/src/schema.ts#L153) |
|
|
1051
|
+
| <a id="offset"></a> `offset?` | `number` | Number of attestations to skip | [sdk/eas/src/schema.ts:155](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L155) |
|
|
1052
|
+
| <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.5.5/sdk/eas/src/schema.ts#L161) |
|
|
1053
|
+
| <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.5.5/sdk/eas/src/schema.ts#L157) |
|
|
1054
1054
|
|
|
1055
1055
|
***
|
|
1056
1056
|
|
|
1057
1057
|
#### GetSchemasOptions
|
|
1058
1058
|
|
|
1059
|
-
Defined in: [sdk/eas/src/schema.ts:141](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1059
|
+
Defined in: [sdk/eas/src/schema.ts:141](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L141)
|
|
1060
1060
|
|
|
1061
1061
|
Options for retrieving schemas
|
|
1062
1062
|
|
|
@@ -1064,14 +1064,14 @@ Options for retrieving schemas
|
|
|
1064
1064
|
|
|
1065
1065
|
| Property | Type | Description | Defined in |
|
|
1066
1066
|
| ------ | ------ | ------ | ------ |
|
|
1067
|
-
| <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.5.
|
|
1068
|
-
| <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.5.
|
|
1067
|
+
| <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.5.5/sdk/eas/src/schema.ts#L143) |
|
|
1068
|
+
| <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.5.5/sdk/eas/src/schema.ts#L145) |
|
|
1069
1069
|
|
|
1070
1070
|
***
|
|
1071
1071
|
|
|
1072
1072
|
#### SchemaData
|
|
1073
1073
|
|
|
1074
|
-
Defined in: [sdk/eas/src/schema.ts:101](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1074
|
+
Defined in: [sdk/eas/src/schema.ts:101](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L101)
|
|
1075
1075
|
|
|
1076
1076
|
Schema information
|
|
1077
1077
|
|
|
@@ -1079,16 +1079,16 @@ Schema information
|
|
|
1079
1079
|
|
|
1080
1080
|
| Property | Type | Description | Defined in |
|
|
1081
1081
|
| ------ | ------ | ------ | ------ |
|
|
1082
|
-
| <a id="resolver"></a> `resolver` | `` `0x${string}` `` | Resolver contract address | [sdk/eas/src/schema.ts:105](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1083
|
-
| <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.5.
|
|
1084
|
-
| <a id="schema-3"></a> `schema` | `string` | Schema string | [sdk/eas/src/schema.ts:109](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1085
|
-
| <a id="uid-1"></a> `uid` | `` `0x${string}` `` | Schema UID | [sdk/eas/src/schema.ts:103](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1082
|
+
| <a id="resolver"></a> `resolver` | `` `0x${string}` `` | Resolver contract address | [sdk/eas/src/schema.ts:105](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L105) |
|
|
1083
|
+
| <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.5.5/sdk/eas/src/schema.ts#L107) |
|
|
1084
|
+
| <a id="schema-3"></a> `schema` | `string` | Schema string | [sdk/eas/src/schema.ts:109](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L109) |
|
|
1085
|
+
| <a id="uid-1"></a> `uid` | `` `0x${string}` `` | Schema UID | [sdk/eas/src/schema.ts:103](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L103) |
|
|
1086
1086
|
|
|
1087
1087
|
***
|
|
1088
1088
|
|
|
1089
1089
|
#### SchemaField
|
|
1090
1090
|
|
|
1091
|
-
Defined in: [sdk/eas/src/schema.ts:32](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1091
|
+
Defined in: [sdk/eas/src/schema.ts:32](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L32)
|
|
1092
1092
|
|
|
1093
1093
|
Represents a single field in an EAS schema.
|
|
1094
1094
|
|
|
@@ -1096,15 +1096,15 @@ Represents a single field in an EAS schema.
|
|
|
1096
1096
|
|
|
1097
1097
|
| Property | Type | Description | Defined in |
|
|
1098
1098
|
| ------ | ------ | ------ | ------ |
|
|
1099
|
-
| <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.5.
|
|
1100
|
-
| <a id="name"></a> `name` | `string` | The name of the field | [sdk/eas/src/schema.ts:34](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1101
|
-
| <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.5.
|
|
1099
|
+
| <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.5.5/sdk/eas/src/schema.ts#L38) |
|
|
1100
|
+
| <a id="name"></a> `name` | `string` | The name of the field | [sdk/eas/src/schema.ts:34](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L34) |
|
|
1101
|
+
| <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.5.5/sdk/eas/src/schema.ts#L36) |
|
|
1102
1102
|
|
|
1103
1103
|
***
|
|
1104
1104
|
|
|
1105
1105
|
#### SchemaRequest
|
|
1106
1106
|
|
|
1107
|
-
Defined in: [sdk/eas/src/schema.ts:49](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1107
|
+
Defined in: [sdk/eas/src/schema.ts:49](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L49)
|
|
1108
1108
|
|
|
1109
1109
|
Schema registration request
|
|
1110
1110
|
|
|
@@ -1112,16 +1112,16 @@ Schema registration request
|
|
|
1112
1112
|
|
|
1113
1113
|
| Property | Type | Description | Defined in |
|
|
1114
1114
|
| ------ | ------ | ------ | ------ |
|
|
1115
|
-
| <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.5.
|
|
1116
|
-
| <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.5.
|
|
1117
|
-
| <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.5.
|
|
1118
|
-
| <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.5.
|
|
1115
|
+
| <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.5.5/sdk/eas/src/schema.ts#L51) |
|
|
1116
|
+
| <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.5.5/sdk/eas/src/schema.ts#L55) |
|
|
1117
|
+
| <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.5.5/sdk/eas/src/schema.ts#L57) |
|
|
1118
|
+
| <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.5.5/sdk/eas/src/schema.ts#L53) |
|
|
1119
1119
|
|
|
1120
1120
|
***
|
|
1121
1121
|
|
|
1122
1122
|
#### TransactionResult
|
|
1123
1123
|
|
|
1124
|
-
Defined in: [sdk/eas/src/schema.ts:91](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1124
|
+
Defined in: [sdk/eas/src/schema.ts:91](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L91)
|
|
1125
1125
|
|
|
1126
1126
|
Transaction result
|
|
1127
1127
|
|
|
@@ -1129,8 +1129,8 @@ Transaction result
|
|
|
1129
1129
|
|
|
1130
1130
|
| Property | Type | Description | Defined in |
|
|
1131
1131
|
| ------ | ------ | ------ | ------ |
|
|
1132
|
-
| <a id="hash"></a> `hash` | `` `0x${string}` `` | Transaction hash | [sdk/eas/src/schema.ts:93](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1133
|
-
| <a id="success"></a> `success` | `boolean` | Whether the transaction was successful | [sdk/eas/src/schema.ts:95](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1132
|
+
| <a id="hash"></a> `hash` | `` `0x${string}` `` | Transaction hash | [sdk/eas/src/schema.ts:93](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L93) |
|
|
1133
|
+
| <a id="success"></a> `success` | `boolean` | Whether the transaction was successful | [sdk/eas/src/schema.ts:95](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L95) |
|
|
1134
1134
|
|
|
1135
1135
|
### Type Aliases
|
|
1136
1136
|
|
|
@@ -1138,7 +1138,7 @@ Transaction result
|
|
|
1138
1138
|
|
|
1139
1139
|
> **EASClientOptions** = `object`
|
|
1140
1140
|
|
|
1141
|
-
Defined in: [sdk/eas/src/schema.ts:44](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1141
|
+
Defined in: [sdk/eas/src/schema.ts:44](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L44)
|
|
1142
1142
|
|
|
1143
1143
|
Configuration options for the EAS client
|
|
1144
1144
|
|
|
@@ -1146,11 +1146,11 @@ Configuration options for the EAS client
|
|
|
1146
1146
|
|
|
1147
1147
|
| Name | Type | Default value | Description | Defined in |
|
|
1148
1148
|
| ------ | ------ | ------ | ------ | ------ |
|
|
1149
|
-
| <a id="accesstoken"></a> `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1150
|
-
| <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.5.
|
|
1151
|
-
| <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.5.
|
|
1152
|
-
| <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.5.
|
|
1153
|
-
| <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.5.
|
|
1149
|
+
| <a id="accesstoken"></a> `accessToken?` | `string` | - | The application access token | [sdk/eas/src/utils/validation.ts:21](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/utils/validation.ts#L21) |
|
|
1150
|
+
| <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.5.5/sdk/eas/src/utils/validation.ts#L33) |
|
|
1151
|
+
| <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.5.5/sdk/eas/src/utils/validation.ts#L25) |
|
|
1152
|
+
| <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.5.5/sdk/eas/src/utils/validation.ts#L17) |
|
|
1153
|
+
| <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.5.5/sdk/eas/src/utils/validation.ts#L29) |
|
|
1154
1154
|
|
|
1155
1155
|
### Variables
|
|
1156
1156
|
|
|
@@ -1158,7 +1158,7 @@ Configuration options for the EAS client
|
|
|
1158
1158
|
|
|
1159
1159
|
> `const` **EAS\_FIELD\_TYPES**: `object`
|
|
1160
1160
|
|
|
1161
|
-
Defined in: [sdk/eas/src/schema.ts:15](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1161
|
+
Defined in: [sdk/eas/src/schema.ts:15](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L15)
|
|
1162
1162
|
|
|
1163
1163
|
Supported field types for EAS schema fields.
|
|
1164
1164
|
Maps to the Solidity types that can be used in EAS schemas.
|
|
@@ -1167,15 +1167,15 @@ Maps to the Solidity types that can be used in EAS schemas.
|
|
|
1167
1167
|
|
|
1168
1168
|
| Name | Type | Default value | Defined in |
|
|
1169
1169
|
| ------ | ------ | ------ | ------ |
|
|
1170
|
-
| <a id="address"></a> `address` | `"address"` | `"address"` | [sdk/eas/src/schema.ts:17](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1171
|
-
| <a id="bool"></a> `bool` | `"bool"` | `"bool"` | [sdk/eas/src/schema.ts:18](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1172
|
-
| <a id="bytes"></a> `bytes` | `"bytes"` | `"bytes"` | [sdk/eas/src/schema.ts:19](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1173
|
-
| <a id="bytes32"></a> `bytes32` | `"bytes32"` | `"bytes32"` | [sdk/eas/src/schema.ts:20](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1174
|
-
| <a id="int256"></a> `int256` | `"int256"` | `"int256"` | [sdk/eas/src/schema.ts:22](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1175
|
-
| <a id="int8"></a> `int8` | `"int8"` | `"int8"` | [sdk/eas/src/schema.ts:24](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1176
|
-
| <a id="string"></a> `string` | `"string"` | `"string"` | [sdk/eas/src/schema.ts:16](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1177
|
-
| <a id="uint256"></a> `uint256` | `"uint256"` | `"uint256"` | [sdk/eas/src/schema.ts:21](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1178
|
-
| <a id="uint8"></a> `uint8` | `"uint8"` | `"uint8"` | [sdk/eas/src/schema.ts:23](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1170
|
+
| <a id="address"></a> `address` | `"address"` | `"address"` | [sdk/eas/src/schema.ts:17](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L17) |
|
|
1171
|
+
| <a id="bool"></a> `bool` | `"bool"` | `"bool"` | [sdk/eas/src/schema.ts:18](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L18) |
|
|
1172
|
+
| <a id="bytes"></a> `bytes` | `"bytes"` | `"bytes"` | [sdk/eas/src/schema.ts:19](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L19) |
|
|
1173
|
+
| <a id="bytes32"></a> `bytes32` | `"bytes32"` | `"bytes32"` | [sdk/eas/src/schema.ts:20](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L20) |
|
|
1174
|
+
| <a id="int256"></a> `int256` | `"int256"` | `"int256"` | [sdk/eas/src/schema.ts:22](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L22) |
|
|
1175
|
+
| <a id="int8"></a> `int8` | `"int8"` | `"int8"` | [sdk/eas/src/schema.ts:24](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L24) |
|
|
1176
|
+
| <a id="string"></a> `string` | `"string"` | `"string"` | [sdk/eas/src/schema.ts:16](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L16) |
|
|
1177
|
+
| <a id="uint256"></a> `uint256` | `"uint256"` | `"uint256"` | [sdk/eas/src/schema.ts:21](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L21) |
|
|
1178
|
+
| <a id="uint8"></a> `uint8` | `"uint8"` | `"uint8"` | [sdk/eas/src/schema.ts:23](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L23) |
|
|
1179
1179
|
|
|
1180
1180
|
***
|
|
1181
1181
|
|
|
@@ -1183,7 +1183,7 @@ Maps to the Solidity types that can be used in EAS schemas.
|
|
|
1183
1183
|
|
|
1184
1184
|
> `const` **EASClientOptionsSchema**: `ZodObject`\<[`EASClientOptions`](#easclientoptions)\>
|
|
1185
1185
|
|
|
1186
|
-
Defined in: [sdk/eas/src/utils/validation.ts:13](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1186
|
+
Defined in: [sdk/eas/src/utils/validation.ts:13](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/utils/validation.ts#L13)
|
|
1187
1187
|
|
|
1188
1188
|
Zod schema for EASClientOptions.
|
|
1189
1189
|
|
|
@@ -1193,7 +1193,7 @@ Zod schema for EASClientOptions.
|
|
|
1193
1193
|
|
|
1194
1194
|
> `const` **ZERO\_ADDRESS**: `"0x0000000000000000000000000000000000000000"` = `zeroAddress`
|
|
1195
1195
|
|
|
1196
|
-
Defined in: [sdk/eas/src/schema.ts:8](https://github.com/settlemint/sdk/blob/v2.5.
|
|
1196
|
+
Defined in: [sdk/eas/src/schema.ts:8](https://github.com/settlemint/sdk/blob/v2.5.5/sdk/eas/src/schema.ts#L8)
|
|
1197
1197
|
|
|
1198
1198
|
Common address constants
|
|
1199
1199
|
|
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.5.
|
|
4
|
+
"version": "2.5.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@settlemint/sdk-portal": "2.5.
|
|
56
|
-
"@settlemint/sdk-utils": "2.5.
|
|
55
|
+
"@settlemint/sdk-portal": "2.5.5",
|
|
56
|
+
"@settlemint/sdk-utils": "2.5.5",
|
|
57
57
|
"gql.tada": "^1",
|
|
58
58
|
"viem": "^2",
|
|
59
59
|
"zod": "^4"
|