getComputationAccAddress
getComputationAccAddress(
mxeProgramId
,offset
):PublicKey
Derives the computation account address for a given MXE program ID and offset.
Parameters
Parameter | Type | Description |
---|---|---|
mxeProgramId | PublicKey | The public key of the MXE program. |
offset | BN | The computation offset as an anchor.BN. |
Returns
PublicKey
The derived computation account public key.