Skip to Content

EvmVerifyResult

Defined in: siwx-evm/src/types.ts:56 

Result of an EVM verification, with the method that succeeded.

Extends

Properties

data?

optional data?: SiwxMessageFields

Defined in: siwx-core/src/types.ts:219 

The parsed message. Present only when success is true.

Inherited from

SiwxVerifyResult.data


error?

optional error?: string

Defined in: siwx-core/src/types.ts:223 

Human-readable reason of the failure. Present only when success is false.

Inherited from

SiwxVerifyResult.error


method?

optional method?: "eip191" | "eip1271" | "erc6492"

Defined in: siwx-evm/src/types.ts:63 

The verification method, set only when success is true.

  • eip191: EOA signature recovery.
  • eip1271: smart contract wallet check (isValidSignature of a deployed wallet).
  • erc6492: smart contract wallet that is not deployed yet and signed with an ERC-6492 wrapper.

success

success: boolean

Defined in: siwx-core/src/types.ts:215 

true when the message is valid and the signature matches its address.

Inherited from

SiwxVerifyResult.success

Last updated on