Arcium LogoArcium TS SDK Docs

getMXEArcisEd25519VerifyingKey

getMXEArcisEd25519VerifyingKey(provider, mxeProgramID): Promise<Uint8Array<ArrayBufferLike> | null>

Fetches and extracts the MXE arcis ed25519 verifying key from the MXE account.

Parameters

ParameterTypeDescription
providerAnchorProviderThe Anchor provider to use for fetching accounts.
mxeProgramIDPublicKeyThe public key of the MXE program.

Returns

Promise<Uint8Array<ArrayBufferLike> | null>

The MXE's arcis ed25519 verifying key as a Uint8Array, or null if not set.

On this page