IIdentity

Description

An identity object that is used to uniquely identify a stakeholder in a request. Today, a stakeholder's IIdentity is expressed as an Ethereum address, but it is conceivable that future implementations may include alternative identity formats, perhaps W3C DIDs.

Examples of IIdentity are: payee, payer, signer, creator, and any 3rd party that can view an encrypted request's contents.

Name
Type
Required
Description

type

Identity type

value

string

Identity address

Types.Identity.TYPE

Name
Value
Description

ETHEREUM_ADDRESS

'ethereumAddress'

Externally owned account (EOA)

ETHEREUM_SMART_CONTRACT

'ethereumSmartContract'

Smart contract account. Don't use this. It is not possible to create or update a request using an IIdentity of this type. This type was added to support creating/updating requests using multisig wallets via EIP-1271 but this feature has not yet been implemented.

Last updated

Was this helpful?