Arcium LogoArcium TS SDK Docs
@arcium-hq/reader/Type aliases

ComputationAccount

ComputationAccount = ArciumTypes["computationAccount"]

Type Structure

{
  arguments: "PlaintextBool" | "PlaintextU8" | "PlaintextU16" | "PlaintextU32" | "PlaintextU64" | "PlaintextU128" | "PlaintextFloat" | "EncryptedBool" | "EncryptedU8" | "EncryptedU16" | "EncryptedU32" | "EncryptedU64" | "EncryptedU128" | "EncryptedFloat" | "ArcisPubkey" | "ArcisSignature" | "Account" | "ManticoreAlgo" | "InputDataset";
  bump: number;
  callbackAccs: object[];
  callbackUrl: string | null;
  clusterIndex: number | null;
  computationDefinitionOffset: number;
  executionFee: {
    baseFee: BN;
    inputDeliveryFee: BN;
    outputDeliveryFee: BN;
    priorityFee: BN;
  };
  payer: PublicKey;
  slot: BN;
  slotCounter: number;
  status: "queued" | "executed" | "finalized";
}

Note: BN is the Anchor's BigNumber type.

On this page