| awaitComputationFinalization | Waits for a computation to finalize by polling the computation account status via HTTP RPC. Does not use WebSocket subscriptions. |
| buildFinalizeCompDefTx | Builds a transaction to finalize a computation definition. |
| createPacker | Creates a type-safe packer from field definitions. Use as const on the fields array for compile-time field name validation. |
| deserializeLE | Deserializes a little-endian Uint8Array to a bigint. |
| finalizeKeyRecoveryExecution | Finalizes key recovery execution after the submission threshold is met. This queues the key_recovery_finalize MPC computation on the backup cluster. |
| generateRandomFieldElem | Generates a random value within the field bound by q. |
| getArciumAccountBaseSeed | Returns the base seed for an Arcium account, given its name. |
| getArciumEnv | Reads local Arcium environment information from environment variables. Only available in Node.js and when testing locally. |
| getArciumProgram | Returns an Anchor program instance for the Arcium program. |
| getArciumProgramId | Returns the public key of the deployed Arcium program on Solana. |
| getArxNodeAccAddress | Derives the ArxNode account address for a given offset. |
| getCircuitState | Determines the current state of a circuit based on its on-chain configuration. Called internally by uploadCircuit - most users don't need this directly. |
| getClockAccAddress | Derives the clock account address. |
| getClusterAccAddress | Derives the cluster account address for a given offset. |
| getCompDefAccAddress | Derives the computation definition account address for a given MXE program ID and offset. |
| getCompDefAccOffset | Computes the offset for a computation definition account, based on the circuit name. |
| getComputationAccAddress | Derives the computation account address for a given cluster and computation offset. |
| getComputationsInMempool | Returns all computation references in the mempool for a given account. Only non-stake computations are included. |
| getExecutingPoolAccAddress | Derives the executing pool account address for a given cluster. |
| getExecutingPoolAccInfo | Fetches and decodes the executing pool account info for any pool size. |
| getFeePoolAccAddress | Derives the fee pool account address. |
| getLookupTableAddress | Derives the address lookup table address for an MXE program. |
| getMempoolAccAddress | Derives the mempool account address for a given cluster. |
| getMempoolAccInfo | Fetches and decodes the mempool account info for any mempool account size. |
| getMempoolPriorityFeeStats | Calculates priority fee statistics for computations in a mempool. |
| getMXEAccAddress | Derives the MXE account address for a given MXE program ID. |
| getMXEArcisEd25519VerifyingKey | Fetches and extracts the MXE arcis Ed25519 verifying key from the MXE account. |
| getMXEPublicKey | Fetches and extracts the MXE X25519 public key from the MXE account. |
| getMxeRecoveryAccAddress | Derives the MXE recovery account address for a key recovery session. |
| getRawCircuitAccAddress | Derives the raw circuit account address for a given computation definition and index. |
| getRecoveryClusterAccAddress | Derives the recovery cluster account address for a given MXE program ID. |
| initKeyRecoveryExecution | Initializes key recovery execution by creating the MxeRecoveryAccount and registering the key_recovery_final computation definition on the backup MXE. This is split into two parts due to Solana's 10KB per-instruction allocation limit. |
| initMxePart1 | Initializes an MXE (part 1). Due to Solana's 10KB per-instruction allocation limit, this only partially allocates recovery_cluster_acc. Call initMxePart2 afterwards to finish allocation and add keygen to mempool. |
| initMxePart2 | Finishes MXE initialization (part 2). Reallocates recovery_cluster_acc to full size, initializes recovery_peers, and adds the keygen computation to the mempool. |
| isNullRef | Checks if a computation reference is null (all zeros). |
| positiveModulo | Computes the positive modulo of a over m. |
| queueKeyRecoveryInit | - |
| randMatrix | - |
| recoverMxe | Sets an MXE to Recovery status, initiating the key recovery process. |
| serializeLE | Serializes a bigint to a little-endian Uint8Array of the specified length. |
| sha256 | Computes the SHA-256 hash of an array of Uint8Arrays. |
| submitKeyRecoveryShare | Submits a re-encrypted key recovery share from a recovery peer. Recovery peers must decrypt shares using their x25519 private key and re-encrypt them for the backup MXE before submission. |
| toVec | - |
| uploadCircuit | Uploads a circuit to the blockchain, splitting it into multiple accounts if necessary. |