Options
All
  • Public
  • Public/Protected
  • All
Menu

Anchor Link - v3.4.0

Index

Type aliases

ChainIdType: ChainId | ChainName | Checksum256Type
IdentityProofType: IdentityProof | string | { chainId: ChainIdType; expiration: TimePointType; scope: NameType; signature: SignatureType; signer: PermissionLevelType }
LinkCallbackResponse: CallbackPayload | LinkCallbackRejection

Callback response, can either be a ESR callback payload or a rejection message.

LinkErrorCode: "E_DELIVERY" | "E_TIMEOUT" | "E_CANCEL" | "E_IDENTITY"

Error codes. Accessible using the code property on errors thrown by Link and LinkSession.

  • E_DELIVERY: Unable to route message to wallet.
  • E_TIMEOUT: Request was delivered but user/wallet didn't respond in time.
  • E_CANCEL: The LinkTransport canceled the request.
  • E_IDENTITY: Identity proof failed to verify.

Generated using TypeDoc