Arcium LogoArcium TS SDK Docs

getRawCircuitAccAddress

getRawCircuitAccAddress(compDefPubkey, rawCircuitIndex): PublicKey

Derive the raw circuit account address for a given computation definition and index.

Parameters

ParameterTypeDescription
compDefPubkeyPublicKeyPublic key of the computation definition account.
rawCircuitIndexnumberIndex of the raw circuit account as a u8 in [0, 255].

Returns

PublicKey

Derived raw circuit account public key.

On this page