Arcium LogoArcium TS SDK Docs

getCompDefAccAddress

getCompDefAccAddress(mxeProgramId, offset): PublicKey

Derives the computation definition account address for a given MXE program ID and offset.

Parameters

ParameterTypeDescription
mxeProgramIdPublicKeyThe public key of the MXE program.
offsetnumberThe computation definition offset as a number.

Returns

PublicKey

The derived computation definition account public key.

On this page