onchainid.getIdentity(GetIdentity)
Fetch the ONCHAINID identity contract address associated with a given EOA (Externally Owned Account). This is a read-only query against the ID Factory; no transaction is sent.
GetIdentity Type Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| subject | string | Required | EOA to check for an associated ONCHAINID identity. |
Returns
| Field | Type | Description |
|---|---|---|
| status | found or not_found | 'found' when an identity is associated with the EOA, otherwise 'not_found'. |
| identity | string | The identity address when found. Only present when status is 'found'. |

