Arcium LogoArcium TS SDK Docs

getComputationAccAddress

getComputationAccAddress(clusterOffset, computationOffset): PublicKey

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

Parameters

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

Returns

PublicKey

Derived computation account public key.

On this page