getComputationAccAddress
getComputationAccAddress(
clusterOffset,computationOffset):PublicKey
Derives the computation account address for a given cluster and computation offset.
Parameters
| Parameter | Type | Description |
|---|---|---|
clusterOffset | number | The offset of the cluster this computation will be executed by. |
computationOffset | BN | The computation offset as an anchor.BN. |
Returns
PublicKey
The derived computation account public key.