Arcium LogoArcium TS SDK Docs

getComputationAccAddress

getComputationAccAddress(clusterOffset, computationOffset): PublicKey

Derives the computation account address for a given cluster and computation offset.

Parameters

ParameterTypeDescription
clusterOffsetnumberThe offset of the cluster this computation will be executed by.
computationOffsetBNThe computation offset as an anchor.BN.

Returns

PublicKey

The derived computation account public key.

On this page