@arcium-hq/clientFunctions
getMXEArcisEd25519VerifyingKey
getMXEArcisEd25519VerifyingKey(
provider,mxeProgramId):Promise<Uint8Array<ArrayBufferLike> |null>
Fetch and extract the MXE arcis Ed25519 verifying key from the MXE account.
Parameters
| Parameter | Type | Description |
|---|---|---|
provider | AnchorProvider | Anchor provider to use for fetching accounts. |
mxeProgramId | PublicKey | Public key of the MXE program. |
Returns
Promise<Uint8Array<ArrayBufferLike> | null>
MXE's arcis Ed25519 verifying key as a Uint8Array, or null if not set.