Arcium LogoArcium TS SDK Docs

getCompDefAccAddress

getCompDefAccAddress(mxeProgramId, compDefOffset): PublicKey

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

Parameters

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

Returns

PublicKey

The derived computation definition account public key.

On this page