@arcium-hq/reader
Type Aliases
| Type Alias | Description |
|---|---|
| ArciumEvent | All events emitted by the Arcium program, keyed by event name. |
| ArciumEventData | Data structure for any Arcium event, as parsed from logs. |
| ArciumEventName | Capitalized event names, matching the format as emitted by the program. |
| ArciumTypes | - |
| ArxNodeAccount | - |
| CallbackComputationIx | - |
| ClusterAccount | - |
| ComputationAccount | - |
| ComputationDefinitionAccount | - |
| ComputationReference | - |
| ComputationStatus | Status values for a computation, as defined by the Arcium protocol. |
| Connection | - |
| MXEAccount | - |
| Program | - |
| PublicKey | - |
| QueueComputationIx | - |
Functions
| Function | Description |
|---|---|
| getArciumProgramReadonly | Returns a read-only Anchor program instance for the Arcium program. |
| getArxNodeAccAddress | Derives the ArxNode account address for a given offset. |
| getArxNodeAccAddresses | Returns all ArxNode account addresses. |
| getArxNodeAccInfo | Fetches and parses a given ArxNode account. |
| getClockAccAddress | Derives the clock account address. |
| getClusterAccAddress | Derives the cluster account address for a given offset. |
| getClusterAccAddresses | Returns all Cluster account addresses. |
| getClusterAccInfo | Fetches and parses a given Cluster account. |
| getCompDefAccAddress | Derives the computation definition account address for a given MXE program ID and offset. |
| getCompDefAccInfo | Fetches and parses a given ComputationDefinition account. |
| getComputationAccAddress | Derives the computation account address for a given cluster and offset. |
| getComputationAccInfo | Fetches and parses a given Computation account. |
| getComputationOffset | Gets the computation offset from a transaction. |
| 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. |
| getFeePoolAccAddress | Derives the fee pool account address. |
| getMempoolAccAddress | Derives the mempool account address for a given cluster. |
| getMXEAccAddress | Derives the MXE account address for a given MXE program ID. |
| getMXEAccAddresses | Returns all MXE account addresses. |
| getMXEAccInfo | Fetches and parses a given MXE account. |
| subscribeComputations | Subscribes to computation-related events for a given MXE program ID. |
| unsubscribeComputations | Unsubscribes from computation-related events using the subscription ID. |