diff --git a/src/types.rs b/src/types.rs new file mode 100644 index 0000000..5b76754 --- /dev/null +++ b/src/types.rs @@ -0,0 +1,13 @@ +/// Defines the available clusters supported by Helius +#[derive(Debug, Clone, PartialEq)] +pub enum Cluster { + Devnet, + MainnetBeta, +} + +/// Stores the API and RPC endpoint URLs for a specific Helius cluster +#[derive(Debug, Clone)] +pub struct HeliusEndpoints { + pub api: String, + pub rpc: String, +} \ No newline at end of file