diff --git a/Cargo.lock b/Cargo.lock index dcc738ae3..e661fbc98 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -151,13 +151,12 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "async-compression" -version = "0.4.36" +version = "0.4.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98ec5f6c2f8bc326c994cb9e241cc257ddaba9afa8555a43cffbb5dd86efaa37" +checksum = "d10e4f991a553474232bc0a31799f6d24b034a84c0971d80d2e2f78b2e576e40" dependencies = [ "compression-codecs", "compression-core", - "futures-core", "pin-project-lite", "tokio", ] @@ -494,6 +493,7 @@ dependencies = [ "brk_types", "minreq", "serde", + "serde_json", ] [[package]] @@ -1021,9 +1021,9 @@ checksum = "ea0095f6103c2a8b44acd6fd15960c801dafebf02e21940360833e0673f48ba7" [[package]] name = "compression-codecs" -version = "0.4.35" +version = "0.4.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0f7ac3e5b97fdce45e8922fb05cae2c37f7bbd63d30dd94821dacfd8f3f2bf2" +checksum = "00828ba6fd27b45a448e57dbfe84f1029d4c9f26b368157e9a448a5f49a2ec2a" dependencies = [ "brotli", "compression-core", @@ -2752,16 +2752,18 @@ dependencies = [ [[package]] name = "rapidhash" -version = "4.2.0" +version = "4.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2988730ee014541157f48ce4dcc603940e00915edc3c7f9a8d78092256bb2493" +checksum = "5d8b5b858a440a0bc02625b62dd95131b9201aa9f69f411195dd4a7cfb1de3d7" dependencies = [ "rustversion", ] [[package]] name = "rawdb" -version = "0.5.7" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1eb09ba02f9467845fde4a1fadb317721025f2b836f22a5a7d3567c9e100875" dependencies = [ "libc", "log", @@ -3702,7 +3704,9 @@ checksum = "8f54a172d0620933a27a4360d3db3e2ae0dd6cceae9730751a036bbf182c4b23" [[package]] name = "vecdb" -version = "0.5.7" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b02690e7c013257b959b482fac78e90f73764efa8a57551e1e67a06ad7ab4" dependencies = [ "ctrlc", "log", @@ -3721,7 +3725,9 @@ dependencies = [ [[package]] name = "vecdb_derive" -version = "0.5.7" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21339c58345d1a422c2574b1114b3cd862900a9196421dc7acf43aca48c288bb" dependencies = [ "quote", "syn", diff --git a/Cargo.toml b/Cargo.toml index 643a26a93..388bdfc9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,9 +79,8 @@ serde_json = { version = "1.0.149", features = ["float_roundtrip"] } smallvec = "1.15.1" tokio = { version = "1.49.0", features = ["rt-multi-thread"] } tracing = { version = "0.1", default-features = false, features = ["std"] } -# vecdb = { version = "0.5.7", features = ["derive", "serde_json", "pco", "schemars"] } -vecdb = { path = "../anydb/crates/vecdb", features = ["derive", "serde_json", "pco", "schemars"] } -# vecdb = { git = "https://github.com/anydb-rs/anydb", features = ["derive", "serde_json", "pco"] } +vecdb = { version = "0.5.8", features = ["derive", "serde_json", "pco", "schemars"] } +# vecdb = { path = "../anydb/crates/vecdb", features = ["derive", "serde_json", "pco", "schemars"] } [workspace.metadata.release] shared-version = true diff --git a/crates/brk_bindgen/src/analysis/positions.rs b/crates/brk_bindgen/src/analysis/positions.rs index 661abbf5f..4c13cbeb7 100644 --- a/crates/brk_bindgen/src/analysis/positions.rs +++ b/crates/brk_bindgen/src/analysis/positions.rs @@ -93,12 +93,41 @@ fn collect_positions_bottom_up( } } +/// Check if a list of positions contains incompatible values. +/// +/// Positions are incompatible if there are multiple different non-Identity positions, +/// meaning different pattern instances use different naming conventions. +fn has_incompatible_positions(positions: &[FieldNamePosition]) -> bool { + let non_identity: Vec<_> = positions + .iter() + .filter(|p| !matches!(p, FieldNamePosition::Identity)) + .collect(); + + if non_identity.len() <= 1 { + return false; + } + + // Check if all non-identity positions are the same + let first = &non_identity[0]; + non_identity.iter().skip(1).any(|p| p != first) +} + /// Merge multiple observed positions for each field into a single position. -/// Uses the first non-Identity position found, as Identity from root-level -/// instances is now handled by passing empty `acc`. +/// +/// Returns an empty map if any field has incompatible positions across instances, +/// which will cause `is_parameterizable()` to return false for the pattern. fn merge_field_positions( field_positions: &HashMap>, ) -> HashMap { + // First check for incompatible positions + for positions in field_positions.values() { + if has_incompatible_positions(positions) { + // Incompatible positions found - pattern cannot be parameterized + return HashMap::new(); + } + } + + // All positions are compatible, proceed with merge field_positions .iter() .filter_map(|(field_name, positions)| { diff --git a/crates/brk_bindgen/src/analysis/tree.rs b/crates/brk_bindgen/src/analysis/tree.rs index 1fc990bd0..addcec5bc 100644 --- a/crates/brk_bindgen/src/analysis/tree.rs +++ b/crates/brk_bindgen/src/analysis/tree.rs @@ -7,6 +7,7 @@ use std::collections::{BTreeMap, BTreeSet, HashMap}; use brk_types::{Index, TreeNode, extract_json_type}; +use crate::analysis::names::analyze_pattern_level; use crate::{IndexSetPattern, PatternField, child_type_name}; /// Get the first leaf name from a tree node. @@ -116,22 +117,55 @@ fn collect_indexes_from_tree( /// For cohort-level instances, returns the common prefix or suffix among all leaves. pub fn get_pattern_instance_base(node: &TreeNode) -> String { let leaf_names = get_all_leaf_names(node); - if leaf_names.is_empty() { + find_common_base(&leaf_names) +} + +/// Find the common base from a set of metric names. +/// Tries prefix, suffix, then strips first/last segments and retries. +fn find_common_base(names: &[String]) -> String { + if names.is_empty() { return String::new(); } - // First try to find a common prefix - let common_prefix = find_common_prefix_at_underscore(&leaf_names); + // Try common prefix + let common_prefix = find_common_prefix_at_underscore(names); if !common_prefix.is_empty() { return common_prefix.trim_end_matches('_').to_string(); } - // If no common prefix, try to find a common suffix - let common_suffix = find_common_suffix_at_underscore(&leaf_names); + // Try common suffix + let common_suffix = find_common_suffix_at_underscore(names); if !common_suffix.is_empty() { return common_suffix.trim_start_matches('_').to_string(); } + // If neither works, the common part may be in the middle. + // Strip the first underscore segment (varying prefix) and try again. + let stripped_prefix: Vec = names + .iter() + .filter_map(|name| name.split_once('_').map(|(_, rest)| rest.to_string())) + .collect(); + + if stripped_prefix.len() == names.len() { + let common_prefix = find_common_prefix_at_underscore(&stripped_prefix); + if !common_prefix.is_empty() { + return common_prefix.trim_end_matches('_').to_string(); + } + } + + // Try stripping last segment (varying suffix) and look for common suffix + let stripped_suffix: Vec = names + .iter() + .filter_map(|name| name.rsplit_once('_').map(|(rest, _)| rest.to_string())) + .collect(); + + if stripped_suffix.len() == names.len() { + let common_suffix = find_common_suffix_at_underscore(&stripped_suffix); + if !common_suffix.is_empty() { + return common_suffix.trim_start_matches('_').to_string(); + } + } + String::new() } diff --git a/crates/brk_bindgen/src/backends/python.rs b/crates/brk_bindgen/src/backends/python.rs index a311a5f65..eae04ba82 100644 --- a/crates/brk_bindgen/src/backends/python.rs +++ b/crates/brk_bindgen/src/backends/python.rs @@ -11,7 +11,7 @@ impl LanguageSyntax for PythonSyntax { } fn path_expr(&self, base_var: &str, suffix: &str) -> String { - format!("f'{{{{{}}}}}{}'", base_var, suffix) + format!("f'{{{}}}{}'", base_var, suffix) } fn position_expr(&self, pos: &FieldNamePosition, base_var: &str) -> String { @@ -21,20 +21,19 @@ impl LanguageSyntax for PythonSyntax { if let Some(suffix) = s.strip_prefix('_') { format!("_m({}, '{}')", base_var, suffix) } else { - format!("f'{{{{{}}}}}{}'", base_var, s) + format!("f'{{{}}}{}'", base_var, s) } } FieldNamePosition::Prepend(s) => { // Handle empty acc case for prepend + // Want to produce: (f'prefix_{acc}' if acc else 'prefix') if let Some(prefix) = s.strip_suffix('_') { format!( - "(f'{s}{{{{{base_var}}}}}' if {base_var} else '{prefix}')", - s = s, - base_var = base_var, - prefix = prefix + "(f'{}{{{}}}' if {} else '{}')", + s, base_var, base_var, prefix ) } else { - format!("f'{}{{{{{}}}}}'", s, base_var) + format!("f'{}{{{}}}'" , s, base_var) } } FieldNamePosition::Identity => base_var.to_string(), @@ -80,7 +79,7 @@ impl LanguageSyntax for PythonSyntax { } fn index_field_name(&self, index_name: &str) -> String { - format!("by_{}", to_snake_case(index_name)) + to_snake_case(index_name) } fn string_literal(&self, value: &str) -> String { diff --git a/crates/brk_bindgen/src/generate/mod.rs b/crates/brk_bindgen/src/generate/mod.rs index 817320bb4..e94ea76e4 100644 --- a/crates/brk_bindgen/src/generate/mod.rs +++ b/crates/brk_bindgen/src/generate/mod.rs @@ -5,5 +5,7 @@ //! language backends. mod fields; +mod tree; pub use fields::*; +pub use tree::*; diff --git a/crates/brk_bindgen/src/generate/tree.rs b/crates/brk_bindgen/src/generate/tree.rs new file mode 100644 index 000000000..d310e2e7a --- /dev/null +++ b/crates/brk_bindgen/src/generate/tree.rs @@ -0,0 +1,58 @@ +//! Shared tree generation helpers. + +use std::collections::{HashMap, HashSet}; + +use brk_types::TreeNode; + +use crate::{ClientMetadata, PatternField, get_fields_with_child_info}; + +/// Context for generating a tree node, returned by `prepare_tree_node`. +pub struct TreeNodeContext<'a> { + /// The children of the branch node. + pub children: &'a std::collections::BTreeMap, + /// Fields with optional child field info for generic pattern lookup. + pub fields_with_child_info: Vec<(PatternField, Option>)>, + /// Just the fields (for pattern lookup). + pub fields: Vec, +} + +/// Prepare a tree node for generation. +/// Returns None if the node should be skipped (not a branch, already generated, +/// or matches a parameterizable pattern). +pub fn prepare_tree_node<'a>( + node: &'a TreeNode, + name: &str, + pattern_lookup: &HashMap, String>, + metadata: &ClientMetadata, + generated: &mut HashSet, +) -> Option> { + let TreeNode::Branch(children) = node else { + return None; + }; + + let fields_with_child_info = get_fields_with_child_info(children, name, pattern_lookup); + let fields: Vec = fields_with_child_info + .iter() + .map(|(f, _)| f.clone()) + .collect(); + + // Skip if this matches a parameterizable pattern + if let Some(pattern_name) = pattern_lookup.get(&fields) + && pattern_name != name + && metadata.is_parameterizable(pattern_name) + { + return None; + } + + // Skip if already generated + if generated.contains(name) { + return None; + } + generated.insert(name.to_string()); + + Some(TreeNodeContext { + children, + fields_with_child_info, + fields, + }) +} diff --git a/crates/brk_bindgen/src/generators/javascript/api.rs b/crates/brk_bindgen/src/generators/javascript/api.rs index cf462dc90..e7990e051 100644 --- a/crates/brk_bindgen/src/generators/javascript/api.rs +++ b/crates/brk_bindgen/src/generators/javascript/api.rs @@ -21,24 +21,29 @@ pub fn generate_api_methods(output: &mut String, endpoints: &[Endpoint]) { if let Some(desc) = &endpoint.description && endpoint.summary.as_ref() != Some(desc) { - writeln!(output, " * @description {}", desc).unwrap(); + writeln!(output, " *").unwrap(); + writeln!(output, " * {}", desc).unwrap(); + } + + if !endpoint.path_params.is_empty() || !endpoint.query_params.is_empty() { + writeln!(output, " *").unwrap(); } for param in &endpoint.path_params { - let desc = param.description.as_deref().unwrap_or(""); + let desc = format_param_desc(param.description.as_deref()); writeln!( output, - " * @param {{{}}} {} {}", + " * @param {{{}}} {}{}", param.param_type, param.name, desc ) .unwrap(); } for param in &endpoint.query_params { let optional = if param.required { "" } else { "=" }; - let desc = param.description.as_deref().unwrap_or(""); + let desc = format_param_desc(param.description.as_deref()); writeln!( output, - " * @param {{{}{}}} [{}] {}", + " * @param {{{}{}}} [{}]{}", param.param_type, optional, param.name, desc ) .unwrap(); @@ -119,3 +124,11 @@ fn normalize_return_type(return_type: &str) -> String { } result } + +/// Format param description with dash prefix, or empty string if no description. +fn format_param_desc(desc: Option<&str>) -> String { + match desc { + Some(d) if !d.is_empty() => format!(" - {}", d), + _ => String::new(), + } +} diff --git a/crates/brk_bindgen/src/generators/javascript/tree.rs b/crates/brk_bindgen/src/generators/javascript/tree.rs index dc40fdaa4..74dd36034 100644 --- a/crates/brk_bindgen/src/generators/javascript/tree.rs +++ b/crates/brk_bindgen/src/generators/javascript/tree.rs @@ -6,9 +6,8 @@ use std::fmt::Write; use brk_types::TreeNode; use crate::{ - ClientMetadata, Endpoint, PatternField, child_type_name, get_fields_with_child_info, - get_first_leaf_name, get_node_fields, get_pattern_instance_base, infer_accumulated_name, - to_camel_case, + ClientMetadata, Endpoint, PatternField, child_type_name, get_first_leaf_name, get_node_fields, + get_pattern_instance_base, infer_accumulated_name, prepare_tree_node, to_camel_case, }; use super::api::generate_api_methods; @@ -38,36 +37,23 @@ fn generate_tree_typedef( metadata: &ClientMetadata, generated: &mut HashSet, ) { - let TreeNode::Branch(children) = node else { + let Some(ctx) = prepare_tree_node(node, name, pattern_lookup, metadata, generated) else { return; }; - let fields_with_child_info = get_fields_with_child_info(children, name, pattern_lookup); - let fields: Vec = fields_with_child_info - .iter() - .map(|(f, _)| f.clone()) - .collect(); - - if pattern_lookup.contains_key(&fields) - && pattern_lookup.get(&fields) != Some(&name.to_string()) - { - return; - } - - if generated.contains(name) { - return; - } - generated.insert(name.to_string()); - writeln!(output, "/**").unwrap(); writeln!(output, " * @typedef {{Object}} {}", name).unwrap(); - for (field, child_fields) in &fields_with_child_info { - let generic_value_type = child_fields - .as_ref() - .and_then(|cf| metadata.get_type_param(cf)) - .map(String::as_str); - let js_type = field_type_with_generic(field, metadata, false, generic_value_type); + for ((field, child_fields), (child_name, _)) in + ctx.fields_with_child_info.iter().zip(ctx.children.iter()) + { + let js_type = metadata.resolve_tree_field_type( + child_fields.as_deref(), + name, + child_name, + |generic| field_type_with_generic(field, metadata, false, generic), + ); + writeln!( output, " * @property {{{}}} {}", @@ -79,10 +65,11 @@ fn generate_tree_typedef( writeln!(output, " */\n").unwrap(); - for (child_name, child_node) in children { + for (child_name, child_node) in ctx.children { if let TreeNode::Branch(grandchildren) = child_node { let child_fields = get_node_fields(grandchildren, pattern_lookup); - if !pattern_lookup.contains_key(&child_fields) { + // Generate typedef if no pattern match OR pattern is not parameterizable + if !metadata.is_parameterizable_fields(&child_fields) { let child_type = child_type_name(name, child_name); generate_tree_typedef( output, @@ -183,22 +170,13 @@ fn generate_tree_initializer( } TreeNode::Branch(grandchildren) => { let child_fields = get_node_fields(grandchildren, pattern_lookup); - if let Some(pattern_name) = pattern_lookup.get(&child_fields) { - let pattern = metadata - .structural_patterns - .iter() - .find(|p| &p.name == pattern_name); - let is_parameterizable = - pattern.map(|p| p.is_parameterizable()).unwrap_or(false); - - let arg = if is_parameterizable { - get_pattern_instance_base(child_node) - } else if accumulated_name.is_empty() { - format!("/{}", child_name) - } else { - format!("{}/{}", accumulated_name, child_name) - }; + // Only use pattern factory if pattern is parameterizable + let pattern_name = pattern_lookup + .get(&child_fields) + .filter(|name| metadata.is_parameterizable(name)); + if let Some(pattern_name) = pattern_name { + let arg = get_pattern_instance_base(child_node); writeln!( output, "{}{}: create{}(this, '{}'){}", diff --git a/crates/brk_bindgen/src/generators/javascript/types.rs b/crates/brk_bindgen/src/generators/javascript/types.rs index 63a10931a..f3afeb07e 100644 --- a/crates/brk_bindgen/src/generators/javascript/types.rs +++ b/crates/brk_bindgen/src/generators/javascript/types.rs @@ -21,10 +21,24 @@ pub fn generate_type_definitions(output: &mut String, schemas: &TypeSchemas) { let js_type = schema_to_js_type(schema, Some(name)); + let type_desc = schema.get("description").and_then(|d| d.as_str()); + if is_primitive_alias(schema) { - writeln!(output, "/** @typedef {{{}}} {} */", js_type, name).unwrap(); + if let Some(desc) = type_desc { + writeln!(output, "/**").unwrap(); + write_jsdoc_description(output, desc); + writeln!(output, " *").unwrap(); + writeln!(output, " * @typedef {{{}}} {}", js_type, name).unwrap(); + writeln!(output, " */").unwrap(); + } else { + writeln!(output, "/** @typedef {{{}}} {} */", js_type, name).unwrap(); + } } else if let Some(props) = schema.get("properties").and_then(|p| p.as_object()) { writeln!(output, "/**").unwrap(); + if let Some(desc) = type_desc { + write_jsdoc_description(output, desc); + writeln!(output, " *").unwrap(); + } writeln!(output, " * @typedef {{Object}} {}", name).unwrap(); for (prop_name, prop_schema) in props { let prop_type = schema_to_js_type(prop_schema, Some(name)); @@ -35,14 +49,25 @@ pub fn generate_type_definitions(output: &mut String, schemas: &TypeSchemas) { .unwrap_or(false); let optional = if required { "" } else { "=" }; let safe_name = to_camel_case(prop_name); + let prop_desc = prop_schema + .get("description") + .and_then(|d| d.as_str()) + .map(|d| format!(" - {}", d)) + .unwrap_or_default(); writeln!( output, - " * @property {{{}{}}} {}", - prop_type, optional, safe_name + " * @property {{{}{}}} {}{}", + prop_type, optional, safe_name, prop_desc ) .unwrap(); } writeln!(output, " */").unwrap(); + } else if let Some(desc) = type_desc { + writeln!(output, "/**").unwrap(); + write_jsdoc_description(output, desc); + writeln!(output, " *").unwrap(); + writeln!(output, " * @typedef {{{}}} {}", js_type, name).unwrap(); + writeln!(output, " */").unwrap(); } else { writeln!(output, "/** @typedef {{{}}} {} */", js_type, name).unwrap(); } @@ -50,6 +75,17 @@ pub fn generate_type_definitions(output: &mut String, schemas: &TypeSchemas) { writeln!(output).unwrap(); } +/// Write a multi-line description with proper JSDoc formatting. +fn write_jsdoc_description(output: &mut String, desc: &str) { + for line in desc.lines() { + if line.is_empty() { + writeln!(output, " *").unwrap(); + } else { + writeln!(output, " * {}", line).unwrap(); + } + } +} + fn is_primitive_alias(schema: &Value) -> bool { schema.get("properties").is_none() && schema.get("items").is_none() diff --git a/crates/brk_bindgen/src/generators/python/mod.rs b/crates/brk_bindgen/src/generators/python/mod.rs index b0257828e..789d1a86e 100644 --- a/crates/brk_bindgen/src/generators/python/mod.rs +++ b/crates/brk_bindgen/src/generators/python/mod.rs @@ -27,7 +27,7 @@ pub fn generate_python_client( writeln!(output, "from __future__ import annotations").unwrap(); writeln!( output, - "from typing import TypeVar, Generic, Any, Optional, List, Literal, TypedDict, Final, Union, Protocol" + "from typing import TypeVar, Generic, Any, Optional, List, Literal, TypedDict, Union, Protocol" ) .unwrap(); writeln!(output, "import httpx\n").unwrap(); diff --git a/crates/brk_bindgen/src/generators/python/tree.rs b/crates/brk_bindgen/src/generators/python/tree.rs index e5dd67855..c12954731 100644 --- a/crates/brk_bindgen/src/generators/python/tree.rs +++ b/crates/brk_bindgen/src/generators/python/tree.rs @@ -6,8 +6,8 @@ use std::fmt::Write; use brk_types::TreeNode; use crate::{ - ClientMetadata, PatternField, child_type_name, get_fields_with_child_info, get_node_fields, - get_pattern_instance_base, to_snake_case, + ClientMetadata, PatternField, child_type_name, get_node_fields, get_pattern_instance_base, + prepare_tree_node, to_snake_case, }; use super::client::field_type_with_generic; @@ -37,28 +37,10 @@ fn generate_tree_class( metadata: &ClientMetadata, generated: &mut HashSet, ) { - let TreeNode::Branch(children) = node else { + let Some(ctx) = prepare_tree_node(node, name, pattern_lookup, metadata, generated) else { return; }; - let fields_with_child_info = get_fields_with_child_info(children, name, pattern_lookup); - let fields: Vec = fields_with_child_info - .iter() - .map(|(f, _)| f.clone()) - .collect(); - - // Skip if this matches a pattern (already generated) - if pattern_lookup.contains_key(&fields) - && pattern_lookup.get(&fields) != Some(&name.to_string()) - { - return; - } - - if generated.contains(name) { - return; - } - generated.insert(name.to_string()); - writeln!(output, "class {}:", name).unwrap(); writeln!(output, " \"\"\"Catalog tree node.\"\"\"").unwrap(); writeln!(output, " ").unwrap(); @@ -69,7 +51,7 @@ fn generate_tree_class( .unwrap(); for ((field, child_fields_opt), (_child_name, child_node)) in - fields_with_child_info.iter().zip(children.iter()) + ctx.fields_with_child_info.iter().zip(ctx.children.iter()) { // Look up type parameter for generic patterns let generic_value_type = child_fields_opt @@ -79,44 +61,35 @@ fn generate_tree_class( let py_type = field_type_with_generic(field, metadata, false, generic_value_type); let field_name_py = to_snake_case(&field.name); - if metadata.is_pattern_type(&field.rust_type) { - let pattern = metadata.find_pattern(&field.rust_type); - let is_parameterizable = pattern.is_some_and(|p| p.is_parameterizable()); - - if is_parameterizable { - let metric_base = get_pattern_instance_base(child_node); - writeln!( - output, - " self.{}: {} = {}(client, '{}')", - field_name_py, py_type, field.rust_type, metric_base - ) - .unwrap(); - } else { - writeln!( - output, - " self.{}: {} = {}(client, f'{{base_path}}_{}')", - field_name_py, py_type, field.rust_type, field.name - ) - .unwrap(); - } - } else if metadata.field_uses_accessor(field) { + if metadata.is_pattern_type(&field.rust_type) && metadata.is_parameterizable(&field.rust_type) + { + // Parameterizable pattern: use pattern class with metric base + let metric_base = get_pattern_instance_base(child_node); + writeln!( + output, + " self.{}: {} = {}(client, '{}')", + field_name_py, py_type, field.rust_type, metric_base + ) + .unwrap(); + } else if let TreeNode::Leaf(leaf) = child_node { + // Leaf node: use actual metric name let accessor = metadata.find_index_set_pattern(&field.indexes).unwrap(); writeln!( output, - " self.{}: {} = {}(client, f'{{base_path}}_{}')", - field_name_py, py_type, accessor.name, field.name + " self.{}: {} = {}(client, '{}')", + field_name_py, py_type, accessor.name, leaf.name() ) .unwrap(); } else if field.is_branch() { - // Non-pattern branch - instantiate the nested class + // Non-parameterizable pattern or regular branch: generate inline class + let inline_class = child_type_name(name, &field.name); writeln!( output, - " self.{}: {} = {}(client, f'{{base_path}}_{}')", - field_name_py, py_type, field.rust_type, field.name + " self.{}: {} = {}(client)", + field_name_py, inline_class, inline_class ) .unwrap(); } else { - // All metrics must be indexed - this should not be reached panic!( "Field '{}' has no matching index pattern. All metrics must be indexed.", field.name @@ -127,10 +100,12 @@ fn generate_tree_class( writeln!(output).unwrap(); // Generate child classes - for (child_name, child_node) in children { + for (child_name, child_node) in ctx.children { if let TreeNode::Branch(grandchildren) = child_node { let child_fields = get_node_fields(grandchildren, pattern_lookup); - if !pattern_lookup.contains_key(&child_fields) { + + // Generate inline class if no pattern match OR pattern is not parameterizable + if !metadata.is_parameterizable_fields(&child_fields) { let child_class = child_type_name(name, child_name); generate_tree_class( output, diff --git a/crates/brk_bindgen/src/generators/python/types.rs b/crates/brk_bindgen/src/generators/python/types.rs index 2c7816a6b..a1de3ab23 100644 --- a/crates/brk_bindgen/src/generators/python/types.rs +++ b/crates/brk_bindgen/src/generators/python/types.rs @@ -25,8 +25,44 @@ pub fn generate_type_definitions(output: &mut String, schemas: &TypeSchemas) { let Some(schema) = schemas.get(&name) else { continue; }; + let type_desc = schema.get("description").and_then(|d| d.as_str()); + if let Some(props) = schema.get("properties").and_then(|p| p.as_object()) { writeln!(output, "class {}(TypedDict):", name).unwrap(); + + // Collect field descriptions for Attributes section + let field_docs: Vec<(String, Option<&str>)> = props + .iter() + .map(|(prop_name, prop_schema)| { + let safe_name = escape_python_keyword(prop_name); + let desc = prop_schema.get("description").and_then(|d| d.as_str()); + (safe_name, desc) + }) + .collect(); + let has_field_docs = field_docs.iter().any(|(_, d)| d.is_some()); + + // Generate docstring if we have type description or field descriptions + if type_desc.is_some() || has_field_docs { + writeln!(output, " \"\"\"").unwrap(); + if let Some(desc) = type_desc { + for line in desc.lines() { + writeln!(output, " {}", line).unwrap(); + } + } + if has_field_docs { + if type_desc.is_some() { + writeln!(output).unwrap(); + } + writeln!(output, " Attributes:").unwrap(); + for (field_name, desc) in &field_docs { + if let Some(d) = desc { + writeln!(output, " {}: {}", field_name, d).unwrap(); + } + } + } + writeln!(output, " \"\"\"").unwrap(); + } + for (prop_name, prop_schema) in props { let prop_type = schema_to_python_type_ctx(prop_schema, Some(&name)); let safe_name = escape_python_keyword(prop_name); @@ -35,6 +71,11 @@ pub fn generate_type_definitions(output: &mut String, schemas: &TypeSchemas) { writeln!(output).unwrap(); } else { let py_type = schema_to_python_type_ctx(schema, Some(&name)); + if let Some(desc) = type_desc { + for line in desc.lines() { + writeln!(output, "# {}", line).unwrap(); + } + } writeln!(output, "{} = {}", name, py_type).unwrap(); } } diff --git a/crates/brk_bindgen/src/generators/rust/tree.rs b/crates/brk_bindgen/src/generators/rust/tree.rs index 021a09aa8..0ff4818e6 100644 --- a/crates/brk_bindgen/src/generators/rust/tree.rs +++ b/crates/brk_bindgen/src/generators/rust/tree.rs @@ -6,8 +6,9 @@ use std::fmt::Write; use brk_types::TreeNode; use crate::{ - ClientMetadata, PatternField, RustSyntax, child_type_name, generate_tree_node_field, - get_fields_with_child_info, get_node_fields, get_pattern_instance_base, to_snake_case, + ClientMetadata, LanguageSyntax, PatternField, RustSyntax, child_type_name, + generate_tree_node_field, get_node_fields, get_pattern_instance_base, prepare_tree_node, + to_snake_case, }; use super::client::field_type_with_generic; @@ -36,38 +37,23 @@ fn generate_tree_node( metadata: &ClientMetadata, generated: &mut HashSet, ) { - let TreeNode::Branch(children) = node else { + let Some(ctx) = prepare_tree_node(node, name, pattern_lookup, metadata, generated) else { return; }; - let fields_with_child_info = get_fields_with_child_info(children, name, pattern_lookup); - let fields: Vec = fields_with_child_info - .iter() - .map(|(f, _)| f.clone()) - .collect(); - - if let Some(pattern_name) = pattern_lookup.get(&fields) - && pattern_name != name - { - return; - } - - if generated.contains(name) { - return; - } - generated.insert(name.to_string()); - writeln!(output, "/// Catalog tree node.").unwrap(); writeln!(output, "pub struct {} {{", name).unwrap(); - for (field, child_fields) in &fields_with_child_info { + for ((field, child_fields), (child_name, _)) in + ctx.fields_with_child_info.iter().zip(ctx.children.iter()) + { let field_name = to_snake_case(&field.name); - // Look up type parameter for generic patterns - let generic_value_type = child_fields - .as_ref() - .and_then(|cf| metadata.get_type_param(cf)) - .map(String::as_str); - let type_annotation = field_type_with_generic(field, metadata, false, generic_value_type); + let type_annotation = metadata.resolve_tree_field_type( + child_fields.as_deref(), + name, + child_name, + |generic| field_type_with_generic(field, metadata, false, generic), + ); writeln!(output, " pub {}: {},", field_name, type_annotation).unwrap(); } @@ -82,29 +68,61 @@ fn generate_tree_node( writeln!(output, " Self {{").unwrap(); let syntax = RustSyntax; - for (field, (child_name, child_node)) in fields.iter().zip(children.iter()) { - // Detect pattern base for parameterizable patterns - let pattern_base = if metadata.is_pattern_type(&field.rust_type) { - let pattern = metadata.find_pattern(&field.rust_type); - if pattern.is_some_and(|p| p.is_parameterizable()) { - Some(get_pattern_instance_base(child_node)) - } else { - None - } + for ((field_info, child_fields), (child_name, child_node)) in + ctx.fields_with_child_info.iter().zip(ctx.children.iter()) + { + let field_name = to_snake_case(&field_info.name); + + // Check if this is a pattern type and if it's parameterizable + let is_parameterizable = child_fields + .as_ref() + .is_some_and(|cf| metadata.is_parameterizable_fields(cf)); + + if metadata.is_pattern_type(&field_info.rust_type) && is_parameterizable { + // Parameterizable pattern: use pattern constructor with metric base + let pattern_base = get_pattern_instance_base(child_node); + generate_tree_node_field( + output, + &syntax, + field_info, + metadata, + " ", + child_name, + Some(&pattern_base), + ); + } else if child_fields.is_some() { + // Non-parameterizable pattern or regular branch: use inline struct + let child_struct = child_type_name(name, child_name); + let path_expr = syntax.path_expr("base_path", &format!("_{}", child_name)); + writeln!( + output, + " {}: {}::new(client.clone(), {}),", + field_name, child_struct, path_expr + ) + .unwrap(); } else { - None - }; - generate_tree_node_field(output, &syntax, field, metadata, " ", child_name, pattern_base.as_deref()); + // Leaf field + generate_tree_node_field( + output, + &syntax, + field_info, + metadata, + " ", + child_name, + None, + ); + } } writeln!(output, " }}").unwrap(); writeln!(output, " }}").unwrap(); writeln!(output, "}}\n").unwrap(); - for (child_name, child_node) in children { + for (child_name, child_node) in ctx.children { if let TreeNode::Branch(grandchildren) = child_node { let child_fields = get_node_fields(grandchildren, pattern_lookup); - if !pattern_lookup.contains_key(&child_fields) { + // Generate child struct if no pattern match OR pattern is not parameterizable + if !metadata.is_parameterizable_fields(&child_fields) { let child_struct = child_type_name(name, child_name); generate_tree_node( output, diff --git a/crates/brk_bindgen/src/types/case.rs b/crates/brk_bindgen/src/types/case.rs index e03d5b333..6202faf27 100644 --- a/crates/brk_bindgen/src/types/case.rs +++ b/crates/brk_bindgen/src/types/case.rs @@ -54,9 +54,9 @@ pub fn to_camel_case(s: &str) -> String { } } -/// Convert an Index to a snake_case field name (e.g., DateIndex -> by_dateindex). +/// Convert an Index to a snake_case field name (e.g., DateIndex -> dateindex). pub fn index_to_field_name(index: &Index) -> String { - format!("by_{}", to_snake_case(index.serialize_long())) + to_snake_case(index.serialize_long()) } /// Generate a child type/struct/class name (e.g., ParentName + child_name -> ParentName_ChildName). diff --git a/crates/brk_bindgen/src/types/metadata.rs b/crates/brk_bindgen/src/types/metadata.rs index 2340cb0eb..e969f9667 100644 --- a/crates/brk_bindgen/src/types/metadata.rs +++ b/crates/brk_bindgen/src/types/metadata.rs @@ -65,6 +65,48 @@ impl ClientMetadata { self.find_pattern(name).is_some_and(|p| p.is_generic) } + /// Check if a pattern by name is parameterizable. + pub fn is_parameterizable(&self, name: &str) -> bool { + self.find_pattern(name).is_some_and(|p| p.is_parameterizable()) + } + + /// Check if child fields match a parameterizable pattern. + /// Returns true only if the fields match a pattern AND that pattern is parameterizable. + pub fn is_parameterizable_fields(&self, fields: &[PatternField]) -> bool { + self.concrete_to_pattern + .get(fields) + .or_else(|| { + self.structural_patterns + .iter() + .find(|p| p.fields == fields) + .map(|p| &p.name) + }) + .is_some_and(|name| self.is_parameterizable(name)) + } + + /// Resolve the type name for a tree field, considering parameterizability. + /// If the field matches a parameterizable pattern, returns type annotation from callback. + /// Otherwise returns the inline type name (parent_child format). + pub fn resolve_tree_field_type( + &self, + child_fields: Option<&[PatternField]>, + parent_name: &str, + child_name: &str, + type_annotation_fn: F, + ) -> String + where + F: FnOnce(Option<&str>) -> String, + { + match child_fields { + Some(cf) if self.is_parameterizable_fields(cf) => { + let generic_value_type = self.get_type_param(cf).map(String::as_str); + type_annotation_fn(generic_value_type) + } + Some(_) => crate::child_type_name(parent_name, child_name), + None => type_annotation_fn(None), + } + } + /// Get the type parameter for a generic pattern given its concrete fields. pub fn get_type_param(&self, fields: &[PatternField]) -> Option<&String> { self.concrete_to_type_param.get(fields) diff --git a/crates/brk_bindgen/src/types/structs.rs b/crates/brk_bindgen/src/types/structs.rs index 342d3b9ae..fc99935ce 100644 --- a/crates/brk_bindgen/src/types/structs.rs +++ b/crates/brk_bindgen/src/types/structs.rs @@ -81,6 +81,7 @@ impl std::hash::Hash for PatternField { self.name.hash(state); self.rust_type.hash(state); self.json_type.hash(state); + self.indexes.hash(state); } } @@ -89,6 +90,7 @@ impl PartialEq for PatternField { self.name == other.name && self.rust_type == other.rust_type && self.json_type == other.json_type + && self.indexes == other.indexes } } diff --git a/crates/brk_client/Cargo.toml b/crates/brk_client/Cargo.toml index b2e65abba..a1c3d71ae 100644 --- a/crates/brk_client/Cargo.toml +++ b/crates/brk_client/Cargo.toml @@ -1,15 +1,20 @@ [package] name = "brk_client" -description = "A BRK API client" +description = "Rust client for the Bitcoin Research Kit API" version.workspace = true edition.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true build = "build.rs" +keywords = ["bitcoin", "blockchain", "analytics", "on-chain"] +categories = ["api-bindings", "cryptography::cryptocurrencies"] [dependencies] brk_cohort = { workspace = true } brk_types = { workspace = true } minreq = { workspace = true } serde = { workspace = true } + +[dev-dependencies] +serde_json = { workspace = true } diff --git a/crates/brk_client/examples/basic.rs b/crates/brk_client/examples/basic.rs new file mode 100644 index 000000000..dc3549cad --- /dev/null +++ b/crates/brk_client/examples/basic.rs @@ -0,0 +1,56 @@ +//! Basic example of using the BRK client. + +use brk_client::{BrkClient, BrkClientOptions}; + +fn main() -> brk_client::Result<()> { + // Create client with default options + let client = BrkClient::new("http://localhost:3110"); + + // Or with custom options + let _client_with_options = BrkClient::with_options(BrkClientOptions { + base_url: "http://localhost:3110".to_string(), + timeout_secs: 60, + }); + + // Fetch price data using the typed tree API + let price_close = client + .tree() + .price + .usd + .split + .close + .by + .dateindex() + .range(None, Some(-3))?; + println!("Last 3 price close values: {:?}", price_close); + + // Fetch block data + let block_count = client + .tree() + .blocks + .count + .block_count + .sum + .by + .height() + .range(None, Some(-3))?; + println!("Last 3 block count values: {:?}", block_count); + + // Fetch supply data + let circulating = client + .tree() + .supply + .circulating + .bitcoin + .by + .dateindex() + .range(None, Some(-3))?; + println!("Last 3 circulating supply values: {:?}", circulating); + + // Using generic metric fetching + let metricdata = + client.get_metric_by_index("dateindex", "price_close", None, None, None, None)?; + println!("Generic fetch result count: {}", metricdata.data.len()); + + Ok(()) +} diff --git a/crates/brk_client/examples/tree.rs b/crates/brk_client/examples/tree.rs new file mode 100644 index 000000000..edeec1e13 --- /dev/null +++ b/crates/brk_client/examples/tree.rs @@ -0,0 +1,76 @@ +//! Comprehensive test that fetches all endpoints in the tree. +//! +//! This example demonstrates how to iterate over all metrics and fetch data +//! from each endpoint. Run with: cargo run --example test_all_endpoints + +use brk_client::{BrkClient, Index}; + +fn main() -> brk_client::Result<()> { + let client = BrkClient::new("http://localhost:3110"); + + // Get all metrics from the tree + let metrics = client.all_metrics(); + println!("\nFound {} metrics", metrics.len()); + + let mut success = 0; + let mut failed = 0; + let mut errors: Vec = Vec::new(); + + for metric in &metrics { + let name = metric.name(); + let indexes = metric.indexes(); + + for index in indexes { + let path = format!("/api/metric/{}/{}", name, index.serialize_long()); + match client.get::(&format!("{}?to=-3", path)) { + Ok(data) => { + let count = data + .get("data") + .and_then(|d| d.as_array()) + .map(|a| a.len()) + .unwrap_or(0); + if count != 3 { + failed += 1; + let error_msg = format!( + "FAIL: {}.{} -> expected 3, got {}", + name, + index.serialize_long(), + count + ); + errors.push(error_msg.clone()); + println!("{}", error_msg); + } else { + success += 1; + println!("OK: {}.{} -> {} items", name, index.serialize_long(), count); + } + } + Err(e) => { + failed += 1; + let error_msg = format!("FAIL: {}.{} -> {}", name, index.serialize_long(), e); + errors.push(error_msg.clone()); + println!("{}", error_msg); + } + } + } + } + + println!("\n=== Results ==="); + println!("Success: {}", success); + println!("Failed: {}", failed); + + if !errors.is_empty() { + println!("\nErrors:"); + for err in errors.iter().take(10) { + println!(" {}", err); + } + if errors.len() > 10 { + println!(" ... and {} more", errors.len() - 10); + } + } + + if failed > 0 { + std::process::exit(1); + } + + Ok(()) +} diff --git a/crates/brk_client/src/lib.rs b/crates/brk_client/src/lib.rs index bf1881bde..f31915430 100644 --- a/crates/brk_client/src/lib.rs +++ b/crates/brk_client/src/lib.rs @@ -7,11 +7,10 @@ #![allow(clippy::useless_format)] #![allow(clippy::unnecessary_to_owned)] -use std::sync::Arc; -use serde::de::DeserializeOwned; pub use brk_cohort::*; pub use brk_types::*; - +use serde::de::DeserializeOwned; +use std::sync::Arc; /// Error type for BRK client operations. #[derive(Debug)] @@ -77,7 +76,9 @@ impl BrkClientBase { let response = minreq::get(&url) .with_timeout(self.timeout_secs) .send() - .map_err(|e| BrkError { message: e.to_string() })?; + .map_err(|e| BrkError { + message: e.to_string(), + })?; if response.status_code >= 400 { return Err(BrkError { @@ -85,19 +86,22 @@ impl BrkClientBase { }); } - response - .json() - .map_err(|e| BrkError { message: e.to_string() }) + response.json().map_err(|e| BrkError { + message: e.to_string(), + }) } } /// Build metric name with optional prefix. #[inline] fn _m(acc: &str, s: &str) -> String { - if acc.is_empty() { s.to_string() } else { format!("{acc}_{s}") } + if acc.is_empty() { + s.to_string() + } else { + format!("{acc}_{s}") + } } - /// Non-generic trait for metric patterns (usable in collections). pub trait AnyMetricPattern { /// Get the metric name. @@ -113,7 +117,6 @@ pub trait MetricPattern: AnyMetricPattern { fn get(&self, index: Index) -> Option>; } - /// An endpoint for a specific metric + index combination. pub struct Endpoint { client: Arc, @@ -140,8 +143,12 @@ impl Endpoint { /// Fetch data points within a range. pub fn range(&self, from: Option, to: Option) -> Result> { let mut params = Vec::new(); - if let Some(f) = from { params.push(format!("from={}", f)); } - if let Some(t) = to { params.push(format!("to={}", t)); } + if let Some(f) = from { + params.push(format!("from={}", f)); + } + if let Some(t) = to { + params.push(format!("to={}", t)); + } let p = self.path(); let path = if params.is_empty() { p @@ -157,7 +164,6 @@ impl Endpoint { } } - // Index accessor structs /// Container for index endpoint methods. @@ -168,31 +174,35 @@ pub struct MetricPattern1By { } impl MetricPattern1By { - pub fn by_dateindex(&self) -> Endpoint { + pub fn dateindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DateIndex) } - pub fn by_decadeindex(&self) -> Endpoint { + pub fn decadeindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DecadeIndex) } - pub fn by_difficultyepoch(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::DifficultyEpoch) + pub fn difficultyepoch(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::DifficultyEpoch, + ) } - pub fn by_height(&self) -> Endpoint { + pub fn height(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::Height) } - pub fn by_monthindex(&self) -> Endpoint { + pub fn monthindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::MonthIndex) } - pub fn by_quarterindex(&self) -> Endpoint { + pub fn quarterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::QuarterIndex) } - pub fn by_semesterindex(&self) -> Endpoint { + pub fn semesterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::SemesterIndex) } - pub fn by_weekindex(&self) -> Endpoint { + pub fn weekindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::WeekIndex) } - pub fn by_yearindex(&self) -> Endpoint { + pub fn yearindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::YearIndex) } } @@ -214,7 +224,7 @@ impl MetricPattern1 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -247,15 +257,15 @@ impl AnyMetricPattern for MetricPattern1 { impl MetricPattern for MetricPattern1 { fn get(&self, index: Index) -> Option> { match index { - Index::DateIndex => Some(self.by.by_dateindex()), - Index::DecadeIndex => Some(self.by.by_decadeindex()), - Index::DifficultyEpoch => Some(self.by.by_difficultyepoch()), - Index::Height => Some(self.by.by_height()), - Index::MonthIndex => Some(self.by.by_monthindex()), - Index::QuarterIndex => Some(self.by.by_quarterindex()), - Index::SemesterIndex => Some(self.by.by_semesterindex()), - Index::WeekIndex => Some(self.by.by_weekindex()), - Index::YearIndex => Some(self.by.by_yearindex()), + Index::DateIndex => Some(self.by.dateindex()), + Index::DecadeIndex => Some(self.by.decadeindex()), + Index::DifficultyEpoch => Some(self.by.difficultyepoch()), + Index::Height => Some(self.by.height()), + Index::MonthIndex => Some(self.by.monthindex()), + Index::QuarterIndex => Some(self.by.quarterindex()), + Index::SemesterIndex => Some(self.by.semesterindex()), + Index::WeekIndex => Some(self.by.weekindex()), + Index::YearIndex => Some(self.by.yearindex()), _ => None, } } @@ -269,28 +279,32 @@ pub struct MetricPattern2By { } impl MetricPattern2By { - pub fn by_dateindex(&self) -> Endpoint { + pub fn dateindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DateIndex) } - pub fn by_decadeindex(&self) -> Endpoint { + pub fn decadeindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DecadeIndex) } - pub fn by_difficultyepoch(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::DifficultyEpoch) + pub fn difficultyepoch(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::DifficultyEpoch, + ) } - pub fn by_monthindex(&self) -> Endpoint { + pub fn monthindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::MonthIndex) } - pub fn by_quarterindex(&self) -> Endpoint { + pub fn quarterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::QuarterIndex) } - pub fn by_semesterindex(&self) -> Endpoint { + pub fn semesterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::SemesterIndex) } - pub fn by_weekindex(&self) -> Endpoint { + pub fn weekindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::WeekIndex) } - pub fn by_yearindex(&self) -> Endpoint { + pub fn yearindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::YearIndex) } } @@ -312,7 +326,7 @@ impl MetricPattern2 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -344,14 +358,14 @@ impl AnyMetricPattern for MetricPattern2 { impl MetricPattern for MetricPattern2 { fn get(&self, index: Index) -> Option> { match index { - Index::DateIndex => Some(self.by.by_dateindex()), - Index::DecadeIndex => Some(self.by.by_decadeindex()), - Index::DifficultyEpoch => Some(self.by.by_difficultyepoch()), - Index::MonthIndex => Some(self.by.by_monthindex()), - Index::QuarterIndex => Some(self.by.by_quarterindex()), - Index::SemesterIndex => Some(self.by.by_semesterindex()), - Index::WeekIndex => Some(self.by.by_weekindex()), - Index::YearIndex => Some(self.by.by_yearindex()), + Index::DateIndex => Some(self.by.dateindex()), + Index::DecadeIndex => Some(self.by.decadeindex()), + Index::DifficultyEpoch => Some(self.by.difficultyepoch()), + Index::MonthIndex => Some(self.by.monthindex()), + Index::QuarterIndex => Some(self.by.quarterindex()), + Index::SemesterIndex => Some(self.by.semesterindex()), + Index::WeekIndex => Some(self.by.weekindex()), + Index::YearIndex => Some(self.by.yearindex()), _ => None, } } @@ -365,28 +379,28 @@ pub struct MetricPattern3By { } impl MetricPattern3By { - pub fn by_dateindex(&self) -> Endpoint { + pub fn dateindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DateIndex) } - pub fn by_decadeindex(&self) -> Endpoint { + pub fn decadeindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DecadeIndex) } - pub fn by_height(&self) -> Endpoint { + pub fn height(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::Height) } - pub fn by_monthindex(&self) -> Endpoint { + pub fn monthindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::MonthIndex) } - pub fn by_quarterindex(&self) -> Endpoint { + pub fn quarterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::QuarterIndex) } - pub fn by_semesterindex(&self) -> Endpoint { + pub fn semesterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::SemesterIndex) } - pub fn by_weekindex(&self) -> Endpoint { + pub fn weekindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::WeekIndex) } - pub fn by_yearindex(&self) -> Endpoint { + pub fn yearindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::YearIndex) } } @@ -408,7 +422,7 @@ impl MetricPattern3 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -440,14 +454,14 @@ impl AnyMetricPattern for MetricPattern3 { impl MetricPattern for MetricPattern3 { fn get(&self, index: Index) -> Option> { match index { - Index::DateIndex => Some(self.by.by_dateindex()), - Index::DecadeIndex => Some(self.by.by_decadeindex()), - Index::Height => Some(self.by.by_height()), - Index::MonthIndex => Some(self.by.by_monthindex()), - Index::QuarterIndex => Some(self.by.by_quarterindex()), - Index::SemesterIndex => Some(self.by.by_semesterindex()), - Index::WeekIndex => Some(self.by.by_weekindex()), - Index::YearIndex => Some(self.by.by_yearindex()), + Index::DateIndex => Some(self.by.dateindex()), + Index::DecadeIndex => Some(self.by.decadeindex()), + Index::Height => Some(self.by.height()), + Index::MonthIndex => Some(self.by.monthindex()), + Index::QuarterIndex => Some(self.by.quarterindex()), + Index::SemesterIndex => Some(self.by.semesterindex()), + Index::WeekIndex => Some(self.by.weekindex()), + Index::YearIndex => Some(self.by.yearindex()), _ => None, } } @@ -461,25 +475,25 @@ pub struct MetricPattern4By { } impl MetricPattern4By { - pub fn by_dateindex(&self) -> Endpoint { + pub fn dateindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DateIndex) } - pub fn by_decadeindex(&self) -> Endpoint { + pub fn decadeindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DecadeIndex) } - pub fn by_monthindex(&self) -> Endpoint { + pub fn monthindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::MonthIndex) } - pub fn by_quarterindex(&self) -> Endpoint { + pub fn quarterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::QuarterIndex) } - pub fn by_semesterindex(&self) -> Endpoint { + pub fn semesterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::SemesterIndex) } - pub fn by_weekindex(&self) -> Endpoint { + pub fn weekindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::WeekIndex) } - pub fn by_yearindex(&self) -> Endpoint { + pub fn yearindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::YearIndex) } } @@ -501,7 +515,7 @@ impl MetricPattern4 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -532,13 +546,13 @@ impl AnyMetricPattern for MetricPattern4 { impl MetricPattern for MetricPattern4 { fn get(&self, index: Index) -> Option> { match index { - Index::DateIndex => Some(self.by.by_dateindex()), - Index::DecadeIndex => Some(self.by.by_decadeindex()), - Index::MonthIndex => Some(self.by.by_monthindex()), - Index::QuarterIndex => Some(self.by.by_quarterindex()), - Index::SemesterIndex => Some(self.by.by_semesterindex()), - Index::WeekIndex => Some(self.by.by_weekindex()), - Index::YearIndex => Some(self.by.by_yearindex()), + Index::DateIndex => Some(self.by.dateindex()), + Index::DecadeIndex => Some(self.by.decadeindex()), + Index::MonthIndex => Some(self.by.monthindex()), + Index::QuarterIndex => Some(self.by.quarterindex()), + Index::SemesterIndex => Some(self.by.semesterindex()), + Index::WeekIndex => Some(self.by.weekindex()), + Index::YearIndex => Some(self.by.yearindex()), _ => None, } } @@ -552,10 +566,10 @@ pub struct MetricPattern5By { } impl MetricPattern5By { - pub fn by_dateindex(&self) -> Endpoint { + pub fn dateindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DateIndex) } - pub fn by_height(&self) -> Endpoint { + pub fn height(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::Height) } } @@ -577,7 +591,7 @@ impl MetricPattern5 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -593,18 +607,15 @@ impl AnyMetricPattern for MetricPattern5 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::DateIndex, - Index::Height, - ] + &[Index::DateIndex, Index::Height] } } impl MetricPattern for MetricPattern5 { fn get(&self, index: Index) -> Option> { match index { - Index::DateIndex => Some(self.by.by_dateindex()), - Index::Height => Some(self.by.by_height()), + Index::DateIndex => Some(self.by.dateindex()), + Index::Height => Some(self.by.height()), _ => None, } } @@ -618,7 +629,7 @@ pub struct MetricPattern6By { } impl MetricPattern6By { - pub fn by_dateindex(&self) -> Endpoint { + pub fn dateindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DateIndex) } } @@ -640,7 +651,7 @@ impl MetricPattern6 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -656,16 +667,14 @@ impl AnyMetricPattern for MetricPattern6 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::DateIndex, - ] + &[Index::DateIndex] } } impl MetricPattern for MetricPattern6 { fn get(&self, index: Index) -> Option> { match index { - Index::DateIndex => Some(self.by.by_dateindex()), + Index::DateIndex => Some(self.by.dateindex()), _ => None, } } @@ -679,7 +688,7 @@ pub struct MetricPattern7By { } impl MetricPattern7By { - pub fn by_decadeindex(&self) -> Endpoint { + pub fn decadeindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::DecadeIndex) } } @@ -701,7 +710,7 @@ impl MetricPattern7 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -717,16 +726,14 @@ impl AnyMetricPattern for MetricPattern7 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::DecadeIndex, - ] + &[Index::DecadeIndex] } } impl MetricPattern for MetricPattern7 { fn get(&self, index: Index) -> Option> { match index { - Index::DecadeIndex => Some(self.by.by_decadeindex()), + Index::DecadeIndex => Some(self.by.decadeindex()), _ => None, } } @@ -740,8 +747,12 @@ pub struct MetricPattern8By { } impl MetricPattern8By { - pub fn by_difficultyepoch(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::DifficultyEpoch) + pub fn difficultyepoch(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::DifficultyEpoch, + ) } } @@ -762,7 +773,7 @@ impl MetricPattern8 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -778,16 +789,14 @@ impl AnyMetricPattern for MetricPattern8 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::DifficultyEpoch, - ] + &[Index::DifficultyEpoch] } } impl MetricPattern for MetricPattern8 { fn get(&self, index: Index) -> Option> { match index { - Index::DifficultyEpoch => Some(self.by.by_difficultyepoch()), + Index::DifficultyEpoch => Some(self.by.difficultyepoch()), _ => None, } } @@ -801,8 +810,12 @@ pub struct MetricPattern9By { } impl MetricPattern9By { - pub fn by_emptyoutputindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::EmptyOutputIndex) + pub fn emptyoutputindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::EmptyOutputIndex, + ) } } @@ -823,7 +836,7 @@ impl MetricPattern9 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -839,16 +852,14 @@ impl AnyMetricPattern for MetricPattern9 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::EmptyOutputIndex, - ] + &[Index::EmptyOutputIndex] } } impl MetricPattern for MetricPattern9 { fn get(&self, index: Index) -> Option> { match index { - Index::EmptyOutputIndex => Some(self.by.by_emptyoutputindex()), + Index::EmptyOutputIndex => Some(self.by.emptyoutputindex()), _ => None, } } @@ -862,7 +873,7 @@ pub struct MetricPattern10By { } impl MetricPattern10By { - pub fn by_halvingepoch(&self) -> Endpoint { + pub fn halvingepoch(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::HalvingEpoch) } } @@ -884,7 +895,7 @@ impl MetricPattern10 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -900,16 +911,14 @@ impl AnyMetricPattern for MetricPattern10 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::HalvingEpoch, - ] + &[Index::HalvingEpoch] } } impl MetricPattern for MetricPattern10 { fn get(&self, index: Index) -> Option> { match index { - Index::HalvingEpoch => Some(self.by.by_halvingepoch()), + Index::HalvingEpoch => Some(self.by.halvingepoch()), _ => None, } } @@ -923,7 +932,7 @@ pub struct MetricPattern11By { } impl MetricPattern11By { - pub fn by_height(&self) -> Endpoint { + pub fn height(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::Height) } } @@ -945,7 +954,7 @@ impl MetricPattern11 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -961,16 +970,14 @@ impl AnyMetricPattern for MetricPattern11 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::Height, - ] + &[Index::Height] } } impl MetricPattern for MetricPattern11 { fn get(&self, index: Index) -> Option> { match index { - Index::Height => Some(self.by.by_height()), + Index::Height => Some(self.by.height()), _ => None, } } @@ -984,7 +991,7 @@ pub struct MetricPattern12By { } impl MetricPattern12By { - pub fn by_txinindex(&self) -> Endpoint { + pub fn txinindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::TxInIndex) } } @@ -1006,7 +1013,7 @@ impl MetricPattern12 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1022,16 +1029,14 @@ impl AnyMetricPattern for MetricPattern12 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::TxInIndex, - ] + &[Index::TxInIndex] } } impl MetricPattern for MetricPattern12 { fn get(&self, index: Index) -> Option> { match index { - Index::TxInIndex => Some(self.by.by_txinindex()), + Index::TxInIndex => Some(self.by.txinindex()), _ => None, } } @@ -1045,7 +1050,7 @@ pub struct MetricPattern13By { } impl MetricPattern13By { - pub fn by_monthindex(&self) -> Endpoint { + pub fn monthindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::MonthIndex) } } @@ -1067,7 +1072,7 @@ impl MetricPattern13 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1083,16 +1088,14 @@ impl AnyMetricPattern for MetricPattern13 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::MonthIndex, - ] + &[Index::MonthIndex] } } impl MetricPattern for MetricPattern13 { fn get(&self, index: Index) -> Option> { match index { - Index::MonthIndex => Some(self.by.by_monthindex()), + Index::MonthIndex => Some(self.by.monthindex()), _ => None, } } @@ -1106,7 +1109,7 @@ pub struct MetricPattern14By { } impl MetricPattern14By { - pub fn by_opreturnindex(&self) -> Endpoint { + pub fn opreturnindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::OpReturnIndex) } } @@ -1128,7 +1131,7 @@ impl MetricPattern14 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1144,16 +1147,14 @@ impl AnyMetricPattern for MetricPattern14 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::OpReturnIndex, - ] + &[Index::OpReturnIndex] } } impl MetricPattern for MetricPattern14 { fn get(&self, index: Index) -> Option> { match index { - Index::OpReturnIndex => Some(self.by.by_opreturnindex()), + Index::OpReturnIndex => Some(self.by.opreturnindex()), _ => None, } } @@ -1167,7 +1168,7 @@ pub struct MetricPattern15By { } impl MetricPattern15By { - pub fn by_txoutindex(&self) -> Endpoint { + pub fn txoutindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::TxOutIndex) } } @@ -1189,7 +1190,7 @@ impl MetricPattern15 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1205,16 +1206,14 @@ impl AnyMetricPattern for MetricPattern15 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::TxOutIndex, - ] + &[Index::TxOutIndex] } } impl MetricPattern for MetricPattern15 { fn get(&self, index: Index) -> Option> { match index { - Index::TxOutIndex => Some(self.by.by_txoutindex()), + Index::TxOutIndex => Some(self.by.txoutindex()), _ => None, } } @@ -1228,8 +1227,12 @@ pub struct MetricPattern16By { } impl MetricPattern16By { - pub fn by_p2aaddressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2AAddressIndex) + pub fn p2aaddressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2AAddressIndex, + ) } } @@ -1250,7 +1253,7 @@ impl MetricPattern16 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1266,16 +1269,14 @@ impl AnyMetricPattern for MetricPattern16 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2AAddressIndex, - ] + &[Index::P2AAddressIndex] } } impl MetricPattern for MetricPattern16 { fn get(&self, index: Index) -> Option> { match index { - Index::P2AAddressIndex => Some(self.by.by_p2aaddressindex()), + Index::P2AAddressIndex => Some(self.by.p2aaddressindex()), _ => None, } } @@ -1289,8 +1290,12 @@ pub struct MetricPattern17By { } impl MetricPattern17By { - pub fn by_p2msoutputindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2MSOutputIndex) + pub fn p2msoutputindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2MSOutputIndex, + ) } } @@ -1311,7 +1316,7 @@ impl MetricPattern17 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1327,16 +1332,14 @@ impl AnyMetricPattern for MetricPattern17 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2MSOutputIndex, - ] + &[Index::P2MSOutputIndex] } } impl MetricPattern for MetricPattern17 { fn get(&self, index: Index) -> Option> { match index { - Index::P2MSOutputIndex => Some(self.by.by_p2msoutputindex()), + Index::P2MSOutputIndex => Some(self.by.p2msoutputindex()), _ => None, } } @@ -1350,8 +1353,12 @@ pub struct MetricPattern18By { } impl MetricPattern18By { - pub fn by_p2pk33addressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2PK33AddressIndex) + pub fn p2pk33addressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2PK33AddressIndex, + ) } } @@ -1372,7 +1379,7 @@ impl MetricPattern18 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1388,16 +1395,14 @@ impl AnyMetricPattern for MetricPattern18 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2PK33AddressIndex, - ] + &[Index::P2PK33AddressIndex] } } impl MetricPattern for MetricPattern18 { fn get(&self, index: Index) -> Option> { match index { - Index::P2PK33AddressIndex => Some(self.by.by_p2pk33addressindex()), + Index::P2PK33AddressIndex => Some(self.by.p2pk33addressindex()), _ => None, } } @@ -1411,8 +1416,12 @@ pub struct MetricPattern19By { } impl MetricPattern19By { - pub fn by_p2pk65addressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2PK65AddressIndex) + pub fn p2pk65addressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2PK65AddressIndex, + ) } } @@ -1433,7 +1442,7 @@ impl MetricPattern19 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1449,16 +1458,14 @@ impl AnyMetricPattern for MetricPattern19 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2PK65AddressIndex, - ] + &[Index::P2PK65AddressIndex] } } impl MetricPattern for MetricPattern19 { fn get(&self, index: Index) -> Option> { match index { - Index::P2PK65AddressIndex => Some(self.by.by_p2pk65addressindex()), + Index::P2PK65AddressIndex => Some(self.by.p2pk65addressindex()), _ => None, } } @@ -1472,8 +1479,12 @@ pub struct MetricPattern20By { } impl MetricPattern20By { - pub fn by_p2pkhaddressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2PKHAddressIndex) + pub fn p2pkhaddressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2PKHAddressIndex, + ) } } @@ -1494,7 +1505,7 @@ impl MetricPattern20 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1510,16 +1521,14 @@ impl AnyMetricPattern for MetricPattern20 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2PKHAddressIndex, - ] + &[Index::P2PKHAddressIndex] } } impl MetricPattern for MetricPattern20 { fn get(&self, index: Index) -> Option> { match index { - Index::P2PKHAddressIndex => Some(self.by.by_p2pkhaddressindex()), + Index::P2PKHAddressIndex => Some(self.by.p2pkhaddressindex()), _ => None, } } @@ -1533,8 +1542,12 @@ pub struct MetricPattern21By { } impl MetricPattern21By { - pub fn by_p2shaddressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2SHAddressIndex) + pub fn p2shaddressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2SHAddressIndex, + ) } } @@ -1555,7 +1568,7 @@ impl MetricPattern21 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1571,16 +1584,14 @@ impl AnyMetricPattern for MetricPattern21 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2SHAddressIndex, - ] + &[Index::P2SHAddressIndex] } } impl MetricPattern for MetricPattern21 { fn get(&self, index: Index) -> Option> { match index { - Index::P2SHAddressIndex => Some(self.by.by_p2shaddressindex()), + Index::P2SHAddressIndex => Some(self.by.p2shaddressindex()), _ => None, } } @@ -1594,8 +1605,12 @@ pub struct MetricPattern22By { } impl MetricPattern22By { - pub fn by_p2traddressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2TRAddressIndex) + pub fn p2traddressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2TRAddressIndex, + ) } } @@ -1616,7 +1631,7 @@ impl MetricPattern22 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1632,16 +1647,14 @@ impl AnyMetricPattern for MetricPattern22 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2TRAddressIndex, - ] + &[Index::P2TRAddressIndex] } } impl MetricPattern for MetricPattern22 { fn get(&self, index: Index) -> Option> { match index { - Index::P2TRAddressIndex => Some(self.by.by_p2traddressindex()), + Index::P2TRAddressIndex => Some(self.by.p2traddressindex()), _ => None, } } @@ -1655,8 +1668,12 @@ pub struct MetricPattern23By { } impl MetricPattern23By { - pub fn by_p2wpkhaddressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2WPKHAddressIndex) + pub fn p2wpkhaddressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2WPKHAddressIndex, + ) } } @@ -1677,7 +1694,7 @@ impl MetricPattern23 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1693,16 +1710,14 @@ impl AnyMetricPattern for MetricPattern23 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2WPKHAddressIndex, - ] + &[Index::P2WPKHAddressIndex] } } impl MetricPattern for MetricPattern23 { fn get(&self, index: Index) -> Option> { match index { - Index::P2WPKHAddressIndex => Some(self.by.by_p2wpkhaddressindex()), + Index::P2WPKHAddressIndex => Some(self.by.p2wpkhaddressindex()), _ => None, } } @@ -1716,8 +1731,12 @@ pub struct MetricPattern24By { } impl MetricPattern24By { - pub fn by_p2wshaddressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::P2WSHAddressIndex) + pub fn p2wshaddressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::P2WSHAddressIndex, + ) } } @@ -1738,7 +1757,7 @@ impl MetricPattern24 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1754,16 +1773,14 @@ impl AnyMetricPattern for MetricPattern24 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::P2WSHAddressIndex, - ] + &[Index::P2WSHAddressIndex] } } impl MetricPattern for MetricPattern24 { fn get(&self, index: Index) -> Option> { match index { - Index::P2WSHAddressIndex => Some(self.by.by_p2wshaddressindex()), + Index::P2WSHAddressIndex => Some(self.by.p2wshaddressindex()), _ => None, } } @@ -1777,7 +1794,7 @@ pub struct MetricPattern25By { } impl MetricPattern25By { - pub fn by_quarterindex(&self) -> Endpoint { + pub fn quarterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::QuarterIndex) } } @@ -1799,7 +1816,7 @@ impl MetricPattern25 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1815,16 +1832,14 @@ impl AnyMetricPattern for MetricPattern25 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::QuarterIndex, - ] + &[Index::QuarterIndex] } } impl MetricPattern for MetricPattern25 { fn get(&self, index: Index) -> Option> { match index { - Index::QuarterIndex => Some(self.by.by_quarterindex()), + Index::QuarterIndex => Some(self.by.quarterindex()), _ => None, } } @@ -1838,7 +1853,7 @@ pub struct MetricPattern26By { } impl MetricPattern26By { - pub fn by_semesterindex(&self) -> Endpoint { + pub fn semesterindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::SemesterIndex) } } @@ -1860,7 +1875,7 @@ impl MetricPattern26 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1876,16 +1891,14 @@ impl AnyMetricPattern for MetricPattern26 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::SemesterIndex, - ] + &[Index::SemesterIndex] } } impl MetricPattern for MetricPattern26 { fn get(&self, index: Index) -> Option> { match index { - Index::SemesterIndex => Some(self.by.by_semesterindex()), + Index::SemesterIndex => Some(self.by.semesterindex()), _ => None, } } @@ -1899,7 +1912,7 @@ pub struct MetricPattern27By { } impl MetricPattern27By { - pub fn by_txindex(&self) -> Endpoint { + pub fn txindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::TxIndex) } } @@ -1921,7 +1934,7 @@ impl MetricPattern27 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1937,16 +1950,14 @@ impl AnyMetricPattern for MetricPattern27 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::TxIndex, - ] + &[Index::TxIndex] } } impl MetricPattern for MetricPattern27 { fn get(&self, index: Index) -> Option> { match index { - Index::TxIndex => Some(self.by.by_txindex()), + Index::TxIndex => Some(self.by.txindex()), _ => None, } } @@ -1960,8 +1971,12 @@ pub struct MetricPattern28By { } impl MetricPattern28By { - pub fn by_unknownoutputindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::UnknownOutputIndex) + pub fn unknownoutputindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::UnknownOutputIndex, + ) } } @@ -1982,7 +1997,7 @@ impl MetricPattern28 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -1998,16 +2013,14 @@ impl AnyMetricPattern for MetricPattern28 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::UnknownOutputIndex, - ] + &[Index::UnknownOutputIndex] } } impl MetricPattern for MetricPattern28 { fn get(&self, index: Index) -> Option> { match index { - Index::UnknownOutputIndex => Some(self.by.by_unknownoutputindex()), + Index::UnknownOutputIndex => Some(self.by.unknownoutputindex()), _ => None, } } @@ -2021,7 +2034,7 @@ pub struct MetricPattern29By { } impl MetricPattern29By { - pub fn by_weekindex(&self) -> Endpoint { + pub fn weekindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::WeekIndex) } } @@ -2043,7 +2056,7 @@ impl MetricPattern29 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -2059,16 +2072,14 @@ impl AnyMetricPattern for MetricPattern29 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::WeekIndex, - ] + &[Index::WeekIndex] } } impl MetricPattern for MetricPattern29 { fn get(&self, index: Index) -> Option> { match index { - Index::WeekIndex => Some(self.by.by_weekindex()), + Index::WeekIndex => Some(self.by.weekindex()), _ => None, } } @@ -2082,7 +2093,7 @@ pub struct MetricPattern30By { } impl MetricPattern30By { - pub fn by_yearindex(&self) -> Endpoint { + pub fn yearindex(&self) -> Endpoint { Endpoint::new(self.client.clone(), self.name.clone(), Index::YearIndex) } } @@ -2104,7 +2115,7 @@ impl MetricPattern30 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -2120,16 +2131,14 @@ impl AnyMetricPattern for MetricPattern30 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::YearIndex, - ] + &[Index::YearIndex] } } impl MetricPattern for MetricPattern30 { fn get(&self, index: Index) -> Option> { match index { - Index::YearIndex => Some(self.by.by_yearindex()), + Index::YearIndex => Some(self.by.yearindex()), _ => None, } } @@ -2143,8 +2152,12 @@ pub struct MetricPattern31By { } impl MetricPattern31By { - pub fn by_loadedaddressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::LoadedAddressIndex) + pub fn loadedaddressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::LoadedAddressIndex, + ) } } @@ -2165,7 +2178,7 @@ impl MetricPattern31 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -2181,16 +2194,14 @@ impl AnyMetricPattern for MetricPattern31 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::LoadedAddressIndex, - ] + &[Index::LoadedAddressIndex] } } impl MetricPattern for MetricPattern31 { fn get(&self, index: Index) -> Option> { match index { - Index::LoadedAddressIndex => Some(self.by.by_loadedaddressindex()), + Index::LoadedAddressIndex => Some(self.by.loadedaddressindex()), _ => None, } } @@ -2204,8 +2215,12 @@ pub struct MetricPattern32By { } impl MetricPattern32By { - pub fn by_emptyaddressindex(&self) -> Endpoint { - Endpoint::new(self.client.clone(), self.name.clone(), Index::EmptyAddressIndex) + pub fn emptyaddressindex(&self) -> Endpoint { + Endpoint::new( + self.client.clone(), + self.name.clone(), + Index::EmptyAddressIndex, + ) } } @@ -2226,7 +2241,7 @@ impl MetricPattern32 { client, name, _marker: std::marker::PhantomData, - } + }, } } @@ -2242,16 +2257,14 @@ impl AnyMetricPattern for MetricPattern32 { } fn indexes(&self) -> &'static [Index] { - &[ - Index::EmptyAddressIndex, - ] + &[Index::EmptyAddressIndex] } } impl MetricPattern for MetricPattern32 { fn get(&self, index: Index) -> Option> { match index { - Index::EmptyAddressIndex => Some(self.by.by_emptyaddressindex()), + Index::EmptyAddressIndex => Some(self.by.emptyaddressindex()), _ => None, } } @@ -2267,7 +2280,7 @@ pub struct RealizedPattern3 { pub adjusted_value_created: MetricPattern1, pub adjusted_value_destroyed: MetricPattern1, pub mvrv: MetricPattern4, - pub neg_realized_loss: BlockCountPattern, + pub neg_realized_loss: BitcoinPattern, pub net_realized_pnl: BlockCountPattern, pub net_realized_pnl_cumulative_30d_delta: MetricPattern4, pub net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4, @@ -2300,31 +2313,88 @@ impl RealizedPattern3 { pub fn new(client: Arc, acc: String) -> Self { Self { adjusted_sopr: MetricPattern6::new(client.clone(), _m(&acc, "adjusted_sopr")), - adjusted_sopr_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "adjusted_sopr_30d_ema")), - adjusted_sopr_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "adjusted_sopr_7d_ema")), - adjusted_value_created: MetricPattern1::new(client.clone(), _m(&acc, "adjusted_value_created")), - adjusted_value_destroyed: MetricPattern1::new(client.clone(), _m(&acc, "adjusted_value_destroyed")), + adjusted_sopr_30d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "adjusted_sopr_30d_ema"), + ), + adjusted_sopr_7d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "adjusted_sopr_7d_ema"), + ), + adjusted_value_created: MetricPattern1::new( + client.clone(), + _m(&acc, "adjusted_value_created"), + ), + adjusted_value_destroyed: MetricPattern1::new( + client.clone(), + _m(&acc, "adjusted_value_destroyed"), + ), mvrv: MetricPattern4::new(client.clone(), _m(&acc, "mvrv")), - neg_realized_loss: BlockCountPattern::new(client.clone(), _m(&acc, "neg_realized_loss")), + neg_realized_loss: BitcoinPattern::new(client.clone(), _m(&acc, "neg_realized_loss")), net_realized_pnl: BlockCountPattern::new(client.clone(), _m(&acc, "net_realized_pnl")), - net_realized_pnl_cumulative_30d_delta: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta")), - net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap")), - net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap")), - net_realized_pnl_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "net_realized_pnl_rel_to_realized_cap")), + net_realized_pnl_cumulative_30d_delta: MetricPattern4::new( + client.clone(), + _m(&acc, "net_realized_pnl_cumulative_30d_delta"), + ), + net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4::new( + client.clone(), + _m( + &acc, + "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap", + ), + ), + net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4::new( + client.clone(), + _m( + &acc, + "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap", + ), + ), + net_realized_pnl_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "net_realized_pnl_rel_to_realized_cap"), + ), realized_cap: MetricPattern1::new(client.clone(), _m(&acc, "realized_cap")), - realized_cap_30d_delta: MetricPattern4::new(client.clone(), _m(&acc, "realized_cap_30d_delta")), - realized_cap_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "realized_cap_rel_to_own_market_cap")), + realized_cap_30d_delta: MetricPattern4::new( + client.clone(), + _m(&acc, "realized_cap_30d_delta"), + ), + realized_cap_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "realized_cap_rel_to_own_market_cap"), + ), realized_loss: BlockCountPattern::new(client.clone(), _m(&acc, "realized_loss")), - realized_loss_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "realized_loss_rel_to_realized_cap")), + realized_loss_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "realized_loss_rel_to_realized_cap"), + ), realized_price: MetricPattern1::new(client.clone(), _m(&acc, "realized_price")), - realized_price_extra: ActivePriceRatioPattern::new(client.clone(), _m(&acc, "realized_price_ratio")), + realized_price_extra: ActivePriceRatioPattern::new( + client.clone(), + _m(&acc, "realized_price_ratio"), + ), realized_profit: BlockCountPattern::new(client.clone(), _m(&acc, "realized_profit")), - realized_profit_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "realized_profit_rel_to_realized_cap")), - realized_profit_to_loss_ratio: MetricPattern6::new(client.clone(), _m(&acc, "realized_profit_to_loss_ratio")), + realized_profit_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "realized_profit_rel_to_realized_cap"), + ), + realized_profit_to_loss_ratio: MetricPattern6::new( + client.clone(), + _m(&acc, "realized_profit_to_loss_ratio"), + ), realized_value: MetricPattern1::new(client.clone(), _m(&acc, "realized_value")), - sell_side_risk_ratio: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio")), - sell_side_risk_ratio_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio_30d_ema")), - sell_side_risk_ratio_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio_7d_ema")), + sell_side_risk_ratio: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio"), + ), + sell_side_risk_ratio_30d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio_30d_ema"), + ), + sell_side_risk_ratio_7d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio_7d_ema"), + ), sopr: MetricPattern6::new(client.clone(), _m(&acc, "sopr")), sopr_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sopr_30d_ema")), sopr_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sopr_7d_ema")), @@ -2343,7 +2413,7 @@ pub struct RealizedPattern4 { pub adjusted_value_created: MetricPattern1, pub adjusted_value_destroyed: MetricPattern1, pub mvrv: MetricPattern4, - pub neg_realized_loss: BlockCountPattern, + pub neg_realized_loss: BitcoinPattern, pub net_realized_pnl: BlockCountPattern, pub net_realized_pnl_cumulative_30d_delta: MetricPattern4, pub net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4, @@ -2374,29 +2444,80 @@ impl RealizedPattern4 { pub fn new(client: Arc, acc: String) -> Self { Self { adjusted_sopr: MetricPattern6::new(client.clone(), _m(&acc, "adjusted_sopr")), - adjusted_sopr_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "adjusted_sopr_30d_ema")), - adjusted_sopr_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "adjusted_sopr_7d_ema")), - adjusted_value_created: MetricPattern1::new(client.clone(), _m(&acc, "adjusted_value_created")), - adjusted_value_destroyed: MetricPattern1::new(client.clone(), _m(&acc, "adjusted_value_destroyed")), + adjusted_sopr_30d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "adjusted_sopr_30d_ema"), + ), + adjusted_sopr_7d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "adjusted_sopr_7d_ema"), + ), + adjusted_value_created: MetricPattern1::new( + client.clone(), + _m(&acc, "adjusted_value_created"), + ), + adjusted_value_destroyed: MetricPattern1::new( + client.clone(), + _m(&acc, "adjusted_value_destroyed"), + ), mvrv: MetricPattern4::new(client.clone(), _m(&acc, "mvrv")), - neg_realized_loss: BlockCountPattern::new(client.clone(), _m(&acc, "neg_realized_loss")), + neg_realized_loss: BitcoinPattern::new(client.clone(), _m(&acc, "neg_realized_loss")), net_realized_pnl: BlockCountPattern::new(client.clone(), _m(&acc, "net_realized_pnl")), - net_realized_pnl_cumulative_30d_delta: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta")), - net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap")), - net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap")), - net_realized_pnl_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "net_realized_pnl_rel_to_realized_cap")), + net_realized_pnl_cumulative_30d_delta: MetricPattern4::new( + client.clone(), + _m(&acc, "net_realized_pnl_cumulative_30d_delta"), + ), + net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4::new( + client.clone(), + _m( + &acc, + "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap", + ), + ), + net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4::new( + client.clone(), + _m( + &acc, + "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap", + ), + ), + net_realized_pnl_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "net_realized_pnl_rel_to_realized_cap"), + ), realized_cap: MetricPattern1::new(client.clone(), _m(&acc, "realized_cap")), - realized_cap_30d_delta: MetricPattern4::new(client.clone(), _m(&acc, "realized_cap_30d_delta")), + realized_cap_30d_delta: MetricPattern4::new( + client.clone(), + _m(&acc, "realized_cap_30d_delta"), + ), realized_loss: BlockCountPattern::new(client.clone(), _m(&acc, "realized_loss")), - realized_loss_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "realized_loss_rel_to_realized_cap")), + realized_loss_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "realized_loss_rel_to_realized_cap"), + ), realized_price: MetricPattern1::new(client.clone(), _m(&acc, "realized_price")), - realized_price_extra: RealizedPriceExtraPattern::new(client.clone(), _m(&acc, "realized_price")), + realized_price_extra: RealizedPriceExtraPattern::new( + client.clone(), + _m(&acc, "realized_price"), + ), realized_profit: BlockCountPattern::new(client.clone(), _m(&acc, "realized_profit")), - realized_profit_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "realized_profit_rel_to_realized_cap")), + realized_profit_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "realized_profit_rel_to_realized_cap"), + ), realized_value: MetricPattern1::new(client.clone(), _m(&acc, "realized_value")), - sell_side_risk_ratio: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio")), - sell_side_risk_ratio_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio_30d_ema")), - sell_side_risk_ratio_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio_7d_ema")), + sell_side_risk_ratio: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio"), + ), + sell_side_risk_ratio_30d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio_30d_ema"), + ), + sell_side_risk_ratio_7d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio_7d_ema"), + ), sopr: MetricPattern6::new(client.clone(), _m(&acc, "sopr")), sopr_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sopr_30d_ema")), sopr_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sopr_7d_ema")), @@ -2478,7 +2599,7 @@ impl Ratio1ySdPattern { /// Pattern struct for repeated tree structure. pub struct RealizedPattern2 { pub mvrv: MetricPattern4, - pub neg_realized_loss: BlockCountPattern, + pub neg_realized_loss: BitcoinPattern, pub net_realized_pnl: BlockCountPattern, pub net_realized_pnl_cumulative_30d_delta: MetricPattern4, pub net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4, @@ -2511,26 +2632,71 @@ impl RealizedPattern2 { pub fn new(client: Arc, acc: String) -> Self { Self { mvrv: MetricPattern4::new(client.clone(), _m(&acc, "mvrv")), - neg_realized_loss: BlockCountPattern::new(client.clone(), _m(&acc, "neg_realized_loss")), + neg_realized_loss: BitcoinPattern::new(client.clone(), _m(&acc, "neg_realized_loss")), net_realized_pnl: BlockCountPattern::new(client.clone(), _m(&acc, "net_realized_pnl")), - net_realized_pnl_cumulative_30d_delta: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta")), - net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap")), - net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap")), - net_realized_pnl_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "net_realized_pnl_rel_to_realized_cap")), + net_realized_pnl_cumulative_30d_delta: MetricPattern4::new( + client.clone(), + _m(&acc, "net_realized_pnl_cumulative_30d_delta"), + ), + net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4::new( + client.clone(), + _m( + &acc, + "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap", + ), + ), + net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4::new( + client.clone(), + _m( + &acc, + "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap", + ), + ), + net_realized_pnl_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "net_realized_pnl_rel_to_realized_cap"), + ), realized_cap: MetricPattern1::new(client.clone(), _m(&acc, "realized_cap")), - realized_cap_30d_delta: MetricPattern4::new(client.clone(), _m(&acc, "realized_cap_30d_delta")), - realized_cap_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "realized_cap_rel_to_own_market_cap")), + realized_cap_30d_delta: MetricPattern4::new( + client.clone(), + _m(&acc, "realized_cap_30d_delta"), + ), + realized_cap_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "realized_cap_rel_to_own_market_cap"), + ), realized_loss: BlockCountPattern::new(client.clone(), _m(&acc, "realized_loss")), - realized_loss_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "realized_loss_rel_to_realized_cap")), + realized_loss_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "realized_loss_rel_to_realized_cap"), + ), realized_price: MetricPattern1::new(client.clone(), _m(&acc, "realized_price")), - realized_price_extra: ActivePriceRatioPattern::new(client.clone(), _m(&acc, "realized_price_ratio")), + realized_price_extra: ActivePriceRatioPattern::new( + client.clone(), + _m(&acc, "realized_price_ratio"), + ), realized_profit: BlockCountPattern::new(client.clone(), _m(&acc, "realized_profit")), - realized_profit_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "realized_profit_rel_to_realized_cap")), - realized_profit_to_loss_ratio: MetricPattern6::new(client.clone(), _m(&acc, "realized_profit_to_loss_ratio")), + realized_profit_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "realized_profit_rel_to_realized_cap"), + ), + realized_profit_to_loss_ratio: MetricPattern6::new( + client.clone(), + _m(&acc, "realized_profit_to_loss_ratio"), + ), realized_value: MetricPattern1::new(client.clone(), _m(&acc, "realized_value")), - sell_side_risk_ratio: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio")), - sell_side_risk_ratio_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio_30d_ema")), - sell_side_risk_ratio_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio_7d_ema")), + sell_side_risk_ratio: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio"), + ), + sell_side_risk_ratio_30d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio_30d_ema"), + ), + sell_side_risk_ratio_7d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio_7d_ema"), + ), sopr: MetricPattern6::new(client.clone(), _m(&acc, "sopr")), sopr_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sopr_30d_ema")), sopr_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sopr_7d_ema")), @@ -2544,7 +2710,7 @@ impl RealizedPattern2 { /// Pattern struct for repeated tree structure. pub struct RealizedPattern { pub mvrv: MetricPattern4, - pub neg_realized_loss: BlockCountPattern, + pub neg_realized_loss: BitcoinPattern, pub net_realized_pnl: BlockCountPattern, pub net_realized_pnl_cumulative_30d_delta: MetricPattern4, pub net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4, @@ -2575,24 +2741,63 @@ impl RealizedPattern { pub fn new(client: Arc, acc: String) -> Self { Self { mvrv: MetricPattern4::new(client.clone(), _m(&acc, "mvrv")), - neg_realized_loss: BlockCountPattern::new(client.clone(), _m(&acc, "neg_realized_loss")), + neg_realized_loss: BitcoinPattern::new(client.clone(), _m(&acc, "neg_realized_loss")), net_realized_pnl: BlockCountPattern::new(client.clone(), _m(&acc, "net_realized_pnl")), - net_realized_pnl_cumulative_30d_delta: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta")), - net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap")), - net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4::new(client.clone(), _m(&acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap")), - net_realized_pnl_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "net_realized_pnl_rel_to_realized_cap")), + net_realized_pnl_cumulative_30d_delta: MetricPattern4::new( + client.clone(), + _m(&acc, "net_realized_pnl_cumulative_30d_delta"), + ), + net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4::new( + client.clone(), + _m( + &acc, + "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap", + ), + ), + net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4::new( + client.clone(), + _m( + &acc, + "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap", + ), + ), + net_realized_pnl_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "net_realized_pnl_rel_to_realized_cap"), + ), realized_cap: MetricPattern1::new(client.clone(), _m(&acc, "realized_cap")), - realized_cap_30d_delta: MetricPattern4::new(client.clone(), _m(&acc, "realized_cap_30d_delta")), + realized_cap_30d_delta: MetricPattern4::new( + client.clone(), + _m(&acc, "realized_cap_30d_delta"), + ), realized_loss: BlockCountPattern::new(client.clone(), _m(&acc, "realized_loss")), - realized_loss_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "realized_loss_rel_to_realized_cap")), + realized_loss_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "realized_loss_rel_to_realized_cap"), + ), realized_price: MetricPattern1::new(client.clone(), _m(&acc, "realized_price")), - realized_price_extra: RealizedPriceExtraPattern::new(client.clone(), _m(&acc, "realized_price")), + realized_price_extra: RealizedPriceExtraPattern::new( + client.clone(), + _m(&acc, "realized_price"), + ), realized_profit: BlockCountPattern::new(client.clone(), _m(&acc, "realized_profit")), - realized_profit_rel_to_realized_cap: BlockCountPattern::new(client.clone(), _m(&acc, "realized_profit_rel_to_realized_cap")), + realized_profit_rel_to_realized_cap: BlockCountPattern::new( + client.clone(), + _m(&acc, "realized_profit_rel_to_realized_cap"), + ), realized_value: MetricPattern1::new(client.clone(), _m(&acc, "realized_value")), - sell_side_risk_ratio: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio")), - sell_side_risk_ratio_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio_30d_ema")), - sell_side_risk_ratio_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sell_side_risk_ratio_7d_ema")), + sell_side_risk_ratio: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio"), + ), + sell_side_risk_ratio_30d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio_30d_ema"), + ), + sell_side_risk_ratio_7d_ema: MetricPattern6::new( + client.clone(), + _m(&acc, "sell_side_risk_ratio_7d_ema"), + ), sopr: MetricPattern6::new(client.clone(), _m(&acc, "sopr")), sopr_30d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sopr_30d_ema")), sopr_7d_ema: MetricPattern6::new(client.clone(), _m(&acc, "sopr_7d_ema")), @@ -2781,24 +2986,75 @@ impl RelativePattern5 { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { - neg_unrealized_loss_rel_to_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "neg_unrealized_loss_rel_to_market_cap")), - neg_unrealized_loss_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "neg_unrealized_loss_rel_to_own_market_cap")), - neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl")), - net_unrealized_pnl_rel_to_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "net_unrealized_pnl_rel_to_market_cap")), - net_unrealized_pnl_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "net_unrealized_pnl_rel_to_own_market_cap")), - net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl")), + neg_unrealized_loss_rel_to_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "neg_unrealized_loss_rel_to_market_cap"), + ), + neg_unrealized_loss_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "neg_unrealized_loss_rel_to_own_market_cap"), + ), + neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + net_unrealized_pnl_rel_to_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "net_unrealized_pnl_rel_to_market_cap"), + ), + net_unrealized_pnl_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "net_unrealized_pnl_rel_to_own_market_cap"), + ), + net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl"), + ), nupl: MetricPattern1::new(client.clone(), _m(&acc, "nupl")), - supply_in_loss_rel_to_circulating_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_loss_rel_to_circulating_supply")), - supply_in_loss_rel_to_own_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_loss_rel_to_own_supply")), - supply_in_profit_rel_to_circulating_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_profit_rel_to_circulating_supply")), - supply_in_profit_rel_to_own_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_profit_rel_to_own_supply")), - supply_rel_to_circulating_supply: MetricPattern4::new(client.clone(), _m(&acc, "supply_rel_to_circulating_supply")), - unrealized_loss_rel_to_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_loss_rel_to_market_cap")), - unrealized_loss_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_loss_rel_to_own_market_cap")), - unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_loss_rel_to_own_total_unrealized_pnl")), - unrealized_profit_rel_to_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_profit_rel_to_market_cap")), - unrealized_profit_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_profit_rel_to_own_market_cap")), - unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_profit_rel_to_own_total_unrealized_pnl")), + supply_in_loss_rel_to_circulating_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_loss_rel_to_circulating_supply"), + ), + supply_in_loss_rel_to_own_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_loss_rel_to_own_supply"), + ), + supply_in_profit_rel_to_circulating_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_profit_rel_to_circulating_supply"), + ), + supply_in_profit_rel_to_own_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_profit_rel_to_own_supply"), + ), + supply_rel_to_circulating_supply: MetricPattern4::new( + client.clone(), + _m(&acc, "supply_rel_to_circulating_supply"), + ), + unrealized_loss_rel_to_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_loss_rel_to_market_cap"), + ), + unrealized_loss_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_loss_rel_to_own_market_cap"), + ), + unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + unrealized_profit_rel_to_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_profit_rel_to_market_cap"), + ), + unrealized_profit_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_profit_rel_to_own_market_cap"), + ), + unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_profit_rel_to_own_total_unrealized_pnl"), + ), } } } @@ -2814,7 +3070,7 @@ pub struct AaopoolPattern { pub _24h_blocks_mined: MetricPattern1, pub _24h_dominance: MetricPattern1, pub blocks_mined: BlockCountPattern, - pub coinbase: UnclaimedRewardsPattern, + pub coinbase: CoinbasePattern2, pub days_since_block: MetricPattern4, pub dominance: MetricPattern1, pub fee: UnclaimedRewardsPattern, @@ -2834,7 +3090,7 @@ impl AaopoolPattern { _24h_blocks_mined: MetricPattern1::new(client.clone(), _m(&acc, "24h_blocks_mined")), _24h_dominance: MetricPattern1::new(client.clone(), _m(&acc, "24h_dominance")), blocks_mined: BlockCountPattern::new(client.clone(), _m(&acc, "blocks_mined")), - coinbase: UnclaimedRewardsPattern::new(client.clone(), _m(&acc, "coinbase")), + coinbase: CoinbasePattern2::new(client.clone(), _m(&acc, "coinbase")), days_since_block: MetricPattern4::new(client.clone(), _m(&acc, "days_since_block")), dominance: MetricPattern1::new(client.clone(), _m(&acc, "dominance")), fee: UnclaimedRewardsPattern::new(client.clone(), _m(&acc, "fee")), @@ -2861,58 +3117,141 @@ pub struct PriceAgoPattern { } impl PriceAgoPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { + pub fn new(client: Arc, base_path: String) -> Self { Self { - _10y: MetricPattern4::new(client.clone(), _m(&acc, "10y_ago")), - _1d: MetricPattern4::new(client.clone(), _m(&acc, "1d_ago")), - _1m: MetricPattern4::new(client.clone(), _m(&acc, "1m_ago")), - _1w: MetricPattern4::new(client.clone(), _m(&acc, "1w_ago")), - _1y: MetricPattern4::new(client.clone(), _m(&acc, "1y_ago")), - _2y: MetricPattern4::new(client.clone(), _m(&acc, "2y_ago")), - _3m: MetricPattern4::new(client.clone(), _m(&acc, "3m_ago")), - _3y: MetricPattern4::new(client.clone(), _m(&acc, "3y_ago")), - _4y: MetricPattern4::new(client.clone(), _m(&acc, "4y_ago")), - _5y: MetricPattern4::new(client.clone(), _m(&acc, "5y_ago")), - _6m: MetricPattern4::new(client.clone(), _m(&acc, "6m_ago")), - _6y: MetricPattern4::new(client.clone(), _m(&acc, "6y_ago")), - _8y: MetricPattern4::new(client.clone(), _m(&acc, "8y_ago")), + _10y: MetricPattern4::new(client.clone(), format!("{base_path}_10y")), + _1d: MetricPattern4::new(client.clone(), format!("{base_path}_1d")), + _1m: MetricPattern4::new(client.clone(), format!("{base_path}_1m")), + _1w: MetricPattern4::new(client.clone(), format!("{base_path}_1w")), + _1y: MetricPattern4::new(client.clone(), format!("{base_path}_1y")), + _2y: MetricPattern4::new(client.clone(), format!("{base_path}_2y")), + _3m: MetricPattern4::new(client.clone(), format!("{base_path}_3m")), + _3y: MetricPattern4::new(client.clone(), format!("{base_path}_3y")), + _4y: MetricPattern4::new(client.clone(), format!("{base_path}_4y")), + _5y: MetricPattern4::new(client.clone(), format!("{base_path}_5y")), + _6m: MetricPattern4::new(client.clone(), format!("{base_path}_6m")), + _6y: MetricPattern4::new(client.clone(), format!("{base_path}_6y")), + _8y: MetricPattern4::new(client.clone(), format!("{base_path}_8y")), } } } /// Pattern struct for repeated tree structure. pub struct PeriodLumpSumStackPattern { - pub _10y: _24hCoinbaseSumPattern, - pub _1m: _24hCoinbaseSumPattern, - pub _1w: _24hCoinbaseSumPattern, - pub _1y: _24hCoinbaseSumPattern, - pub _2y: _24hCoinbaseSumPattern, - pub _3m: _24hCoinbaseSumPattern, - pub _3y: _24hCoinbaseSumPattern, - pub _4y: _24hCoinbaseSumPattern, - pub _5y: _24hCoinbaseSumPattern, - pub _6m: _24hCoinbaseSumPattern, - pub _6y: _24hCoinbaseSumPattern, - pub _8y: _24hCoinbaseSumPattern, + pub _10y: _2015Pattern, + pub _1m: _2015Pattern, + pub _1w: _2015Pattern, + pub _1y: _2015Pattern, + pub _2y: _2015Pattern, + pub _3m: _2015Pattern, + pub _3y: _2015Pattern, + pub _4y: _2015Pattern, + pub _5y: _2015Pattern, + pub _6m: _2015Pattern, + pub _6y: _2015Pattern, + pub _8y: _2015Pattern, } impl PeriodLumpSumStackPattern { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { - _10y: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "10y".to_string() } else { format!("10y_{acc}") }), - _1m: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "1m".to_string() } else { format!("1m_{acc}") }), - _1w: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "1w".to_string() } else { format!("1w_{acc}") }), - _1y: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "1y".to_string() } else { format!("1y_{acc}") }), - _2y: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "2y".to_string() } else { format!("2y_{acc}") }), - _3m: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "3m".to_string() } else { format!("3m_{acc}") }), - _3y: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "3y".to_string() } else { format!("3y_{acc}") }), - _4y: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "4y".to_string() } else { format!("4y_{acc}") }), - _5y: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "5y".to_string() } else { format!("5y_{acc}") }), - _6m: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "6m".to_string() } else { format!("6m_{acc}") }), - _6y: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "6y".to_string() } else { format!("6y_{acc}") }), - _8y: _24hCoinbaseSumPattern::new(client.clone(), if acc.is_empty() { "8y".to_string() } else { format!("8y_{acc}") }), + _10y: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "10y".to_string() + } else { + format!("10y_{acc}") + }, + ), + _1m: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "1m".to_string() + } else { + format!("1m_{acc}") + }, + ), + _1w: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "1w".to_string() + } else { + format!("1w_{acc}") + }, + ), + _1y: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "1y".to_string() + } else { + format!("1y_{acc}") + }, + ), + _2y: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "2y".to_string() + } else { + format!("2y_{acc}") + }, + ), + _3m: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "3m".to_string() + } else { + format!("3m_{acc}") + }, + ), + _3y: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "3y".to_string() + } else { + format!("3y_{acc}") + }, + ), + _4y: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "4y".to_string() + } else { + format!("4y_{acc}") + }, + ), + _5y: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "5y".to_string() + } else { + format!("5y_{acc}") + }, + ), + _6m: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "6m".to_string() + } else { + format!("6m_{acc}") + }, + ), + _6y: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "6y".to_string() + } else { + format!("6y_{acc}") + }, + ), + _8y: _2015Pattern::new( + client.clone(), + if acc.is_empty() { + "8y".to_string() + } else { + format!("8y_{acc}") + }, + ), } } } @@ -2937,18 +3276,136 @@ impl PeriodAveragePricePattern { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { - _10y: MetricPattern4::new(client.clone(), if acc.is_empty() { "10y".to_string() } else { format!("10y_{acc}") }), - _1m: MetricPattern4::new(client.clone(), if acc.is_empty() { "1m".to_string() } else { format!("1m_{acc}") }), - _1w: MetricPattern4::new(client.clone(), if acc.is_empty() { "1w".to_string() } else { format!("1w_{acc}") }), - _1y: MetricPattern4::new(client.clone(), if acc.is_empty() { "1y".to_string() } else { format!("1y_{acc}") }), - _2y: MetricPattern4::new(client.clone(), if acc.is_empty() { "2y".to_string() } else { format!("2y_{acc}") }), - _3m: MetricPattern4::new(client.clone(), if acc.is_empty() { "3m".to_string() } else { format!("3m_{acc}") }), - _3y: MetricPattern4::new(client.clone(), if acc.is_empty() { "3y".to_string() } else { format!("3y_{acc}") }), - _4y: MetricPattern4::new(client.clone(), if acc.is_empty() { "4y".to_string() } else { format!("4y_{acc}") }), - _5y: MetricPattern4::new(client.clone(), if acc.is_empty() { "5y".to_string() } else { format!("5y_{acc}") }), - _6m: MetricPattern4::new(client.clone(), if acc.is_empty() { "6m".to_string() } else { format!("6m_{acc}") }), - _6y: MetricPattern4::new(client.clone(), if acc.is_empty() { "6y".to_string() } else { format!("6y_{acc}") }), - _8y: MetricPattern4::new(client.clone(), if acc.is_empty() { "8y".to_string() } else { format!("8y_{acc}") }), + _10y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "10y".to_string() + } else { + format!("10y_{acc}") + }, + ), + _1m: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "1m".to_string() + } else { + format!("1m_{acc}") + }, + ), + _1w: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "1w".to_string() + } else { + format!("1w_{acc}") + }, + ), + _1y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "1y".to_string() + } else { + format!("1y_{acc}") + }, + ), + _2y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "2y".to_string() + } else { + format!("2y_{acc}") + }, + ), + _3m: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "3m".to_string() + } else { + format!("3m_{acc}") + }, + ), + _3y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "3y".to_string() + } else { + format!("3y_{acc}") + }, + ), + _4y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "4y".to_string() + } else { + format!("4y_{acc}") + }, + ), + _5y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "5y".to_string() + } else { + format!("5y_{acc}") + }, + ), + _6m: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "6m".to_string() + } else { + format!("6m_{acc}") + }, + ), + _6y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "6y".to_string() + } else { + format!("6y_{acc}") + }, + ), + _8y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "8y".to_string() + } else { + format!("8y_{acc}") + }, + ), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct DollarsPattern { + pub average: MetricPattern2, + pub base: MetricPattern11, + pub cumulative: MetricPattern1, + pub max: MetricPattern2, + pub median: MetricPattern6, + pub min: MetricPattern2, + pub pct10: MetricPattern6, + pub pct25: MetricPattern6, + pub pct75: MetricPattern6, + pub pct90: MetricPattern6, + pub sum: MetricPattern2, +} + +impl DollarsPattern { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + average: MetricPattern2::new(client.clone(), _m(&acc, "average")), + base: MetricPattern11::new(client.clone(), acc.clone()), + cumulative: MetricPattern1::new(client.clone(), _m(&acc, "cumulative")), + max: MetricPattern2::new(client.clone(), _m(&acc, "max")), + median: MetricPattern6::new(client.clone(), _m(&acc, "median")), + min: MetricPattern2::new(client.clone(), _m(&acc, "min")), + pct10: MetricPattern6::new(client.clone(), _m(&acc, "pct10")), + pct25: MetricPattern6::new(client.clone(), _m(&acc, "pct25")), + pct75: MetricPattern6::new(client.clone(), _m(&acc, "pct75")), + pct90: MetricPattern6::new(client.clone(), _m(&acc, "pct90")), + sum: MetricPattern2::new(client.clone(), _m(&acc, "sum")), } } } @@ -2969,20 +3426,19 @@ pub struct ClassAveragePricePattern { } impl ClassAveragePricePattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { + pub fn new(client: Arc, base_path: String) -> Self { Self { - _2015: MetricPattern4::new(client.clone(), _m(&acc, "2015_average_price")), - _2016: MetricPattern4::new(client.clone(), _m(&acc, "2016_average_price")), - _2017: MetricPattern4::new(client.clone(), _m(&acc, "2017_average_price")), - _2018: MetricPattern4::new(client.clone(), _m(&acc, "2018_average_price")), - _2019: MetricPattern4::new(client.clone(), _m(&acc, "2019_average_price")), - _2020: MetricPattern4::new(client.clone(), _m(&acc, "2020_average_price")), - _2021: MetricPattern4::new(client.clone(), _m(&acc, "2021_average_price")), - _2022: MetricPattern4::new(client.clone(), _m(&acc, "2022_average_price")), - _2023: MetricPattern4::new(client.clone(), _m(&acc, "2023_average_price")), - _2024: MetricPattern4::new(client.clone(), _m(&acc, "2024_average_price")), - _2025: MetricPattern4::new(client.clone(), _m(&acc, "2025_average_price")), + _2015: MetricPattern4::new(client.clone(), format!("{base_path}_2015")), + _2016: MetricPattern4::new(client.clone(), format!("{base_path}_2016")), + _2017: MetricPattern4::new(client.clone(), format!("{base_path}_2017")), + _2018: MetricPattern4::new(client.clone(), format!("{base_path}_2018")), + _2019: MetricPattern4::new(client.clone(), format!("{base_path}_2019")), + _2020: MetricPattern4::new(client.clone(), format!("{base_path}_2020")), + _2021: MetricPattern4::new(client.clone(), format!("{base_path}_2021")), + _2022: MetricPattern4::new(client.clone(), format!("{base_path}_2022")), + _2023: MetricPattern4::new(client.clone(), format!("{base_path}_2023")), + _2024: MetricPattern4::new(client.clone(), format!("{base_path}_2024")), + _2025: MetricPattern4::new(client.clone(), format!("{base_path}_2025")), } } } @@ -2991,7 +3447,7 @@ impl ClassAveragePricePattern { pub struct FullnessPattern { pub average: MetricPattern2, pub base: MetricPattern11, - pub cumulative: MetricPattern1, + pub cumulative: MetricPattern2, pub max: MetricPattern2, pub median: MetricPattern6, pub min: MetricPattern2, @@ -3008,7 +3464,7 @@ impl FullnessPattern { Self { average: MetricPattern2::new(client.clone(), _m(&acc, "average")), base: MetricPattern11::new(client.clone(), acc.clone()), - cumulative: MetricPattern1::new(client.clone(), _m(&acc, "cumulative")), + cumulative: MetricPattern2::new(client.clone(), _m(&acc, "cumulative")), max: MetricPattern2::new(client.clone(), _m(&acc, "max")), median: MetricPattern6::new(client.clone(), _m(&acc, "median")), min: MetricPattern2::new(client.clone(), _m(&acc, "min")), @@ -3039,16 +3495,43 @@ impl RelativePattern { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { - neg_unrealized_loss_rel_to_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "neg_unrealized_loss_rel_to_market_cap")), - net_unrealized_pnl_rel_to_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "net_unrealized_pnl_rel_to_market_cap")), + neg_unrealized_loss_rel_to_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "neg_unrealized_loss_rel_to_market_cap"), + ), + net_unrealized_pnl_rel_to_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "net_unrealized_pnl_rel_to_market_cap"), + ), nupl: MetricPattern1::new(client.clone(), _m(&acc, "nupl")), - supply_in_loss_rel_to_circulating_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_loss_rel_to_circulating_supply")), - supply_in_loss_rel_to_own_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_loss_rel_to_own_supply")), - supply_in_profit_rel_to_circulating_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_profit_rel_to_circulating_supply")), - supply_in_profit_rel_to_own_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_profit_rel_to_own_supply")), - supply_rel_to_circulating_supply: MetricPattern4::new(client.clone(), _m(&acc, "supply_rel_to_circulating_supply")), - unrealized_loss_rel_to_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_loss_rel_to_market_cap")), - unrealized_profit_rel_to_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_profit_rel_to_market_cap")), + supply_in_loss_rel_to_circulating_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_loss_rel_to_circulating_supply"), + ), + supply_in_loss_rel_to_own_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_loss_rel_to_own_supply"), + ), + supply_in_profit_rel_to_circulating_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_profit_rel_to_circulating_supply"), + ), + supply_in_profit_rel_to_own_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_profit_rel_to_own_supply"), + ), + supply_rel_to_circulating_supply: MetricPattern4::new( + client.clone(), + _m(&acc, "supply_rel_to_circulating_supply"), + ), + unrealized_loss_rel_to_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_loss_rel_to_market_cap"), + ), + unrealized_profit_rel_to_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_profit_rel_to_market_cap"), + ), } } } @@ -3071,22 +3554,52 @@ impl RelativePattern2 { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { - neg_unrealized_loss_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "neg_unrealized_loss_rel_to_own_market_cap")), - neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl")), - net_unrealized_pnl_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "net_unrealized_pnl_rel_to_own_market_cap")), - net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl")), - supply_in_loss_rel_to_own_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_loss_rel_to_own_supply")), - supply_in_profit_rel_to_own_supply: MetricPattern1::new(client.clone(), _m(&acc, "supply_in_profit_rel_to_own_supply")), - unrealized_loss_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_loss_rel_to_own_market_cap")), - unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_loss_rel_to_own_total_unrealized_pnl")), - unrealized_profit_rel_to_own_market_cap: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_profit_rel_to_own_market_cap")), - unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_profit_rel_to_own_total_unrealized_pnl")), + neg_unrealized_loss_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "neg_unrealized_loss_rel_to_own_market_cap"), + ), + neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + net_unrealized_pnl_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "net_unrealized_pnl_rel_to_own_market_cap"), + ), + net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl"), + ), + supply_in_loss_rel_to_own_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_loss_rel_to_own_supply"), + ), + supply_in_profit_rel_to_own_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "supply_in_profit_rel_to_own_supply"), + ), + unrealized_loss_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_loss_rel_to_own_market_cap"), + ), + unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + unrealized_profit_rel_to_own_market_cap: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_profit_rel_to_own_market_cap"), + ), + unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "unrealized_profit_rel_to_own_total_unrealized_pnl"), + ), } } } /// Pattern struct for repeated tree structure. -pub struct SizePattern { +pub struct CountPattern2 { pub average: MetricPattern1, pub cumulative: MetricPattern1, pub max: MetricPattern1, @@ -3099,7 +3612,7 @@ pub struct SizePattern { pub sum: MetricPattern1, } -impl SizePattern { +impl CountPattern2 { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { @@ -3131,18 +3644,17 @@ pub struct AddrCountPattern { } impl AddrCountPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { + pub fn new(client: Arc, base_path: String) -> Self { Self { - all: MetricPattern1::new(client.clone(), if acc.is_empty() { "addr".to_string() } else { format!("addr_{acc}") }), - p2a: MetricPattern1::new(client.clone(), if acc.is_empty() { "p2a_addr".to_string() } else { format!("p2a_addr_{acc}") }), - p2pk33: MetricPattern1::new(client.clone(), if acc.is_empty() { "p2pk33_addr".to_string() } else { format!("p2pk33_addr_{acc}") }), - p2pk65: MetricPattern1::new(client.clone(), if acc.is_empty() { "p2pk65_addr".to_string() } else { format!("p2pk65_addr_{acc}") }), - p2pkh: MetricPattern1::new(client.clone(), if acc.is_empty() { "p2pkh_addr".to_string() } else { format!("p2pkh_addr_{acc}") }), - p2sh: MetricPattern1::new(client.clone(), if acc.is_empty() { "p2sh_addr".to_string() } else { format!("p2sh_addr_{acc}") }), - p2tr: MetricPattern1::new(client.clone(), if acc.is_empty() { "p2tr_addr".to_string() } else { format!("p2tr_addr_{acc}") }), - p2wpkh: MetricPattern1::new(client.clone(), if acc.is_empty() { "p2wpkh_addr".to_string() } else { format!("p2wpkh_addr_{acc}") }), - p2wsh: MetricPattern1::new(client.clone(), if acc.is_empty() { "p2wsh_addr".to_string() } else { format!("p2wsh_addr_{acc}") }), + all: MetricPattern1::new(client.clone(), format!("{base_path}_all")), + p2a: MetricPattern1::new(client.clone(), format!("{base_path}_p2a")), + p2pk33: MetricPattern1::new(client.clone(), format!("{base_path}_p2pk33")), + p2pk65: MetricPattern1::new(client.clone(), format!("{base_path}_p2pk65")), + p2pkh: MetricPattern1::new(client.clone(), format!("{base_path}_p2pkh")), + p2sh: MetricPattern1::new(client.clone(), format!("{base_path}_p2sh")), + p2tr: MetricPattern1::new(client.clone(), format!("{base_path}_p2tr")), + p2wpkh: MetricPattern1::new(client.clone(), format!("{base_path}_p2wpkh")), + p2wsh: MetricPattern1::new(client.clone(), format!("{base_path}_p2wsh")), } } } @@ -3205,6 +3717,32 @@ impl _0satsPattern { } } +/// Pattern struct for repeated tree structure. +pub struct _100btcPattern { + pub activity: ActivityPattern2, + pub cost_basis: CostBasisPattern, + pub outputs: OutputsPattern, + pub realized: RealizedPattern, + pub relative: RelativePattern, + pub supply: SupplyPattern2, + pub unrealized: UnrealizedPattern, +} + +impl _100btcPattern { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + activity: ActivityPattern2::new(client.clone(), acc.clone()), + cost_basis: CostBasisPattern::new(client.clone(), acc.clone()), + outputs: OutputsPattern::new(client.clone(), acc.clone()), + realized: RealizedPattern::new(client.clone(), acc.clone()), + relative: RelativePattern::new(client.clone(), acc.clone()), + supply: SupplyPattern2::new(client.clone(), _m(&acc, "supply")), + unrealized: UnrealizedPattern::new(client.clone(), acc.clone()), + } + } +} + /// Pattern struct for repeated tree structure. pub struct _0satsPattern2 { pub activity: ActivityPattern2, @@ -3257,6 +3795,116 @@ impl _10yTo12yPattern { } } +/// Pattern struct for repeated tree structure. +pub struct UnrealizedPattern { + pub neg_unrealized_loss: MetricPattern1, + pub net_unrealized_pnl: MetricPattern1, + pub supply_in_loss: ActiveSupplyPattern, + pub supply_in_profit: ActiveSupplyPattern, + pub total_unrealized_pnl: MetricPattern1, + pub unrealized_loss: MetricPattern1, + pub unrealized_profit: MetricPattern1, +} + +impl UnrealizedPattern { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + neg_unrealized_loss: MetricPattern1::new( + client.clone(), + _m(&acc, "neg_unrealized_loss"), + ), + net_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "net_unrealized_pnl")), + supply_in_loss: ActiveSupplyPattern::new(client.clone(), _m(&acc, "supply_in_loss")), + supply_in_profit: ActiveSupplyPattern::new( + client.clone(), + _m(&acc, "supply_in_profit"), + ), + total_unrealized_pnl: MetricPattern1::new( + client.clone(), + _m(&acc, "total_unrealized_pnl"), + ), + unrealized_loss: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_loss")), + unrealized_profit: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_profit")), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct PeriodCagrPattern { + pub _10y: MetricPattern4, + pub _2y: MetricPattern4, + pub _3y: MetricPattern4, + pub _4y: MetricPattern4, + pub _5y: MetricPattern4, + pub _6y: MetricPattern4, + pub _8y: MetricPattern4, +} + +impl PeriodCagrPattern { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + _10y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "10y".to_string() + } else { + format!("10y_{acc}") + }, + ), + _2y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "2y".to_string() + } else { + format!("2y_{acc}") + }, + ), + _3y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "3y".to_string() + } else { + format!("3y_{acc}") + }, + ), + _4y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "4y".to_string() + } else { + format!("4y_{acc}") + }, + ), + _5y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "5y".to_string() + } else { + format!("5y_{acc}") + }, + ), + _6y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "6y".to_string() + } else { + format!("6y_{acc}") + }, + ), + _8y: MetricPattern4::new( + client.clone(), + if acc.is_empty() { + "8y".to_string() + } else { + format!("8y_{acc}") + }, + ), + } + } +} + /// Pattern struct for repeated tree structure. pub struct _10yPattern { pub activity: ActivityPattern2, @@ -3283,84 +3931,6 @@ impl _10yPattern { } } -/// Pattern struct for repeated tree structure. -pub struct _100btcPattern { - pub activity: ActivityPattern2, - pub cost_basis: CostBasisPattern, - pub outputs: OutputsPattern, - pub realized: RealizedPattern, - pub relative: RelativePattern, - pub supply: SupplyPattern2, - pub unrealized: UnrealizedPattern, -} - -impl _100btcPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - activity: ActivityPattern2::new(client.clone(), acc.clone()), - cost_basis: CostBasisPattern::new(client.clone(), acc.clone()), - outputs: OutputsPattern::new(client.clone(), acc.clone()), - realized: RealizedPattern::new(client.clone(), acc.clone()), - relative: RelativePattern::new(client.clone(), acc.clone()), - supply: SupplyPattern2::new(client.clone(), _m(&acc, "supply")), - unrealized: UnrealizedPattern::new(client.clone(), acc.clone()), - } - } -} - -/// Pattern struct for repeated tree structure. -pub struct UnrealizedPattern { - pub neg_unrealized_loss: MetricPattern1, - pub net_unrealized_pnl: MetricPattern1, - pub supply_in_loss: _24hCoinbaseSumPattern, - pub supply_in_profit: _24hCoinbaseSumPattern, - pub total_unrealized_pnl: MetricPattern1, - pub unrealized_loss: MetricPattern1, - pub unrealized_profit: MetricPattern1, -} - -impl UnrealizedPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - neg_unrealized_loss: MetricPattern1::new(client.clone(), _m(&acc, "neg_unrealized_loss")), - net_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "net_unrealized_pnl")), - supply_in_loss: _24hCoinbaseSumPattern::new(client.clone(), _m(&acc, "supply_in_loss")), - supply_in_profit: _24hCoinbaseSumPattern::new(client.clone(), _m(&acc, "supply_in_profit")), - total_unrealized_pnl: MetricPattern1::new(client.clone(), _m(&acc, "total_unrealized_pnl")), - unrealized_loss: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_loss")), - unrealized_profit: MetricPattern1::new(client.clone(), _m(&acc, "unrealized_profit")), - } - } -} - -/// Pattern struct for repeated tree structure. -pub struct PeriodCagrPattern { - pub _10y: MetricPattern4, - pub _2y: MetricPattern4, - pub _3y: MetricPattern4, - pub _4y: MetricPattern4, - pub _5y: MetricPattern4, - pub _6y: MetricPattern4, - pub _8y: MetricPattern4, -} - -impl PeriodCagrPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - _10y: MetricPattern4::new(client.clone(), if acc.is_empty() { "10y".to_string() } else { format!("10y_{acc}") }), - _2y: MetricPattern4::new(client.clone(), if acc.is_empty() { "2y".to_string() } else { format!("2y_{acc}") }), - _3y: MetricPattern4::new(client.clone(), if acc.is_empty() { "3y".to_string() } else { format!("3y_{acc}") }), - _4y: MetricPattern4::new(client.clone(), if acc.is_empty() { "4y".to_string() } else { format!("4y_{acc}") }), - _5y: MetricPattern4::new(client.clone(), if acc.is_empty() { "5y".to_string() } else { format!("5y_{acc}") }), - _6y: MetricPattern4::new(client.clone(), if acc.is_empty() { "6y".to_string() } else { format!("6y_{acc}") }), - _8y: MetricPattern4::new(client.clone(), if acc.is_empty() { "8y".to_string() } else { format!("8y_{acc}") }), - } - } -} - /// Pattern struct for repeated tree structure. pub struct ActivityPattern2 { pub coinblocks_destroyed: BlockCountPattern, @@ -3374,9 +3944,18 @@ impl ActivityPattern2 { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { - coinblocks_destroyed: BlockCountPattern::new(client.clone(), _m(&acc, "coinblocks_destroyed")), - coindays_destroyed: BlockCountPattern::new(client.clone(), _m(&acc, "coindays_destroyed")), - satblocks_destroyed: MetricPattern11::new(client.clone(), _m(&acc, "satblocks_destroyed")), + coinblocks_destroyed: BlockCountPattern::new( + client.clone(), + _m(&acc, "coinblocks_destroyed"), + ), + coindays_destroyed: BlockCountPattern::new( + client.clone(), + _m(&acc, "coindays_destroyed"), + ), + satblocks_destroyed: MetricPattern11::new( + client.clone(), + _m(&acc, "satblocks_destroyed"), + ), satdays_destroyed: MetricPattern11::new(client.clone(), _m(&acc, "satdays_destroyed")), sent: UnclaimedRewardsPattern::new(client.clone(), _m(&acc, "sent")), } @@ -3384,21 +3963,21 @@ impl ActivityPattern2 { } /// Pattern struct for repeated tree structure. -pub struct SplitPattern { - pub close: MetricPattern5, - pub high: MetricPattern5, - pub low: MetricPattern5, - pub open: MetricPattern5, +pub struct SplitPattern2 { + pub close: MetricPattern1, + pub high: MetricPattern1, + pub low: MetricPattern1, + pub open: MetricPattern1, } -impl SplitPattern { +impl SplitPattern2 { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { - close: MetricPattern5::new(client.clone(), _m(&acc, "close_cents")), - high: MetricPattern5::new(client.clone(), _m(&acc, "high_cents")), - low: MetricPattern5::new(client.clone(), _m(&acc, "low_cents")), - open: MetricPattern5::new(client.clone(), _m(&acc, "open_cents")), + close: MetricPattern1::new(client.clone(), _m(&acc, "close")), + high: MetricPattern1::new(client.clone(), _m(&acc, "high")), + low: MetricPattern1::new(client.clone(), _m(&acc, "low")), + open: MetricPattern1::new(client.clone(), _m(&acc, "open")), } } } @@ -3406,8 +3985,8 @@ impl SplitPattern { /// Pattern struct for repeated tree structure. pub struct CoinbasePattern { pub bitcoin: FullnessPattern, - pub dollars: FullnessPattern, - pub sats: FullnessPattern, + pub dollars: DollarsPattern, + pub sats: DollarsPattern, } impl CoinbasePattern { @@ -3415,8 +3994,100 @@ impl CoinbasePattern { pub fn new(client: Arc, acc: String) -> Self { Self { bitcoin: FullnessPattern::new(client.clone(), _m(&acc, "btc")), - dollars: FullnessPattern::new(client.clone(), _m(&acc, "usd")), - sats: FullnessPattern::new(client.clone(), acc.clone()), + dollars: DollarsPattern::new(client.clone(), _m(&acc, "usd")), + sats: DollarsPattern::new(client.clone(), acc.clone()), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct CoinbasePattern2 { + pub bitcoin: BlockCountPattern, + pub dollars: BlockCountPattern, + pub sats: BlockCountPattern, +} + +impl CoinbasePattern2 { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + bitcoin: BlockCountPattern::new(client.clone(), _m(&acc, "btc")), + dollars: BlockCountPattern::new(client.clone(), _m(&acc, "usd")), + sats: BlockCountPattern::new(client.clone(), acc.clone()), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct ActiveSupplyPattern { + pub bitcoin: MetricPattern1, + pub dollars: MetricPattern1, + pub sats: MetricPattern1, +} + +impl ActiveSupplyPattern { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + bitcoin: MetricPattern1::new(client.clone(), _m(&acc, "btc")), + dollars: MetricPattern1::new(client.clone(), _m(&acc, "usd")), + sats: MetricPattern1::new(client.clone(), acc.clone()), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct UnclaimedRewardsPattern { + pub bitcoin: BitcoinPattern, + pub dollars: BlockCountPattern, + pub sats: BlockCountPattern, +} + +impl UnclaimedRewardsPattern { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + bitcoin: BitcoinPattern::new(client.clone(), _m(&acc, "btc")), + dollars: BlockCountPattern::new(client.clone(), _m(&acc, "usd")), + sats: BlockCountPattern::new(client.clone(), acc.clone()), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct _2015Pattern { + pub bitcoin: MetricPattern4, + pub dollars: MetricPattern4, + pub sats: MetricPattern4, +} + +impl _2015Pattern { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + bitcoin: MetricPattern4::new(client.clone(), _m(&acc, "btc")), + dollars: MetricPattern4::new(client.clone(), _m(&acc, "usd")), + sats: MetricPattern4::new(client.clone(), acc.clone()), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct CostBasisPattern2 { + pub max: MetricPattern1, + pub min: MetricPattern1, + pub percentiles: PercentilesPattern, +} + +impl CostBasisPattern2 { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + max: MetricPattern1::new(client.clone(), format!("{base_path}_max")), + min: MetricPattern1::new(client.clone(), format!("{base_path}_min")), + percentiles: PercentilesPattern::new( + client.clone(), + format!("{base_path}_percentiles"), + ), } } } @@ -3439,60 +4110,6 @@ impl SegwitAdoptionPattern { } } -/// Pattern struct for repeated tree structure. -pub struct _24hCoinbaseSumPattern { - pub bitcoin: MetricPattern11, - pub dollars: MetricPattern11, - pub sats: MetricPattern11, -} - -impl _24hCoinbaseSumPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - bitcoin: MetricPattern11::new(client.clone(), _m(&acc, "btc")), - dollars: MetricPattern11::new(client.clone(), _m(&acc, "usd")), - sats: MetricPattern11::new(client.clone(), acc.clone()), - } - } -} - -/// Pattern struct for repeated tree structure. -pub struct CostBasisPattern2 { - pub max: MetricPattern1, - pub min: MetricPattern1, - pub percentiles: PercentilesPattern, -} - -impl CostBasisPattern2 { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - max: MetricPattern1::new(client.clone(), _m(&acc, "max_cost_basis")), - min: MetricPattern1::new(client.clone(), _m(&acc, "min_cost_basis")), - percentiles: PercentilesPattern::new(client.clone(), _m(&acc, "cost_basis")), - } - } -} - -/// Pattern struct for repeated tree structure. -pub struct UnclaimedRewardsPattern { - pub bitcoin: BlockCountPattern, - pub dollars: BlockCountPattern, - pub sats: BlockCountPattern, -} - -impl UnclaimedRewardsPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - bitcoin: BlockCountPattern::new(client.clone(), _m(&acc, "btc")), - dollars: BlockCountPattern::new(client.clone(), _m(&acc, "usd")), - sats: BlockCountPattern::new(client.clone(), acc.clone()), - } - } -} - /// Pattern struct for repeated tree structure. pub struct RelativePattern4 { pub supply_in_loss_rel_to_own_supply: MetricPattern1, @@ -3503,8 +4120,30 @@ impl RelativePattern4 { /// Create a new pattern node with accumulated metric name. pub fn new(client: Arc, acc: String) -> Self { Self { - supply_in_loss_rel_to_own_supply: MetricPattern1::new(client.clone(), _m(&acc, "loss_rel_to_own_supply")), - supply_in_profit_rel_to_own_supply: MetricPattern1::new(client.clone(), _m(&acc, "profit_rel_to_own_supply")), + supply_in_loss_rel_to_own_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "loss_rel_to_own_supply"), + ), + supply_in_profit_rel_to_own_supply: MetricPattern1::new( + client.clone(), + _m(&acc, "profit_rel_to_own_supply"), + ), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct SupplyPattern2 { + pub halved: ActiveSupplyPattern, + pub total: ActiveSupplyPattern, +} + +impl SupplyPattern2 { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + halved: ActiveSupplyPattern::new(client.clone(), _m(&acc, "half")), + total: ActiveSupplyPattern::new(client.clone(), acc.clone()), } } } @@ -3525,22 +4164,6 @@ impl CostBasisPattern { } } -/// Pattern struct for repeated tree structure. -pub struct SupplyPattern2 { - pub halved: _24hCoinbaseSumPattern, - pub total: _24hCoinbaseSumPattern, -} - -impl SupplyPattern2 { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - halved: _24hCoinbaseSumPattern::new(client.clone(), _m(&acc, "half")), - total: _24hCoinbaseSumPattern::new(client.clone(), acc.clone()), - } - } -} - /// Pattern struct for repeated tree structure. pub struct _1dReturns1mSdPattern { pub sd: MetricPattern4, @@ -3557,22 +4180,6 @@ impl _1dReturns1mSdPattern { } } -/// Pattern struct for repeated tree structure. -pub struct CentsPattern { - pub ohlc: MetricPattern5, - pub split: SplitPattern, -} - -impl CentsPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - ohlc: MetricPattern5::new(client.clone(), _m(&acc, "ohlc_sats")), - split: SplitPattern::new(client.clone(), _m(&acc, "sats")), - } - } -} - /// Pattern struct for repeated tree structure. pub struct BlockCountPattern { pub cumulative: MetricPattern1, @@ -3589,6 +4196,37 @@ impl BlockCountPattern { } } +/// Pattern struct for repeated tree structure. +pub struct BitcoinPattern { + pub cumulative: MetricPattern2, + pub sum: MetricPattern1, +} + +impl BitcoinPattern { + /// Create a new pattern node with accumulated metric name. + pub fn new(client: Arc, acc: String) -> Self { + Self { + cumulative: MetricPattern2::new(client.clone(), _m(&acc, "cumulative")), + sum: MetricPattern1::new(client.clone(), acc.clone()), + } + } +} + +/// Pattern struct for repeated tree structure. +pub struct SatsPattern { + pub ohlc: MetricPattern1, + pub split: SplitPattern2, +} + +impl SatsPattern { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + ohlc: MetricPattern1::new(client.clone(), format!("{base_path}_ohlc")), + split: SplitPattern2::new(client.clone(), format!("{base_path}_split")), + } + } +} + /// Pattern struct for repeated tree structure. pub struct RealizedPriceExtraPattern { pub ratio: MetricPattern4, @@ -3617,20 +4255,6 @@ impl OutputsPattern { } } -/// Pattern struct for repeated tree structure. -pub struct EmptyPattern { - pub identity: MetricPattern23, -} - -impl EmptyPattern { - /// Create a new pattern node with accumulated metric name. - pub fn new(client: Arc, acc: String) -> Self { - Self { - identity: MetricPattern23::new(client.clone(), acc.clone()), - } - } -} - // Catalog tree /// Catalog tree node. @@ -3659,7 +4283,10 @@ impl CatalogTree { blocks: CatalogTree_Blocks::new(client.clone(), format!("{base_path}_blocks")), cointime: CatalogTree_Cointime::new(client.clone(), format!("{base_path}_cointime")), constants: CatalogTree_Constants::new(client.clone(), format!("{base_path}_constants")), - distribution: CatalogTree_Distribution::new(client.clone(), format!("{base_path}_distribution")), + distribution: CatalogTree_Distribution::new( + client.clone(), + format!("{base_path}_distribution"), + ), indexes: CatalogTree_Indexes::new(client.clone(), format!("{base_path}_indexes")), inputs: CatalogTree_Inputs::new(client.clone(), format!("{base_path}_inputs")), market: CatalogTree_Market::new(client.clone(), format!("{base_path}_market")), @@ -3669,7 +4296,10 @@ impl CatalogTree { price: CatalogTree_Price::new(client.clone(), format!("{base_path}_price")), scripts: CatalogTree_Scripts::new(client.clone(), format!("{base_path}_scripts")), supply: CatalogTree_Supply::new(client.clone(), format!("{base_path}_supply")), - transactions: CatalogTree_Transactions::new(client.clone(), format!("{base_path}_transactions")), + transactions: CatalogTree_Transactions::new( + client.clone(), + format!("{base_path}_transactions"), + ), } } } @@ -3697,14 +4327,38 @@ pub struct CatalogTree_Addresses { impl CatalogTree_Addresses { pub fn new(client: Arc, base_path: String) -> Self { Self { - first_p2aaddressindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2aaddressindex")), - first_p2pk33addressindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2pk33addressindex")), - first_p2pk65addressindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2pk65addressindex")), - first_p2pkhaddressindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2pkhaddressindex")), - first_p2shaddressindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2shaddressindex")), - first_p2traddressindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2traddressindex")), - first_p2wpkhaddressindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2wpkhaddressindex")), - first_p2wshaddressindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2wshaddressindex")), + first_p2aaddressindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2aaddressindex"), + ), + first_p2pk33addressindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2pk33addressindex"), + ), + first_p2pk65addressindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2pk65addressindex"), + ), + first_p2pkhaddressindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2pkhaddressindex"), + ), + first_p2shaddressindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2shaddressindex"), + ), + first_p2traddressindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2traddressindex"), + ), + first_p2wpkhaddressindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2wpkhaddressindex"), + ), + first_p2wshaddressindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2wshaddressindex"), + ), p2abytes: MetricPattern16::new(client.clone(), format!("{base_path}_p2abytes")), p2pk33bytes: MetricPattern18::new(client.clone(), format!("{base_path}_p2pk33bytes")), p2pk65bytes: MetricPattern19::new(client.clone(), format!("{base_path}_p2pk65bytes")), @@ -3727,11 +4381,11 @@ pub struct CatalogTree_Blocks { pub interval: CatalogTree_Blocks_Interval, pub mining: CatalogTree_Blocks_Mining, pub rewards: CatalogTree_Blocks_Rewards, - pub size: SizePattern, + pub size: CatalogTree_Blocks_Size, pub time: CatalogTree_Blocks_Time, pub total_size: MetricPattern11, - pub vbytes: FullnessPattern, - pub weight: FullnessPattern, + pub vbytes: DollarsPattern, + pub weight: DollarsPattern, } impl CatalogTree_Blocks { @@ -3739,17 +4393,29 @@ impl CatalogTree_Blocks { Self { blockhash: MetricPattern11::new(client.clone(), format!("{base_path}_blockhash")), count: CatalogTree_Blocks_Count::new(client.clone(), format!("{base_path}_count")), - difficulty: CatalogTree_Blocks_Difficulty::new(client.clone(), format!("{base_path}_difficulty")), + difficulty: CatalogTree_Blocks_Difficulty::new( + client.clone(), + format!("{base_path}_difficulty"), + ), fullness: FullnessPattern::new(client.clone(), "block_fullness".to_string()), - halving: CatalogTree_Blocks_Halving::new(client.clone(), format!("{base_path}_halving")), - interval: CatalogTree_Blocks_Interval::new(client.clone(), format!("{base_path}_interval")), + halving: CatalogTree_Blocks_Halving::new( + client.clone(), + format!("{base_path}_halving"), + ), + interval: CatalogTree_Blocks_Interval::new( + client.clone(), + format!("{base_path}_interval"), + ), mining: CatalogTree_Blocks_Mining::new(client.clone(), format!("{base_path}_mining")), - rewards: CatalogTree_Blocks_Rewards::new(client.clone(), format!("{base_path}_rewards")), - size: SizePattern::new(client.clone(), "block_size".to_string()), + rewards: CatalogTree_Blocks_Rewards::new( + client.clone(), + format!("{base_path}_rewards"), + ), + size: CatalogTree_Blocks_Size::new(client.clone(), format!("{base_path}_size")), time: CatalogTree_Blocks_Time::new(client.clone(), format!("{base_path}_time")), total_size: MetricPattern11::new(client.clone(), format!("{base_path}_total_size")), - vbytes: FullnessPattern::new(client.clone(), "block_vbytes".to_string()), - weight: FullnessPattern::new(client.clone(), "".to_string()), + vbytes: DollarsPattern::new(client.clone(), "block_vbytes".to_string()), + weight: DollarsPattern::new(client.clone(), "".to_string()), } } } @@ -3771,16 +4437,31 @@ pub struct CatalogTree_Blocks_Count { impl CatalogTree_Blocks_Count { pub fn new(client: Arc, base_path: String) -> Self { Self { - _1m_block_count: MetricPattern1::new(client.clone(), format!("{base_path}_1m_block_count")), + _1m_block_count: MetricPattern1::new( + client.clone(), + format!("{base_path}_1m_block_count"), + ), _1m_start: MetricPattern11::new(client.clone(), format!("{base_path}_1m_start")), - _1w_block_count: MetricPattern1::new(client.clone(), format!("{base_path}_1w_block_count")), + _1w_block_count: MetricPattern1::new( + client.clone(), + format!("{base_path}_1w_block_count"), + ), _1w_start: MetricPattern11::new(client.clone(), format!("{base_path}_1w_start")), - _1y_block_count: MetricPattern1::new(client.clone(), format!("{base_path}_1y_block_count")), + _1y_block_count: MetricPattern1::new( + client.clone(), + format!("{base_path}_1y_block_count"), + ), _1y_start: MetricPattern11::new(client.clone(), format!("{base_path}_1y_start")), - _24h_block_count: MetricPattern1::new(client.clone(), format!("{base_path}_24h_block_count")), + _24h_block_count: MetricPattern1::new( + client.clone(), + format!("{base_path}_24h_block_count"), + ), _24h_start: MetricPattern11::new(client.clone(), format!("{base_path}_24h_start")), block_count: BlockCountPattern::new(client.clone(), "block_count".to_string()), - block_count_target: MetricPattern4::new(client.clone(), format!("{base_path}_block_count_target")), + block_count_target: MetricPattern4::new( + client.clone(), + format!("{base_path}_block_count_target"), + ), } } } @@ -3800,8 +4481,14 @@ impl CatalogTree_Blocks_Difficulty { Self { adjustment: MetricPattern1::new(client.clone(), format!("{base_path}_adjustment")), as_hash: MetricPattern1::new(client.clone(), format!("{base_path}_as_hash")), - blocks_before_next_adjustment: MetricPattern1::new(client.clone(), format!("{base_path}_blocks_before_next_adjustment")), - days_before_next_adjustment: MetricPattern1::new(client.clone(), format!("{base_path}_days_before_next_adjustment")), + blocks_before_next_adjustment: MetricPattern1::new( + client.clone(), + format!("{base_path}_blocks_before_next_adjustment"), + ), + days_before_next_adjustment: MetricPattern1::new( + client.clone(), + format!("{base_path}_days_before_next_adjustment"), + ), epoch: MetricPattern4::new(client.clone(), format!("{base_path}_epoch")), raw: MetricPattern1::new(client.clone(), format!("{base_path}_raw")), } @@ -3818,8 +4505,14 @@ pub struct CatalogTree_Blocks_Halving { impl CatalogTree_Blocks_Halving { pub fn new(client: Arc, base_path: String) -> Self { Self { - blocks_before_next_halving: MetricPattern1::new(client.clone(), format!("{base_path}_blocks_before_next_halving")), - days_before_next_halving: MetricPattern1::new(client.clone(), format!("{base_path}_days_before_next_halving")), + blocks_before_next_halving: MetricPattern1::new( + client.clone(), + format!("{base_path}_blocks_before_next_halving"), + ), + days_before_next_halving: MetricPattern1::new( + client.clone(), + format!("{base_path}_days_before_next_halving"), + ), epoch: MetricPattern4::new(client.clone(), format!("{base_path}_epoch")), } } @@ -3876,28 +4569,70 @@ pub struct CatalogTree_Blocks_Mining { impl CatalogTree_Blocks_Mining { pub fn new(client: Arc, base_path: String) -> Self { Self { - hash_price_phs: MetricPattern1::new(client.clone(), format!("{base_path}_hash_price_phs")), - hash_price_phs_min: MetricPattern1::new(client.clone(), format!("{base_path}_hash_price_phs_min")), - hash_price_rebound: MetricPattern1::new(client.clone(), format!("{base_path}_hash_price_rebound")), - hash_price_ths: MetricPattern1::new(client.clone(), format!("{base_path}_hash_price_ths")), - hash_price_ths_min: MetricPattern1::new(client.clone(), format!("{base_path}_hash_price_ths_min")), + hash_price_phs: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_price_phs"), + ), + hash_price_phs_min: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_price_phs_min"), + ), + hash_price_rebound: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_price_rebound"), + ), + hash_price_ths: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_price_ths"), + ), + hash_price_ths_min: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_price_ths_min"), + ), hash_rate: MetricPattern1::new(client.clone(), format!("{base_path}_hash_rate")), - hash_rate_1m_sma: MetricPattern4::new(client.clone(), format!("{base_path}_hash_rate_1m_sma")), - hash_rate_1w_sma: MetricPattern4::new(client.clone(), format!("{base_path}_hash_rate_1w_sma")), - hash_rate_1y_sma: MetricPattern4::new(client.clone(), format!("{base_path}_hash_rate_1y_sma")), - hash_rate_2m_sma: MetricPattern4::new(client.clone(), format!("{base_path}_hash_rate_2m_sma")), - hash_value_phs: MetricPattern1::new(client.clone(), format!("{base_path}_hash_value_phs")), - hash_value_phs_min: MetricPattern1::new(client.clone(), format!("{base_path}_hash_value_phs_min")), - hash_value_rebound: MetricPattern1::new(client.clone(), format!("{base_path}_hash_value_rebound")), - hash_value_ths: MetricPattern1::new(client.clone(), format!("{base_path}_hash_value_ths")), - hash_value_ths_min: MetricPattern1::new(client.clone(), format!("{base_path}_hash_value_ths_min")), + hash_rate_1m_sma: MetricPattern4::new( + client.clone(), + format!("{base_path}_hash_rate_1m_sma"), + ), + hash_rate_1w_sma: MetricPattern4::new( + client.clone(), + format!("{base_path}_hash_rate_1w_sma"), + ), + hash_rate_1y_sma: MetricPattern4::new( + client.clone(), + format!("{base_path}_hash_rate_1y_sma"), + ), + hash_rate_2m_sma: MetricPattern4::new( + client.clone(), + format!("{base_path}_hash_rate_2m_sma"), + ), + hash_value_phs: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_value_phs"), + ), + hash_value_phs_min: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_value_phs_min"), + ), + hash_value_rebound: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_value_rebound"), + ), + hash_value_ths: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_value_ths"), + ), + hash_value_ths_min: MetricPattern1::new( + client.clone(), + format!("{base_path}_hash_value_ths_min"), + ), } } } /// Catalog tree node. pub struct CatalogTree_Blocks_Rewards { - pub _24h_coinbase_sum: _24hCoinbaseSumPattern, + pub _24h_coinbase_sum: CatalogTree_Blocks_Rewards_24hCoinbaseSum, pub coinbase: CoinbasePattern, pub fee_dominance: MetricPattern6, pub subsidy: CoinbasePattern, @@ -3909,13 +4644,76 @@ pub struct CatalogTree_Blocks_Rewards { impl CatalogTree_Blocks_Rewards { pub fn new(client: Arc, base_path: String) -> Self { Self { - _24h_coinbase_sum: _24hCoinbaseSumPattern::new(client.clone(), "24h_coinbase_sum".to_string()), + _24h_coinbase_sum: CatalogTree_Blocks_Rewards_24hCoinbaseSum::new( + client.clone(), + format!("{base_path}__24h_coinbase_sum"), + ), coinbase: CoinbasePattern::new(client.clone(), "coinbase".to_string()), - fee_dominance: MetricPattern6::new(client.clone(), format!("{base_path}_fee_dominance")), + fee_dominance: MetricPattern6::new( + client.clone(), + format!("{base_path}_fee_dominance"), + ), subsidy: CoinbasePattern::new(client.clone(), "subsidy".to_string()), - subsidy_dominance: MetricPattern6::new(client.clone(), format!("{base_path}_subsidy_dominance")), - subsidy_usd_1y_sma: MetricPattern4::new(client.clone(), format!("{base_path}_subsidy_usd_1y_sma")), - unclaimed_rewards: UnclaimedRewardsPattern::new(client.clone(), "unclaimed_rewards".to_string()), + subsidy_dominance: MetricPattern6::new( + client.clone(), + format!("{base_path}_subsidy_dominance"), + ), + subsidy_usd_1y_sma: MetricPattern4::new( + client.clone(), + format!("{base_path}_subsidy_usd_1y_sma"), + ), + unclaimed_rewards: UnclaimedRewardsPattern::new( + client.clone(), + "unclaimed_rewards".to_string(), + ), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Blocks_Rewards_24hCoinbaseSum { + pub bitcoin: MetricPattern11, + pub dollars: MetricPattern11, + pub sats: MetricPattern11, +} + +impl CatalogTree_Blocks_Rewards_24hCoinbaseSum { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + bitcoin: MetricPattern11::new(client.clone(), format!("{base_path}_bitcoin")), + dollars: MetricPattern11::new(client.clone(), format!("{base_path}_dollars")), + sats: MetricPattern11::new(client.clone(), format!("{base_path}_sats")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Blocks_Size { + pub average: MetricPattern2, + pub cumulative: MetricPattern1, + pub max: MetricPattern2, + pub median: MetricPattern6, + pub min: MetricPattern2, + pub pct10: MetricPattern6, + pub pct25: MetricPattern6, + pub pct75: MetricPattern6, + pub pct90: MetricPattern6, + pub sum: MetricPattern2, +} + +impl CatalogTree_Blocks_Size { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + average: MetricPattern2::new(client.clone(), format!("{base_path}_average")), + cumulative: MetricPattern1::new(client.clone(), format!("{base_path}_cumulative")), + max: MetricPattern2::new(client.clone(), format!("{base_path}_max")), + median: MetricPattern6::new(client.clone(), format!("{base_path}_median")), + min: MetricPattern2::new(client.clone(), format!("{base_path}_min")), + pct10: MetricPattern6::new(client.clone(), format!("{base_path}_pct10")), + pct25: MetricPattern6::new(client.clone(), format!("{base_path}_pct25")), + pct75: MetricPattern6::new(client.clone(), format!("{base_path}_pct75")), + pct90: MetricPattern6::new(client.clone(), format!("{base_path}_pct90")), + sum: MetricPattern2::new(client.clone(), format!("{base_path}_sum")), } } } @@ -3934,7 +4732,10 @@ impl CatalogTree_Blocks_Time { date: MetricPattern11::new(client.clone(), format!("{base_path}_date")), date_fixed: MetricPattern11::new(client.clone(), format!("{base_path}_date_fixed")), timestamp: MetricPattern1::new(client.clone(), format!("{base_path}_timestamp")), - timestamp_fixed: MetricPattern11::new(client.clone(), format!("{base_path}_timestamp_fixed")), + timestamp_fixed: MetricPattern11::new( + client.clone(), + format!("{base_path}_timestamp_fixed"), + ), } } } @@ -3952,10 +4753,19 @@ pub struct CatalogTree_Cointime { impl CatalogTree_Cointime { pub fn new(client: Arc, base_path: String) -> Self { Self { - activity: CatalogTree_Cointime_Activity::new(client.clone(), format!("{base_path}_activity")), - adjusted: CatalogTree_Cointime_Adjusted::new(client.clone(), format!("{base_path}_adjusted")), + activity: CatalogTree_Cointime_Activity::new( + client.clone(), + format!("{base_path}_activity"), + ), + adjusted: CatalogTree_Cointime_Adjusted::new( + client.clone(), + format!("{base_path}_adjusted"), + ), cap: CatalogTree_Cointime_Cap::new(client.clone(), format!("{base_path}_cap")), - pricing: CatalogTree_Cointime_Pricing::new(client.clone(), format!("{base_path}_pricing")), + pricing: CatalogTree_Cointime_Pricing::new( + client.clone(), + format!("{base_path}_pricing"), + ), supply: CatalogTree_Cointime_Supply::new(client.clone(), format!("{base_path}_supply")), value: CatalogTree_Cointime_Value::new(client.clone(), format!("{base_path}_value")), } @@ -3974,9 +4784,18 @@ pub struct CatalogTree_Cointime_Activity { impl CatalogTree_Cointime_Activity { pub fn new(client: Arc, base_path: String) -> Self { Self { - activity_to_vaultedness_ratio: MetricPattern1::new(client.clone(), format!("{base_path}_activity_to_vaultedness_ratio")), - coinblocks_created: BlockCountPattern::new(client.clone(), "coinblocks_created".to_string()), - coinblocks_stored: BlockCountPattern::new(client.clone(), "coinblocks_stored".to_string()), + activity_to_vaultedness_ratio: MetricPattern1::new( + client.clone(), + format!("{base_path}_activity_to_vaultedness_ratio"), + ), + coinblocks_created: BlockCountPattern::new( + client.clone(), + "coinblocks_created".to_string(), + ), + coinblocks_stored: BlockCountPattern::new( + client.clone(), + "coinblocks_stored".to_string(), + ), liveliness: MetricPattern1::new(client.clone(), format!("{base_path}_liveliness")), vaultedness: MetricPattern1::new(client.clone(), format!("{base_path}_vaultedness")), } @@ -3993,9 +4812,18 @@ pub struct CatalogTree_Cointime_Adjusted { impl CatalogTree_Cointime_Adjusted { pub fn new(client: Arc, base_path: String) -> Self { Self { - cointime_adj_inflation_rate: MetricPattern4::new(client.clone(), format!("{base_path}_cointime_adj_inflation_rate")), - cointime_adj_tx_btc_velocity: MetricPattern4::new(client.clone(), format!("{base_path}_cointime_adj_tx_btc_velocity")), - cointime_adj_tx_usd_velocity: MetricPattern4::new(client.clone(), format!("{base_path}_cointime_adj_tx_usd_velocity")), + cointime_adj_inflation_rate: MetricPattern4::new( + client.clone(), + format!("{base_path}_cointime_adj_inflation_rate"), + ), + cointime_adj_tx_btc_velocity: MetricPattern4::new( + client.clone(), + format!("{base_path}_cointime_adj_tx_btc_velocity"), + ), + cointime_adj_tx_usd_velocity: MetricPattern4::new( + client.clone(), + format!("{base_path}_cointime_adj_tx_usd_velocity"), + ), } } } @@ -4037,28 +4865,49 @@ impl CatalogTree_Cointime_Pricing { pub fn new(client: Arc, base_path: String) -> Self { Self { active_price: MetricPattern1::new(client.clone(), format!("{base_path}_active_price")), - active_price_ratio: ActivePriceRatioPattern::new(client.clone(), "active_price_ratio".to_string()), - cointime_price: MetricPattern1::new(client.clone(), format!("{base_path}_cointime_price")), - cointime_price_ratio: ActivePriceRatioPattern::new(client.clone(), "cointime_price_ratio".to_string()), - true_market_mean: MetricPattern1::new(client.clone(), format!("{base_path}_true_market_mean")), - true_market_mean_ratio: ActivePriceRatioPattern::new(client.clone(), "true_market_mean_ratio".to_string()), - vaulted_price: MetricPattern1::new(client.clone(), format!("{base_path}_vaulted_price")), - vaulted_price_ratio: ActivePriceRatioPattern::new(client.clone(), "vaulted_price_ratio".to_string()), + active_price_ratio: ActivePriceRatioPattern::new( + client.clone(), + "active_price_ratio".to_string(), + ), + cointime_price: MetricPattern1::new( + client.clone(), + format!("{base_path}_cointime_price"), + ), + cointime_price_ratio: ActivePriceRatioPattern::new( + client.clone(), + "cointime_price_ratio".to_string(), + ), + true_market_mean: MetricPattern1::new( + client.clone(), + format!("{base_path}_true_market_mean"), + ), + true_market_mean_ratio: ActivePriceRatioPattern::new( + client.clone(), + "true_market_mean_ratio".to_string(), + ), + vaulted_price: MetricPattern1::new( + client.clone(), + format!("{base_path}_vaulted_price"), + ), + vaulted_price_ratio: ActivePriceRatioPattern::new( + client.clone(), + "vaulted_price_ratio".to_string(), + ), } } } /// Catalog tree node. pub struct CatalogTree_Cointime_Supply { - pub active_supply: _24hCoinbaseSumPattern, - pub vaulted_supply: _24hCoinbaseSumPattern, + pub active_supply: ActiveSupplyPattern, + pub vaulted_supply: ActiveSupplyPattern, } impl CatalogTree_Cointime_Supply { pub fn new(client: Arc, base_path: String) -> Self { Self { - active_supply: _24hCoinbaseSumPattern::new(client.clone(), "active_supply".to_string()), - vaulted_supply: _24hCoinbaseSumPattern::new(client.clone(), "vaulted_supply".to_string()), + active_supply: ActiveSupplyPattern::new(client.clone(), "active_supply".to_string()), + vaulted_supply: ActiveSupplyPattern::new(client.clone(), "vaulted_supply".to_string()), } } } @@ -4073,9 +4922,18 @@ pub struct CatalogTree_Cointime_Value { impl CatalogTree_Cointime_Value { pub fn new(client: Arc, base_path: String) -> Self { Self { - cointime_value_created: BlockCountPattern::new(client.clone(), "cointime_value_created".to_string()), - cointime_value_destroyed: BlockCountPattern::new(client.clone(), "cointime_value_destroyed".to_string()), - cointime_value_stored: BlockCountPattern::new(client.clone(), "cointime_value_stored".to_string()), + cointime_value_created: BlockCountPattern::new( + client.clone(), + "cointime_value_created".to_string(), + ), + cointime_value_destroyed: BlockCountPattern::new( + client.clone(), + "cointime_value_destroyed".to_string(), + ), + cointime_value_stored: BlockCountPattern::new( + client.clone(), + "cointime_value_stored".to_string(), + ), } } } @@ -4112,29 +4970,47 @@ impl CatalogTree_Constants { constant_20: MetricPattern1::new(client.clone(), format!("{base_path}_constant_20")), constant_3: MetricPattern1::new(client.clone(), format!("{base_path}_constant_3")), constant_30: MetricPattern1::new(client.clone(), format!("{base_path}_constant_30")), - constant_38_2: MetricPattern1::new(client.clone(), format!("{base_path}_constant_38_2")), + constant_38_2: MetricPattern1::new( + client.clone(), + format!("{base_path}_constant_38_2"), + ), constant_4: MetricPattern1::new(client.clone(), format!("{base_path}_constant_4")), constant_50: MetricPattern1::new(client.clone(), format!("{base_path}_constant_50")), constant_600: MetricPattern1::new(client.clone(), format!("{base_path}_constant_600")), - constant_61_8: MetricPattern1::new(client.clone(), format!("{base_path}_constant_61_8")), + constant_61_8: MetricPattern1::new( + client.clone(), + format!("{base_path}_constant_61_8"), + ), constant_70: MetricPattern1::new(client.clone(), format!("{base_path}_constant_70")), constant_80: MetricPattern1::new(client.clone(), format!("{base_path}_constant_80")), - constant_minus_1: MetricPattern1::new(client.clone(), format!("{base_path}_constant_minus_1")), - constant_minus_2: MetricPattern1::new(client.clone(), format!("{base_path}_constant_minus_2")), - constant_minus_3: MetricPattern1::new(client.clone(), format!("{base_path}_constant_minus_3")), - constant_minus_4: MetricPattern1::new(client.clone(), format!("{base_path}_constant_minus_4")), + constant_minus_1: MetricPattern1::new( + client.clone(), + format!("{base_path}_constant_minus_1"), + ), + constant_minus_2: MetricPattern1::new( + client.clone(), + format!("{base_path}_constant_minus_2"), + ), + constant_minus_3: MetricPattern1::new( + client.clone(), + format!("{base_path}_constant_minus_3"), + ), + constant_minus_4: MetricPattern1::new( + client.clone(), + format!("{base_path}_constant_minus_4"), + ), } } } /// Catalog tree node. pub struct CatalogTree_Distribution { - pub addr_count: AddrCountPattern, + pub addr_count: CatalogTree_Distribution_AddrCount, pub address_cohorts: CatalogTree_Distribution_AddressCohorts, pub addresses_data: CatalogTree_Distribution_AddressesData, pub any_address_indexes: CatalogTree_Distribution_AnyAddressIndexes, pub chain_state: MetricPattern11, - pub empty_addr_count: AddrCountPattern, + pub empty_addr_count: CatalogTree_Distribution_EmptyAddrCount, pub emptyaddressindex: MetricPattern32, pub loadedaddressindex: MetricPattern31, pub utxo_cohorts: CatalogTree_Distribution_UtxoCohorts, @@ -4143,15 +5019,68 @@ pub struct CatalogTree_Distribution { impl CatalogTree_Distribution { pub fn new(client: Arc, base_path: String) -> Self { Self { - addr_count: AddrCountPattern::new(client.clone(), "addr_count".to_string()), - address_cohorts: CatalogTree_Distribution_AddressCohorts::new(client.clone(), format!("{base_path}_address_cohorts")), - addresses_data: CatalogTree_Distribution_AddressesData::new(client.clone(), format!("{base_path}_addresses_data")), - any_address_indexes: CatalogTree_Distribution_AnyAddressIndexes::new(client.clone(), format!("{base_path}_any_address_indexes")), + addr_count: CatalogTree_Distribution_AddrCount::new( + client.clone(), + format!("{base_path}_addr_count"), + ), + address_cohorts: CatalogTree_Distribution_AddressCohorts::new( + client.clone(), + format!("{base_path}_address_cohorts"), + ), + addresses_data: CatalogTree_Distribution_AddressesData::new( + client.clone(), + format!("{base_path}_addresses_data"), + ), + any_address_indexes: CatalogTree_Distribution_AnyAddressIndexes::new( + client.clone(), + format!("{base_path}_any_address_indexes"), + ), chain_state: MetricPattern11::new(client.clone(), format!("{base_path}_chain_state")), - empty_addr_count: AddrCountPattern::new(client.clone(), "empty_addr_count".to_string()), - emptyaddressindex: MetricPattern32::new(client.clone(), format!("{base_path}_emptyaddressindex")), - loadedaddressindex: MetricPattern31::new(client.clone(), format!("{base_path}_loadedaddressindex")), - utxo_cohorts: CatalogTree_Distribution_UtxoCohorts::new(client.clone(), format!("{base_path}_utxo_cohorts")), + empty_addr_count: CatalogTree_Distribution_EmptyAddrCount::new( + client.clone(), + format!("{base_path}_empty_addr_count"), + ), + emptyaddressindex: MetricPattern32::new( + client.clone(), + format!("{base_path}_emptyaddressindex"), + ), + loadedaddressindex: MetricPattern31::new( + client.clone(), + format!("{base_path}_loadedaddressindex"), + ), + utxo_cohorts: CatalogTree_Distribution_UtxoCohorts::new( + client.clone(), + format!("{base_path}_utxo_cohorts"), + ), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Distribution_AddrCount { + pub all: MetricPattern1, + pub p2a: MetricPattern1, + pub p2pk33: MetricPattern1, + pub p2pk65: MetricPattern1, + pub p2pkh: MetricPattern1, + pub p2sh: MetricPattern1, + pub p2tr: MetricPattern1, + pub p2wpkh: MetricPattern1, + pub p2wsh: MetricPattern1, +} + +impl CatalogTree_Distribution_AddrCount { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + all: MetricPattern1::new(client.clone(), format!("{base_path}_all")), + p2a: MetricPattern1::new(client.clone(), format!("{base_path}_p2a")), + p2pk33: MetricPattern1::new(client.clone(), format!("{base_path}_p2pk33")), + p2pk65: MetricPattern1::new(client.clone(), format!("{base_path}_p2pk65")), + p2pkh: MetricPattern1::new(client.clone(), format!("{base_path}_p2pkh")), + p2sh: MetricPattern1::new(client.clone(), format!("{base_path}_p2sh")), + p2tr: MetricPattern1::new(client.clone(), format!("{base_path}_p2tr")), + p2wpkh: MetricPattern1::new(client.clone(), format!("{base_path}_p2wpkh")), + p2wsh: MetricPattern1::new(client.clone(), format!("{base_path}_p2wsh")), } } } @@ -4166,9 +5095,18 @@ pub struct CatalogTree_Distribution_AddressCohorts { impl CatalogTree_Distribution_AddressCohorts { pub fn new(client: Arc, base_path: String) -> Self { Self { - amount_range: CatalogTree_Distribution_AddressCohorts_AmountRange::new(client.clone(), format!("{base_path}_amount_range")), - ge_amount: CatalogTree_Distribution_AddressCohorts_GeAmount::new(client.clone(), format!("{base_path}_ge_amount")), - lt_amount: CatalogTree_Distribution_AddressCohorts_LtAmount::new(client.clone(), format!("{base_path}_lt_amount")), + amount_range: CatalogTree_Distribution_AddressCohorts_AmountRange::new( + client.clone(), + format!("{base_path}_amount_range"), + ), + ge_amount: CatalogTree_Distribution_AddressCohorts_GeAmount::new( + client.clone(), + format!("{base_path}_ge_amount"), + ), + lt_amount: CatalogTree_Distribution_AddressCohorts_LtAmount::new( + client.clone(), + format!("{base_path}_lt_amount"), + ), } } } @@ -4196,20 +5134,62 @@ impl CatalogTree_Distribution_AddressCohorts_AmountRange { pub fn new(client: Arc, base_path: String) -> Self { Self { _0sats: _0satsPattern::new(client.clone(), "addrs_with_0sats".to_string()), - _100btc_to_1k_btc: _0satsPattern::new(client.clone(), "addrs_above_100btc_under_1k_btc".to_string()), - _100k_btc_or_more: _0satsPattern::new(client.clone(), "addrs_above_100k_btc".to_string()), - _100k_sats_to_1m_sats: _0satsPattern::new(client.clone(), "addrs_above_100k_sats_under_1m_sats".to_string()), - _100sats_to_1k_sats: _0satsPattern::new(client.clone(), "addrs_above_100sats_under_1k_sats".to_string()), - _10btc_to_100btc: _0satsPattern::new(client.clone(), "addrs_above_10btc_under_100btc".to_string()), - _10k_btc_to_100k_btc: _0satsPattern::new(client.clone(), "addrs_above_10k_btc_under_100k_btc".to_string()), - _10k_sats_to_100k_sats: _0satsPattern::new(client.clone(), "addrs_above_10k_sats_under_100k_sats".to_string()), - _10m_sats_to_1btc: _0satsPattern::new(client.clone(), "addrs_above_10m_sats_under_1btc".to_string()), - _10sats_to_100sats: _0satsPattern::new(client.clone(), "addrs_above_10sats_under_100sats".to_string()), - _1btc_to_10btc: _0satsPattern::new(client.clone(), "addrs_above_1btc_under_10btc".to_string()), - _1k_btc_to_10k_btc: _0satsPattern::new(client.clone(), "addrs_above_1k_btc_under_10k_btc".to_string()), - _1k_sats_to_10k_sats: _0satsPattern::new(client.clone(), "addrs_above_1k_sats_under_10k_sats".to_string()), - _1m_sats_to_10m_sats: _0satsPattern::new(client.clone(), "addrs_above_1m_sats_under_10m_sats".to_string()), - _1sat_to_10sats: _0satsPattern::new(client.clone(), "addrs_above_1sat_under_10sats".to_string()), + _100btc_to_1k_btc: _0satsPattern::new( + client.clone(), + "addrs_above_100btc_under_1k_btc".to_string(), + ), + _100k_btc_or_more: _0satsPattern::new( + client.clone(), + "addrs_above_100k_btc".to_string(), + ), + _100k_sats_to_1m_sats: _0satsPattern::new( + client.clone(), + "addrs_above_100k_sats_under_1m_sats".to_string(), + ), + _100sats_to_1k_sats: _0satsPattern::new( + client.clone(), + "addrs_above_100sats_under_1k_sats".to_string(), + ), + _10btc_to_100btc: _0satsPattern::new( + client.clone(), + "addrs_above_10btc_under_100btc".to_string(), + ), + _10k_btc_to_100k_btc: _0satsPattern::new( + client.clone(), + "addrs_above_10k_btc_under_100k_btc".to_string(), + ), + _10k_sats_to_100k_sats: _0satsPattern::new( + client.clone(), + "addrs_above_10k_sats_under_100k_sats".to_string(), + ), + _10m_sats_to_1btc: _0satsPattern::new( + client.clone(), + "addrs_above_10m_sats_under_1btc".to_string(), + ), + _10sats_to_100sats: _0satsPattern::new( + client.clone(), + "addrs_above_10sats_under_100sats".to_string(), + ), + _1btc_to_10btc: _0satsPattern::new( + client.clone(), + "addrs_above_1btc_under_10btc".to_string(), + ), + _1k_btc_to_10k_btc: _0satsPattern::new( + client.clone(), + "addrs_above_1k_btc_under_10k_btc".to_string(), + ), + _1k_sats_to_10k_sats: _0satsPattern::new( + client.clone(), + "addrs_above_1k_sats_under_10k_sats".to_string(), + ), + _1m_sats_to_10m_sats: _0satsPattern::new( + client.clone(), + "addrs_above_1m_sats_under_10m_sats".to_string(), + ), + _1sat_to_10sats: _0satsPattern::new( + client.clone(), + "addrs_above_1sat_under_10sats".to_string(), + ), } } } @@ -4330,6 +5310,35 @@ impl CatalogTree_Distribution_AnyAddressIndexes { } } +/// Catalog tree node. +pub struct CatalogTree_Distribution_EmptyAddrCount { + pub all: MetricPattern1, + pub p2a: MetricPattern1, + pub p2pk33: MetricPattern1, + pub p2pk65: MetricPattern1, + pub p2pkh: MetricPattern1, + pub p2sh: MetricPattern1, + pub p2tr: MetricPattern1, + pub p2wpkh: MetricPattern1, + pub p2wsh: MetricPattern1, +} + +impl CatalogTree_Distribution_EmptyAddrCount { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + all: MetricPattern1::new(client.clone(), format!("{base_path}_all")), + p2a: MetricPattern1::new(client.clone(), format!("{base_path}_p2a")), + p2pk33: MetricPattern1::new(client.clone(), format!("{base_path}_p2pk33")), + p2pk65: MetricPattern1::new(client.clone(), format!("{base_path}_p2pk65")), + p2pkh: MetricPattern1::new(client.clone(), format!("{base_path}_p2pkh")), + p2sh: MetricPattern1::new(client.clone(), format!("{base_path}_p2sh")), + p2tr: MetricPattern1::new(client.clone(), format!("{base_path}_p2tr")), + p2wpkh: MetricPattern1::new(client.clone(), format!("{base_path}_p2wpkh")), + p2wsh: MetricPattern1::new(client.clone(), format!("{base_path}_p2wsh")), + } + } +} + /// Catalog tree node. pub struct CatalogTree_Distribution_UtxoCohorts { pub age_range: CatalogTree_Distribution_UtxoCohorts_AgeRange, @@ -4348,17 +5357,50 @@ pub struct CatalogTree_Distribution_UtxoCohorts { impl CatalogTree_Distribution_UtxoCohorts { pub fn new(client: Arc, base_path: String) -> Self { Self { - age_range: CatalogTree_Distribution_UtxoCohorts_AgeRange::new(client.clone(), format!("{base_path}_age_range")), - all: CatalogTree_Distribution_UtxoCohorts_All::new(client.clone(), format!("{base_path}_all")), - amount_range: CatalogTree_Distribution_UtxoCohorts_AmountRange::new(client.clone(), format!("{base_path}_amount_range")), - epoch: CatalogTree_Distribution_UtxoCohorts_Epoch::new(client.clone(), format!("{base_path}_epoch")), - ge_amount: CatalogTree_Distribution_UtxoCohorts_GeAmount::new(client.clone(), format!("{base_path}_ge_amount")), - lt_amount: CatalogTree_Distribution_UtxoCohorts_LtAmount::new(client.clone(), format!("{base_path}_lt_amount")), - max_age: CatalogTree_Distribution_UtxoCohorts_MaxAge::new(client.clone(), format!("{base_path}_max_age")), - min_age: CatalogTree_Distribution_UtxoCohorts_MinAge::new(client.clone(), format!("{base_path}_min_age")), - term: CatalogTree_Distribution_UtxoCohorts_Term::new(client.clone(), format!("{base_path}_term")), - type_: CatalogTree_Distribution_UtxoCohorts_Type::new(client.clone(), format!("{base_path}_type_")), - year: CatalogTree_Distribution_UtxoCohorts_Year::new(client.clone(), format!("{base_path}_year")), + age_range: CatalogTree_Distribution_UtxoCohorts_AgeRange::new( + client.clone(), + format!("{base_path}_age_range"), + ), + all: CatalogTree_Distribution_UtxoCohorts_All::new( + client.clone(), + format!("{base_path}_all"), + ), + amount_range: CatalogTree_Distribution_UtxoCohorts_AmountRange::new( + client.clone(), + format!("{base_path}_amount_range"), + ), + epoch: CatalogTree_Distribution_UtxoCohorts_Epoch::new( + client.clone(), + format!("{base_path}_epoch"), + ), + ge_amount: CatalogTree_Distribution_UtxoCohorts_GeAmount::new( + client.clone(), + format!("{base_path}_ge_amount"), + ), + lt_amount: CatalogTree_Distribution_UtxoCohorts_LtAmount::new( + client.clone(), + format!("{base_path}_lt_amount"), + ), + max_age: CatalogTree_Distribution_UtxoCohorts_MaxAge::new( + client.clone(), + format!("{base_path}_max_age"), + ), + min_age: CatalogTree_Distribution_UtxoCohorts_MinAge::new( + client.clone(), + format!("{base_path}_min_age"), + ), + term: CatalogTree_Distribution_UtxoCohorts_Term::new( + client.clone(), + format!("{base_path}_term"), + ), + type_: CatalogTree_Distribution_UtxoCohorts_Type::new( + client.clone(), + format!("{base_path}_type_"), + ), + year: CatalogTree_Distribution_UtxoCohorts_Year::new( + client.clone(), + format!("{base_path}_year"), + ), } } } @@ -4391,25 +5433,82 @@ pub struct CatalogTree_Distribution_UtxoCohorts_AgeRange { impl CatalogTree_Distribution_UtxoCohorts_AgeRange { pub fn new(client: Arc, base_path: String) -> Self { Self { - _10y_to_12y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_10y_up_to_12y_old".to_string()), - _12y_to_15y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_12y_up_to_15y_old".to_string()), - _1d_to_1w: _10yTo12yPattern::new(client.clone(), "utxos_at_least_1d_up_to_1w_old".to_string()), - _1h_to_1d: _10yTo12yPattern::new(client.clone(), "utxos_at_least_1h_up_to_1d_old".to_string()), - _1m_to_2m: _10yTo12yPattern::new(client.clone(), "utxos_at_least_1m_up_to_2m_old".to_string()), - _1w_to_1m: _10yTo12yPattern::new(client.clone(), "utxos_at_least_1w_up_to_1m_old".to_string()), - _1y_to_2y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_1y_up_to_2y_old".to_string()), - _2m_to_3m: _10yTo12yPattern::new(client.clone(), "utxos_at_least_2m_up_to_3m_old".to_string()), - _2y_to_3y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_2y_up_to_3y_old".to_string()), - _3m_to_4m: _10yTo12yPattern::new(client.clone(), "utxos_at_least_3m_up_to_4m_old".to_string()), - _3y_to_4y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_3y_up_to_4y_old".to_string()), - _4m_to_5m: _10yTo12yPattern::new(client.clone(), "utxos_at_least_4m_up_to_5m_old".to_string()), - _4y_to_5y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_4y_up_to_5y_old".to_string()), - _5m_to_6m: _10yTo12yPattern::new(client.clone(), "utxos_at_least_5m_up_to_6m_old".to_string()), - _5y_to_6y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_5y_up_to_6y_old".to_string()), - _6m_to_1y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_6m_up_to_1y_old".to_string()), - _6y_to_7y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_6y_up_to_7y_old".to_string()), - _7y_to_8y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_7y_up_to_8y_old".to_string()), - _8y_to_10y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_8y_up_to_10y_old".to_string()), + _10y_to_12y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_10y_up_to_12y_old".to_string(), + ), + _12y_to_15y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_12y_up_to_15y_old".to_string(), + ), + _1d_to_1w: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_1d_up_to_1w_old".to_string(), + ), + _1h_to_1d: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_1h_up_to_1d_old".to_string(), + ), + _1m_to_2m: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_1m_up_to_2m_old".to_string(), + ), + _1w_to_1m: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_1w_up_to_1m_old".to_string(), + ), + _1y_to_2y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_1y_up_to_2y_old".to_string(), + ), + _2m_to_3m: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_2m_up_to_3m_old".to_string(), + ), + _2y_to_3y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_2y_up_to_3y_old".to_string(), + ), + _3m_to_4m: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_3m_up_to_4m_old".to_string(), + ), + _3y_to_4y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_3y_up_to_4y_old".to_string(), + ), + _4m_to_5m: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_4m_up_to_5m_old".to_string(), + ), + _4y_to_5y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_4y_up_to_5y_old".to_string(), + ), + _5m_to_6m: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_5m_up_to_6m_old".to_string(), + ), + _5y_to_6y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_5y_up_to_6y_old".to_string(), + ), + _6m_to_1y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_6m_up_to_1y_old".to_string(), + ), + _6y_to_7y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_6y_up_to_7y_old".to_string(), + ), + _7y_to_8y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_7y_up_to_8y_old".to_string(), + ), + _8y_to_10y: _10yTo12yPattern::new( + client.clone(), + "utxos_at_least_8y_up_to_10y_old".to_string(), + ), from_15y: _10yTo12yPattern::new(client.clone(), "utxos_at_least_15y_old".to_string()), up_to_1h: _10yTo12yPattern::new(client.clone(), "utxos_up_to_1h_old".to_string()), } @@ -4419,7 +5518,7 @@ impl CatalogTree_Distribution_UtxoCohorts_AgeRange { /// Catalog tree node. pub struct CatalogTree_Distribution_UtxoCohorts_All { pub activity: ActivityPattern2, - pub cost_basis: CostBasisPattern2, + pub cost_basis: CatalogTree_Distribution_UtxoCohorts_All_CostBasis, pub outputs: OutputsPattern, pub realized: RealizedPattern3, pub relative: CatalogTree_Distribution_UtxoCohorts_All_Relative, @@ -4431,16 +5530,39 @@ impl CatalogTree_Distribution_UtxoCohorts_All { pub fn new(client: Arc, base_path: String) -> Self { Self { activity: ActivityPattern2::new(client.clone(), "".to_string()), - cost_basis: CostBasisPattern2::new(client.clone(), "".to_string()), + cost_basis: CatalogTree_Distribution_UtxoCohorts_All_CostBasis::new( + client.clone(), + format!("{base_path}_cost_basis"), + ), outputs: OutputsPattern::new(client.clone(), "utxo_count".to_string()), realized: RealizedPattern3::new(client.clone(), "".to_string()), - relative: CatalogTree_Distribution_UtxoCohorts_All_Relative::new(client.clone(), format!("{base_path}_relative")), + relative: CatalogTree_Distribution_UtxoCohorts_All_Relative::new( + client.clone(), + format!("{base_path}_relative"), + ), supply: SupplyPattern2::new(client.clone(), "supply".to_string()), unrealized: UnrealizedPattern::new(client.clone(), "".to_string()), } } } +/// Catalog tree node. +pub struct CatalogTree_Distribution_UtxoCohorts_All_CostBasis { + pub max: MetricPattern1, + pub min: MetricPattern1, + pub percentiles: PercentilesPattern, +} + +impl CatalogTree_Distribution_UtxoCohorts_All_CostBasis { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + max: MetricPattern1::new(client.clone(), format!("{base_path}_max")), + min: MetricPattern1::new(client.clone(), format!("{base_path}_min")), + percentiles: PercentilesPattern::new(client.clone(), "cost_basis".to_string()), + } + } +} + /// Catalog tree node. pub struct CatalogTree_Distribution_UtxoCohorts_All_Relative { pub neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1, @@ -4454,12 +5576,30 @@ pub struct CatalogTree_Distribution_UtxoCohorts_All_Relative { impl CatalogTree_Distribution_UtxoCohorts_All_Relative { pub fn new(client: Arc, base_path: String) -> Self { Self { - neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), format!("{base_path}_neg_unrealized_loss_rel_to_own_total_unrealized_pnl")), - net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), format!("{base_path}_net_unrealized_pnl_rel_to_own_total_unrealized_pnl")), - supply_in_loss_rel_to_own_supply: MetricPattern1::new(client.clone(), format!("{base_path}_supply_in_loss_rel_to_own_supply")), - supply_in_profit_rel_to_own_supply: MetricPattern1::new(client.clone(), format!("{base_path}_supply_in_profit_rel_to_own_supply")), - unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), format!("{base_path}_unrealized_loss_rel_to_own_total_unrealized_pnl")), - unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1::new(client.clone(), format!("{base_path}_unrealized_profit_rel_to_own_total_unrealized_pnl")), + neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + format!("{base_path}_neg_unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + format!("{base_path}_net_unrealized_pnl_rel_to_own_total_unrealized_pnl"), + ), + supply_in_loss_rel_to_own_supply: MetricPattern1::new( + client.clone(), + format!("{base_path}_supply_in_loss_rel_to_own_supply"), + ), + supply_in_profit_rel_to_own_supply: MetricPattern1::new( + client.clone(), + format!("{base_path}_supply_in_profit_rel_to_own_supply"), + ), + unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + format!("{base_path}_unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1::new( + client.clone(), + format!("{base_path}_unrealized_profit_rel_to_own_total_unrealized_pnl"), + ), } } } @@ -4487,20 +5627,62 @@ impl CatalogTree_Distribution_UtxoCohorts_AmountRange { pub fn new(client: Arc, base_path: String) -> Self { Self { _0sats: _0satsPattern2::new(client.clone(), "utxos_with_0sats".to_string()), - _100btc_to_1k_btc: _0satsPattern2::new(client.clone(), "utxos_above_100btc_under_1k_btc".to_string()), - _100k_btc_or_more: _0satsPattern2::new(client.clone(), "utxos_above_100k_btc".to_string()), - _100k_sats_to_1m_sats: _0satsPattern2::new(client.clone(), "utxos_above_100k_sats_under_1m_sats".to_string()), - _100sats_to_1k_sats: _0satsPattern2::new(client.clone(), "utxos_above_100sats_under_1k_sats".to_string()), - _10btc_to_100btc: _0satsPattern2::new(client.clone(), "utxos_above_10btc_under_100btc".to_string()), - _10k_btc_to_100k_btc: _0satsPattern2::new(client.clone(), "utxos_above_10k_btc_under_100k_btc".to_string()), - _10k_sats_to_100k_sats: _0satsPattern2::new(client.clone(), "utxos_above_10k_sats_under_100k_sats".to_string()), - _10m_sats_to_1btc: _0satsPattern2::new(client.clone(), "utxos_above_10m_sats_under_1btc".to_string()), - _10sats_to_100sats: _0satsPattern2::new(client.clone(), "utxos_above_10sats_under_100sats".to_string()), - _1btc_to_10btc: _0satsPattern2::new(client.clone(), "utxos_above_1btc_under_10btc".to_string()), - _1k_btc_to_10k_btc: _0satsPattern2::new(client.clone(), "utxos_above_1k_btc_under_10k_btc".to_string()), - _1k_sats_to_10k_sats: _0satsPattern2::new(client.clone(), "utxos_above_1k_sats_under_10k_sats".to_string()), - _1m_sats_to_10m_sats: _0satsPattern2::new(client.clone(), "utxos_above_1m_sats_under_10m_sats".to_string()), - _1sat_to_10sats: _0satsPattern2::new(client.clone(), "utxos_above_1sat_under_10sats".to_string()), + _100btc_to_1k_btc: _0satsPattern2::new( + client.clone(), + "utxos_above_100btc_under_1k_btc".to_string(), + ), + _100k_btc_or_more: _0satsPattern2::new( + client.clone(), + "utxos_above_100k_btc".to_string(), + ), + _100k_sats_to_1m_sats: _0satsPattern2::new( + client.clone(), + "utxos_above_100k_sats_under_1m_sats".to_string(), + ), + _100sats_to_1k_sats: _0satsPattern2::new( + client.clone(), + "utxos_above_100sats_under_1k_sats".to_string(), + ), + _10btc_to_100btc: _0satsPattern2::new( + client.clone(), + "utxos_above_10btc_under_100btc".to_string(), + ), + _10k_btc_to_100k_btc: _0satsPattern2::new( + client.clone(), + "utxos_above_10k_btc_under_100k_btc".to_string(), + ), + _10k_sats_to_100k_sats: _0satsPattern2::new( + client.clone(), + "utxos_above_10k_sats_under_100k_sats".to_string(), + ), + _10m_sats_to_1btc: _0satsPattern2::new( + client.clone(), + "utxos_above_10m_sats_under_1btc".to_string(), + ), + _10sats_to_100sats: _0satsPattern2::new( + client.clone(), + "utxos_above_10sats_under_100sats".to_string(), + ), + _1btc_to_10btc: _0satsPattern2::new( + client.clone(), + "utxos_above_1btc_under_10btc".to_string(), + ), + _1k_btc_to_10k_btc: _0satsPattern2::new( + client.clone(), + "utxos_above_1k_btc_under_10k_btc".to_string(), + ), + _1k_sats_to_10k_sats: _0satsPattern2::new( + client.clone(), + "utxos_above_1k_sats_under_10k_sats".to_string(), + ), + _1m_sats_to_10m_sats: _0satsPattern2::new( + client.clone(), + "utxos_above_1m_sats_under_10m_sats".to_string(), + ), + _1sat_to_10sats: _0satsPattern2::new( + client.clone(), + "utxos_above_1sat_under_10sats".to_string(), + ), } } } @@ -4703,8 +5885,14 @@ pub struct CatalogTree_Distribution_UtxoCohorts_Term { impl CatalogTree_Distribution_UtxoCohorts_Term { pub fn new(client: Arc, base_path: String) -> Self { Self { - long: CatalogTree_Distribution_UtxoCohorts_Term_Long::new(client.clone(), format!("{base_path}_long")), - short: CatalogTree_Distribution_UtxoCohorts_Term_Short::new(client.clone(), format!("{base_path}_short")), + long: CatalogTree_Distribution_UtxoCohorts_Term_Long::new( + client.clone(), + format!("{base_path}_long"), + ), + short: CatalogTree_Distribution_UtxoCohorts_Term_Short::new( + client.clone(), + format!("{base_path}_short"), + ), } } } @@ -4712,7 +5900,7 @@ impl CatalogTree_Distribution_UtxoCohorts_Term { /// Catalog tree node. pub struct CatalogTree_Distribution_UtxoCohorts_Term_Long { pub activity: ActivityPattern2, - pub cost_basis: CostBasisPattern2, + pub cost_basis: CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis, pub outputs: OutputsPattern, pub realized: RealizedPattern2, pub relative: RelativePattern5, @@ -4724,7 +5912,10 @@ impl CatalogTree_Distribution_UtxoCohorts_Term_Long { pub fn new(client: Arc, base_path: String) -> Self { Self { activity: ActivityPattern2::new(client.clone(), "lth".to_string()), - cost_basis: CostBasisPattern2::new(client.clone(), "lth".to_string()), + cost_basis: CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis::new( + client.clone(), + format!("{base_path}_cost_basis"), + ), outputs: OutputsPattern::new(client.clone(), "lth_utxo_count".to_string()), realized: RealizedPattern2::new(client.clone(), "lth".to_string()), relative: RelativePattern5::new(client.clone(), "lth".to_string()), @@ -4734,10 +5925,27 @@ impl CatalogTree_Distribution_UtxoCohorts_Term_Long { } } +/// Catalog tree node. +pub struct CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis { + pub max: MetricPattern1, + pub min: MetricPattern1, + pub percentiles: PercentilesPattern, +} + +impl CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + max: MetricPattern1::new(client.clone(), format!("{base_path}_max")), + min: MetricPattern1::new(client.clone(), format!("{base_path}_min")), + percentiles: PercentilesPattern::new(client.clone(), "lth_cost_basis".to_string()), + } + } +} + /// Catalog tree node. pub struct CatalogTree_Distribution_UtxoCohorts_Term_Short { pub activity: ActivityPattern2, - pub cost_basis: CostBasisPattern2, + pub cost_basis: CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis, pub outputs: OutputsPattern, pub realized: RealizedPattern3, pub relative: RelativePattern5, @@ -4749,7 +5957,10 @@ impl CatalogTree_Distribution_UtxoCohorts_Term_Short { pub fn new(client: Arc, base_path: String) -> Self { Self { activity: ActivityPattern2::new(client.clone(), "sth".to_string()), - cost_basis: CostBasisPattern2::new(client.clone(), "sth".to_string()), + cost_basis: CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis::new( + client.clone(), + format!("{base_path}_cost_basis"), + ), outputs: OutputsPattern::new(client.clone(), "sth_utxo_count".to_string()), realized: RealizedPattern3::new(client.clone(), "sth".to_string()), relative: RelativePattern5::new(client.clone(), "sth".to_string()), @@ -4759,6 +5970,23 @@ impl CatalogTree_Distribution_UtxoCohorts_Term_Short { } } +/// Catalog tree node. +pub struct CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis { + pub max: MetricPattern1, + pub min: MetricPattern1, + pub percentiles: PercentilesPattern, +} + +impl CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + max: MetricPattern1::new(client.clone(), format!("{base_path}_max")), + min: MetricPattern1::new(client.clone(), format!("{base_path}_min")), + percentiles: PercentilesPattern::new(client.clone(), "sth_cost_basis".to_string()), + } + } +} + /// Catalog tree node. pub struct CatalogTree_Distribution_UtxoCohorts_Type { pub empty: _0satsPattern2, @@ -4851,8 +6079,8 @@ pub struct CatalogTree_Indexes { pub quarterindex: CatalogTree_Indexes_Quarterindex, pub semesterindex: CatalogTree_Indexes_Semesterindex, pub txindex: CatalogTree_Indexes_Txindex, - pub txinindex: EmptyPattern, - pub txoutindex: EmptyPattern, + pub txinindex: CatalogTree_Indexes_Txinindex, + pub txoutindex: CatalogTree_Indexes_Txoutindex, pub weekindex: CatalogTree_Indexes_Weekindex, pub yearindex: CatalogTree_Indexes_Yearindex, } @@ -4860,55 +6088,283 @@ pub struct CatalogTree_Indexes { impl CatalogTree_Indexes { pub fn new(client: Arc, base_path: String) -> Self { Self { - address: CatalogTree_Indexes_Address::new(client.clone(), format!("{base_path}_address")), - dateindex: CatalogTree_Indexes_Dateindex::new(client.clone(), format!("{base_path}_dateindex")), - decadeindex: CatalogTree_Indexes_Decadeindex::new(client.clone(), format!("{base_path}_decadeindex")), - difficultyepoch: CatalogTree_Indexes_Difficultyepoch::new(client.clone(), format!("{base_path}_difficultyepoch")), - halvingepoch: CatalogTree_Indexes_Halvingepoch::new(client.clone(), format!("{base_path}_halvingepoch")), + address: CatalogTree_Indexes_Address::new( + client.clone(), + format!("{base_path}_address"), + ), + dateindex: CatalogTree_Indexes_Dateindex::new( + client.clone(), + format!("{base_path}_dateindex"), + ), + decadeindex: CatalogTree_Indexes_Decadeindex::new( + client.clone(), + format!("{base_path}_decadeindex"), + ), + difficultyepoch: CatalogTree_Indexes_Difficultyepoch::new( + client.clone(), + format!("{base_path}_difficultyepoch"), + ), + halvingepoch: CatalogTree_Indexes_Halvingepoch::new( + client.clone(), + format!("{base_path}_halvingepoch"), + ), height: CatalogTree_Indexes_Height::new(client.clone(), format!("{base_path}_height")), - monthindex: CatalogTree_Indexes_Monthindex::new(client.clone(), format!("{base_path}_monthindex")), - quarterindex: CatalogTree_Indexes_Quarterindex::new(client.clone(), format!("{base_path}_quarterindex")), - semesterindex: CatalogTree_Indexes_Semesterindex::new(client.clone(), format!("{base_path}_semesterindex")), - txindex: CatalogTree_Indexes_Txindex::new(client.clone(), format!("{base_path}_txindex")), - txinindex: EmptyPattern::new(client.clone(), "txinindex".to_string()), - txoutindex: EmptyPattern::new(client.clone(), "txoutindex".to_string()), - weekindex: CatalogTree_Indexes_Weekindex::new(client.clone(), format!("{base_path}_weekindex")), - yearindex: CatalogTree_Indexes_Yearindex::new(client.clone(), format!("{base_path}_yearindex")), + monthindex: CatalogTree_Indexes_Monthindex::new( + client.clone(), + format!("{base_path}_monthindex"), + ), + quarterindex: CatalogTree_Indexes_Quarterindex::new( + client.clone(), + format!("{base_path}_quarterindex"), + ), + semesterindex: CatalogTree_Indexes_Semesterindex::new( + client.clone(), + format!("{base_path}_semesterindex"), + ), + txindex: CatalogTree_Indexes_Txindex::new( + client.clone(), + format!("{base_path}_txindex"), + ), + txinindex: CatalogTree_Indexes_Txinindex::new( + client.clone(), + format!("{base_path}_txinindex"), + ), + txoutindex: CatalogTree_Indexes_Txoutindex::new( + client.clone(), + format!("{base_path}_txoutindex"), + ), + weekindex: CatalogTree_Indexes_Weekindex::new( + client.clone(), + format!("{base_path}_weekindex"), + ), + yearindex: CatalogTree_Indexes_Yearindex::new( + client.clone(), + format!("{base_path}_yearindex"), + ), } } } /// Catalog tree node. pub struct CatalogTree_Indexes_Address { - pub empty: EmptyPattern, - pub opreturn: EmptyPattern, - pub p2a: EmptyPattern, - pub p2ms: EmptyPattern, - pub p2pk33: EmptyPattern, - pub p2pk65: EmptyPattern, - pub p2pkh: EmptyPattern, - pub p2sh: EmptyPattern, - pub p2tr: EmptyPattern, - pub p2wpkh: EmptyPattern, - pub p2wsh: EmptyPattern, - pub unknown: EmptyPattern, + pub empty: CatalogTree_Indexes_Address_Empty, + pub opreturn: CatalogTree_Indexes_Address_Opreturn, + pub p2a: CatalogTree_Indexes_Address_P2a, + pub p2ms: CatalogTree_Indexes_Address_P2ms, + pub p2pk33: CatalogTree_Indexes_Address_P2pk33, + pub p2pk65: CatalogTree_Indexes_Address_P2pk65, + pub p2pkh: CatalogTree_Indexes_Address_P2pkh, + pub p2sh: CatalogTree_Indexes_Address_P2sh, + pub p2tr: CatalogTree_Indexes_Address_P2tr, + pub p2wpkh: CatalogTree_Indexes_Address_P2wpkh, + pub p2wsh: CatalogTree_Indexes_Address_P2wsh, + pub unknown: CatalogTree_Indexes_Address_Unknown, } impl CatalogTree_Indexes_Address { pub fn new(client: Arc, base_path: String) -> Self { Self { - empty: EmptyPattern::new(client.clone(), "emptyoutputindex".to_string()), - opreturn: EmptyPattern::new(client.clone(), "opreturnindex".to_string()), - p2a: EmptyPattern::new(client.clone(), "p2aaddressindex".to_string()), - p2ms: EmptyPattern::new(client.clone(), "p2msoutputindex".to_string()), - p2pk33: EmptyPattern::new(client.clone(), "p2pk33addressindex".to_string()), - p2pk65: EmptyPattern::new(client.clone(), "p2pk65addressindex".to_string()), - p2pkh: EmptyPattern::new(client.clone(), "p2pkhaddressindex".to_string()), - p2sh: EmptyPattern::new(client.clone(), "p2shaddressindex".to_string()), - p2tr: EmptyPattern::new(client.clone(), "p2traddressindex".to_string()), - p2wpkh: EmptyPattern::new(client.clone(), "p2wpkhaddressindex".to_string()), - p2wsh: EmptyPattern::new(client.clone(), "p2wshaddressindex".to_string()), - unknown: EmptyPattern::new(client.clone(), "unknownoutputindex".to_string()), + empty: CatalogTree_Indexes_Address_Empty::new( + client.clone(), + format!("{base_path}_empty"), + ), + opreturn: CatalogTree_Indexes_Address_Opreturn::new( + client.clone(), + format!("{base_path}_opreturn"), + ), + p2a: CatalogTree_Indexes_Address_P2a::new(client.clone(), format!("{base_path}_p2a")), + p2ms: CatalogTree_Indexes_Address_P2ms::new( + client.clone(), + format!("{base_path}_p2ms"), + ), + p2pk33: CatalogTree_Indexes_Address_P2pk33::new( + client.clone(), + format!("{base_path}_p2pk33"), + ), + p2pk65: CatalogTree_Indexes_Address_P2pk65::new( + client.clone(), + format!("{base_path}_p2pk65"), + ), + p2pkh: CatalogTree_Indexes_Address_P2pkh::new( + client.clone(), + format!("{base_path}_p2pkh"), + ), + p2sh: CatalogTree_Indexes_Address_P2sh::new( + client.clone(), + format!("{base_path}_p2sh"), + ), + p2tr: CatalogTree_Indexes_Address_P2tr::new( + client.clone(), + format!("{base_path}_p2tr"), + ), + p2wpkh: CatalogTree_Indexes_Address_P2wpkh::new( + client.clone(), + format!("{base_path}_p2wpkh"), + ), + p2wsh: CatalogTree_Indexes_Address_P2wsh::new( + client.clone(), + format!("{base_path}_p2wsh"), + ), + unknown: CatalogTree_Indexes_Address_Unknown::new( + client.clone(), + format!("{base_path}_unknown"), + ), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_Empty { + pub identity: MetricPattern9, +} + +impl CatalogTree_Indexes_Address_Empty { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern9::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_Opreturn { + pub identity: MetricPattern14, +} + +impl CatalogTree_Indexes_Address_Opreturn { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern14::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2a { + pub identity: MetricPattern16, +} + +impl CatalogTree_Indexes_Address_P2a { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern16::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2ms { + pub identity: MetricPattern17, +} + +impl CatalogTree_Indexes_Address_P2ms { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern17::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2pk33 { + pub identity: MetricPattern18, +} + +impl CatalogTree_Indexes_Address_P2pk33 { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern18::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2pk65 { + pub identity: MetricPattern19, +} + +impl CatalogTree_Indexes_Address_P2pk65 { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern19::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2pkh { + pub identity: MetricPattern20, +} + +impl CatalogTree_Indexes_Address_P2pkh { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern20::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2sh { + pub identity: MetricPattern21, +} + +impl CatalogTree_Indexes_Address_P2sh { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern21::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2tr { + pub identity: MetricPattern22, +} + +impl CatalogTree_Indexes_Address_P2tr { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern22::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2wpkh { + pub identity: MetricPattern23, +} + +impl CatalogTree_Indexes_Address_P2wpkh { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern23::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_P2wsh { + pub identity: MetricPattern24, +} + +impl CatalogTree_Indexes_Address_P2wsh { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern24::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Address_Unknown { + pub identity: MetricPattern28, +} + +impl CatalogTree_Indexes_Address_Unknown { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern28::new(client.clone(), format!("{base_path}_identity")), } } } @@ -4946,9 +6402,15 @@ pub struct CatalogTree_Indexes_Decadeindex { impl CatalogTree_Indexes_Decadeindex { pub fn new(client: Arc, base_path: String) -> Self { Self { - first_yearindex: MetricPattern7::new(client.clone(), format!("{base_path}_first_yearindex")), + first_yearindex: MetricPattern7::new( + client.clone(), + format!("{base_path}_first_yearindex"), + ), identity: MetricPattern7::new(client.clone(), format!("{base_path}_identity")), - yearindex_count: MetricPattern7::new(client.clone(), format!("{base_path}_yearindex_count")), + yearindex_count: MetricPattern7::new( + client.clone(), + format!("{base_path}_yearindex_count"), + ), } } } @@ -4998,10 +6460,16 @@ impl CatalogTree_Indexes_Height { pub fn new(client: Arc, base_path: String) -> Self { Self { dateindex: MetricPattern11::new(client.clone(), format!("{base_path}_dateindex")), - difficultyepoch: MetricPattern11::new(client.clone(), format!("{base_path}_difficultyepoch")), + difficultyepoch: MetricPattern11::new( + client.clone(), + format!("{base_path}_difficultyepoch"), + ), halvingepoch: MetricPattern11::new(client.clone(), format!("{base_path}_halvingepoch")), identity: MetricPattern11::new(client.clone(), format!("{base_path}_identity")), - txindex_count: MetricPattern11::new(client.clone(), format!("{base_path}_txindex_count")), + txindex_count: MetricPattern11::new( + client.clone(), + format!("{base_path}_txindex_count"), + ), } } } @@ -5019,11 +6487,20 @@ pub struct CatalogTree_Indexes_Monthindex { impl CatalogTree_Indexes_Monthindex { pub fn new(client: Arc, base_path: String) -> Self { Self { - dateindex_count: MetricPattern13::new(client.clone(), format!("{base_path}_dateindex_count")), - first_dateindex: MetricPattern13::new(client.clone(), format!("{base_path}_first_dateindex")), + dateindex_count: MetricPattern13::new( + client.clone(), + format!("{base_path}_dateindex_count"), + ), + first_dateindex: MetricPattern13::new( + client.clone(), + format!("{base_path}_first_dateindex"), + ), identity: MetricPattern13::new(client.clone(), format!("{base_path}_identity")), quarterindex: MetricPattern13::new(client.clone(), format!("{base_path}_quarterindex")), - semesterindex: MetricPattern13::new(client.clone(), format!("{base_path}_semesterindex")), + semesterindex: MetricPattern13::new( + client.clone(), + format!("{base_path}_semesterindex"), + ), yearindex: MetricPattern13::new(client.clone(), format!("{base_path}_yearindex")), } } @@ -5039,9 +6516,15 @@ pub struct CatalogTree_Indexes_Quarterindex { impl CatalogTree_Indexes_Quarterindex { pub fn new(client: Arc, base_path: String) -> Self { Self { - first_monthindex: MetricPattern25::new(client.clone(), format!("{base_path}_first_monthindex")), + first_monthindex: MetricPattern25::new( + client.clone(), + format!("{base_path}_first_monthindex"), + ), identity: MetricPattern25::new(client.clone(), format!("{base_path}_identity")), - monthindex_count: MetricPattern25::new(client.clone(), format!("{base_path}_monthindex_count")), + monthindex_count: MetricPattern25::new( + client.clone(), + format!("{base_path}_monthindex_count"), + ), } } } @@ -5056,9 +6539,15 @@ pub struct CatalogTree_Indexes_Semesterindex { impl CatalogTree_Indexes_Semesterindex { pub fn new(client: Arc, base_path: String) -> Self { Self { - first_monthindex: MetricPattern26::new(client.clone(), format!("{base_path}_first_monthindex")), + first_monthindex: MetricPattern26::new( + client.clone(), + format!("{base_path}_first_monthindex"), + ), identity: MetricPattern26::new(client.clone(), format!("{base_path}_identity")), - monthindex_count: MetricPattern26::new(client.clone(), format!("{base_path}_monthindex_count")), + monthindex_count: MetricPattern26::new( + client.clone(), + format!("{base_path}_monthindex_count"), + ), } } } @@ -5080,6 +6569,32 @@ impl CatalogTree_Indexes_Txindex { } } +/// Catalog tree node. +pub struct CatalogTree_Indexes_Txinindex { + pub identity: MetricPattern12, +} + +impl CatalogTree_Indexes_Txinindex { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern12::new(client.clone(), format!("{base_path}_identity")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Indexes_Txoutindex { + pub identity: MetricPattern15, +} + +impl CatalogTree_Indexes_Txoutindex { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + identity: MetricPattern15::new(client.clone(), format!("{base_path}_identity")), + } + } +} + /// Catalog tree node. pub struct CatalogTree_Indexes_Weekindex { pub dateindex_count: MetricPattern29, @@ -5090,8 +6605,14 @@ pub struct CatalogTree_Indexes_Weekindex { impl CatalogTree_Indexes_Weekindex { pub fn new(client: Arc, base_path: String) -> Self { Self { - dateindex_count: MetricPattern29::new(client.clone(), format!("{base_path}_dateindex_count")), - first_dateindex: MetricPattern29::new(client.clone(), format!("{base_path}_first_dateindex")), + dateindex_count: MetricPattern29::new( + client.clone(), + format!("{base_path}_dateindex_count"), + ), + first_dateindex: MetricPattern29::new( + client.clone(), + format!("{base_path}_first_dateindex"), + ), identity: MetricPattern29::new(client.clone(), format!("{base_path}_identity")), } } @@ -5109,16 +6630,22 @@ impl CatalogTree_Indexes_Yearindex { pub fn new(client: Arc, base_path: String) -> Self { Self { decadeindex: MetricPattern30::new(client.clone(), format!("{base_path}_decadeindex")), - first_monthindex: MetricPattern30::new(client.clone(), format!("{base_path}_first_monthindex")), + first_monthindex: MetricPattern30::new( + client.clone(), + format!("{base_path}_first_monthindex"), + ), identity: MetricPattern30::new(client.clone(), format!("{base_path}_identity")), - monthindex_count: MetricPattern30::new(client.clone(), format!("{base_path}_monthindex_count")), + monthindex_count: MetricPattern30::new( + client.clone(), + format!("{base_path}_monthindex_count"), + ), } } } /// Catalog tree node. pub struct CatalogTree_Inputs { - pub count: SizePattern, + pub count: CountPattern2, pub first_txinindex: MetricPattern11, pub outpoint: MetricPattern12, pub outputtype: MetricPattern12, @@ -5131,8 +6658,11 @@ pub struct CatalogTree_Inputs { impl CatalogTree_Inputs { pub fn new(client: Arc, base_path: String) -> Self { Self { - count: SizePattern::new(client.clone(), "input_count".to_string()), - first_txinindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_txinindex")), + count: CountPattern2::new(client.clone(), "input_count".to_string()), + first_txinindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_txinindex"), + ), outpoint: MetricPattern12::new(client.clone(), format!("{base_path}_outpoint")), outputtype: MetricPattern12::new(client.clone(), format!("{base_path}_outputtype")), spent: CatalogTree_Inputs_Spent::new(client.clone(), format!("{base_path}_spent")), @@ -5175,12 +6705,27 @@ impl CatalogTree_Market { Self { ath: CatalogTree_Market_Ath::new(client.clone(), format!("{base_path}_ath")), dca: CatalogTree_Market_Dca::new(client.clone(), format!("{base_path}_dca")), - indicators: CatalogTree_Market_Indicators::new(client.clone(), format!("{base_path}_indicators")), - lookback: CatalogTree_Market_Lookback::new(client.clone(), format!("{base_path}_lookback")), - moving_average: CatalogTree_Market_MovingAverage::new(client.clone(), format!("{base_path}_moving_average")), + indicators: CatalogTree_Market_Indicators::new( + client.clone(), + format!("{base_path}_indicators"), + ), + lookback: CatalogTree_Market_Lookback::new( + client.clone(), + format!("{base_path}_lookback"), + ), + moving_average: CatalogTree_Market_MovingAverage::new( + client.clone(), + format!("{base_path}_moving_average"), + ), range: CatalogTree_Market_Range::new(client.clone(), format!("{base_path}_range")), - returns: CatalogTree_Market_Returns::new(client.clone(), format!("{base_path}_returns")), - volatility: CatalogTree_Market_Volatility::new(client.clone(), format!("{base_path}_volatility")), + returns: CatalogTree_Market_Returns::new( + client.clone(), + format!("{base_path}_returns"), + ), + volatility: CatalogTree_Market_Volatility::new( + client.clone(), + format!("{base_path}_volatility"), + ), } } } @@ -5198,20 +6743,35 @@ pub struct CatalogTree_Market_Ath { impl CatalogTree_Market_Ath { pub fn new(client: Arc, base_path: String) -> Self { Self { - days_since_price_ath: MetricPattern4::new(client.clone(), format!("{base_path}_days_since_price_ath")), - max_days_between_price_aths: MetricPattern4::new(client.clone(), format!("{base_path}_max_days_between_price_aths")), - max_years_between_price_aths: MetricPattern4::new(client.clone(), format!("{base_path}_max_years_between_price_aths")), + days_since_price_ath: MetricPattern4::new( + client.clone(), + format!("{base_path}_days_since_price_ath"), + ), + max_days_between_price_aths: MetricPattern4::new( + client.clone(), + format!("{base_path}_max_days_between_price_aths"), + ), + max_years_between_price_aths: MetricPattern4::new( + client.clone(), + format!("{base_path}_max_years_between_price_aths"), + ), price_ath: MetricPattern1::new(client.clone(), format!("{base_path}_price_ath")), - price_drawdown: MetricPattern3::new(client.clone(), format!("{base_path}_price_drawdown")), - years_since_price_ath: MetricPattern4::new(client.clone(), format!("{base_path}_years_since_price_ath")), + price_drawdown: MetricPattern3::new( + client.clone(), + format!("{base_path}_price_drawdown"), + ), + years_since_price_ath: MetricPattern4::new( + client.clone(), + format!("{base_path}_years_since_price_ath"), + ), } } } /// Catalog tree node. pub struct CatalogTree_Market_Dca { - pub class_average_price: ClassAveragePricePattern, - pub class_returns: ClassAveragePricePattern, + pub class_average_price: CatalogTree_Market_Dca_ClassAveragePrice, + pub class_returns: CatalogTree_Market_Dca_ClassReturns, pub class_stack: CatalogTree_Market_Dca_ClassStack, pub period_average_price: PeriodAveragePricePattern, pub period_cagr: PeriodCagrPattern, @@ -5223,47 +6783,131 @@ pub struct CatalogTree_Market_Dca { impl CatalogTree_Market_Dca { pub fn new(client: Arc, base_path: String) -> Self { Self { - class_average_price: ClassAveragePricePattern::new(client.clone(), "dca_class".to_string()), - class_returns: ClassAveragePricePattern::new(client.clone(), "dca_class".to_string()), - class_stack: CatalogTree_Market_Dca_ClassStack::new(client.clone(), format!("{base_path}_class_stack")), - period_average_price: PeriodAveragePricePattern::new(client.clone(), "dca_average_price".to_string()), + class_average_price: CatalogTree_Market_Dca_ClassAveragePrice::new( + client.clone(), + format!("{base_path}_class_average_price"), + ), + class_returns: CatalogTree_Market_Dca_ClassReturns::new( + client.clone(), + format!("{base_path}_class_returns"), + ), + class_stack: CatalogTree_Market_Dca_ClassStack::new( + client.clone(), + format!("{base_path}_class_stack"), + ), + period_average_price: PeriodAveragePricePattern::new( + client.clone(), + "dca_average_price".to_string(), + ), period_cagr: PeriodCagrPattern::new(client.clone(), "dca_cagr".to_string()), - period_lump_sum_stack: PeriodLumpSumStackPattern::new(client.clone(), "".to_string()), - period_returns: PeriodAveragePricePattern::new(client.clone(), "dca_returns".to_string()), - period_stack: PeriodLumpSumStackPattern::new(client.clone(), "".to_string()), + period_lump_sum_stack: PeriodLumpSumStackPattern::new( + client.clone(), + "lump_sum_stack".to_string(), + ), + period_returns: PeriodAveragePricePattern::new( + client.clone(), + "dca_returns".to_string(), + ), + period_stack: PeriodLumpSumStackPattern::new(client.clone(), "dca_stack".to_string()), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Market_Dca_ClassAveragePrice { + pub _2015: MetricPattern4, + pub _2016: MetricPattern4, + pub _2017: MetricPattern4, + pub _2018: MetricPattern4, + pub _2019: MetricPattern4, + pub _2020: MetricPattern4, + pub _2021: MetricPattern4, + pub _2022: MetricPattern4, + pub _2023: MetricPattern4, + pub _2024: MetricPattern4, + pub _2025: MetricPattern4, +} + +impl CatalogTree_Market_Dca_ClassAveragePrice { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + _2015: MetricPattern4::new(client.clone(), format!("{base_path}_2015")), + _2016: MetricPattern4::new(client.clone(), format!("{base_path}_2016")), + _2017: MetricPattern4::new(client.clone(), format!("{base_path}_2017")), + _2018: MetricPattern4::new(client.clone(), format!("{base_path}_2018")), + _2019: MetricPattern4::new(client.clone(), format!("{base_path}_2019")), + _2020: MetricPattern4::new(client.clone(), format!("{base_path}_2020")), + _2021: MetricPattern4::new(client.clone(), format!("{base_path}_2021")), + _2022: MetricPattern4::new(client.clone(), format!("{base_path}_2022")), + _2023: MetricPattern4::new(client.clone(), format!("{base_path}_2023")), + _2024: MetricPattern4::new(client.clone(), format!("{base_path}_2024")), + _2025: MetricPattern4::new(client.clone(), format!("{base_path}_2025")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Market_Dca_ClassReturns { + pub _2015: MetricPattern4, + pub _2016: MetricPattern4, + pub _2017: MetricPattern4, + pub _2018: MetricPattern4, + pub _2019: MetricPattern4, + pub _2020: MetricPattern4, + pub _2021: MetricPattern4, + pub _2022: MetricPattern4, + pub _2023: MetricPattern4, + pub _2024: MetricPattern4, + pub _2025: MetricPattern4, +} + +impl CatalogTree_Market_Dca_ClassReturns { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + _2015: MetricPattern4::new(client.clone(), format!("{base_path}_2015")), + _2016: MetricPattern4::new(client.clone(), format!("{base_path}_2016")), + _2017: MetricPattern4::new(client.clone(), format!("{base_path}_2017")), + _2018: MetricPattern4::new(client.clone(), format!("{base_path}_2018")), + _2019: MetricPattern4::new(client.clone(), format!("{base_path}_2019")), + _2020: MetricPattern4::new(client.clone(), format!("{base_path}_2020")), + _2021: MetricPattern4::new(client.clone(), format!("{base_path}_2021")), + _2022: MetricPattern4::new(client.clone(), format!("{base_path}_2022")), + _2023: MetricPattern4::new(client.clone(), format!("{base_path}_2023")), + _2024: MetricPattern4::new(client.clone(), format!("{base_path}_2024")), + _2025: MetricPattern4::new(client.clone(), format!("{base_path}_2025")), } } } /// Catalog tree node. pub struct CatalogTree_Market_Dca_ClassStack { - pub _2015: _24hCoinbaseSumPattern, - pub _2016: _24hCoinbaseSumPattern, - pub _2017: _24hCoinbaseSumPattern, - pub _2018: _24hCoinbaseSumPattern, - pub _2019: _24hCoinbaseSumPattern, - pub _2020: _24hCoinbaseSumPattern, - pub _2021: _24hCoinbaseSumPattern, - pub _2022: _24hCoinbaseSumPattern, - pub _2023: _24hCoinbaseSumPattern, - pub _2024: _24hCoinbaseSumPattern, - pub _2025: _24hCoinbaseSumPattern, + pub _2015: _2015Pattern, + pub _2016: _2015Pattern, + pub _2017: _2015Pattern, + pub _2018: _2015Pattern, + pub _2019: _2015Pattern, + pub _2020: _2015Pattern, + pub _2021: _2015Pattern, + pub _2022: _2015Pattern, + pub _2023: _2015Pattern, + pub _2024: _2015Pattern, + pub _2025: _2015Pattern, } impl CatalogTree_Market_Dca_ClassStack { pub fn new(client: Arc, base_path: String) -> Self { Self { - _2015: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2015_stack".to_string()), - _2016: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2016_stack".to_string()), - _2017: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2017_stack".to_string()), - _2018: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2018_stack".to_string()), - _2019: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2019_stack".to_string()), - _2020: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2020_stack".to_string()), - _2021: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2021_stack".to_string()), - _2022: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2022_stack".to_string()), - _2023: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2023_stack".to_string()), - _2024: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2024_stack".to_string()), - _2025: _24hCoinbaseSumPattern::new(client.clone(), "dca_class_2025_stack".to_string()), + _2015: _2015Pattern::new(client.clone(), "dca_class_2015_stack".to_string()), + _2016: _2015Pattern::new(client.clone(), "dca_class_2016_stack".to_string()), + _2017: _2015Pattern::new(client.clone(), "dca_class_2017_stack".to_string()), + _2018: _2015Pattern::new(client.clone(), "dca_class_2018_stack".to_string()), + _2019: _2015Pattern::new(client.clone(), "dca_class_2019_stack".to_string()), + _2020: _2015Pattern::new(client.clone(), "dca_class_2020_stack".to_string()), + _2021: _2015Pattern::new(client.clone(), "dca_class_2021_stack".to_string()), + _2022: _2015Pattern::new(client.clone(), "dca_class_2022_stack".to_string()), + _2023: _2015Pattern::new(client.clone(), "dca_class_2023_stack".to_string()), + _2024: _2015Pattern::new(client.clone(), "dca_class_2024_stack".to_string()), + _2025: _2015Pattern::new(client.clone(), "dca_class_2025_stack".to_string()), } } } @@ -5295,17 +6939,29 @@ impl CatalogTree_Market_Indicators { pub fn new(client: Arc, base_path: String) -> Self { Self { gini: MetricPattern6::new(client.clone(), format!("{base_path}_gini")), - macd_histogram: MetricPattern6::new(client.clone(), format!("{base_path}_macd_histogram")), + macd_histogram: MetricPattern6::new( + client.clone(), + format!("{base_path}_macd_histogram"), + ), macd_line: MetricPattern6::new(client.clone(), format!("{base_path}_macd_line")), macd_signal: MetricPattern6::new(client.clone(), format!("{base_path}_macd_signal")), nvt: MetricPattern4::new(client.clone(), format!("{base_path}_nvt")), pi_cycle: MetricPattern6::new(client.clone(), format!("{base_path}_pi_cycle")), - puell_multiple: MetricPattern4::new(client.clone(), format!("{base_path}_puell_multiple")), + puell_multiple: MetricPattern4::new( + client.clone(), + format!("{base_path}_puell_multiple"), + ), rsi_14d: MetricPattern6::new(client.clone(), format!("{base_path}_rsi_14d")), rsi_14d_max: MetricPattern6::new(client.clone(), format!("{base_path}_rsi_14d_max")), rsi_14d_min: MetricPattern6::new(client.clone(), format!("{base_path}_rsi_14d_min")), - rsi_average_gain_14d: MetricPattern6::new(client.clone(), format!("{base_path}_rsi_average_gain_14d")), - rsi_average_loss_14d: MetricPattern6::new(client.clone(), format!("{base_path}_rsi_average_loss_14d")), + rsi_average_gain_14d: MetricPattern6::new( + client.clone(), + format!("{base_path}_rsi_average_gain_14d"), + ), + rsi_average_loss_14d: MetricPattern6::new( + client.clone(), + format!("{base_path}_rsi_average_loss_14d"), + ), rsi_gains: MetricPattern6::new(client.clone(), format!("{base_path}_rsi_gains")), rsi_losses: MetricPattern6::new(client.clone(), format!("{base_path}_rsi_losses")), stoch_d: MetricPattern6::new(client.clone(), format!("{base_path}_stoch_d")), @@ -5319,13 +6975,53 @@ impl CatalogTree_Market_Indicators { /// Catalog tree node. pub struct CatalogTree_Market_Lookback { - pub price_ago: PriceAgoPattern, + pub price_ago: CatalogTree_Market_Lookback_PriceAgo, } impl CatalogTree_Market_Lookback { pub fn new(client: Arc, base_path: String) -> Self { Self { - price_ago: PriceAgoPattern::new(client.clone(), "price".to_string()), + price_ago: CatalogTree_Market_Lookback_PriceAgo::new( + client.clone(), + format!("{base_path}_price_ago"), + ), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Market_Lookback_PriceAgo { + pub _10y: MetricPattern4, + pub _1d: MetricPattern4, + pub _1m: MetricPattern4, + pub _1w: MetricPattern4, + pub _1y: MetricPattern4, + pub _2y: MetricPattern4, + pub _3m: MetricPattern4, + pub _3y: MetricPattern4, + pub _4y: MetricPattern4, + pub _5y: MetricPattern4, + pub _6m: MetricPattern4, + pub _6y: MetricPattern4, + pub _8y: MetricPattern4, +} + +impl CatalogTree_Market_Lookback_PriceAgo { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + _10y: MetricPattern4::new(client.clone(), format!("{base_path}_10y")), + _1d: MetricPattern4::new(client.clone(), format!("{base_path}_1d")), + _1m: MetricPattern4::new(client.clone(), format!("{base_path}_1m")), + _1w: MetricPattern4::new(client.clone(), format!("{base_path}_1w")), + _1y: MetricPattern4::new(client.clone(), format!("{base_path}_1y")), + _2y: MetricPattern4::new(client.clone(), format!("{base_path}_2y")), + _3m: MetricPattern4::new(client.clone(), format!("{base_path}_3m")), + _3y: MetricPattern4::new(client.clone(), format!("{base_path}_3y")), + _4y: MetricPattern4::new(client.clone(), format!("{base_path}_4y")), + _5y: MetricPattern4::new(client.clone(), format!("{base_path}_5y")), + _6m: MetricPattern4::new(client.clone(), format!("{base_path}_6m")), + _6y: MetricPattern4::new(client.clone(), format!("{base_path}_6y")), + _8y: MetricPattern4::new(client.clone(), format!("{base_path}_8y")), } } } @@ -5386,8 +7082,14 @@ impl CatalogTree_Market_MovingAverage { price_1y_sma: Price111dSmaPattern::new(client.clone(), "price_1y_sma".to_string()), price_200d_ema: Price111dSmaPattern::new(client.clone(), "price_200d_ema".to_string()), price_200d_sma: Price111dSmaPattern::new(client.clone(), "price_200d_sma".to_string()), - price_200d_sma_x0_8: MetricPattern4::new(client.clone(), format!("{base_path}_price_200d_sma_x0_8")), - price_200d_sma_x2_4: MetricPattern4::new(client.clone(), format!("{base_path}_price_200d_sma_x2_4")), + price_200d_sma_x0_8: MetricPattern4::new( + client.clone(), + format!("{base_path}_price_200d_sma_x0_8"), + ), + price_200d_sma_x2_4: MetricPattern4::new( + client.clone(), + format!("{base_path}_price_200d_sma_x2_4"), + ), price_200w_ema: Price111dSmaPattern::new(client.clone(), "price_200w_ema".to_string()), price_200w_sma: Price111dSmaPattern::new(client.clone(), "price_200w_sma".to_string()), price_21d_ema: Price111dSmaPattern::new(client.clone(), "price_21d_ema".to_string()), @@ -5398,7 +7100,10 @@ impl CatalogTree_Market_MovingAverage { price_34d_ema: Price111dSmaPattern::new(client.clone(), "price_34d_ema".to_string()), price_34d_sma: Price111dSmaPattern::new(client.clone(), "price_34d_sma".to_string()), price_350d_sma: Price111dSmaPattern::new(client.clone(), "price_350d_sma".to_string()), - price_350d_sma_x2: MetricPattern4::new(client.clone(), format!("{base_path}_price_350d_sma_x2")), + price_350d_sma_x2: MetricPattern4::new( + client.clone(), + format!("{base_path}_price_350d_sma_x2"), + ), price_4y_ema: Price111dSmaPattern::new(client.clone(), "price_4y_ema".to_string()), price_4y_sma: Price111dSmaPattern::new(client.clone(), "price_4y_sma".to_string()), price_55d_ema: Price111dSmaPattern::new(client.clone(), "price_55d_ema".to_string()), @@ -5435,11 +7140,20 @@ impl CatalogTree_Market_Range { price_1w_min: MetricPattern4::new(client.clone(), format!("{base_path}_price_1w_min")), price_1y_max: MetricPattern4::new(client.clone(), format!("{base_path}_price_1y_max")), price_1y_min: MetricPattern4::new(client.clone(), format!("{base_path}_price_1y_min")), - price_2w_choppiness_index: MetricPattern4::new(client.clone(), format!("{base_path}_price_2w_choppiness_index")), + price_2w_choppiness_index: MetricPattern4::new( + client.clone(), + format!("{base_path}_price_2w_choppiness_index"), + ), price_2w_max: MetricPattern4::new(client.clone(), format!("{base_path}_price_2w_max")), price_2w_min: MetricPattern4::new(client.clone(), format!("{base_path}_price_2w_min")), - price_true_range: MetricPattern6::new(client.clone(), format!("{base_path}_price_true_range")), - price_true_range_2w_sum: MetricPattern6::new(client.clone(), format!("{base_path}_price_true_range_2w_sum")), + price_true_range: MetricPattern6::new( + client.clone(), + format!("{base_path}_price_true_range"), + ), + price_true_range_2w_sum: MetricPattern6::new( + client.clone(), + format!("{base_path}_price_true_range_2w_sum"), + ), } } } @@ -5454,21 +7168,82 @@ pub struct CatalogTree_Market_Returns { pub downside_1w_sd: _1dReturns1mSdPattern, pub downside_1y_sd: _1dReturns1mSdPattern, pub downside_returns: MetricPattern6, - pub price_returns: PriceAgoPattern, + pub price_returns: CatalogTree_Market_Returns_PriceReturns, } impl CatalogTree_Market_Returns { pub fn new(client: Arc, base_path: String) -> Self { Self { - _1d_returns_1m_sd: _1dReturns1mSdPattern::new(client.clone(), "1d_returns_1m_sd".to_string()), - _1d_returns_1w_sd: _1dReturns1mSdPattern::new(client.clone(), "1d_returns_1w_sd".to_string()), - _1d_returns_1y_sd: _1dReturns1mSdPattern::new(client.clone(), "1d_returns_1y_sd".to_string()), + _1d_returns_1m_sd: _1dReturns1mSdPattern::new( + client.clone(), + "1d_returns_1m_sd".to_string(), + ), + _1d_returns_1w_sd: _1dReturns1mSdPattern::new( + client.clone(), + "1d_returns_1w_sd".to_string(), + ), + _1d_returns_1y_sd: _1dReturns1mSdPattern::new( + client.clone(), + "1d_returns_1y_sd".to_string(), + ), cagr: PeriodCagrPattern::new(client.clone(), "cagr".to_string()), - downside_1m_sd: _1dReturns1mSdPattern::new(client.clone(), "downside_1m_sd".to_string()), - downside_1w_sd: _1dReturns1mSdPattern::new(client.clone(), "downside_1w_sd".to_string()), - downside_1y_sd: _1dReturns1mSdPattern::new(client.clone(), "downside_1y_sd".to_string()), - downside_returns: MetricPattern6::new(client.clone(), format!("{base_path}_downside_returns")), - price_returns: PriceAgoPattern::new(client.clone(), "price_returns".to_string()), + downside_1m_sd: _1dReturns1mSdPattern::new( + client.clone(), + "downside_1m_sd".to_string(), + ), + downside_1w_sd: _1dReturns1mSdPattern::new( + client.clone(), + "downside_1w_sd".to_string(), + ), + downside_1y_sd: _1dReturns1mSdPattern::new( + client.clone(), + "downside_1y_sd".to_string(), + ), + downside_returns: MetricPattern6::new( + client.clone(), + format!("{base_path}_downside_returns"), + ), + price_returns: CatalogTree_Market_Returns_PriceReturns::new( + client.clone(), + format!("{base_path}_price_returns"), + ), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Market_Returns_PriceReturns { + pub _10y: MetricPattern4, + pub _1d: MetricPattern4, + pub _1m: MetricPattern4, + pub _1w: MetricPattern4, + pub _1y: MetricPattern4, + pub _2y: MetricPattern4, + pub _3m: MetricPattern4, + pub _3y: MetricPattern4, + pub _4y: MetricPattern4, + pub _5y: MetricPattern4, + pub _6m: MetricPattern4, + pub _6y: MetricPattern4, + pub _8y: MetricPattern4, +} + +impl CatalogTree_Market_Returns_PriceReturns { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + _10y: MetricPattern4::new(client.clone(), format!("{base_path}_10y")), + _1d: MetricPattern4::new(client.clone(), format!("{base_path}_1d")), + _1m: MetricPattern4::new(client.clone(), format!("{base_path}_1m")), + _1w: MetricPattern4::new(client.clone(), format!("{base_path}_1w")), + _1y: MetricPattern4::new(client.clone(), format!("{base_path}_1y")), + _2y: MetricPattern4::new(client.clone(), format!("{base_path}_2y")), + _3m: MetricPattern4::new(client.clone(), format!("{base_path}_3m")), + _3y: MetricPattern4::new(client.clone(), format!("{base_path}_3y")), + _4y: MetricPattern4::new(client.clone(), format!("{base_path}_4y")), + _5y: MetricPattern4::new(client.clone(), format!("{base_path}_5y")), + _6m: MetricPattern4::new(client.clone(), format!("{base_path}_6m")), + _6y: MetricPattern4::new(client.clone(), format!("{base_path}_6y")), + _8y: MetricPattern4::new(client.clone(), format!("{base_path}_8y")), } } } @@ -5489,9 +7264,18 @@ pub struct CatalogTree_Market_Volatility { impl CatalogTree_Market_Volatility { pub fn new(client: Arc, base_path: String) -> Self { Self { - price_1m_volatility: MetricPattern4::new(client.clone(), format!("{base_path}_price_1m_volatility")), - price_1w_volatility: MetricPattern4::new(client.clone(), format!("{base_path}_price_1w_volatility")), - price_1y_volatility: MetricPattern4::new(client.clone(), format!("{base_path}_price_1y_volatility")), + price_1m_volatility: MetricPattern4::new( + client.clone(), + format!("{base_path}_price_1m_volatility"), + ), + price_1w_volatility: MetricPattern4::new( + client.clone(), + format!("{base_path}_price_1w_volatility"), + ), + price_1y_volatility: MetricPattern4::new( + client.clone(), + format!("{base_path}_price_1y_volatility"), + ), sharpe_1m: MetricPattern6::new(client.clone(), format!("{base_path}_sharpe_1m")), sharpe_1w: MetricPattern6::new(client.clone(), format!("{base_path}_sharpe_1w")), sharpe_1y: MetricPattern6::new(client.clone(), format!("{base_path}_sharpe_1y")), @@ -5517,7 +7301,10 @@ impl CatalogTree_Outputs { pub fn new(client: Arc, base_path: String) -> Self { Self { count: CatalogTree_Outputs_Count::new(client.clone(), format!("{base_path}_count")), - first_txoutindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_txoutindex")), + first_txoutindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_txoutindex"), + ), outputtype: MetricPattern15::new(client.clone(), format!("{base_path}_outputtype")), spent: CatalogTree_Outputs_Spent::new(client.clone(), format!("{base_path}_spent")), txindex: MetricPattern15::new(client.clone(), format!("{base_path}_txindex")), @@ -5529,15 +7316,15 @@ impl CatalogTree_Outputs { /// Catalog tree node. pub struct CatalogTree_Outputs_Count { - pub total_count: SizePattern, - pub utxo_count: FullnessPattern, + pub total_count: CountPattern2, + pub utxo_count: MetricPattern1, } impl CatalogTree_Outputs_Count { pub fn new(client: Arc, base_path: String) -> Self { Self { - total_count: SizePattern::new(client.clone(), "output_count".to_string()), - utxo_count: FullnessPattern::new(client.clone(), "exact_utxo_count".to_string()), + total_count: CountPattern2::new(client.clone(), "output_count".to_string()), + utxo_count: MetricPattern1::new(client.clone(), format!("{base_path}_utxo_count")), } } } @@ -5564,7 +7351,10 @@ pub struct CatalogTree_Pools { impl CatalogTree_Pools { pub fn new(client: Arc, base_path: String) -> Self { Self { - height_to_pool: MetricPattern11::new(client.clone(), format!("{base_path}_height_to_pool")), + height_to_pool: MetricPattern11::new( + client.clone(), + format!("{base_path}_height_to_pool"), + ), vecs: CatalogTree_Pools_Vecs::new(client.clone(), format!("{base_path}_vecs")), } } @@ -5746,7 +7536,10 @@ impl CatalogTree_Pools_Vecs { binancepool: AaopoolPattern::new(client.clone(), "binancepool".to_string()), bitalo: AaopoolPattern::new(client.clone(), "bitalo".to_string()), bitclub: AaopoolPattern::new(client.clone(), "bitclub".to_string()), - bitcoinaffiliatenetwork: AaopoolPattern::new(client.clone(), "bitcoinaffiliatenetwork".to_string()), + bitcoinaffiliatenetwork: AaopoolPattern::new( + client.clone(), + "bitcoinaffiliatenetwork".to_string(), + ), bitcoincom: AaopoolPattern::new(client.clone(), "bitcoincom".to_string()), bitcoinindia: AaopoolPattern::new(client.clone(), "bitcoinindia".to_string()), bitcoinrussia: AaopoolPattern::new(client.clone(), "bitcoinrussia".to_string()), @@ -5792,13 +7585,19 @@ impl CatalogTree_Pools_Vecs { ekanembtc: AaopoolPattern::new(client.clone(), "ekanembtc".to_string()), eligius: AaopoolPattern::new(client.clone(), "eligius".to_string()), emcdpool: AaopoolPattern::new(client.clone(), "emcdpool".to_string()), - entrustcharitypool: AaopoolPattern::new(client.clone(), "entrustcharitypool".to_string()), + entrustcharitypool: AaopoolPattern::new( + client.clone(), + "entrustcharitypool".to_string(), + ), eobot: AaopoolPattern::new(client.clone(), "eobot".to_string()), exxbw: AaopoolPattern::new(client.clone(), "exxbw".to_string()), f2pool: AaopoolPattern::new(client.clone(), "f2pool".to_string()), fiftyeightcoin: AaopoolPattern::new(client.clone(), "fiftyeightcoin".to_string()), foundryusa: AaopoolPattern::new(client.clone(), "foundryusa".to_string()), - futurebitapollosolo: AaopoolPattern::new(client.clone(), "futurebitapollosolo".to_string()), + futurebitapollosolo: AaopoolPattern::new( + client.clone(), + "futurebitapollosolo".to_string(), + ), gbminers: AaopoolPattern::new(client.clone(), "gbminers".to_string()), ghashio: AaopoolPattern::new(client.clone(), "ghashio".to_string()), givemecoins: AaopoolPattern::new(client.clone(), "givemecoins".to_string()), @@ -5879,7 +7678,10 @@ impl CatalogTree_Pools_Vecs { tiger: AaopoolPattern::new(client.clone(), "tiger".to_string()), tigerpoolnet: AaopoolPattern::new(client.clone(), "tigerpoolnet".to_string()), titan: AaopoolPattern::new(client.clone(), "titan".to_string()), - transactioncoinmining: AaopoolPattern::new(client.clone(), "transactioncoinmining".to_string()), + transactioncoinmining: AaopoolPattern::new( + client.clone(), + "transactioncoinmining".to_string(), + ), trickysbtcpool: AaopoolPattern::new(client.clone(), "trickysbtcpool".to_string()), triplemining: AaopoolPattern::new(client.clone(), "triplemining".to_string()), twentyoneinc: AaopoolPattern::new(client.clone(), "twentyoneinc".to_string()), @@ -5906,7 +7708,10 @@ pub struct CatalogTree_Positions { impl CatalogTree_Positions { pub fn new(client: Arc, base_path: String) -> Self { Self { - block_position: MetricPattern11::new(client.clone(), format!("{base_path}_block_position")), + block_position: MetricPattern11::new( + client.clone(), + format!("{base_path}_block_position"), + ), tx_position: MetricPattern27::new(client.clone(), format!("{base_path}_tx_position")), } } @@ -5914,17 +7719,81 @@ impl CatalogTree_Positions { /// Catalog tree node. pub struct CatalogTree_Price { - pub cents: CentsPattern, - pub sats: CentsPattern, - pub usd: CentsPattern, + pub cents: CatalogTree_Price_Cents, + pub sats: CatalogTree_Price_Sats, + pub usd: CatalogTree_Price_Usd, } impl CatalogTree_Price { pub fn new(client: Arc, base_path: String) -> Self { Self { - cents: CentsPattern::new(client.clone(), "cents".to_string()), - sats: CentsPattern::new(client.clone(), "price".to_string()), - usd: CentsPattern::new(client.clone(), "price".to_string()), + cents: CatalogTree_Price_Cents::new(client.clone(), format!("{base_path}_cents")), + sats: CatalogTree_Price_Sats::new(client.clone(), format!("{base_path}_sats")), + usd: CatalogTree_Price_Usd::new(client.clone(), format!("{base_path}_usd")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Price_Cents { + pub ohlc: MetricPattern5, + pub split: CatalogTree_Price_Cents_Split, +} + +impl CatalogTree_Price_Cents { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + ohlc: MetricPattern5::new(client.clone(), format!("{base_path}_ohlc")), + split: CatalogTree_Price_Cents_Split::new(client.clone(), format!("{base_path}_split")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Price_Cents_Split { + pub close: MetricPattern5, + pub high: MetricPattern5, + pub low: MetricPattern5, + pub open: MetricPattern5, +} + +impl CatalogTree_Price_Cents_Split { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + close: MetricPattern5::new(client.clone(), format!("{base_path}_close")), + high: MetricPattern5::new(client.clone(), format!("{base_path}_high")), + low: MetricPattern5::new(client.clone(), format!("{base_path}_low")), + open: MetricPattern5::new(client.clone(), format!("{base_path}_open")), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Price_Sats { + pub ohlc: MetricPattern1, + pub split: SplitPattern2, +} + +impl CatalogTree_Price_Sats { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + ohlc: MetricPattern1::new(client.clone(), format!("{base_path}_ohlc")), + split: SplitPattern2::new(client.clone(), "price_sats".to_string()), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Price_Usd { + pub ohlc: MetricPattern1, + pub split: SplitPattern2, +} + +impl CatalogTree_Price_Usd { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + ohlc: MetricPattern1::new(client.clone(), format!("{base_path}_ohlc")), + split: SplitPattern2::new(client.clone(), "price".to_string()), } } } @@ -5947,14 +7816,38 @@ impl CatalogTree_Scripts { pub fn new(client: Arc, base_path: String) -> Self { Self { count: CatalogTree_Scripts_Count::new(client.clone(), format!("{base_path}_count")), - empty_to_txindex: MetricPattern9::new(client.clone(), format!("{base_path}_empty_to_txindex")), - first_emptyoutputindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_emptyoutputindex")), - first_opreturnindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_opreturnindex")), - first_p2msoutputindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_p2msoutputindex")), - first_unknownoutputindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_unknownoutputindex")), - opreturn_to_txindex: MetricPattern14::new(client.clone(), format!("{base_path}_opreturn_to_txindex")), - p2ms_to_txindex: MetricPattern17::new(client.clone(), format!("{base_path}_p2ms_to_txindex")), - unknown_to_txindex: MetricPattern28::new(client.clone(), format!("{base_path}_unknown_to_txindex")), + empty_to_txindex: MetricPattern9::new( + client.clone(), + format!("{base_path}_empty_to_txindex"), + ), + first_emptyoutputindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_emptyoutputindex"), + ), + first_opreturnindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_opreturnindex"), + ), + first_p2msoutputindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_p2msoutputindex"), + ), + first_unknownoutputindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_unknownoutputindex"), + ), + opreturn_to_txindex: MetricPattern14::new( + client.clone(), + format!("{base_path}_opreturn_to_txindex"), + ), + p2ms_to_txindex: MetricPattern17::new( + client.clone(), + format!("{base_path}_p2ms_to_txindex"), + ), + unknown_to_txindex: MetricPattern28::new( + client.clone(), + format!("{base_path}_unknown_to_txindex"), + ), value: CatalogTree_Scripts_Value::new(client.clone(), format!("{base_path}_value")), } } @@ -5962,41 +7855,47 @@ impl CatalogTree_Scripts { /// Catalog tree node. pub struct CatalogTree_Scripts_Count { - pub emptyoutput: FullnessPattern, - pub opreturn: FullnessPattern, - pub p2a: FullnessPattern, - pub p2ms: FullnessPattern, - pub p2pk33: FullnessPattern, - pub p2pk65: FullnessPattern, - pub p2pkh: FullnessPattern, - pub p2sh: FullnessPattern, - pub p2tr: FullnessPattern, - pub p2wpkh: FullnessPattern, - pub p2wsh: FullnessPattern, - pub segwit: FullnessPattern, + pub emptyoutput: DollarsPattern, + pub opreturn: DollarsPattern, + pub p2a: DollarsPattern, + pub p2ms: DollarsPattern, + pub p2pk33: DollarsPattern, + pub p2pk65: DollarsPattern, + pub p2pkh: DollarsPattern, + pub p2sh: DollarsPattern, + pub p2tr: DollarsPattern, + pub p2wpkh: DollarsPattern, + pub p2wsh: DollarsPattern, + pub segwit: DollarsPattern, pub segwit_adoption: SegwitAdoptionPattern, pub taproot_adoption: SegwitAdoptionPattern, - pub unknownoutput: FullnessPattern, + pub unknownoutput: DollarsPattern, } impl CatalogTree_Scripts_Count { pub fn new(client: Arc, base_path: String) -> Self { Self { - emptyoutput: FullnessPattern::new(client.clone(), "emptyoutput_count".to_string()), - opreturn: FullnessPattern::new(client.clone(), "opreturn_count".to_string()), - p2a: FullnessPattern::new(client.clone(), "p2a_count".to_string()), - p2ms: FullnessPattern::new(client.clone(), "p2ms_count".to_string()), - p2pk33: FullnessPattern::new(client.clone(), "p2pk33_count".to_string()), - p2pk65: FullnessPattern::new(client.clone(), "p2pk65_count".to_string()), - p2pkh: FullnessPattern::new(client.clone(), "p2pkh_count".to_string()), - p2sh: FullnessPattern::new(client.clone(), "p2sh_count".to_string()), - p2tr: FullnessPattern::new(client.clone(), "p2tr_count".to_string()), - p2wpkh: FullnessPattern::new(client.clone(), "p2wpkh_count".to_string()), - p2wsh: FullnessPattern::new(client.clone(), "p2wsh_count".to_string()), - segwit: FullnessPattern::new(client.clone(), "segwit_count".to_string()), - segwit_adoption: SegwitAdoptionPattern::new(client.clone(), "segwit_adoption".to_string()), - taproot_adoption: SegwitAdoptionPattern::new(client.clone(), "taproot_adoption".to_string()), - unknownoutput: FullnessPattern::new(client.clone(), "unknownoutput_count".to_string()), + emptyoutput: DollarsPattern::new(client.clone(), "emptyoutput_count".to_string()), + opreturn: DollarsPattern::new(client.clone(), "opreturn_count".to_string()), + p2a: DollarsPattern::new(client.clone(), "p2a_count".to_string()), + p2ms: DollarsPattern::new(client.clone(), "p2ms_count".to_string()), + p2pk33: DollarsPattern::new(client.clone(), "p2pk33_count".to_string()), + p2pk65: DollarsPattern::new(client.clone(), "p2pk65_count".to_string()), + p2pkh: DollarsPattern::new(client.clone(), "p2pkh_count".to_string()), + p2sh: DollarsPattern::new(client.clone(), "p2sh_count".to_string()), + p2tr: DollarsPattern::new(client.clone(), "p2tr_count".to_string()), + p2wpkh: DollarsPattern::new(client.clone(), "p2wpkh_count".to_string()), + p2wsh: DollarsPattern::new(client.clone(), "p2wsh_count".to_string()), + segwit: DollarsPattern::new(client.clone(), "segwit_count".to_string()), + segwit_adoption: SegwitAdoptionPattern::new( + client.clone(), + "segwit_adoption".to_string(), + ), + taproot_adoption: SegwitAdoptionPattern::new( + client.clone(), + "taproot_adoption".to_string(), + ), + unknownoutput: DollarsPattern::new(client.clone(), "unknownoutput_count".to_string()), } } } @@ -6017,7 +7916,7 @@ impl CatalogTree_Scripts_Value { /// Catalog tree node. pub struct CatalogTree_Supply { pub burned: CatalogTree_Supply_Burned, - pub circulating: _24hCoinbaseSumPattern, + pub circulating: CatalogTree_Supply_Circulating, pub inflation: MetricPattern4, pub market_cap: MetricPattern1, pub velocity: CatalogTree_Supply_Velocity, @@ -6027,10 +7926,16 @@ impl CatalogTree_Supply { pub fn new(client: Arc, base_path: String) -> Self { Self { burned: CatalogTree_Supply_Burned::new(client.clone(), format!("{base_path}_burned")), - circulating: _24hCoinbaseSumPattern::new(client.clone(), "circulating_supply".to_string()), + circulating: CatalogTree_Supply_Circulating::new( + client.clone(), + format!("{base_path}_circulating"), + ), inflation: MetricPattern4::new(client.clone(), format!("{base_path}_inflation")), market_cap: MetricPattern1::new(client.clone(), format!("{base_path}_market_cap")), - velocity: CatalogTree_Supply_Velocity::new(client.clone(), format!("{base_path}_velocity")), + velocity: CatalogTree_Supply_Velocity::new( + client.clone(), + format!("{base_path}_velocity"), + ), } } } @@ -6045,7 +7950,27 @@ impl CatalogTree_Supply_Burned { pub fn new(client: Arc, base_path: String) -> Self { Self { opreturn: UnclaimedRewardsPattern::new(client.clone(), "opreturn_supply".to_string()), - unspendable: UnclaimedRewardsPattern::new(client.clone(), "unspendable_supply".to_string()), + unspendable: UnclaimedRewardsPattern::new( + client.clone(), + "unspendable_supply".to_string(), + ), + } + } +} + +/// Catalog tree node. +pub struct CatalogTree_Supply_Circulating { + pub bitcoin: MetricPattern3, + pub dollars: MetricPattern3, + pub sats: MetricPattern3, +} + +impl CatalogTree_Supply_Circulating { + pub fn new(client: Arc, base_path: String) -> Self { + Self { + bitcoin: MetricPattern3::new(client.clone(), format!("{base_path}_bitcoin")), + dollars: MetricPattern3::new(client.clone(), format!("{base_path}_dollars")), + sats: MetricPattern3::new(client.clone(), format!("{base_path}_sats")), } } } @@ -6088,20 +8013,41 @@ impl CatalogTree_Transactions { pub fn new(client: Arc, base_path: String) -> Self { Self { base_size: MetricPattern27::new(client.clone(), format!("{base_path}_base_size")), - count: CatalogTree_Transactions_Count::new(client.clone(), format!("{base_path}_count")), + count: CatalogTree_Transactions_Count::new( + client.clone(), + format!("{base_path}_count"), + ), fees: CatalogTree_Transactions_Fees::new(client.clone(), format!("{base_path}_fees")), - first_txindex: MetricPattern11::new(client.clone(), format!("{base_path}_first_txindex")), - first_txinindex: MetricPattern27::new(client.clone(), format!("{base_path}_first_txinindex")), - first_txoutindex: MetricPattern27::new(client.clone(), format!("{base_path}_first_txoutindex")), + first_txindex: MetricPattern11::new( + client.clone(), + format!("{base_path}_first_txindex"), + ), + first_txinindex: MetricPattern27::new( + client.clone(), + format!("{base_path}_first_txinindex"), + ), + first_txoutindex: MetricPattern27::new( + client.clone(), + format!("{base_path}_first_txoutindex"), + ), height: MetricPattern27::new(client.clone(), format!("{base_path}_height")), - is_explicitly_rbf: MetricPattern27::new(client.clone(), format!("{base_path}_is_explicitly_rbf")), + is_explicitly_rbf: MetricPattern27::new( + client.clone(), + format!("{base_path}_is_explicitly_rbf"), + ), rawlocktime: MetricPattern27::new(client.clone(), format!("{base_path}_rawlocktime")), size: CatalogTree_Transactions_Size::new(client.clone(), format!("{base_path}_size")), total_size: MetricPattern27::new(client.clone(), format!("{base_path}_total_size")), txid: MetricPattern27::new(client.clone(), format!("{base_path}_txid")), txversion: MetricPattern27::new(client.clone(), format!("{base_path}_txversion")), - versions: CatalogTree_Transactions_Versions::new(client.clone(), format!("{base_path}_versions")), - volume: CatalogTree_Transactions_Volume::new(client.clone(), format!("{base_path}_volume")), + versions: CatalogTree_Transactions_Versions::new( + client.clone(), + format!("{base_path}_versions"), + ), + volume: CatalogTree_Transactions_Volume::new( + client.clone(), + format!("{base_path}_volume"), + ), } } } @@ -6109,14 +8055,14 @@ impl CatalogTree_Transactions { /// Catalog tree node. pub struct CatalogTree_Transactions_Count { pub is_coinbase: MetricPattern27, - pub tx_count: FullnessPattern, + pub tx_count: DollarsPattern, } impl CatalogTree_Transactions_Count { pub fn new(client: Arc, base_path: String) -> Self { Self { is_coinbase: MetricPattern27::new(client.clone(), format!("{base_path}_is_coinbase")), - tx_count: FullnessPattern::new(client.clone(), "tx_count".to_string()), + tx_count: DollarsPattern::new(client.clone(), "tx_count".to_string()), } } } @@ -6142,18 +8088,21 @@ impl CatalogTree_Transactions_Fees { /// Catalog tree node. pub struct CatalogTree_Transactions_Fees_Fee { - pub bitcoin: SizePattern, + pub bitcoin: CountPattern2, pub dollars: CatalogTree_Transactions_Fees_Fee_Dollars, - pub sats: SizePattern, + pub sats: CountPattern2, pub txindex: MetricPattern27, } impl CatalogTree_Transactions_Fees_Fee { pub fn new(client: Arc, base_path: String) -> Self { Self { - bitcoin: SizePattern::new(client.clone(), "fee_btc".to_string()), - dollars: CatalogTree_Transactions_Fees_Fee_Dollars::new(client.clone(), format!("{base_path}_dollars")), - sats: SizePattern::new(client.clone(), "fee".to_string()), + bitcoin: CountPattern2::new(client.clone(), "fee_btc".to_string()), + dollars: CatalogTree_Transactions_Fees_Fee_Dollars::new( + client.clone(), + format!("{base_path}_dollars"), + ), + sats: CountPattern2::new(client.clone(), "fee".to_string()), txindex: MetricPattern27::new(client.clone(), format!("{base_path}_txindex")), } } @@ -6179,7 +8128,10 @@ impl CatalogTree_Transactions_Fees_Fee_Dollars { Self { average: MetricPattern1::new(client.clone(), format!("{base_path}_average")), cumulative: MetricPattern2::new(client.clone(), format!("{base_path}_cumulative")), - height_cumulative: MetricPattern11::new(client.clone(), format!("{base_path}_height_cumulative")), + height_cumulative: MetricPattern11::new( + client.clone(), + format!("{base_path}_height_cumulative"), + ), max: MetricPattern1::new(client.clone(), format!("{base_path}_max")), median: MetricPattern11::new(client.clone(), format!("{base_path}_median")), min: MetricPattern1::new(client.clone(), format!("{base_path}_min")), @@ -6226,20 +8178,26 @@ impl CatalogTree_Transactions_Versions { /// Catalog tree node. pub struct CatalogTree_Transactions_Volume { - pub annualized_volume: _24hCoinbaseSumPattern, + pub annualized_volume: _2015Pattern, pub inputs_per_sec: MetricPattern4, pub outputs_per_sec: MetricPattern4, - pub sent_sum: _24hCoinbaseSumPattern, + pub sent_sum: ActiveSupplyPattern, pub tx_per_sec: MetricPattern4, } impl CatalogTree_Transactions_Volume { pub fn new(client: Arc, base_path: String) -> Self { Self { - annualized_volume: _24hCoinbaseSumPattern::new(client.clone(), "annualized_volume".to_string()), - inputs_per_sec: MetricPattern4::new(client.clone(), format!("{base_path}_inputs_per_sec")), - outputs_per_sec: MetricPattern4::new(client.clone(), format!("{base_path}_outputs_per_sec")), - sent_sum: _24hCoinbaseSumPattern::new(client.clone(), "sent_sum".to_string()), + annualized_volume: _2015Pattern::new(client.clone(), "annualized_volume".to_string()), + inputs_per_sec: MetricPattern4::new( + client.clone(), + format!("{base_path}_inputs_per_sec"), + ), + outputs_per_sec: MetricPattern4::new( + client.clone(), + format!("{base_path}_outputs_per_sec"), + ), + sent_sum: ActiveSupplyPattern::new(client.clone(), "sent_sum".to_string()), tx_per_sec: MetricPattern4::new(client.clone(), format!("{base_path}_tx_per_sec")), } } @@ -6284,30 +8242,59 @@ impl BrkClient { /// Address transaction IDs /// /// Get transaction IDs for an address, newest first. Use after_txid for pagination. - pub fn get_address_txs(&self, address: &str, after_txid: Option<&str>, limit: Option<&str>) -> Result> { + pub fn get_address_txs( + &self, + address: &str, + after_txid: Option<&str>, + limit: Option<&str>, + ) -> Result> { let mut query = Vec::new(); - if let Some(v) = after_txid { query.push(format!("after_txid={}", v)); } - if let Some(v) = limit { query.push(format!("limit={}", v)); } - let query_str = if query.is_empty() { String::new() } else { format!("?{}", query.join("&")) }; - self.base.get(&format!("/api/address/{address}/txs{}", query_str)) + if let Some(v) = after_txid { + query.push(format!("after_txid={}", v)); + } + if let Some(v) = limit { + query.push(format!("limit={}", v)); + } + let query_str = if query.is_empty() { + String::new() + } else { + format!("?{}", query.join("&")) + }; + self.base + .get(&format!("/api/address/{address}/txs{}", query_str)) } /// Address confirmed transactions /// /// Get confirmed transaction IDs for an address, 25 per page. Use ?after_txid= for pagination. - pub fn get_address_txs_chain(&self, address: &str, after_txid: Option<&str>, limit: Option<&str>) -> Result> { + pub fn get_address_txs_chain( + &self, + address: &str, + after_txid: Option<&str>, + limit: Option<&str>, + ) -> Result> { let mut query = Vec::new(); - if let Some(v) = after_txid { query.push(format!("after_txid={}", v)); } - if let Some(v) = limit { query.push(format!("limit={}", v)); } - let query_str = if query.is_empty() { String::new() } else { format!("?{}", query.join("&")) }; - self.base.get(&format!("/api/address/{address}/txs/chain{}", query_str)) + if let Some(v) = after_txid { + query.push(format!("after_txid={}", v)); + } + if let Some(v) = limit { + query.push(format!("limit={}", v)); + } + let query_str = if query.is_empty() { + String::new() + } else { + format!("?{}", query.join("&")) + }; + self.base + .get(&format!("/api/address/{address}/txs/chain{}", query_str)) } /// Address mempool transactions /// /// Get unconfirmed transaction IDs for an address from the mempool (up to 50). pub fn get_address_txs_mempool(&self, address: &str) -> Result> { - self.base.get(&format!("/api/address/{address}/txs/mempool")) + self.base + .get(&format!("/api/address/{address}/txs/mempool")) } /// Address UTXOs @@ -6362,8 +8349,13 @@ impl BrkClient { /// Block transactions (paginated) /// /// Retrieve transactions in a block by block hash, starting from the specified index. Returns up to 25 transactions at a time. - pub fn get_block_by_hash_txs_by_start_index(&self, hash: &str, start_index: &str) -> Result> { - self.base.get(&format!("/api/block/{hash}/txs/{start_index}")) + pub fn get_block_by_hash_txs_by_start_index( + &self, + hash: &str, + start_index: &str, + ) -> Result> { + self.base + .get(&format!("/api/block/{hash}/txs/{start_index}")) } /// Recent blocks @@ -6404,28 +8396,69 @@ impl BrkClient { /// Get metric data /// /// Fetch data for a specific metric at the given index. Use query parameters to filter by date range and format (json/csv). - pub fn get_metric_by_index(&self, index: &str, metric: &str, count: Option<&str>, format: Option<&str>, from: Option<&str>, to: Option<&str>) -> Result { + pub fn get_metric_by_index( + &self, + index: &str, + metric: &str, + count: Option<&str>, + format: Option<&str>, + from: Option<&str>, + to: Option<&str>, + ) -> Result { let mut query = Vec::new(); - if let Some(v) = count { query.push(format!("count={}", v)); } - if let Some(v) = format { query.push(format!("format={}", v)); } - if let Some(v) = from { query.push(format!("from={}", v)); } - if let Some(v) = to { query.push(format!("to={}", v)); } - let query_str = if query.is_empty() { String::new() } else { format!("?{}", query.join("&")) }; - self.base.get(&format!("/api/metric/{metric}/{index}{}", query_str)) + if let Some(v) = count { + query.push(format!("count={}", v)); + } + if let Some(v) = format { + query.push(format!("format={}", v)); + } + if let Some(v) = from { + query.push(format!("from={}", v)); + } + if let Some(v) = to { + query.push(format!("to={}", v)); + } + let query_str = if query.is_empty() { + String::new() + } else { + format!("?{}", query.join("&")) + }; + self.base + .get(&format!("/api/metric/{metric}/{index}{}", query_str)) } /// Bulk metric data /// /// Fetch multiple metrics in a single request. Supports filtering by index and date range. Returns an array of MetricData objects. - pub fn get_metrics_bulk(&self, count: Option<&str>, format: Option<&str>, from: Option<&str>, index: &str, metrics: &str, to: Option<&str>) -> Result> { + pub fn get_metrics_bulk( + &self, + count: Option<&str>, + format: Option<&str>, + from: Option<&str>, + index: &str, + metrics: &str, + to: Option<&str>, + ) -> Result> { let mut query = Vec::new(); - if let Some(v) = count { query.push(format!("count={}", v)); } - if let Some(v) = format { query.push(format!("format={}", v)); } - if let Some(v) = from { query.push(format!("from={}", v)); } + if let Some(v) = count { + query.push(format!("count={}", v)); + } + if let Some(v) = format { + query.push(format!("format={}", v)); + } + if let Some(v) = from { + query.push(format!("from={}", v)); + } query.push(format!("index={}", index)); query.push(format!("metrics={}", metrics)); - if let Some(v) = to { query.push(format!("to={}", v)); } - let query_str = if query.is_empty() { String::new() } else { format!("?{}", query.join("&")) }; + if let Some(v) = to { + query.push(format!("to={}", v)); + } + let query_str = if query.is_empty() { + String::new() + } else { + format!("?{}", query.join("&")) + }; self.base.get(&format!("/api/metrics/bulk{}", query_str)) } @@ -6455,19 +8488,36 @@ impl BrkClient { /// Paginated list of available metrics pub fn get_metrics_list(&self, page: Option<&str>) -> Result { let mut query = Vec::new(); - if let Some(v) = page { query.push(format!("page={}", v)); } - let query_str = if query.is_empty() { String::new() } else { format!("?{}", query.join("&")) }; + if let Some(v) = page { + query.push(format!("page={}", v)); + } + let query_str = if query.is_empty() { + String::new() + } else { + format!("?{}", query.join("&")) + }; self.base.get(&format!("/api/metrics/list{}", query_str)) } /// Search metrics /// /// Fuzzy search for metrics by name. Supports partial matches and typos. - pub fn get_metrics_search_by_metric(&self, metric: &str, limit: Option<&str>) -> Result> { + pub fn get_metrics_search_by_metric( + &self, + metric: &str, + limit: Option<&str>, + ) -> Result> { let mut query = Vec::new(); - if let Some(v) = limit { query.push(format!("limit={}", v)); } - let query_str = if query.is_empty() { String::new() } else { format!("?{}", query.join("&")) }; - self.base.get(&format!("/api/metrics/search/{metric}{}", query_str)) + if let Some(v) = limit { + query.push(format!("limit={}", v)); + } + let query_str = if query.is_empty() { + String::new() + } else { + format!("?{}", query.join("&")) + }; + self.base + .get(&format!("/api/metrics/search/{metric}{}", query_str)) } /// Transaction information @@ -6529,43 +8579,63 @@ impl BrkClient { /// Block fees /// /// Get average block fees for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - pub fn get_v1_mining_blocks_fees_by_time_period(&self, time_period: &str) -> Result> { - self.base.get(&format!("/api/v1/mining/blocks/fees/{time_period}")) + pub fn get_v1_mining_blocks_fees_by_time_period( + &self, + time_period: &str, + ) -> Result> { + self.base + .get(&format!("/api/v1/mining/blocks/fees/{time_period}")) } /// Block rewards /// /// Get average block rewards (coinbase = subsidy + fees) for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - pub fn get_v1_mining_blocks_rewards_by_time_period(&self, time_period: &str) -> Result> { - self.base.get(&format!("/api/v1/mining/blocks/rewards/{time_period}")) + pub fn get_v1_mining_blocks_rewards_by_time_period( + &self, + time_period: &str, + ) -> Result> { + self.base + .get(&format!("/api/v1/mining/blocks/rewards/{time_period}")) } /// Block sizes and weights /// /// Get average block sizes and weights for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - pub fn get_v1_mining_blocks_sizes_weights_by_time_period(&self, time_period: &str) -> Result { - self.base.get(&format!("/api/v1/mining/blocks/sizes-weights/{time_period}")) + pub fn get_v1_mining_blocks_sizes_weights_by_time_period( + &self, + time_period: &str, + ) -> Result { + self.base.get(&format!( + "/api/v1/mining/blocks/sizes-weights/{time_period}" + )) } /// Block by timestamp /// /// Find the block closest to a given UNIX timestamp. pub fn get_v1_mining_blocks_timestamp(&self, timestamp: &str) -> Result { - self.base.get(&format!("/api/v1/mining/blocks/timestamp/{timestamp}")) + self.base + .get(&format!("/api/v1/mining/blocks/timestamp/{timestamp}")) } /// Difficulty adjustments (all time) /// /// Get historical difficulty adjustments. Returns array of [timestamp, height, difficulty, change_percent]. pub fn get_v1_mining_difficulty_adjustments(&self) -> Result> { - self.base.get(&format!("/api/v1/mining/difficulty-adjustments")) + self.base + .get(&format!("/api/v1/mining/difficulty-adjustments")) } /// Difficulty adjustments /// /// Get historical difficulty adjustments for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y. Returns array of [timestamp, height, difficulty, change_percent]. - pub fn get_v1_mining_difficulty_adjustments_by_time_period(&self, time_period: &str) -> Result> { - self.base.get(&format!("/api/v1/mining/difficulty-adjustments/{time_period}")) + pub fn get_v1_mining_difficulty_adjustments_by_time_period( + &self, + time_period: &str, + ) -> Result> { + self.base.get(&format!( + "/api/v1/mining/difficulty-adjustments/{time_period}" + )) } /// Network hashrate (all time) @@ -6578,8 +8648,12 @@ impl BrkClient { /// Network hashrate /// /// Get network hashrate and difficulty data for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - pub fn get_v1_mining_hashrate_by_time_period(&self, time_period: &str) -> Result { - self.base.get(&format!("/api/v1/mining/hashrate/{time_period}")) + pub fn get_v1_mining_hashrate_by_time_period( + &self, + time_period: &str, + ) -> Result { + self.base + .get(&format!("/api/v1/mining/hashrate/{time_period}")) } /// Mining pool details @@ -6600,21 +8674,27 @@ impl BrkClient { /// /// Get mining pool statistics for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y pub fn get_v1_mining_pools_by_time_period(&self, time_period: &str) -> Result { - self.base.get(&format!("/api/v1/mining/pools/{time_period}")) + self.base + .get(&format!("/api/v1/mining/pools/{time_period}")) } /// Mining reward statistics /// /// Get mining reward statistics for the last N blocks including total rewards, fees, and transaction count. - pub fn get_v1_mining_reward_stats_by_block_count(&self, block_count: &str) -> Result { - self.base.get(&format!("/api/v1/mining/reward-stats/{block_count}")) + pub fn get_v1_mining_reward_stats_by_block_count( + &self, + block_count: &str, + ) -> Result { + self.base + .get(&format!("/api/v1/mining/reward-stats/{block_count}")) } /// Validate address /// /// Validate a Bitcoin address and get information about its type and scriptPubKey. pub fn get_v1_validate_address(&self, address: &str) -> Result { - self.base.get(&format!("/api/v1/validate-address/{address}")) + self.base + .get(&format!("/api/v1/validate-address/{address}")) } /// Health check @@ -6630,5 +8710,4 @@ impl BrkClient { pub fn get_version(&self) -> Result { self.base.get(&format!("/version")) } - } diff --git a/crates/brk_client/src/main.rs b/crates/brk_client/src/main.rs deleted file mode 100644 index c11cd9163..000000000 --- a/crates/brk_client/src/main.rs +++ /dev/null @@ -1,4 +0,0 @@ -fn main() { - // Dummy file - // Real code is auto generated in lib.rs by brk_binder -} diff --git a/crates/brk_computer/src/outputs/count/import.rs b/crates/brk_computer/src/outputs/count/import.rs index 39a9add3c..9d785954c 100644 --- a/crates/brk_computer/src/outputs/count/import.rs +++ b/crates/brk_computer/src/outputs/count/import.rs @@ -5,14 +5,14 @@ use vecdb::Database; use super::Vecs; use crate::{ indexes, - internal::{ComputedFromHeightFull, TxDerivedFull}, + internal::{ComputedFromHeightLast, TxDerivedFull}, }; impl Vecs { pub fn forced_import(db: &Database, version: Version, indexes: &indexes::Vecs) -> Result { Ok(Self { total_count: TxDerivedFull::forced_import(db, "output_count", version, indexes)?, - utxo_count: ComputedFromHeightFull::forced_import(db, "exact_utxo_count", version, indexes)?, + utxo_count: ComputedFromHeightLast::forced_import(db, "exact_utxo_count", version, indexes)?, }) } } diff --git a/crates/brk_computer/src/outputs/count/vecs.rs b/crates/brk_computer/src/outputs/count/vecs.rs index 58a0784d9..53a130e2a 100644 --- a/crates/brk_computer/src/outputs/count/vecs.rs +++ b/crates/brk_computer/src/outputs/count/vecs.rs @@ -1,10 +1,10 @@ use brk_traversable::Traversable; use brk_types::StoredU64; -use crate::internal::{ComputedFromHeightFull, TxDerivedFull}; +use crate::internal::{ComputedFromHeightLast, TxDerivedFull}; #[derive(Clone, Traversable)] pub struct Vecs { pub total_count: TxDerivedFull, - pub utxo_count: ComputedFromHeightFull, + pub utxo_count: ComputedFromHeightLast, } diff --git a/crates/brk_types/Cargo.toml b/crates/brk_types/Cargo.toml index f884b90ea..5ba6b9396 100644 --- a/crates/brk_types/Cargo.toml +++ b/crates/brk_types/Cargo.toml @@ -16,7 +16,7 @@ derive_more = { workspace = true } itoa = "1.0.17" jiff = { workspace = true } num_enum = "0.7.5" -rapidhash = "4.2.0" +rapidhash = "4.2.1" ryu = "1.0.22" schemars = { workspace = true } serde = { workspace = true } diff --git a/crates/brk_types/src/index.rs b/crates/brk_types/src/index.rs index dee562528..fc0d3a24f 100644 --- a/crates/brk_types/src/index.rs +++ b/crates/brk_types/src/index.rs @@ -15,7 +15,7 @@ use super::{ /// Aggregation dimension for querying metrics. Includes time-based (date, week, month, year), /// block-based (height, txindex), and address/output type indexes. -#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Serialize, JsonSchema)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, JsonSchema)] #[serde(rename_all = "lowercase")] #[schemars(example = Index::DateIndex)] pub enum Index { diff --git a/crates/brk_types/src/treenode.rs b/crates/brk_types/src/treenode.rs index ef696c0ba..94f1054c1 100644 --- a/crates/brk_types/src/treenode.rs +++ b/crates/brk_types/src/treenode.rs @@ -53,24 +53,24 @@ pub fn extract_json_type(schema: &serde_json::Value) -> String { } // Handle $ref - look up in definitions - if let Some(ref_path) = schema.get("$ref").and_then(|v| v.as_str()) { - if let Some(def_name) = ref_path.rsplit('/').next() { - // Check both "$defs" (draft 2020-12) and "definitions" (older drafts) - for defs_key in &["$defs", "definitions"] { - if let Some(defs) = schema.get(defs_key) { - if let Some(def) = defs.get(def_name) { - return extract_json_type(def); - } - } + if let Some(ref_path) = schema.get("$ref").and_then(|v| v.as_str()) + && let Some(def_name) = ref_path.rsplit('/').next() + { + // Check both "$defs" (draft 2020-12) and "definitions" (older drafts) + for defs_key in &["$defs", "definitions"] { + if let Some(defs) = schema.get(defs_key) + && let Some(def) = defs.get(def_name) + { + return extract_json_type(def); } } } // Handle allOf with single element - if let Some(all_of) = schema.get("allOf").and_then(|v| v.as_array()) { - if all_of.len() == 1 { - return extract_json_type(&all_of[0]); - } + if let Some(all_of) = schema.get("allOf").and_then(|v| v.as_array()) + && all_of.len() == 1 + { + return extract_json_type(&all_of[0]); } "object".to_string() diff --git a/modules/brk-client/docs/classes/BrkClient.md b/modules/brk-client/docs/classes/BrkClient.md new file mode 100644 index 000000000..ffdff76f2 --- /dev/null +++ b/modules/brk-client/docs/classes/BrkClient.md @@ -0,0 +1,1153 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BrkClient + +# Class: BrkClient + +Defined in: [Developer/brk/modules/brk-client/index.js:5136](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5136) + +Main BRK client with catalog tree and API methods + +## Extends + +- `BrkClientBase` + +## Constructors + +### Constructor + +> **new BrkClient**(`options`): `BrkClient` + +Defined in: [Developer/brk/modules/brk-client/index.js:6033](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L6033) + +#### Parameters + +##### options + +`string` | [`BrkClientOptions`](../interfaces/BrkClientOptions.md) + +#### Returns + +`BrkClient` + +#### Overrides + +`BrkClientBase.constructor` + +## Properties + +### tree + +> **tree**: [`CatalogTree`](../interfaces/CatalogTree.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:6036](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L6036) + +## Methods + +### get() + +> **get**\<`T`\>(`path`, `onUpdate?`): `Promise`\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:619](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L619) + +Make a GET request with stale-while-revalidate caching + +#### Type Parameters + +##### T + +`T` + +#### Parameters + +##### path + +`string` + +##### onUpdate? + +(`value`) => `void` + +Called when data is available + +#### Returns + +`Promise`\<`T`\> + +#### Inherited from + +`BrkClientBase.get` + +*** + +### getAddress() + +> **getAddress**(`address`): `Promise`\<[`AddressStats`](../interfaces/AddressStats.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7444](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7444) + +Address information + +Retrieve comprehensive information about a Bitcoin address including balance, transaction history, UTXOs, and estimated investment metrics. Supports all standard Bitcoin address types (P2PKH, P2SH, P2WPKH, P2WSH, P2TR, etc.). + +#### Parameters + +##### address + +`string` + +#### Returns + +`Promise`\<[`AddressStats`](../interfaces/AddressStats.md)\> + +*** + +### getAddressTxs() + +> **getAddressTxs**(`address`, `after_txid?`, `limit?`): `Promise`\<`string`[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7458](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7458) + +Address transaction IDs + +Get transaction IDs for an address, newest first. Use after_txid for pagination. + +#### Parameters + +##### address + +`string` + +##### after\_txid? + +`string` + +Txid to paginate from (return transactions before this one) + +##### limit? + +`number` + +Maximum number of results to return. Defaults to 25 if not specified. + +#### Returns + +`Promise`\<`string`[]\> + +*** + +### getAddressTxsChain() + +> **getAddressTxsChain**(`address`, `after_txid?`, `limit?`): `Promise`\<`string`[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7476](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7476) + +Address confirmed transactions + +Get confirmed transaction IDs for an address, 25 per page. Use ?after_txid= for pagination. + +#### Parameters + +##### address + +`string` + +##### after\_txid? + +`string` + +Txid to paginate from (return transactions before this one) + +##### limit? + +`number` + +Maximum number of results to return. Defaults to 25 if not specified. + +#### Returns + +`Promise`\<`string`[]\> + +*** + +### getAddressTxsMempool() + +> **getAddressTxsMempool**(`address`): `Promise`\<`string`[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7494](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7494) + +Address mempool transactions + +Get unconfirmed transaction IDs for an address from the mempool (up to 50). + +#### Parameters + +##### address + +`string` + +#### Returns + +`Promise`\<`string`[]\> + +*** + +### getAddressUtxo() + +> **getAddressUtxo**(`address`): `Promise`\<[`Utxo`](../interfaces/Utxo.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7506](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7506) + +Address UTXOs + +Get unspent transaction outputs for an address. + +#### Parameters + +##### address + +`string` + +#### Returns + +`Promise`\<[`Utxo`](../interfaces/Utxo.md)[]\> + +*** + +### getBlockByHash() + +> **getBlockByHash**(`hash`): `Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7530](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7530) + +Block information + +Retrieve block information by block hash. Returns block metadata including height, timestamp, difficulty, size, weight, and transaction count. + +#### Parameters + +##### hash + +`string` + +#### Returns + +`Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)\> + +*** + +### getBlockByHashRaw() + +> **getBlockByHashRaw**(`hash`): `Promise`\<`number`[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7542](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7542) + +Raw block + +Returns the raw block data in binary format. + +#### Parameters + +##### hash + +`string` + +#### Returns + +`Promise`\<`number`[]\> + +*** + +### getBlockByHashStatus() + +> **getBlockByHashStatus**(`hash`): `Promise`\<[`BlockStatus`](../interfaces/BlockStatus.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7554](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7554) + +Block status + +Retrieve the status of a block. Returns whether the block is in the best chain and, if so, its height and the hash of the next block. + +#### Parameters + +##### hash + +`string` + +#### Returns + +`Promise`\<[`BlockStatus`](../interfaces/BlockStatus.md)\> + +*** + +### getBlockByHashTxidByIndex() + +> **getBlockByHashTxidByIndex**(`hash`, `index`): `Promise`\<`string`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7567](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7567) + +Transaction ID at index + +Retrieve a single transaction ID at a specific index within a block. Returns plain text txid. + +#### Parameters + +##### hash + +`string` + +Bitcoin block hash + +##### index + +`number` + +Transaction index within the block (0-based) + +#### Returns + +`Promise`\<`string`\> + +*** + +### getBlockByHashTxids() + +> **getBlockByHashTxids**(`hash`): `Promise`\<`string`[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7579](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7579) + +Block transaction IDs + +Retrieve all transaction IDs in a block by block hash. + +#### Parameters + +##### hash + +`string` + +#### Returns + +`Promise`\<`string`[]\> + +*** + +### getBlockByHashTxsByStartIndex() + +> **getBlockByHashTxsByStartIndex**(`hash`, `start_index`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7592](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7592) + +Block transactions (paginated) + +Retrieve transactions in a block by block hash, starting from the specified index. Returns up to 25 transactions at a time. + +#### Parameters + +##### hash + +`string` + +Bitcoin block hash + +##### start\_index + +`number` + +Starting transaction index within the block (0-based) + +#### Returns + +`Promise`\<[`Transaction`](../interfaces/Transaction.md)[]\> + +*** + +### getBlockHeight() + +> **getBlockHeight**(`height`): `Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7518](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7518) + +Block by height + +Retrieve block information by block height. Returns block metadata including hash, timestamp, difficulty, size, weight, and transaction count. + +#### Parameters + +##### height + +`number` + +#### Returns + +`Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)\> + +*** + +### getBlocks() + +> **getBlocks**(): `Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7602](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7602) + +Recent blocks + +Retrieve the last 10 blocks. Returns block metadata for each block. + +#### Returns + +`Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)[]\> + +*** + +### getBlocksByHeight() + +> **getBlocksByHeight**(`height`): `Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7614](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7614) + +Blocks from height + +Retrieve up to 10 blocks going backwards from the given height. For example, height=100 returns blocks 100, 99, 98, ..., 91. Height=0 returns only block 0. + +#### Parameters + +##### height + +`number` + +#### Returns + +`Promise`\<[`BlockInfo`](../interfaces/BlockInfo.md)[]\> + +*** + +### getHealth() + +> **getHealth**(): `Promise`\<[`Health`](../interfaces/Health.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:8008](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L8008) + +Health check + +Returns the health status of the API server + +#### Returns + +`Promise`\<[`Health`](../interfaces/Health.md)\> + +*** + +### getMempoolInfo() + +> **getMempoolInfo**(): `Promise`\<[`MempoolInfo`](../interfaces/MempoolInfo.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7624](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7624) + +Mempool statistics + +Get current mempool statistics including transaction count, total vsize, and total fees. + +#### Returns + +`Promise`\<[`MempoolInfo`](../interfaces/MempoolInfo.md)\> + +*** + +### getMempoolTxids() + +> **getMempoolTxids**(): `Promise`\<`string`[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7634](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7634) + +Mempool transaction IDs + +Get all transaction IDs currently in the mempool. + +#### Returns + +`Promise`\<`string`[]\> + +*** + +### getMetric() + +> **getMetric**(`metric`): `Promise`\<[`Index`](../type-aliases/Index.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7646](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7646) + +Get supported indexes for a metric + +Returns the list of indexes are supported by the specified metric. For example, `realized_price` might be available on dateindex, weekindex, and monthindex. + +#### Parameters + +##### metric + +`string` + +#### Returns + +`Promise`\<[`Index`](../type-aliases/Index.md)[]\> + +*** + +### getMetricByIndex() + +> **getMetricByIndex**(`index`, `metric`, `count?`, `format?`, `from?`, `to?`): `Promise`\<[`AnyMetricData`](../type-aliases/AnyMetricData.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7663](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7663) + +Get metric data + +Fetch data for a specific metric at the given index. Use query parameters to filter by date range and format (json/csv). + +#### Parameters + +##### index + +[`Index`](../type-aliases/Index.md) + +Aggregation index + +##### metric + +`string` + +Metric name + +##### count? + +`any` + +Number of values to return (ignored if `to` is set) + +##### format? + +[`Format`](../type-aliases/Format.md) + +Format of the output + +##### from? + +`any` + +Inclusive starting index, if negative counts from end + +##### to? + +`any` + +Exclusive ending index, if negative counts from end + +#### Returns + +`Promise`\<[`AnyMetricData`](../type-aliases/AnyMetricData.md)\> + +*** + +### getMetricsBulk() + +> **getMetricsBulk**(`count?`, `format?`, `from?`, `index?`, `metrics?`, `to?`): `Promise`\<[`AnyMetricData`](../type-aliases/AnyMetricData.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7688](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7688) + +Bulk metric data + +Fetch multiple metrics in a single request. Supports filtering by index and date range. Returns an array of MetricData objects. + +#### Parameters + +##### count? + +`any` + +Number of values to return (ignored if `to` is set) + +##### format? + +[`Format`](../type-aliases/Format.md) + +Format of the output + +##### from? + +`any` + +Inclusive starting index, if negative counts from end + +##### index? + +[`Index`](../type-aliases/Index.md) + +Index to query + +##### metrics? + +`string` + +Requested metrics + +##### to? + +`any` + +Exclusive ending index, if negative counts from end + +#### Returns + +`Promise`\<[`AnyMetricData`](../type-aliases/AnyMetricData.md)[]\> + +*** + +### getMetricsCatalog() + +> **getMetricsCatalog**(): `Promise`\<[`TreeNode`](../type-aliases/TreeNode.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7706](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7706) + +Metrics catalog + +Returns the complete hierarchical catalog of available metrics organized as a tree structure. Metrics are grouped by categories and subcategories. Best viewed in an interactive JSON viewer (e.g., Firefox's built-in JSON viewer) for easy navigation of the nested structure. + +#### Returns + +`Promise`\<[`TreeNode`](../type-aliases/TreeNode.md)\> + +*** + +### getMetricsCount() + +> **getMetricsCount**(): `Promise`\<[`MetricCount`](../interfaces/MetricCount.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7716](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7716) + +Metric count + +Current metric count + +#### Returns + +`Promise`\<[`MetricCount`](../interfaces/MetricCount.md)[]\> + +*** + +### getMetricsIndexes() + +> **getMetricsIndexes**(): `Promise`\<[`IndexInfo`](../interfaces/IndexInfo.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7726](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7726) + +List available indexes + +Returns all available indexes with their accepted query aliases. Use any alias when querying metrics. + +#### Returns + +`Promise`\<[`IndexInfo`](../interfaces/IndexInfo.md)[]\> + +*** + +### getMetricsList() + +> **getMetricsList**(`page?`): `Promise`\<[`PaginatedMetrics`](../interfaces/PaginatedMetrics.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7738](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7738) + +Metrics list + +Paginated list of available metrics + +#### Parameters + +##### page? + +`any` + +Pagination index + +#### Returns + +`Promise`\<[`PaginatedMetrics`](../interfaces/PaginatedMetrics.md)\> + +*** + +### getMetricsSearchByMetric() + +> **getMetricsSearchByMetric**(`metric`, `limit?`): `Promise`\<`string`[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7754](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7754) + +Search metrics + +Fuzzy search for metrics by name. Supports partial matches and typos. + +#### Parameters + +##### metric + +`string` + +##### limit? + +`number` + +#### Returns + +`Promise`\<`string`[]\> + +*** + +### getTxByTxid() + +> **getTxByTxid**(`txid`): `Promise`\<[`Transaction`](../interfaces/Transaction.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7769](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7769) + +Transaction information + +Retrieve complete transaction data by transaction ID (txid). Returns the full transaction details including inputs, outputs, and metadata. The transaction data is read directly from the blockchain data files. + +#### Parameters + +##### txid + +`string` + +#### Returns + +`Promise`\<[`Transaction`](../interfaces/Transaction.md)\> + +*** + +### getTxByTxidHex() + +> **getTxByTxidHex**(`txid`): `Promise`\<`string`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7781](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7781) + +Transaction hex + +Retrieve the raw transaction as a hex-encoded string. Returns the serialized transaction in hexadecimal format. + +#### Parameters + +##### txid + +`string` + +#### Returns + +`Promise`\<`string`\> + +*** + +### getTxByTxidOutspendByVout() + +> **getTxByTxidOutspendByVout**(`txid`, `vout`): `Promise`\<[`TxOutspend`](../interfaces/TxOutspend.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7794](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7794) + +Output spend status + +Get the spending status of a transaction output. Returns whether the output has been spent and, if so, the spending transaction details. + +#### Parameters + +##### txid + +`string` + +Transaction ID + +##### vout + +`number` + +Output index + +#### Returns + +`Promise`\<[`TxOutspend`](../interfaces/TxOutspend.md)\> + +*** + +### getTxByTxidOutspends() + +> **getTxByTxidOutspends**(`txid`): `Promise`\<[`TxOutspend`](../interfaces/TxOutspend.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7806](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7806) + +All output spend statuses + +Get the spending status of all outputs in a transaction. Returns an array with the spend status for each output. + +#### Parameters + +##### txid + +`string` + +#### Returns + +`Promise`\<[`TxOutspend`](../interfaces/TxOutspend.md)[]\> + +*** + +### getTxByTxidStatus() + +> **getTxByTxidStatus**(`txid`): `Promise`\<[`TxStatus`](../interfaces/TxStatus.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7818](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7818) + +Transaction status + +Retrieve the confirmation status of a transaction. Returns whether the transaction is confirmed and, if so, the block height, hash, and timestamp. + +#### Parameters + +##### txid + +`string` + +#### Returns + +`Promise`\<[`TxStatus`](../interfaces/TxStatus.md)\> + +*** + +### getV1DifficultyAdjustment() + +> **getV1DifficultyAdjustment**(): `Promise`\<[`DifficultyAdjustment`](../interfaces/DifficultyAdjustment.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7828](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7828) + +Difficulty adjustment + +Get current difficulty adjustment information including progress through the current epoch, estimated retarget date, and difficulty change prediction. + +#### Returns + +`Promise`\<[`DifficultyAdjustment`](../interfaces/DifficultyAdjustment.md)\> + +*** + +### getV1FeesMempoolBlocks() + +> **getV1FeesMempoolBlocks**(): `Promise`\<[`MempoolBlock`](../interfaces/MempoolBlock.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7838](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7838) + +Projected mempool blocks + +Get projected blocks from the mempool for fee estimation. Each block contains statistics about transactions that would be included if a block were mined now. + +#### Returns + +`Promise`\<[`MempoolBlock`](../interfaces/MempoolBlock.md)[]\> + +*** + +### getV1FeesRecommended() + +> **getV1FeesRecommended**(): `Promise`\<[`RecommendedFees`](../interfaces/RecommendedFees.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7848](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7848) + +Recommended fees + +Get recommended fee rates for different confirmation targets based on current mempool state. + +#### Returns + +`Promise`\<[`RecommendedFees`](../interfaces/RecommendedFees.md)\> + +*** + +### getV1MiningBlocksFeesByTimePeriod() + +> **getV1MiningBlocksFeesByTimePeriod**(`time_period`): `Promise`\<[`BlockFeesEntry`](../interfaces/BlockFeesEntry.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7860](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7860) + +Block fees + +Get average block fees for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + +#### Parameters + +##### time\_period + +[`TimePeriod`](../type-aliases/TimePeriod.md) + +#### Returns + +`Promise`\<[`BlockFeesEntry`](../interfaces/BlockFeesEntry.md)[]\> + +*** + +### getV1MiningBlocksRewardsByTimePeriod() + +> **getV1MiningBlocksRewardsByTimePeriod**(`time_period`): `Promise`\<[`BlockRewardsEntry`](../interfaces/BlockRewardsEntry.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7872](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7872) + +Block rewards + +Get average block rewards (coinbase = subsidy + fees) for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + +#### Parameters + +##### time\_period + +[`TimePeriod`](../type-aliases/TimePeriod.md) + +#### Returns + +`Promise`\<[`BlockRewardsEntry`](../interfaces/BlockRewardsEntry.md)[]\> + +*** + +### getV1MiningBlocksSizesWeightsByTimePeriod() + +> **getV1MiningBlocksSizesWeightsByTimePeriod**(`time_period`): `Promise`\<[`BlockSizesWeights`](../interfaces/BlockSizesWeights.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7884](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7884) + +Block sizes and weights + +Get average block sizes and weights for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + +#### Parameters + +##### time\_period + +[`TimePeriod`](../type-aliases/TimePeriod.md) + +#### Returns + +`Promise`\<[`BlockSizesWeights`](../interfaces/BlockSizesWeights.md)\> + +*** + +### getV1MiningBlocksTimestamp() + +> **getV1MiningBlocksTimestamp**(`timestamp`): `Promise`\<[`BlockTimestamp`](../interfaces/BlockTimestamp.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7896](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7896) + +Block by timestamp + +Find the block closest to a given UNIX timestamp. + +#### Parameters + +##### timestamp + +`number` + +#### Returns + +`Promise`\<[`BlockTimestamp`](../interfaces/BlockTimestamp.md)\> + +*** + +### getV1MiningDifficultyAdjustments() + +> **getV1MiningDifficultyAdjustments**(): `Promise`\<[`DifficultyAdjustmentEntry`](../interfaces/DifficultyAdjustmentEntry.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7906](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7906) + +Difficulty adjustments (all time) + +Get historical difficulty adjustments. Returns array of [timestamp, height, difficulty, change_percent]. + +#### Returns + +`Promise`\<[`DifficultyAdjustmentEntry`](../interfaces/DifficultyAdjustmentEntry.md)[]\> + +*** + +### getV1MiningDifficultyAdjustmentsByTimePeriod() + +> **getV1MiningDifficultyAdjustmentsByTimePeriod**(`time_period`): `Promise`\<[`DifficultyAdjustmentEntry`](../interfaces/DifficultyAdjustmentEntry.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7918](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7918) + +Difficulty adjustments + +Get historical difficulty adjustments for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y. Returns array of [timestamp, height, difficulty, change_percent]. + +#### Parameters + +##### time\_period + +[`TimePeriod`](../type-aliases/TimePeriod.md) + +#### Returns + +`Promise`\<[`DifficultyAdjustmentEntry`](../interfaces/DifficultyAdjustmentEntry.md)[]\> + +*** + +### getV1MiningHashrate() + +> **getV1MiningHashrate**(): `Promise`\<[`HashrateSummary`](../interfaces/HashrateSummary.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7928](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7928) + +Network hashrate (all time) + +Get network hashrate and difficulty data for all time. + +#### Returns + +`Promise`\<[`HashrateSummary`](../interfaces/HashrateSummary.md)\> + +*** + +### getV1MiningHashrateByTimePeriod() + +> **getV1MiningHashrateByTimePeriod**(`time_period`): `Promise`\<[`HashrateSummary`](../interfaces/HashrateSummary.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7940](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7940) + +Network hashrate + +Get network hashrate and difficulty data for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + +#### Parameters + +##### time\_period + +[`TimePeriod`](../type-aliases/TimePeriod.md) + +#### Returns + +`Promise`\<[`HashrateSummary`](../interfaces/HashrateSummary.md)\> + +*** + +### getV1MiningPoolBySlug() + +> **getV1MiningPoolBySlug**(`slug`): `Promise`\<[`PoolDetail`](../interfaces/PoolDetail.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7952](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7952) + +Mining pool details + +Get detailed information about a specific mining pool including block counts and shares for different time periods. + +#### Parameters + +##### slug + +[`PoolSlug`](../type-aliases/PoolSlug.md) + +#### Returns + +`Promise`\<[`PoolDetail`](../interfaces/PoolDetail.md)\> + +*** + +### getV1MiningPools() + +> **getV1MiningPools**(): `Promise`\<[`PoolInfo`](../interfaces/PoolInfo.md)[]\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7962](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7962) + +List all mining pools + +Get list of all known mining pools with their identifiers. + +#### Returns + +`Promise`\<[`PoolInfo`](../interfaces/PoolInfo.md)[]\> + +*** + +### getV1MiningPoolsByTimePeriod() + +> **getV1MiningPoolsByTimePeriod**(`time_period`): `Promise`\<[`PoolsSummary`](../interfaces/PoolsSummary.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7974](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7974) + +Mining pool statistics + +Get mining pool statistics for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + +#### Parameters + +##### time\_period + +[`TimePeriod`](../type-aliases/TimePeriod.md) + +#### Returns + +`Promise`\<[`PoolsSummary`](../interfaces/PoolsSummary.md)\> + +*** + +### getV1MiningRewardStatsByBlockCount() + +> **getV1MiningRewardStatsByBlockCount**(`block_count`): `Promise`\<[`RewardStats`](../interfaces/RewardStats.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7986](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7986) + +Mining reward statistics + +Get mining reward statistics for the last N blocks including total rewards, fees, and transaction count. + +#### Parameters + +##### block\_count + +`number` + +Number of recent blocks to include + +#### Returns + +`Promise`\<[`RewardStats`](../interfaces/RewardStats.md)\> + +*** + +### getV1ValidateAddress() + +> **getV1ValidateAddress**(`address`): `Promise`\<[`AddressValidation`](../interfaces/AddressValidation.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:7998](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L7998) + +Validate address + +Validate a Bitcoin address and get information about its type and scriptPubKey. + +#### Parameters + +##### address + +`string` + +Bitcoin address to validate (can be any string) + +#### Returns + +`Promise`\<[`AddressValidation`](../interfaces/AddressValidation.md)\> + +*** + +### getVersion() + +> **getVersion**(): `Promise`\<`string`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:8018](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L8018) + +API version + +Returns the current version of the API server + +#### Returns + +`Promise`\<`string`\> diff --git a/modules/brk-client/docs/classes/BrkError.md b/modules/brk-client/docs/classes/BrkError.md new file mode 100644 index 000000000..674a93847 --- /dev/null +++ b/modules/brk-client/docs/classes/BrkError.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BrkError + +# Class: BrkError + +Defined in: [Developer/brk/modules/brk-client/index.js:532](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L532) + +Custom error class for BRK client errors + +## Extends + +- `Error` + +## Constructors + +### Constructor + +> **new BrkError**(`message`, `status?`): `BrkError` + +Defined in: [Developer/brk/modules/brk-client/index.js:537](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L537) + +#### Parameters + +##### message + +`string` + +##### status? + +`number` + +#### Returns + +`BrkError` + +#### Overrides + +`Error.constructor` + +## Methods + +### isError() + +> `static` **isError**(`error`): `error is Error` + +Defined in: .npm/\_npx/940582f83630445a/node\_modules/typescript/lib/lib.esnext.error.d.ts:23 + +Indicates whether the argument provided is a built-in Error instance or not. + +#### Parameters + +##### error + +`unknown` + +#### Returns + +`error is Error` + +#### Inherited from + +`Error.isError` diff --git a/modules/brk-client/docs/globals.md b/modules/brk-client/docs/globals.md new file mode 100644 index 000000000..baa19dd7f --- /dev/null +++ b/modules/brk-client/docs/globals.md @@ -0,0 +1,363 @@ +[**brk-client**](README.md) + +*** + +# brk-client + +## Classes + +- [BrkClient](classes/BrkClient.md) +- [BrkError](classes/BrkError.md) + +## Interfaces + +- [\_0satsPattern](interfaces/0satsPattern.md) +- [\_0satsPattern2](interfaces/0satsPattern2.md) +- [\_100btcPattern](interfaces/100btcPattern.md) +- [\_10yPattern](interfaces/10yPattern.md) +- [\_10yTo12yPattern](interfaces/10yTo12yPattern.md) +- [\_1dReturns1mSdPattern](interfaces/1dReturns1mSdPattern.md) +- [\_2015Pattern](interfaces/2015Pattern.md) +- [AaopoolPattern](interfaces/AaopoolPattern.md) +- [ActivePriceRatioPattern](interfaces/ActivePriceRatioPattern.md) +- [ActiveSupplyPattern](interfaces/ActiveSupplyPattern.md) +- [ActivityPattern2](interfaces/ActivityPattern2.md) +- [AddrCountPattern](interfaces/AddrCountPattern.md) +- [AddressChainStats](interfaces/AddressChainStats.md) +- [AddressMempoolStats](interfaces/AddressMempoolStats.md) +- [AddressParam](interfaces/AddressParam.md) +- [AddressStats](interfaces/AddressStats.md) +- [AddressTxidsParam](interfaces/AddressTxidsParam.md) +- [AddressValidation](interfaces/AddressValidation.md) +- [BitcoinPattern](interfaces/BitcoinPattern.md) +- [BlockCountParam](interfaces/BlockCountParam.md) +- [BlockCountPattern](interfaces/BlockCountPattern.md) +- [BlockFeesEntry](interfaces/BlockFeesEntry.md) +- [BlockHashParam](interfaces/BlockHashParam.md) +- [BlockHashStartIndex](interfaces/BlockHashStartIndex.md) +- [BlockHashTxIndex](interfaces/BlockHashTxIndex.md) +- [BlockInfo](interfaces/BlockInfo.md) +- [BlockRewardsEntry](interfaces/BlockRewardsEntry.md) +- [BlockSizeEntry](interfaces/BlockSizeEntry.md) +- [BlockSizesWeights](interfaces/BlockSizesWeights.md) +- [BlockStatus](interfaces/BlockStatus.md) +- [BlockTimestamp](interfaces/BlockTimestamp.md) +- [BlockWeightEntry](interfaces/BlockWeightEntry.md) +- [BrkClientOptions](interfaces/BrkClientOptions.md) +- [CatalogTree](interfaces/CatalogTree.md) +- [CatalogTree\_Addresses](interfaces/CatalogTree_Addresses.md) +- [CatalogTree\_Blocks](interfaces/CatalogTree_Blocks.md) +- [CatalogTree\_Blocks\_Count](interfaces/CatalogTree_Blocks_Count.md) +- [CatalogTree\_Blocks\_Difficulty](interfaces/CatalogTree_Blocks_Difficulty.md) +- [CatalogTree\_Blocks\_Halving](interfaces/CatalogTree_Blocks_Halving.md) +- [CatalogTree\_Blocks\_Interval](interfaces/CatalogTree_Blocks_Interval.md) +- [CatalogTree\_Blocks\_Mining](interfaces/CatalogTree_Blocks_Mining.md) +- [CatalogTree\_Blocks\_Rewards](interfaces/CatalogTree_Blocks_Rewards.md) +- [CatalogTree\_Blocks\_Rewards\_24hCoinbaseSum](interfaces/CatalogTree_Blocks_Rewards_24hCoinbaseSum.md) +- [CatalogTree\_Blocks\_Size](interfaces/CatalogTree_Blocks_Size.md) +- [CatalogTree\_Blocks\_Time](interfaces/CatalogTree_Blocks_Time.md) +- [CatalogTree\_Cointime](interfaces/CatalogTree_Cointime.md) +- [CatalogTree\_Cointime\_Activity](interfaces/CatalogTree_Cointime_Activity.md) +- [CatalogTree\_Cointime\_Adjusted](interfaces/CatalogTree_Cointime_Adjusted.md) +- [CatalogTree\_Cointime\_Cap](interfaces/CatalogTree_Cointime_Cap.md) +- [CatalogTree\_Cointime\_Pricing](interfaces/CatalogTree_Cointime_Pricing.md) +- [CatalogTree\_Cointime\_Supply](interfaces/CatalogTree_Cointime_Supply.md) +- [CatalogTree\_Cointime\_Value](interfaces/CatalogTree_Cointime_Value.md) +- [CatalogTree\_Constants](interfaces/CatalogTree_Constants.md) +- [CatalogTree\_Distribution](interfaces/CatalogTree_Distribution.md) +- [CatalogTree\_Distribution\_AddrCount](interfaces/CatalogTree_Distribution_AddrCount.md) +- [CatalogTree\_Distribution\_AddressCohorts](interfaces/CatalogTree_Distribution_AddressCohorts.md) +- [CatalogTree\_Distribution\_AddressCohorts\_AmountRange](interfaces/CatalogTree_Distribution_AddressCohorts_AmountRange.md) +- [CatalogTree\_Distribution\_AddressCohorts\_GeAmount](interfaces/CatalogTree_Distribution_AddressCohorts_GeAmount.md) +- [CatalogTree\_Distribution\_AddressCohorts\_LtAmount](interfaces/CatalogTree_Distribution_AddressCohorts_LtAmount.md) +- [CatalogTree\_Distribution\_AddressesData](interfaces/CatalogTree_Distribution_AddressesData.md) +- [CatalogTree\_Distribution\_AnyAddressIndexes](interfaces/CatalogTree_Distribution_AnyAddressIndexes.md) +- [CatalogTree\_Distribution\_EmptyAddrCount](interfaces/CatalogTree_Distribution_EmptyAddrCount.md) +- [CatalogTree\_Distribution\_UtxoCohorts](interfaces/CatalogTree_Distribution_UtxoCohorts.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_AgeRange](interfaces/CatalogTree_Distribution_UtxoCohorts_AgeRange.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_All](interfaces/CatalogTree_Distribution_UtxoCohorts_All.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_All\_CostBasis](interfaces/CatalogTree_Distribution_UtxoCohorts_All_CostBasis.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_All\_Relative](interfaces/CatalogTree_Distribution_UtxoCohorts_All_Relative.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_AmountRange](interfaces/CatalogTree_Distribution_UtxoCohorts_AmountRange.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_Epoch](interfaces/CatalogTree_Distribution_UtxoCohorts_Epoch.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_GeAmount](interfaces/CatalogTree_Distribution_UtxoCohorts_GeAmount.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_LtAmount](interfaces/CatalogTree_Distribution_UtxoCohorts_LtAmount.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_MaxAge](interfaces/CatalogTree_Distribution_UtxoCohorts_MaxAge.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_MinAge](interfaces/CatalogTree_Distribution_UtxoCohorts_MinAge.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_Term](interfaces/CatalogTree_Distribution_UtxoCohorts_Term.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_Term\_Long](interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Long.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_Term\_Long\_CostBasis](interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_Term\_Short](interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Short.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_Term\_Short\_CostBasis](interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_Type](interfaces/CatalogTree_Distribution_UtxoCohorts_Type.md) +- [CatalogTree\_Distribution\_UtxoCohorts\_Year](interfaces/CatalogTree_Distribution_UtxoCohorts_Year.md) +- [CatalogTree\_Indexes](interfaces/CatalogTree_Indexes.md) +- [CatalogTree\_Indexes\_Address](interfaces/CatalogTree_Indexes_Address.md) +- [CatalogTree\_Indexes\_Address\_Empty](interfaces/CatalogTree_Indexes_Address_Empty.md) +- [CatalogTree\_Indexes\_Address\_Opreturn](interfaces/CatalogTree_Indexes_Address_Opreturn.md) +- [CatalogTree\_Indexes\_Address\_P2a](interfaces/CatalogTree_Indexes_Address_P2a.md) +- [CatalogTree\_Indexes\_Address\_P2ms](interfaces/CatalogTree_Indexes_Address_P2ms.md) +- [CatalogTree\_Indexes\_Address\_P2pk33](interfaces/CatalogTree_Indexes_Address_P2pk33.md) +- [CatalogTree\_Indexes\_Address\_P2pk65](interfaces/CatalogTree_Indexes_Address_P2pk65.md) +- [CatalogTree\_Indexes\_Address\_P2pkh](interfaces/CatalogTree_Indexes_Address_P2pkh.md) +- [CatalogTree\_Indexes\_Address\_P2sh](interfaces/CatalogTree_Indexes_Address_P2sh.md) +- [CatalogTree\_Indexes\_Address\_P2tr](interfaces/CatalogTree_Indexes_Address_P2tr.md) +- [CatalogTree\_Indexes\_Address\_P2wpkh](interfaces/CatalogTree_Indexes_Address_P2wpkh.md) +- [CatalogTree\_Indexes\_Address\_P2wsh](interfaces/CatalogTree_Indexes_Address_P2wsh.md) +- [CatalogTree\_Indexes\_Address\_Unknown](interfaces/CatalogTree_Indexes_Address_Unknown.md) +- [CatalogTree\_Indexes\_Dateindex](interfaces/CatalogTree_Indexes_Dateindex.md) +- [CatalogTree\_Indexes\_Decadeindex](interfaces/CatalogTree_Indexes_Decadeindex.md) +- [CatalogTree\_Indexes\_Difficultyepoch](interfaces/CatalogTree_Indexes_Difficultyepoch.md) +- [CatalogTree\_Indexes\_Halvingepoch](interfaces/CatalogTree_Indexes_Halvingepoch.md) +- [CatalogTree\_Indexes\_Height](interfaces/CatalogTree_Indexes_Height.md) +- [CatalogTree\_Indexes\_Monthindex](interfaces/CatalogTree_Indexes_Monthindex.md) +- [CatalogTree\_Indexes\_Quarterindex](interfaces/CatalogTree_Indexes_Quarterindex.md) +- [CatalogTree\_Indexes\_Semesterindex](interfaces/CatalogTree_Indexes_Semesterindex.md) +- [CatalogTree\_Indexes\_Txindex](interfaces/CatalogTree_Indexes_Txindex.md) +- [CatalogTree\_Indexes\_Txinindex](interfaces/CatalogTree_Indexes_Txinindex.md) +- [CatalogTree\_Indexes\_Txoutindex](interfaces/CatalogTree_Indexes_Txoutindex.md) +- [CatalogTree\_Indexes\_Weekindex](interfaces/CatalogTree_Indexes_Weekindex.md) +- [CatalogTree\_Indexes\_Yearindex](interfaces/CatalogTree_Indexes_Yearindex.md) +- [CatalogTree\_Inputs](interfaces/CatalogTree_Inputs.md) +- [CatalogTree\_Inputs\_Spent](interfaces/CatalogTree_Inputs_Spent.md) +- [CatalogTree\_Market](interfaces/CatalogTree_Market.md) +- [CatalogTree\_Market\_Ath](interfaces/CatalogTree_Market_Ath.md) +- [CatalogTree\_Market\_Dca](interfaces/CatalogTree_Market_Dca.md) +- [CatalogTree\_Market\_Dca\_ClassAveragePrice](interfaces/CatalogTree_Market_Dca_ClassAveragePrice.md) +- [CatalogTree\_Market\_Dca\_ClassReturns](interfaces/CatalogTree_Market_Dca_ClassReturns.md) +- [CatalogTree\_Market\_Dca\_ClassStack](interfaces/CatalogTree_Market_Dca_ClassStack.md) +- [CatalogTree\_Market\_Indicators](interfaces/CatalogTree_Market_Indicators.md) +- [CatalogTree\_Market\_Lookback](interfaces/CatalogTree_Market_Lookback.md) +- [CatalogTree\_Market\_Lookback\_PriceAgo](interfaces/CatalogTree_Market_Lookback_PriceAgo.md) +- [CatalogTree\_Market\_MovingAverage](interfaces/CatalogTree_Market_MovingAverage.md) +- [CatalogTree\_Market\_Range](interfaces/CatalogTree_Market_Range.md) +- [CatalogTree\_Market\_Returns](interfaces/CatalogTree_Market_Returns.md) +- [CatalogTree\_Market\_Returns\_PriceReturns](interfaces/CatalogTree_Market_Returns_PriceReturns.md) +- [CatalogTree\_Market\_Volatility](interfaces/CatalogTree_Market_Volatility.md) +- [CatalogTree\_Outputs](interfaces/CatalogTree_Outputs.md) +- [CatalogTree\_Outputs\_Count](interfaces/CatalogTree_Outputs_Count.md) +- [CatalogTree\_Outputs\_Spent](interfaces/CatalogTree_Outputs_Spent.md) +- [CatalogTree\_Pools](interfaces/CatalogTree_Pools.md) +- [CatalogTree\_Pools\_Vecs](interfaces/CatalogTree_Pools_Vecs.md) +- [CatalogTree\_Positions](interfaces/CatalogTree_Positions.md) +- [CatalogTree\_Price](interfaces/CatalogTree_Price.md) +- [CatalogTree\_Price\_Cents](interfaces/CatalogTree_Price_Cents.md) +- [CatalogTree\_Price\_Cents\_Split](interfaces/CatalogTree_Price_Cents_Split.md) +- [CatalogTree\_Price\_Sats](interfaces/CatalogTree_Price_Sats.md) +- [CatalogTree\_Price\_Usd](interfaces/CatalogTree_Price_Usd.md) +- [CatalogTree\_Scripts](interfaces/CatalogTree_Scripts.md) +- [CatalogTree\_Scripts\_Count](interfaces/CatalogTree_Scripts_Count.md) +- [CatalogTree\_Scripts\_Value](interfaces/CatalogTree_Scripts_Value.md) +- [CatalogTree\_Supply](interfaces/CatalogTree_Supply.md) +- [CatalogTree\_Supply\_Burned](interfaces/CatalogTree_Supply_Burned.md) +- [CatalogTree\_Supply\_Circulating](interfaces/CatalogTree_Supply_Circulating.md) +- [CatalogTree\_Supply\_Velocity](interfaces/CatalogTree_Supply_Velocity.md) +- [CatalogTree\_Transactions](interfaces/CatalogTree_Transactions.md) +- [CatalogTree\_Transactions\_Count](interfaces/CatalogTree_Transactions_Count.md) +- [CatalogTree\_Transactions\_Fees](interfaces/CatalogTree_Transactions_Fees.md) +- [CatalogTree\_Transactions\_Fees\_Fee](interfaces/CatalogTree_Transactions_Fees_Fee.md) +- [CatalogTree\_Transactions\_Fees\_Fee\_Dollars](interfaces/CatalogTree_Transactions_Fees_Fee_Dollars.md) +- [CatalogTree\_Transactions\_Size](interfaces/CatalogTree_Transactions_Size.md) +- [CatalogTree\_Transactions\_Versions](interfaces/CatalogTree_Transactions_Versions.md) +- [CatalogTree\_Transactions\_Volume](interfaces/CatalogTree_Transactions_Volume.md) +- [ClassAveragePricePattern](interfaces/ClassAveragePricePattern.md) +- [CoinbasePattern](interfaces/CoinbasePattern.md) +- [CoinbasePattern2](interfaces/CoinbasePattern2.md) +- [CostBasisPattern](interfaces/CostBasisPattern.md) +- [CostBasisPattern2](interfaces/CostBasisPattern2.md) +- [CountPattern2](interfaces/CountPattern2.md) +- [DataRangeFormat](interfaces/DataRangeFormat.md) +- [DifficultyAdjustment](interfaces/DifficultyAdjustment.md) +- [DifficultyAdjustmentEntry](interfaces/DifficultyAdjustmentEntry.md) +- [DifficultyEntry](interfaces/DifficultyEntry.md) +- [DollarsPattern](interfaces/DollarsPattern.md) +- [EmptyAddressData](interfaces/EmptyAddressData.md) +- [FeeRatePattern](interfaces/FeeRatePattern.md) +- [FullnessPattern](interfaces/FullnessPattern.md) +- [HashrateEntry](interfaces/HashrateEntry.md) +- [HashrateSummary](interfaces/HashrateSummary.md) +- [Health](interfaces/Health.md) +- [HeightParam](interfaces/HeightParam.md) +- [IndexInfo](interfaces/IndexInfo.md) +- [LimitParam](interfaces/LimitParam.md) +- [LoadedAddressData](interfaces/LoadedAddressData.md) +- [MempoolBlock](interfaces/MempoolBlock.md) +- [MempoolInfo](interfaces/MempoolInfo.md) +- [MetricCount](interfaces/MetricCount.md) +- [MetricData](interfaces/MetricData.md) +- [MetricEndpoint](interfaces/MetricEndpoint.md) +- [MetricLeafWithSchema](interfaces/MetricLeafWithSchema.md) +- [MetricParam](interfaces/MetricParam.md) +- [MetricPattern](interfaces/MetricPattern.md) +- [MetricSelection](interfaces/MetricSelection.md) +- [MetricSelectionLegacy](interfaces/MetricSelectionLegacy.md) +- [MetricWithIndex](interfaces/MetricWithIndex.md) +- [OHLCCents](interfaces/OHLCCents.md) +- [OHLCDollars](interfaces/OHLCDollars.md) +- [OHLCSats](interfaces/OHLCSats.md) +- [OutputsPattern](interfaces/OutputsPattern.md) +- [PaginatedMetrics](interfaces/PaginatedMetrics.md) +- [Pagination](interfaces/Pagination.md) +- [PercentilesPattern](interfaces/PercentilesPattern.md) +- [PeriodAveragePricePattern](interfaces/PeriodAveragePricePattern.md) +- [PeriodCagrPattern](interfaces/PeriodCagrPattern.md) +- [PeriodLumpSumStackPattern](interfaces/PeriodLumpSumStackPattern.md) +- [PoolBlockCounts](interfaces/PoolBlockCounts.md) +- [PoolBlockShares](interfaces/PoolBlockShares.md) +- [PoolDetail](interfaces/PoolDetail.md) +- [PoolDetailInfo](interfaces/PoolDetailInfo.md) +- [PoolInfo](interfaces/PoolInfo.md) +- [PoolSlugParam](interfaces/PoolSlugParam.md) +- [PoolsSummary](interfaces/PoolsSummary.md) +- [PoolStats](interfaces/PoolStats.md) +- [Price111dSmaPattern](interfaces/Price111dSmaPattern.md) +- [PriceAgoPattern](interfaces/PriceAgoPattern.md) +- [Ratio1ySdPattern](interfaces/Ratio1ySdPattern.md) +- [RealizedPattern](interfaces/RealizedPattern.md) +- [RealizedPattern2](interfaces/RealizedPattern2.md) +- [RealizedPattern3](interfaces/RealizedPattern3.md) +- [RealizedPattern4](interfaces/RealizedPattern4.md) +- [RealizedPriceExtraPattern](interfaces/RealizedPriceExtraPattern.md) +- [RecommendedFees](interfaces/RecommendedFees.md) +- [RelativePattern](interfaces/RelativePattern.md) +- [RelativePattern2](interfaces/RelativePattern2.md) +- [RelativePattern4](interfaces/RelativePattern4.md) +- [RelativePattern5](interfaces/RelativePattern5.md) +- [RewardStats](interfaces/RewardStats.md) +- [SatsPattern](interfaces/SatsPattern.md) +- [SegwitAdoptionPattern](interfaces/SegwitAdoptionPattern.md) +- [SplitPattern2](interfaces/SplitPattern2.md) +- [SupplyPattern2](interfaces/SupplyPattern2.md) +- [SupplyState](interfaces/SupplyState.md) +- [TimePeriodParam](interfaces/TimePeriodParam.md) +- [TimestampParam](interfaces/TimestampParam.md) +- [Transaction](interfaces/Transaction.md) +- [TxidParam](interfaces/TxidParam.md) +- [TxidVout](interfaces/TxidVout.md) +- [TxIn](interfaces/TxIn.md) +- [TxOut](interfaces/TxOut.md) +- [TxOutspend](interfaces/TxOutspend.md) +- [TxStatus](interfaces/TxStatus.md) +- [UnclaimedRewardsPattern](interfaces/UnclaimedRewardsPattern.md) +- [UnrealizedPattern](interfaces/UnrealizedPattern.md) +- [Utxo](interfaces/Utxo.md) +- [ValidateAddressParam](interfaces/ValidateAddressParam.md) + +## Type Aliases + +- [Address](type-aliases/Address.md) +- [AnyAddressIndex](type-aliases/AnyAddressIndex.md) +- [AnyMetricData](type-aliases/AnyMetricData.md) +- [AnyMetricEndpoint](type-aliases/AnyMetricEndpoint.md) +- [AnyMetricPattern](type-aliases/AnyMetricPattern.md) +- [Bitcoin](type-aliases/Bitcoin.md) +- [BlkPosition](type-aliases/BlkPosition.md) +- [BlockHash](type-aliases/BlockHash.md) +- [Cents](type-aliases/Cents.md) +- [Close](type-aliases/Close.md) +- [Date](type-aliases/Date.md) +- [DateIndex](type-aliases/DateIndex.md) +- [DecadeIndex](type-aliases/DecadeIndex.md) +- [DifficultyEpoch](type-aliases/DifficultyEpoch.md) +- [Dollars](type-aliases/Dollars.md) +- [EmptyAddressIndex](type-aliases/EmptyAddressIndex.md) +- [EmptyOutputIndex](type-aliases/EmptyOutputIndex.md) +- [FeeRate](type-aliases/FeeRate.md) +- [Format](type-aliases/Format.md) +- [HalvingEpoch](type-aliases/HalvingEpoch.md) +- [Height](type-aliases/Height.md) +- [Hex](type-aliases/Hex.md) +- [High](type-aliases/High.md) +- [Index](type-aliases/Index.md) +- [Limit](type-aliases/Limit.md) +- [LoadedAddressIndex](type-aliases/LoadedAddressIndex.md) +- [Low](type-aliases/Low.md) +- [Metric](type-aliases/Metric.md) +- [MetricPattern1](type-aliases/MetricPattern1.md) +- [MetricPattern10](type-aliases/MetricPattern10.md) +- [MetricPattern11](type-aliases/MetricPattern11.md) +- [MetricPattern12](type-aliases/MetricPattern12.md) +- [MetricPattern13](type-aliases/MetricPattern13.md) +- [MetricPattern14](type-aliases/MetricPattern14.md) +- [MetricPattern15](type-aliases/MetricPattern15.md) +- [MetricPattern16](type-aliases/MetricPattern16.md) +- [MetricPattern17](type-aliases/MetricPattern17.md) +- [MetricPattern18](type-aliases/MetricPattern18.md) +- [MetricPattern19](type-aliases/MetricPattern19.md) +- [MetricPattern2](type-aliases/MetricPattern2.md) +- [MetricPattern20](type-aliases/MetricPattern20.md) +- [MetricPattern21](type-aliases/MetricPattern21.md) +- [MetricPattern22](type-aliases/MetricPattern22.md) +- [MetricPattern23](type-aliases/MetricPattern23.md) +- [MetricPattern24](type-aliases/MetricPattern24.md) +- [MetricPattern25](type-aliases/MetricPattern25.md) +- [MetricPattern26](type-aliases/MetricPattern26.md) +- [MetricPattern27](type-aliases/MetricPattern27.md) +- [MetricPattern28](type-aliases/MetricPattern28.md) +- [MetricPattern29](type-aliases/MetricPattern29.md) +- [MetricPattern3](type-aliases/MetricPattern3.md) +- [MetricPattern30](type-aliases/MetricPattern30.md) +- [MetricPattern31](type-aliases/MetricPattern31.md) +- [MetricPattern32](type-aliases/MetricPattern32.md) +- [MetricPattern4](type-aliases/MetricPattern4.md) +- [MetricPattern5](type-aliases/MetricPattern5.md) +- [MetricPattern6](type-aliases/MetricPattern6.md) +- [MetricPattern7](type-aliases/MetricPattern7.md) +- [MetricPattern8](type-aliases/MetricPattern8.md) +- [MetricPattern9](type-aliases/MetricPattern9.md) +- [Metrics](type-aliases/Metrics.md) +- [MonthIndex](type-aliases/MonthIndex.md) +- [Open](type-aliases/Open.md) +- [OpReturnIndex](type-aliases/OpReturnIndex.md) +- [OutPoint](type-aliases/OutPoint.md) +- [OutputType](type-aliases/OutputType.md) +- [P2AAddressIndex](type-aliases/P2AAddressIndex.md) +- [P2ABytes](type-aliases/P2ABytes.md) +- [P2MSOutputIndex](type-aliases/P2MSOutputIndex.md) +- [P2PK33AddressIndex](type-aliases/P2PK33AddressIndex.md) +- [P2PK33Bytes](type-aliases/P2PK33Bytes.md) +- [P2PK65AddressIndex](type-aliases/P2PK65AddressIndex.md) +- [P2PK65Bytes](type-aliases/P2PK65Bytes.md) +- [P2PKHAddressIndex](type-aliases/P2PKHAddressIndex.md) +- [P2PKHBytes](type-aliases/P2PKHBytes.md) +- [P2SHAddressIndex](type-aliases/P2SHAddressIndex.md) +- [P2SHBytes](type-aliases/P2SHBytes.md) +- [P2TRAddressIndex](type-aliases/P2TRAddressIndex.md) +- [P2TRBytes](type-aliases/P2TRBytes.md) +- [P2WPKHAddressIndex](type-aliases/P2WPKHAddressIndex.md) +- [P2WPKHBytes](type-aliases/P2WPKHBytes.md) +- [P2WSHAddressIndex](type-aliases/P2WSHAddressIndex.md) +- [P2WSHBytes](type-aliases/P2WSHBytes.md) +- [PoolSlug](type-aliases/PoolSlug.md) +- [QuarterIndex](type-aliases/QuarterIndex.md) +- [RawLockTime](type-aliases/RawLockTime.md) +- [Sats](type-aliases/Sats.md) +- [SemesterIndex](type-aliases/SemesterIndex.md) +- [StoredBool](type-aliases/StoredBool.md) +- [StoredF32](type-aliases/StoredF32.md) +- [StoredF64](type-aliases/StoredF64.md) +- [StoredI16](type-aliases/StoredI16.md) +- [StoredU16](type-aliases/StoredU16.md) +- [StoredU32](type-aliases/StoredU32.md) +- [StoredU64](type-aliases/StoredU64.md) +- [TimePeriod](type-aliases/TimePeriod.md) +- [Timestamp](type-aliases/Timestamp.md) +- [TreeNode](type-aliases/TreeNode.md) +- [Txid](type-aliases/Txid.md) +- [TxIndex](type-aliases/TxIndex.md) +- [TxInIndex](type-aliases/TxInIndex.md) +- [TxOutIndex](type-aliases/TxOutIndex.md) +- [TxVersion](type-aliases/TxVersion.md) +- [TypeIndex](type-aliases/TypeIndex.md) +- [U8x2](type-aliases/U8x2.md) +- [U8x20](type-aliases/U8x20.md) +- [U8x32](type-aliases/U8x32.md) +- [U8x33](type-aliases/U8x33.md) +- [U8x65](type-aliases/U8x65.md) +- [UnknownOutputIndex](type-aliases/UnknownOutputIndex.md) +- [Vin](type-aliases/Vin.md) +- [Vout](type-aliases/Vout.md) +- [VSize](type-aliases/VSize.md) +- [WeekIndex](type-aliases/WeekIndex.md) +- [Weight](type-aliases/Weight.md) +- [YearIndex](type-aliases/YearIndex.md) diff --git a/modules/brk-client/docs/interfaces/0satsPattern.md b/modules/brk-client/docs/interfaces/0satsPattern.md new file mode 100644 index 000000000..9e9c8a127 --- /dev/null +++ b/modules/brk-client/docs/interfaces/0satsPattern.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / \_0satsPattern + +# Interface: \_0satsPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3111](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3111) + +## Properties + +### activity + +> **activity**: [`ActivityPattern2`](ActivityPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3112](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3112) + +*** + +### addrCount + +> **addrCount**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3113](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3113) + +*** + +### costBasis + +> **costBasis**: [`CostBasisPattern`](CostBasisPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3114](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3114) + +*** + +### outputs + +> **outputs**: [`OutputsPattern`](OutputsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3115](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3115) + +*** + +### realized + +> **realized**: [`RealizedPattern`](RealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3116](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3116) + +*** + +### relative + +> **relative**: [`RelativePattern`](RelativePattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3117](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3117) + +*** + +### supply + +> **supply**: [`SupplyPattern2`](SupplyPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3118](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3118) + +*** + +### unrealized + +> **unrealized**: [`UnrealizedPattern`](UnrealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3119](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3119) diff --git a/modules/brk-client/docs/interfaces/0satsPattern2.md b/modules/brk-client/docs/interfaces/0satsPattern2.md new file mode 100644 index 000000000..6f466cf3c --- /dev/null +++ b/modules/brk-client/docs/interfaces/0satsPattern2.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / \_0satsPattern2 + +# Interface: \_0satsPattern2 + +Defined in: [Developer/brk/modules/brk-client/index.js:3273](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3273) + +## Properties + +### activity + +> **activity**: [`ActivityPattern2`](ActivityPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3274](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3274) + +*** + +### costBasis + +> **costBasis**: [`CostBasisPattern`](CostBasisPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3275](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3275) + +*** + +### outputs + +> **outputs**: [`OutputsPattern`](OutputsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3276](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3276) + +*** + +### realized + +> **realized**: [`RealizedPattern`](RealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3277](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3277) + +*** + +### relative + +> **relative**: [`RelativePattern4`](RelativePattern4.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3278](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3278) + +*** + +### supply + +> **supply**: [`SupplyPattern2`](SupplyPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3279](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3279) + +*** + +### unrealized + +> **unrealized**: [`UnrealizedPattern`](UnrealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3280](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3280) diff --git a/modules/brk-client/docs/interfaces/100btcPattern.md b/modules/brk-client/docs/interfaces/100btcPattern.md new file mode 100644 index 000000000..bb4d466a9 --- /dev/null +++ b/modules/brk-client/docs/interfaces/100btcPattern.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / \_100btcPattern + +# Interface: \_100btcPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3215](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3215) + +## Properties + +### activity + +> **activity**: [`ActivityPattern2`](ActivityPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3216](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3216) + +*** + +### costBasis + +> **costBasis**: [`CostBasisPattern`](CostBasisPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3217](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3217) + +*** + +### outputs + +> **outputs**: [`OutputsPattern`](OutputsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3218](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3218) + +*** + +### realized + +> **realized**: [`RealizedPattern`](RealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3219](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3219) + +*** + +### relative + +> **relative**: [`RelativePattern`](RelativePattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3220](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3220) + +*** + +### supply + +> **supply**: [`SupplyPattern2`](SupplyPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3221](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3221) + +*** + +### unrealized + +> **unrealized**: [`UnrealizedPattern`](UnrealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3222](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3222) diff --git a/modules/brk-client/docs/interfaces/10yPattern.md b/modules/brk-client/docs/interfaces/10yPattern.md new file mode 100644 index 000000000..7297a61ca --- /dev/null +++ b/modules/brk-client/docs/interfaces/10yPattern.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / \_10yPattern + +# Interface: \_10yPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3302](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3302) + +## Properties + +### activity + +> **activity**: [`ActivityPattern2`](ActivityPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3303](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3303) + +*** + +### costBasis + +> **costBasis**: [`CostBasisPattern`](CostBasisPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3304](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3304) + +*** + +### outputs + +> **outputs**: [`OutputsPattern`](OutputsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3305](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3305) + +*** + +### realized + +> **realized**: [`RealizedPattern4`](RealizedPattern4.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3306](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3306) + +*** + +### relative + +> **relative**: [`RelativePattern`](RelativePattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3307](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3307) + +*** + +### supply + +> **supply**: [`SupplyPattern2`](SupplyPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3308](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3308) + +*** + +### unrealized + +> **unrealized**: [`UnrealizedPattern`](UnrealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3309](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3309) diff --git a/modules/brk-client/docs/interfaces/10yTo12yPattern.md b/modules/brk-client/docs/interfaces/10yTo12yPattern.md new file mode 100644 index 000000000..7dd7ec073 --- /dev/null +++ b/modules/brk-client/docs/interfaces/10yTo12yPattern.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / \_10yTo12yPattern + +# Interface: \_10yTo12yPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3186](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3186) + +## Properties + +### activity + +> **activity**: [`ActivityPattern2`](ActivityPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3187](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3187) + +*** + +### costBasis + +> **costBasis**: [`CostBasisPattern2`](CostBasisPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3188](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3188) + +*** + +### outputs + +> **outputs**: [`OutputsPattern`](OutputsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3189](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3189) + +*** + +### realized + +> **realized**: [`RealizedPattern2`](RealizedPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3190](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3190) + +*** + +### relative + +> **relative**: [`RelativePattern2`](RelativePattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3191](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3191) + +*** + +### supply + +> **supply**: [`SupplyPattern2`](SupplyPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3192](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3192) + +*** + +### unrealized + +> **unrealized**: [`UnrealizedPattern`](UnrealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3193](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3193) diff --git a/modules/brk-client/docs/interfaces/1dReturns1mSdPattern.md b/modules/brk-client/docs/interfaces/1dReturns1mSdPattern.md new file mode 100644 index 000000000..95cabafeb --- /dev/null +++ b/modules/brk-client/docs/interfaces/1dReturns1mSdPattern.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / \_1dReturns1mSdPattern + +# Interface: \_1dReturns1mSdPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3603](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3603) + +## Properties + +### sd + +> **sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3604](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3604) + +*** + +### sma + +> **sma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3605](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3605) diff --git a/modules/brk-client/docs/interfaces/2015Pattern.md b/modules/brk-client/docs/interfaces/2015Pattern.md new file mode 100644 index 000000000..4bfb2333a --- /dev/null +++ b/modules/brk-client/docs/interfaces/2015Pattern.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / \_2015Pattern + +# Interface: \_2015Pattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3393](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3393) + +## Properties + +### bitcoin + +> **bitcoin**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3394](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3394) + +*** + +### dollars + +> **dollars**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3395](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3395) + +*** + +### sats + +> **sats**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3396](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3396) diff --git a/modules/brk-client/docs/interfaces/AaopoolPattern.md b/modules/brk-client/docs/interfaces/AaopoolPattern.md new file mode 100644 index 000000000..1d481f650 --- /dev/null +++ b/modules/brk-client/docs/interfaces/AaopoolPattern.md @@ -0,0 +1,121 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AaopoolPattern + +# Interface: AaopoolPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:2596](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2596) + +## Properties + +### \_1mBlocksMined + +> **\_1mBlocksMined**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2597](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2597) + +*** + +### \_1mDominance + +> **\_1mDominance**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2598](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2598) + +*** + +### \_1wBlocksMined + +> **\_1wBlocksMined**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2599](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2599) + +*** + +### \_1wDominance + +> **\_1wDominance**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2600](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2600) + +*** + +### \_1yBlocksMined + +> **\_1yBlocksMined**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2601](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2601) + +*** + +### \_1yDominance + +> **\_1yDominance**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2602](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2602) + +*** + +### \_24hBlocksMined + +> **\_24hBlocksMined**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2603](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2603) + +*** + +### \_24hDominance + +> **\_24hDominance**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2604](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2604) + +*** + +### blocksMined + +> **blocksMined**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2605](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2605) + +*** + +### coinbase + +> **coinbase**: [`CoinbasePattern2`](CoinbasePattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2606](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2606) + +*** + +### daysSinceBlock + +> **daysSinceBlock**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2607](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2607) + +*** + +### dominance + +> **dominance**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2608](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2608) + +*** + +### fee + +> **fee**: [`UnclaimedRewardsPattern`](UnclaimedRewardsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2609](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2609) + +*** + +### subsidy + +> **subsidy**: [`UnclaimedRewardsPattern`](UnclaimedRewardsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2610](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2610) diff --git a/modules/brk-client/docs/interfaces/ActivePriceRatioPattern.md b/modules/brk-client/docs/interfaces/ActivePriceRatioPattern.md new file mode 100644 index 000000000..d211a33c4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/ActivePriceRatioPattern.md @@ -0,0 +1,161 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / ActivePriceRatioPattern + +# Interface: ActivePriceRatioPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:2388](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2388) + +## Properties + +### ratio + +> **ratio**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2389](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2389) + +*** + +### ratio1mSma + +> **ratio1mSma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2390](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2390) + +*** + +### ratio1wSma + +> **ratio1wSma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2391](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2391) + +*** + +### ratio1ySd + +> **ratio1ySd**: [`Ratio1ySdPattern`](Ratio1ySdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2392](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2392) + +*** + +### ratio2ySd + +> **ratio2ySd**: [`Ratio1ySdPattern`](Ratio1ySdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2393](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2393) + +*** + +### ratio4ySd + +> **ratio4ySd**: [`Ratio1ySdPattern`](Ratio1ySdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2394](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2394) + +*** + +### ratioPct1 + +> **ratioPct1**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2395](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2395) + +*** + +### ratioPct1Usd + +> **ratioPct1Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2396](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2396) + +*** + +### ratioPct2 + +> **ratioPct2**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2397](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2397) + +*** + +### ratioPct2Usd + +> **ratioPct2Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2398](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2398) + +*** + +### ratioPct5 + +> **ratioPct5**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2399](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2399) + +*** + +### ratioPct5Usd + +> **ratioPct5Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2400](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2400) + +*** + +### ratioPct95 + +> **ratioPct95**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2401](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2401) + +*** + +### ratioPct95Usd + +> **ratioPct95Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2402](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2402) + +*** + +### ratioPct98 + +> **ratioPct98**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2403](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2403) + +*** + +### ratioPct98Usd + +> **ratioPct98Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2404](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2404) + +*** + +### ratioPct99 + +> **ratioPct99**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2405](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2405) + +*** + +### ratioPct99Usd + +> **ratioPct99Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2406](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2406) + +*** + +### ratioSd + +> **ratioSd**: [`Ratio1ySdPattern`](Ratio1ySdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2407](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2407) diff --git a/modules/brk-client/docs/interfaces/ActiveSupplyPattern.md b/modules/brk-client/docs/interfaces/ActiveSupplyPattern.md new file mode 100644 index 000000000..253583ebd --- /dev/null +++ b/modules/brk-client/docs/interfaces/ActiveSupplyPattern.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / ActiveSupplyPattern + +# Interface: ActiveSupplyPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3456](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3456) + +## Properties + +### bitcoin + +> **bitcoin**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3457](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3457) + +*** + +### dollars + +> **dollars**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3458](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3458) + +*** + +### sats + +> **sats**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3459](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3459) diff --git a/modules/brk-client/docs/interfaces/ActivityPattern2.md b/modules/brk-client/docs/interfaces/ActivityPattern2.md new file mode 100644 index 000000000..121b1d55d --- /dev/null +++ b/modules/brk-client/docs/interfaces/ActivityPattern2.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / ActivityPattern2 + +# Interface: ActivityPattern2 + +Defined in: [Developer/brk/modules/brk-client/index.js:3331](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3331) + +## Properties + +### coinblocksDestroyed + +> **coinblocksDestroyed**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3332](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3332) + +*** + +### coindaysDestroyed + +> **coindaysDestroyed**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3333](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3333) + +*** + +### satblocksDestroyed + +> **satblocksDestroyed**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3334](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3334) + +*** + +### satdaysDestroyed + +> **satdaysDestroyed**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3335](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3335) + +*** + +### sent + +> **sent**: [`UnclaimedRewardsPattern`](UnclaimedRewardsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3336](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3336) diff --git a/modules/brk-client/docs/interfaces/AddrCountPattern.md b/modules/brk-client/docs/interfaces/AddrCountPattern.md new file mode 100644 index 000000000..10522ba96 --- /dev/null +++ b/modules/brk-client/docs/interfaces/AddrCountPattern.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AddrCountPattern + +# Interface: AddrCountPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3043](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3043) + +## Properties + +### all + +> **all**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3044](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3044) + +*** + +### p2a + +> **p2a**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3045](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3045) + +*** + +### p2pk33 + +> **p2pk33**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3046](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3046) + +*** + +### p2pk65 + +> **p2pk65**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3047](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3047) + +*** + +### p2pkh + +> **p2pkh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3048](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3048) + +*** + +### p2sh + +> **p2sh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3049](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3049) + +*** + +### p2tr + +> **p2tr**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3050](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3050) + +*** + +### p2wpkh + +> **p2wpkh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3051](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3051) + +*** + +### p2wsh + +> **p2wsh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3052](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3052) diff --git a/modules/brk-client/docs/interfaces/AddressChainStats.md b/modules/brk-client/docs/interfaces/AddressChainStats.md new file mode 100644 index 000000000..15b9787d4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/AddressChainStats.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AddressChainStats + +# Interface: AddressChainStats + +Defined in: [Developer/brk/modules/brk-client/index.js:8](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L8) + +## Properties + +### fundedTxoCount + +> **fundedTxoCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:9](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L9) + +*** + +### fundedTxoSum + +> **fundedTxoSum**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:10](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L10) + +*** + +### spentTxoCount + +> **spentTxoCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:11](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L11) + +*** + +### spentTxoSum + +> **spentTxoSum**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:12](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L12) + +*** + +### txCount + +> **txCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:13](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L13) + +*** + +### typeIndex + +> **typeIndex**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:14](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L14) diff --git a/modules/brk-client/docs/interfaces/AddressMempoolStats.md b/modules/brk-client/docs/interfaces/AddressMempoolStats.md new file mode 100644 index 000000000..c3a41c491 --- /dev/null +++ b/modules/brk-client/docs/interfaces/AddressMempoolStats.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AddressMempoolStats + +# Interface: AddressMempoolStats + +Defined in: [Developer/brk/modules/brk-client/index.js:17](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L17) + +## Properties + +### fundedTxoCount + +> **fundedTxoCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:18](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L18) + +*** + +### fundedTxoSum + +> **fundedTxoSum**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:19](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L19) + +*** + +### spentTxoCount + +> **spentTxoCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:20](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L20) + +*** + +### spentTxoSum + +> **spentTxoSum**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:21](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L21) + +*** + +### txCount + +> **txCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:22](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L22) diff --git a/modules/brk-client/docs/interfaces/AddressParam.md b/modules/brk-client/docs/interfaces/AddressParam.md new file mode 100644 index 000000000..bb9023b65 --- /dev/null +++ b/modules/brk-client/docs/interfaces/AddressParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AddressParam + +# Interface: AddressParam + +Defined in: [Developer/brk/modules/brk-client/index.js:25](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L25) + +## Properties + +### address + +> **address**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:26](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L26) diff --git a/modules/brk-client/docs/interfaces/AddressStats.md b/modules/brk-client/docs/interfaces/AddressStats.md new file mode 100644 index 000000000..96a260f5c --- /dev/null +++ b/modules/brk-client/docs/interfaces/AddressStats.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AddressStats + +# Interface: AddressStats + +Defined in: [Developer/brk/modules/brk-client/index.js:29](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L29) + +## Properties + +### address + +> **address**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:30](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L30) + +*** + +### chainStats + +> **chainStats**: [`AddressChainStats`](AddressChainStats.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:31](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L31) + +*** + +### mempoolStats? + +> `optional` **mempoolStats**: [`AddressMempoolStats`](AddressMempoolStats.md) \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:32](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L32) diff --git a/modules/brk-client/docs/interfaces/AddressTxidsParam.md b/modules/brk-client/docs/interfaces/AddressTxidsParam.md new file mode 100644 index 000000000..56d071fd7 --- /dev/null +++ b/modules/brk-client/docs/interfaces/AddressTxidsParam.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AddressTxidsParam + +# Interface: AddressTxidsParam + +Defined in: [Developer/brk/modules/brk-client/index.js:35](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L35) + +## Properties + +### afterTxid? + +> `optional` **afterTxid**: `string` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:36](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L36) + +*** + +### limit? + +> `optional` **limit**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:37](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L37) diff --git a/modules/brk-client/docs/interfaces/AddressValidation.md b/modules/brk-client/docs/interfaces/AddressValidation.md new file mode 100644 index 000000000..436dd833f --- /dev/null +++ b/modules/brk-client/docs/interfaces/AddressValidation.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AddressValidation + +# Interface: AddressValidation + +Defined in: [Developer/brk/modules/brk-client/index.js:40](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L40) + +## Properties + +### address? + +> `optional` **address**: `string` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:41](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L41) + +*** + +### isscript? + +> `optional` **isscript**: `boolean` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:42](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L42) + +*** + +### isvalid + +> **isvalid**: `boolean` + +Defined in: [Developer/brk/modules/brk-client/index.js:43](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L43) + +*** + +### iswitness? + +> `optional` **iswitness**: `boolean` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:44](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L44) + +*** + +### scriptPubKey? + +> `optional` **scriptPubKey**: `string` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:45](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L45) + +*** + +### witnessProgram? + +> `optional` **witnessProgram**: `string` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:46](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L46) + +*** + +### witnessVersion? + +> `optional` **witnessVersion**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:47](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L47) diff --git a/modules/brk-client/docs/interfaces/BitcoinPattern.md b/modules/brk-client/docs/interfaces/BitcoinPattern.md new file mode 100644 index 000000000..370eed94d --- /dev/null +++ b/modules/brk-client/docs/interfaces/BitcoinPattern.md @@ -0,0 +1,31 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BitcoinPattern + +# Interface: BitcoinPattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:3665](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3665) + +## Type Parameters + +### T + +`T` + +## Properties + +### cumulative + +> **cumulative**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3666](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3666) + +*** + +### sum + +> **sum**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3667](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3667) diff --git a/modules/brk-client/docs/interfaces/BlockCountParam.md b/modules/brk-client/docs/interfaces/BlockCountParam.md new file mode 100644 index 000000000..b2ad287f4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockCountParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockCountParam + +# Interface: BlockCountParam + +Defined in: [Developer/brk/modules/brk-client/index.js:53](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L53) + +## Properties + +### blockCount + +> **blockCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:54](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L54) diff --git a/modules/brk-client/docs/interfaces/BlockCountPattern.md b/modules/brk-client/docs/interfaces/BlockCountPattern.md new file mode 100644 index 000000000..4d42b0070 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockCountPattern.md @@ -0,0 +1,31 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockCountPattern + +# Interface: BlockCountPattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:3644](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3644) + +## Type Parameters + +### T + +`T` + +## Properties + +### cumulative + +> **cumulative**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3645](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3645) + +*** + +### sum + +> **sum**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3646](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3646) diff --git a/modules/brk-client/docs/interfaces/BlockFeesEntry.md b/modules/brk-client/docs/interfaces/BlockFeesEntry.md new file mode 100644 index 000000000..f4f8184dd --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockFeesEntry.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockFeesEntry + +# Interface: BlockFeesEntry + +Defined in: [Developer/brk/modules/brk-client/index.js:57](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L57) + +## Properties + +### avgFees + +> **avgFees**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:58](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L58) + +*** + +### avgHeight + +> **avgHeight**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:59](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L59) + +*** + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:60](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L60) diff --git a/modules/brk-client/docs/interfaces/BlockHashParam.md b/modules/brk-client/docs/interfaces/BlockHashParam.md new file mode 100644 index 000000000..c34dfff04 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockHashParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockHashParam + +# Interface: BlockHashParam + +Defined in: [Developer/brk/modules/brk-client/index.js:64](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L64) + +## Properties + +### hash + +> **hash**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:65](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L65) diff --git a/modules/brk-client/docs/interfaces/BlockHashStartIndex.md b/modules/brk-client/docs/interfaces/BlockHashStartIndex.md new file mode 100644 index 000000000..1c5b12db8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockHashStartIndex.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockHashStartIndex + +# Interface: BlockHashStartIndex + +Defined in: [Developer/brk/modules/brk-client/index.js:68](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L68) + +## Properties + +### hash + +> **hash**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:69](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L69) + +*** + +### startIndex + +> **startIndex**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:70](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L70) diff --git a/modules/brk-client/docs/interfaces/BlockHashTxIndex.md b/modules/brk-client/docs/interfaces/BlockHashTxIndex.md new file mode 100644 index 000000000..1c22e83b2 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockHashTxIndex.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockHashTxIndex + +# Interface: BlockHashTxIndex + +Defined in: [Developer/brk/modules/brk-client/index.js:73](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L73) + +## Properties + +### hash + +> **hash**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:74](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L74) + +*** + +### index + +> **index**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:75](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L75) diff --git a/modules/brk-client/docs/interfaces/BlockInfo.md b/modules/brk-client/docs/interfaces/BlockInfo.md new file mode 100644 index 000000000..c2eaff880 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockInfo.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockInfo + +# Interface: BlockInfo + +Defined in: [Developer/brk/modules/brk-client/index.js:78](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L78) + +## Properties + +### difficulty + +> **difficulty**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:79](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L79) + +*** + +### height + +> **height**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:80](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L80) + +*** + +### id + +> **id**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:81](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L81) + +*** + +### size + +> **size**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:82](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L82) + +*** + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:83](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L83) + +*** + +### txCount + +> **txCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:84](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L84) + +*** + +### weight + +> **weight**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:85](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L85) diff --git a/modules/brk-client/docs/interfaces/BlockRewardsEntry.md b/modules/brk-client/docs/interfaces/BlockRewardsEntry.md new file mode 100644 index 000000000..91ac46241 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockRewardsEntry.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockRewardsEntry + +# Interface: BlockRewardsEntry + +Defined in: [Developer/brk/modules/brk-client/index.js:88](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L88) + +## Properties + +### avgHeight + +> **avgHeight**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:89](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L89) + +*** + +### avgRewards + +> **avgRewards**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:90](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L90) + +*** + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:91](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L91) diff --git a/modules/brk-client/docs/interfaces/BlockSizeEntry.md b/modules/brk-client/docs/interfaces/BlockSizeEntry.md new file mode 100644 index 000000000..1b97e2e26 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockSizeEntry.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockSizeEntry + +# Interface: BlockSizeEntry + +Defined in: [Developer/brk/modules/brk-client/index.js:94](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L94) + +## Properties + +### avgHeight + +> **avgHeight**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:95](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L95) + +*** + +### avgSize + +> **avgSize**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:96](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L96) + +*** + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:97](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L97) diff --git a/modules/brk-client/docs/interfaces/BlockSizesWeights.md b/modules/brk-client/docs/interfaces/BlockSizesWeights.md new file mode 100644 index 000000000..95ca9d8f9 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockSizesWeights.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockSizesWeights + +# Interface: BlockSizesWeights + +Defined in: [Developer/brk/modules/brk-client/index.js:100](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L100) + +## Properties + +### sizes + +> **sizes**: [`BlockSizeEntry`](BlockSizeEntry.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:101](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L101) + +*** + +### weights + +> **weights**: [`BlockWeightEntry`](BlockWeightEntry.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:102](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L102) diff --git a/modules/brk-client/docs/interfaces/BlockStatus.md b/modules/brk-client/docs/interfaces/BlockStatus.md new file mode 100644 index 000000000..6be58c8c5 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockStatus.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockStatus + +# Interface: BlockStatus + +Defined in: [Developer/brk/modules/brk-client/index.js:105](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L105) + +## Properties + +### height? + +> `optional` **height**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:106](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L106) + +*** + +### inBestChain + +> **inBestChain**: `boolean` + +Defined in: [Developer/brk/modules/brk-client/index.js:107](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L107) + +*** + +### nextBest? + +> `optional` **nextBest**: `string` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:108](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L108) diff --git a/modules/brk-client/docs/interfaces/BlockTimestamp.md b/modules/brk-client/docs/interfaces/BlockTimestamp.md new file mode 100644 index 000000000..e39e01be2 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockTimestamp.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockTimestamp + +# Interface: BlockTimestamp + +Defined in: [Developer/brk/modules/brk-client/index.js:111](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L111) + +## Properties + +### hash + +> **hash**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:112](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L112) + +*** + +### height + +> **height**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:113](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L113) + +*** + +### timestamp + +> **timestamp**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:114](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L114) diff --git a/modules/brk-client/docs/interfaces/BlockWeightEntry.md b/modules/brk-client/docs/interfaces/BlockWeightEntry.md new file mode 100644 index 000000000..11c00db34 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BlockWeightEntry.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockWeightEntry + +# Interface: BlockWeightEntry + +Defined in: [Developer/brk/modules/brk-client/index.js:117](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L117) + +## Properties + +### avgHeight + +> **avgHeight**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:118](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L118) + +*** + +### avgWeight + +> **avgWeight**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:119](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L119) + +*** + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:120](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L120) diff --git a/modules/brk-client/docs/interfaces/BrkClientOptions.md b/modules/brk-client/docs/interfaces/BrkClientOptions.md new file mode 100644 index 000000000..591baf8c1 --- /dev/null +++ b/modules/brk-client/docs/interfaces/BrkClientOptions.md @@ -0,0 +1,29 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BrkClientOptions + +# Interface: BrkClientOptions + +Defined in: [Developer/brk/modules/brk-client/index.js:515](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L515) + +## Properties + +### baseUrl + +> **baseUrl**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:516](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L516) + +Base URL for the API + +*** + +### timeout? + +> `optional` **timeout**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:517](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L517) + +Request timeout in milliseconds diff --git a/modules/brk-client/docs/interfaces/CatalogTree.md b/modules/brk-client/docs/interfaces/CatalogTree.md new file mode 100644 index 000000000..280f6b0b0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree.md @@ -0,0 +1,129 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree + +# Interface: CatalogTree + +Defined in: [Developer/brk/modules/brk-client/index.js:3721](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3721) + +## Properties + +### addresses + +> **addresses**: [`CatalogTree_Addresses`](CatalogTree_Addresses.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3722](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3722) + +*** + +### blocks + +> **blocks**: [`CatalogTree_Blocks`](CatalogTree_Blocks.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3723](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3723) + +*** + +### cointime + +> **cointime**: [`CatalogTree_Cointime`](CatalogTree_Cointime.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3724](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3724) + +*** + +### constants + +> **constants**: [`CatalogTree_Constants`](CatalogTree_Constants.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3725](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3725) + +*** + +### distribution + +> **distribution**: [`CatalogTree_Distribution`](CatalogTree_Distribution.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3726](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3726) + +*** + +### indexes + +> **indexes**: [`CatalogTree_Indexes`](CatalogTree_Indexes.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3727](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3727) + +*** + +### inputs + +> **inputs**: [`CatalogTree_Inputs`](CatalogTree_Inputs.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3728](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3728) + +*** + +### market + +> **market**: [`CatalogTree_Market`](CatalogTree_Market.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3729](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3729) + +*** + +### outputs + +> **outputs**: [`CatalogTree_Outputs`](CatalogTree_Outputs.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3730](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3730) + +*** + +### pools + +> **pools**: [`CatalogTree_Pools`](CatalogTree_Pools.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3731](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3731) + +*** + +### positions + +> **positions**: [`CatalogTree_Positions`](CatalogTree_Positions.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3732](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3732) + +*** + +### price + +> **price**: [`CatalogTree_Price`](CatalogTree_Price.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3733](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3733) + +*** + +### scripts + +> **scripts**: [`CatalogTree_Scripts`](CatalogTree_Scripts.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3734](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3734) + +*** + +### supply + +> **supply**: [`CatalogTree_Supply`](CatalogTree_Supply.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3735](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3735) + +*** + +### transactions + +> **transactions**: [`CatalogTree_Transactions`](CatalogTree_Transactions.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3736](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3736) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Addresses.md b/modules/brk-client/docs/interfaces/CatalogTree_Addresses.md new file mode 100644 index 000000000..41ff9dee7 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Addresses.md @@ -0,0 +1,137 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Addresses + +# Interface: CatalogTree\_Addresses + +Defined in: [Developer/brk/modules/brk-client/index.js:3740](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3740) + +## Properties + +### firstP2aaddressindex + +> **firstP2aaddressindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3741](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3741) + +*** + +### firstP2pk33addressindex + +> **firstP2pk33addressindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3742](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3742) + +*** + +### firstP2pk65addressindex + +> **firstP2pk65addressindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3743](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3743) + +*** + +### firstP2pkhaddressindex + +> **firstP2pkhaddressindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3744](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3744) + +*** + +### firstP2shaddressindex + +> **firstP2shaddressindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3745](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3745) + +*** + +### firstP2traddressindex + +> **firstP2traddressindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3746](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3746) + +*** + +### firstP2wpkhaddressindex + +> **firstP2wpkhaddressindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3747](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3747) + +*** + +### firstP2wshaddressindex + +> **firstP2wshaddressindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3748](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3748) + +*** + +### p2abytes + +> **p2abytes**: [`MetricPattern16`](../type-aliases/MetricPattern16.md)\<[`U8x2`](../type-aliases/U8x2.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3749](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3749) + +*** + +### p2pk33bytes + +> **p2pk33bytes**: [`MetricPattern18`](../type-aliases/MetricPattern18.md)\<`string`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3750](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3750) + +*** + +### p2pk65bytes + +> **p2pk65bytes**: [`MetricPattern19`](../type-aliases/MetricPattern19.md)\<`string`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3751](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3751) + +*** + +### p2pkhbytes + +> **p2pkhbytes**: [`MetricPattern20`](../type-aliases/MetricPattern20.md)\<[`U8x20`](../type-aliases/U8x20.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3752](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3752) + +*** + +### p2shbytes + +> **p2shbytes**: [`MetricPattern21`](../type-aliases/MetricPattern21.md)\<[`U8x20`](../type-aliases/U8x20.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3753](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3753) + +*** + +### p2trbytes + +> **p2trbytes**: [`MetricPattern22`](../type-aliases/MetricPattern22.md)\<[`U8x32`](../type-aliases/U8x32.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3754](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3754) + +*** + +### p2wpkhbytes + +> **p2wpkhbytes**: [`MetricPattern23`](../type-aliases/MetricPattern23.md)\<[`U8x20`](../type-aliases/U8x20.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3755](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3755) + +*** + +### p2wshbytes + +> **p2wshbytes**: [`MetricPattern24`](../type-aliases/MetricPattern24.md)\<[`U8x32`](../type-aliases/U8x32.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3756](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3756) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks.md new file mode 100644 index 000000000..451cc7fb0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks.md @@ -0,0 +1,113 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks + +# Interface: CatalogTree\_Blocks + +Defined in: [Developer/brk/modules/brk-client/index.js:3760](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3760) + +## Properties + +### blockhash + +> **blockhash**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`string`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3761](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3761) + +*** + +### count + +> **count**: [`CatalogTree_Blocks_Count`](CatalogTree_Blocks_Count.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3762](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3762) + +*** + +### difficulty + +> **difficulty**: [`CatalogTree_Blocks_Difficulty`](CatalogTree_Blocks_Difficulty.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3763](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3763) + +*** + +### fullness + +> **fullness**: [`FullnessPattern`](FullnessPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3764](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3764) + +*** + +### halving + +> **halving**: [`CatalogTree_Blocks_Halving`](CatalogTree_Blocks_Halving.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3765](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3765) + +*** + +### interval + +> **interval**: [`CatalogTree_Blocks_Interval`](CatalogTree_Blocks_Interval.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3766](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3766) + +*** + +### mining + +> **mining**: [`CatalogTree_Blocks_Mining`](CatalogTree_Blocks_Mining.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3767](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3767) + +*** + +### rewards + +> **rewards**: [`CatalogTree_Blocks_Rewards`](CatalogTree_Blocks_Rewards.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3768](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3768) + +*** + +### size + +> **size**: [`CatalogTree_Blocks_Size`](CatalogTree_Blocks_Size.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3769](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3769) + +*** + +### time + +> **time**: [`CatalogTree_Blocks_Time`](CatalogTree_Blocks_Time.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3770](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3770) + +*** + +### totalSize + +> **totalSize**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3771](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3771) + +*** + +### vbytes + +> **vbytes**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3772](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3772) + +*** + +### weight + +> **weight**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3773](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3773) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Count.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Count.md new file mode 100644 index 000000000..a2b21c0d3 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Count.md @@ -0,0 +1,89 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Count + +# Interface: CatalogTree\_Blocks\_Count + +Defined in: [Developer/brk/modules/brk-client/index.js:3777](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3777) + +## Properties + +### \_1mBlockCount + +> **\_1mBlockCount**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3778](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3778) + +*** + +### \_1mStart + +> **\_1mStart**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3779](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3779) + +*** + +### \_1wBlockCount + +> **\_1wBlockCount**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3780](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3780) + +*** + +### \_1wStart + +> **\_1wStart**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3781](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3781) + +*** + +### \_1yBlockCount + +> **\_1yBlockCount**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3782](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3782) + +*** + +### \_1yStart + +> **\_1yStart**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3783](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3783) + +*** + +### \_24hBlockCount + +> **\_24hBlockCount**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3784](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3784) + +*** + +### \_24hStart + +> **\_24hStart**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3785](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3785) + +*** + +### blockCount + +> **blockCount**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3786](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3786) + +*** + +### blockCountTarget + +> **blockCountTarget**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3787](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3787) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Difficulty.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Difficulty.md new file mode 100644 index 000000000..2b7660e98 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Difficulty.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Difficulty + +# Interface: CatalogTree\_Blocks\_Difficulty + +Defined in: [Developer/brk/modules/brk-client/index.js:3791](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3791) + +## Properties + +### adjustment + +> **adjustment**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3792](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3792) + +*** + +### asHash + +> **asHash**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3793](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3793) + +*** + +### blocksBeforeNextAdjustment + +> **blocksBeforeNextAdjustment**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3794](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3794) + +*** + +### daysBeforeNextAdjustment + +> **daysBeforeNextAdjustment**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3795](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3795) + +*** + +### epoch + +> **epoch**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3796](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3796) + +*** + +### raw + +> **raw**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3797](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3797) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Halving.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Halving.md new file mode 100644 index 000000000..b543652f4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Halving.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Halving + +# Interface: CatalogTree\_Blocks\_Halving + +Defined in: [Developer/brk/modules/brk-client/index.js:3801](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3801) + +## Properties + +### blocksBeforeNextHalving + +> **blocksBeforeNextHalving**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3802](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3802) + +*** + +### daysBeforeNextHalving + +> **daysBeforeNextHalving**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3803](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3803) + +*** + +### epoch + +> **epoch**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3804](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3804) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Interval.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Interval.md new file mode 100644 index 000000000..72bf25c7e --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Interval.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Interval + +# Interface: CatalogTree\_Blocks\_Interval + +Defined in: [Developer/brk/modules/brk-client/index.js:3808](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3808) + +## Properties + +### average + +> **average**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3809](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3809) + +*** + +### base + +> **base**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3810](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3810) + +*** + +### max + +> **max**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3811](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3811) + +*** + +### median + +> **median**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3812](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3812) + +*** + +### min + +> **min**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3813](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3813) + +*** + +### pct10 + +> **pct10**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3814](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3814) + +*** + +### pct25 + +> **pct25**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3815](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3815) + +*** + +### pct75 + +> **pct75**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3816](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3816) + +*** + +### pct90 + +> **pct90**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3817](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3817) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Mining.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Mining.md new file mode 100644 index 000000000..3aac32420 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Mining.md @@ -0,0 +1,129 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Mining + +# Interface: CatalogTree\_Blocks\_Mining + +Defined in: [Developer/brk/modules/brk-client/index.js:3821](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3821) + +## Properties + +### hashPricePhs + +> **hashPricePhs**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3822](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3822) + +*** + +### hashPricePhsMin + +> **hashPricePhsMin**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3823](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3823) + +*** + +### hashPriceRebound + +> **hashPriceRebound**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3824](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3824) + +*** + +### hashPriceThs + +> **hashPriceThs**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3825](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3825) + +*** + +### hashPriceThsMin + +> **hashPriceThsMin**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3826](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3826) + +*** + +### hashRate + +> **hashRate**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3827](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3827) + +*** + +### hashRate1mSma + +> **hashRate1mSma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3828](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3828) + +*** + +### hashRate1wSma + +> **hashRate1wSma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3829](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3829) + +*** + +### hashRate1ySma + +> **hashRate1ySma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3830](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3830) + +*** + +### hashRate2mSma + +> **hashRate2mSma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3831](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3831) + +*** + +### hashValuePhs + +> **hashValuePhs**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3832](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3832) + +*** + +### hashValuePhsMin + +> **hashValuePhsMin**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3833](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3833) + +*** + +### hashValueRebound + +> **hashValueRebound**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3834](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3834) + +*** + +### hashValueThs + +> **hashValueThs**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3835](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3835) + +*** + +### hashValueThsMin + +> **hashValueThsMin**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3836](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3836) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Rewards.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Rewards.md new file mode 100644 index 000000000..451c5a8c2 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Rewards.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Rewards + +# Interface: CatalogTree\_Blocks\_Rewards + +Defined in: [Developer/brk/modules/brk-client/index.js:3840](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3840) + +## Properties + +### \_24hCoinbaseSum + +> **\_24hCoinbaseSum**: [`CatalogTree_Blocks_Rewards_24hCoinbaseSum`](CatalogTree_Blocks_Rewards_24hCoinbaseSum.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3841](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3841) + +*** + +### coinbase + +> **coinbase**: [`CoinbasePattern`](CoinbasePattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3842](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3842) + +*** + +### feeDominance + +> **feeDominance**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3843](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3843) + +*** + +### subsidy + +> **subsidy**: [`CoinbasePattern`](CoinbasePattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3844](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3844) + +*** + +### subsidyDominance + +> **subsidyDominance**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3845](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3845) + +*** + +### subsidyUsd1ySma + +> **subsidyUsd1ySma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3846](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3846) + +*** + +### unclaimedRewards + +> **unclaimedRewards**: [`UnclaimedRewardsPattern`](UnclaimedRewardsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3847](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3847) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Rewards_24hCoinbaseSum.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Rewards_24hCoinbaseSum.md new file mode 100644 index 000000000..d127d1bfa --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Rewards_24hCoinbaseSum.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Rewards\_24hCoinbaseSum + +# Interface: CatalogTree\_Blocks\_Rewards\_24hCoinbaseSum + +Defined in: [Developer/brk/modules/brk-client/index.js:3851](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3851) + +## Properties + +### bitcoin + +> **bitcoin**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3852](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3852) + +*** + +### dollars + +> **dollars**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3853](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3853) + +*** + +### sats + +> **sats**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3854](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3854) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Size.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Size.md new file mode 100644 index 000000000..efe14ca8a --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Size.md @@ -0,0 +1,89 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Size + +# Interface: CatalogTree\_Blocks\_Size + +Defined in: [Developer/brk/modules/brk-client/index.js:3858](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3858) + +## Properties + +### average + +> **average**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3859](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3859) + +*** + +### cumulative + +> **cumulative**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3860](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3860) + +*** + +### max + +> **max**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3861](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3861) + +*** + +### median + +> **median**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3862](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3862) + +*** + +### min + +> **min**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3863](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3863) + +*** + +### pct10 + +> **pct10**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3864](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3864) + +*** + +### pct25 + +> **pct25**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3865](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3865) + +*** + +### pct75 + +> **pct75**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3866](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3866) + +*** + +### pct90 + +> **pct90**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3867](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3867) + +*** + +### sum + +> **sum**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3868](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3868) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Time.md b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Time.md new file mode 100644 index 000000000..2701874e0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Blocks_Time.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Blocks\_Time + +# Interface: CatalogTree\_Blocks\_Time + +Defined in: [Developer/brk/modules/brk-client/index.js:3872](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3872) + +## Properties + +### date + +> **date**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3873](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3873) + +*** + +### dateFixed + +> **dateFixed**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3874](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3874) + +*** + +### timestamp + +> **timestamp**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3875](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3875) + +*** + +### timestampFixed + +> **timestampFixed**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3876](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3876) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Cointime.md b/modules/brk-client/docs/interfaces/CatalogTree_Cointime.md new file mode 100644 index 000000000..6013de5c8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Cointime.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Cointime + +# Interface: CatalogTree\_Cointime + +Defined in: [Developer/brk/modules/brk-client/index.js:3880](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3880) + +## Properties + +### activity + +> **activity**: [`CatalogTree_Cointime_Activity`](CatalogTree_Cointime_Activity.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3881](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3881) + +*** + +### adjusted + +> **adjusted**: [`CatalogTree_Cointime_Adjusted`](CatalogTree_Cointime_Adjusted.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3882](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3882) + +*** + +### cap + +> **cap**: [`CatalogTree_Cointime_Cap`](CatalogTree_Cointime_Cap.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3883](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3883) + +*** + +### pricing + +> **pricing**: [`CatalogTree_Cointime_Pricing`](CatalogTree_Cointime_Pricing.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3884](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3884) + +*** + +### supply + +> **supply**: [`CatalogTree_Cointime_Supply`](CatalogTree_Cointime_Supply.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3885](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3885) + +*** + +### value + +> **value**: [`CatalogTree_Cointime_Value`](CatalogTree_Cointime_Value.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3886](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3886) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Activity.md b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Activity.md new file mode 100644 index 000000000..af728da3e --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Activity.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Cointime\_Activity + +# Interface: CatalogTree\_Cointime\_Activity + +Defined in: [Developer/brk/modules/brk-client/index.js:3890](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3890) + +## Properties + +### activityToVaultednessRatio + +> **activityToVaultednessRatio**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3891](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3891) + +*** + +### coinblocksCreated + +> **coinblocksCreated**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3892](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3892) + +*** + +### coinblocksStored + +> **coinblocksStored**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3893](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3893) + +*** + +### liveliness + +> **liveliness**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3894](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3894) + +*** + +### vaultedness + +> **vaultedness**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3895](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3895) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Adjusted.md b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Adjusted.md new file mode 100644 index 000000000..57e4d6364 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Adjusted.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Cointime\_Adjusted + +# Interface: CatalogTree\_Cointime\_Adjusted + +Defined in: [Developer/brk/modules/brk-client/index.js:3899](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3899) + +## Properties + +### cointimeAdjInflationRate + +> **cointimeAdjInflationRate**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3900](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3900) + +*** + +### cointimeAdjTxBtcVelocity + +> **cointimeAdjTxBtcVelocity**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3901](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3901) + +*** + +### cointimeAdjTxUsdVelocity + +> **cointimeAdjTxUsdVelocity**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3902](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3902) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Cap.md b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Cap.md new file mode 100644 index 000000000..42829b633 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Cap.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Cointime\_Cap + +# Interface: CatalogTree\_Cointime\_Cap + +Defined in: [Developer/brk/modules/brk-client/index.js:3906](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3906) + +## Properties + +### activeCap + +> **activeCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3907](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3907) + +*** + +### cointimeCap + +> **cointimeCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3908](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3908) + +*** + +### investorCap + +> **investorCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3909](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3909) + +*** + +### thermoCap + +> **thermoCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3910](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3910) + +*** + +### vaultedCap + +> **vaultedCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3911](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3911) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Pricing.md b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Pricing.md new file mode 100644 index 000000000..2efbd3486 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Pricing.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Cointime\_Pricing + +# Interface: CatalogTree\_Cointime\_Pricing + +Defined in: [Developer/brk/modules/brk-client/index.js:3915](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3915) + +## Properties + +### activePrice + +> **activePrice**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3916](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3916) + +*** + +### activePriceRatio + +> **activePriceRatio**: [`ActivePriceRatioPattern`](ActivePriceRatioPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3917](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3917) + +*** + +### cointimePrice + +> **cointimePrice**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3918](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3918) + +*** + +### cointimePriceRatio + +> **cointimePriceRatio**: [`ActivePriceRatioPattern`](ActivePriceRatioPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3919](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3919) + +*** + +### trueMarketMean + +> **trueMarketMean**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3920](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3920) + +*** + +### trueMarketMeanRatio + +> **trueMarketMeanRatio**: [`ActivePriceRatioPattern`](ActivePriceRatioPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3921](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3921) + +*** + +### vaultedPrice + +> **vaultedPrice**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3922](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3922) + +*** + +### vaultedPriceRatio + +> **vaultedPriceRatio**: [`ActivePriceRatioPattern`](ActivePriceRatioPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3923](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3923) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Supply.md b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Supply.md new file mode 100644 index 000000000..21f2038ae --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Supply.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Cointime\_Supply + +# Interface: CatalogTree\_Cointime\_Supply + +Defined in: [Developer/brk/modules/brk-client/index.js:3927](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3927) + +## Properties + +### activeSupply + +> **activeSupply**: [`ActiveSupplyPattern`](ActiveSupplyPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3928](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3928) + +*** + +### vaultedSupply + +> **vaultedSupply**: [`ActiveSupplyPattern`](ActiveSupplyPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3929](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3929) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Value.md b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Value.md new file mode 100644 index 000000000..46bca13e8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Cointime_Value.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Cointime\_Value + +# Interface: CatalogTree\_Cointime\_Value + +Defined in: [Developer/brk/modules/brk-client/index.js:3933](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3933) + +## Properties + +### cointimeValueCreated + +> **cointimeValueCreated**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3934](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3934) + +*** + +### cointimeValueDestroyed + +> **cointimeValueDestroyed**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3935](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3935) + +*** + +### cointimeValueStored + +> **cointimeValueStored**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3936](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3936) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Constants.md b/modules/brk-client/docs/interfaces/CatalogTree_Constants.md new file mode 100644 index 000000000..6f65c7aec --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Constants.md @@ -0,0 +1,153 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Constants + +# Interface: CatalogTree\_Constants + +Defined in: [Developer/brk/modules/brk-client/index.js:3940](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3940) + +## Properties + +### constant0 + +> **constant0**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3941](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3941) + +*** + +### constant1 + +> **constant1**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3942](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3942) + +*** + +### constant100 + +> **constant100**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3943](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3943) + +*** + +### constant2 + +> **constant2**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3944](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3944) + +*** + +### constant20 + +> **constant20**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3945](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3945) + +*** + +### constant3 + +> **constant3**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3946](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3946) + +*** + +### constant30 + +> **constant30**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3947](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3947) + +*** + +### constant382 + +> **constant382**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3948](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3948) + +*** + +### constant4 + +> **constant4**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3949](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3949) + +*** + +### constant50 + +> **constant50**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3950](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3950) + +*** + +### constant600 + +> **constant600**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3951](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3951) + +*** + +### constant618 + +> **constant618**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3952](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3952) + +*** + +### constant70 + +> **constant70**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3953](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3953) + +*** + +### constant80 + +> **constant80**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3954](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3954) + +*** + +### constantMinus1 + +> **constantMinus1**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3955](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3955) + +*** + +### constantMinus2 + +> **constantMinus2**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3956](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3956) + +*** + +### constantMinus3 + +> **constantMinus3**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3957](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3957) + +*** + +### constantMinus4 + +> **constantMinus4**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3958](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3958) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution.md new file mode 100644 index 000000000..6b887fdef --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution + +# Interface: CatalogTree\_Distribution + +Defined in: [Developer/brk/modules/brk-client/index.js:3962](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3962) + +## Properties + +### addrCount + +> **addrCount**: [`CatalogTree_Distribution_AddrCount`](CatalogTree_Distribution_AddrCount.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3963](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3963) + +*** + +### addressCohorts + +> **addressCohorts**: [`CatalogTree_Distribution_AddressCohorts`](CatalogTree_Distribution_AddressCohorts.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3964](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3964) + +*** + +### addressesData + +> **addressesData**: [`CatalogTree_Distribution_AddressesData`](CatalogTree_Distribution_AddressesData.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3965](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3965) + +*** + +### anyAddressIndexes + +> **anyAddressIndexes**: [`CatalogTree_Distribution_AnyAddressIndexes`](CatalogTree_Distribution_AnyAddressIndexes.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3966](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3966) + +*** + +### chainState + +> **chainState**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<[`SupplyState`](SupplyState.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3967](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3967) + +*** + +### emptyAddrCount + +> **emptyAddrCount**: [`CatalogTree_Distribution_EmptyAddrCount`](CatalogTree_Distribution_EmptyAddrCount.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3968](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3968) + +*** + +### emptyaddressindex + +> **emptyaddressindex**: [`MetricPattern32`](../type-aliases/MetricPattern32.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3969](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3969) + +*** + +### loadedaddressindex + +> **loadedaddressindex**: [`MetricPattern31`](../type-aliases/MetricPattern31.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3970](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3970) + +*** + +### utxoCohorts + +> **utxoCohorts**: [`CatalogTree_Distribution_UtxoCohorts`](CatalogTree_Distribution_UtxoCohorts.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3971](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3971) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddrCount.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddrCount.md new file mode 100644 index 000000000..6cb62df83 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddrCount.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_AddrCount + +# Interface: CatalogTree\_Distribution\_AddrCount + +Defined in: [Developer/brk/modules/brk-client/index.js:3975](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3975) + +## Properties + +### all + +> **all**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3976](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3976) + +*** + +### p2a + +> **p2a**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3977](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3977) + +*** + +### p2pk33 + +> **p2pk33**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3978](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3978) + +*** + +### p2pk65 + +> **p2pk65**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3979](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3979) + +*** + +### p2pkh + +> **p2pkh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3980](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3980) + +*** + +### p2sh + +> **p2sh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3981](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3981) + +*** + +### p2tr + +> **p2tr**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3982](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3982) + +*** + +### p2wpkh + +> **p2wpkh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3983](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3983) + +*** + +### p2wsh + +> **p2wsh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3984](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3984) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts.md new file mode 100644 index 000000000..0eb1fa7fb --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_AddressCohorts + +# Interface: CatalogTree\_Distribution\_AddressCohorts + +Defined in: [Developer/brk/modules/brk-client/index.js:3988](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3988) + +## Properties + +### amountRange + +> **amountRange**: [`CatalogTree_Distribution_AddressCohorts_AmountRange`](CatalogTree_Distribution_AddressCohorts_AmountRange.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3989](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3989) + +*** + +### geAmount + +> **geAmount**: [`CatalogTree_Distribution_AddressCohorts_GeAmount`](CatalogTree_Distribution_AddressCohorts_GeAmount.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3990](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3990) + +*** + +### ltAmount + +> **ltAmount**: [`CatalogTree_Distribution_AddressCohorts_LtAmount`](CatalogTree_Distribution_AddressCohorts_LtAmount.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3991](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3991) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_AmountRange.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_AmountRange.md new file mode 100644 index 000000000..1f415f48d --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_AmountRange.md @@ -0,0 +1,129 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_AddressCohorts\_AmountRange + +# Interface: CatalogTree\_Distribution\_AddressCohorts\_AmountRange + +Defined in: [Developer/brk/modules/brk-client/index.js:3995](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3995) + +## Properties + +### \_0sats + +> **\_0sats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3996](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3996) + +*** + +### \_100btcTo1kBtc + +> **\_100btcTo1kBtc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3997](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3997) + +*** + +### \_100kBtcOrMore + +> **\_100kBtcOrMore**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3998](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3998) + +*** + +### \_100kSatsTo1mSats + +> **\_100kSatsTo1mSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3999](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3999) + +*** + +### \_100satsTo1kSats + +> **\_100satsTo1kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4000](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4000) + +*** + +### \_10btcTo100btc + +> **\_10btcTo100btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4001](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4001) + +*** + +### \_10kBtcTo100kBtc + +> **\_10kBtcTo100kBtc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4002](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4002) + +*** + +### \_10kSatsTo100kSats + +> **\_10kSatsTo100kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4003](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4003) + +*** + +### \_10mSatsTo1btc + +> **\_10mSatsTo1btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4004](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4004) + +*** + +### \_10satsTo100sats + +> **\_10satsTo100sats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4005](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4005) + +*** + +### \_1btcTo10btc + +> **\_1btcTo10btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4006](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4006) + +*** + +### \_1kBtcTo10kBtc + +> **\_1kBtcTo10kBtc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4007](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4007) + +*** + +### \_1kSatsTo10kSats + +> **\_1kSatsTo10kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4008](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4008) + +*** + +### \_1mSatsTo10mSats + +> **\_1mSatsTo10mSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4009](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4009) + +*** + +### \_1satTo10sats + +> **\_1satTo10sats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4010](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4010) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_GeAmount.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_GeAmount.md new file mode 100644 index 000000000..37caebdd4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_GeAmount.md @@ -0,0 +1,113 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_AddressCohorts\_GeAmount + +# Interface: CatalogTree\_Distribution\_AddressCohorts\_GeAmount + +Defined in: [Developer/brk/modules/brk-client/index.js:4014](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4014) + +## Properties + +### \_100btc + +> **\_100btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4015](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4015) + +*** + +### \_100kSats + +> **\_100kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4016](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4016) + +*** + +### \_100sats + +> **\_100sats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4017](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4017) + +*** + +### \_10btc + +> **\_10btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4018](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4018) + +*** + +### \_10kBtc + +> **\_10kBtc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4019](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4019) + +*** + +### \_10kSats + +> **\_10kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4020](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4020) + +*** + +### \_10mSats + +> **\_10mSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4021](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4021) + +*** + +### \_10sats + +> **\_10sats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4022](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4022) + +*** + +### \_1btc + +> **\_1btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4023](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4023) + +*** + +### \_1kBtc + +> **\_1kBtc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4024](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4024) + +*** + +### \_1kSats + +> **\_1kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4025](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4025) + +*** + +### \_1mSats + +> **\_1mSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4026](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4026) + +*** + +### \_1sat + +> **\_1sat**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4027](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4027) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_LtAmount.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_LtAmount.md new file mode 100644 index 000000000..c76ce6b7d --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressCohorts_LtAmount.md @@ -0,0 +1,113 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_AddressCohorts\_LtAmount + +# Interface: CatalogTree\_Distribution\_AddressCohorts\_LtAmount + +Defined in: [Developer/brk/modules/brk-client/index.js:4031](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4031) + +## Properties + +### \_100btc + +> **\_100btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4032](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4032) + +*** + +### \_100kBtc + +> **\_100kBtc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4033](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4033) + +*** + +### \_100kSats + +> **\_100kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4034](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4034) + +*** + +### \_100sats + +> **\_100sats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4035](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4035) + +*** + +### \_10btc + +> **\_10btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4036](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4036) + +*** + +### \_10kBtc + +> **\_10kBtc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4037](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4037) + +*** + +### \_10kSats + +> **\_10kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4038](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4038) + +*** + +### \_10mSats + +> **\_10mSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4039](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4039) + +*** + +### \_10sats + +> **\_10sats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4040](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4040) + +*** + +### \_1btc + +> **\_1btc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4041](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4041) + +*** + +### \_1kBtc + +> **\_1kBtc**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4042](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4042) + +*** + +### \_1kSats + +> **\_1kSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4043](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4043) + +*** + +### \_1mSats + +> **\_1mSats**: [`_0satsPattern`](0satsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4044](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4044) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressesData.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressesData.md new file mode 100644 index 000000000..f98457dff --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AddressesData.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_AddressesData + +# Interface: CatalogTree\_Distribution\_AddressesData + +Defined in: [Developer/brk/modules/brk-client/index.js:4048](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4048) + +## Properties + +### empty + +> **empty**: [`MetricPattern32`](../type-aliases/MetricPattern32.md)\<[`EmptyAddressData`](EmptyAddressData.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4049](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4049) + +*** + +### loaded + +> **loaded**: [`MetricPattern31`](../type-aliases/MetricPattern31.md)\<[`LoadedAddressData`](LoadedAddressData.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4050](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4050) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AnyAddressIndexes.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AnyAddressIndexes.md new file mode 100644 index 000000000..14213a759 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_AnyAddressIndexes.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_AnyAddressIndexes + +# Interface: CatalogTree\_Distribution\_AnyAddressIndexes + +Defined in: [Developer/brk/modules/brk-client/index.js:4054](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4054) + +## Properties + +### p2a + +> **p2a**: [`MetricPattern16`](../type-aliases/MetricPattern16.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4055](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4055) + +*** + +### p2pk33 + +> **p2pk33**: [`MetricPattern18`](../type-aliases/MetricPattern18.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4056](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4056) + +*** + +### p2pk65 + +> **p2pk65**: [`MetricPattern19`](../type-aliases/MetricPattern19.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4057](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4057) + +*** + +### p2pkh + +> **p2pkh**: [`MetricPattern20`](../type-aliases/MetricPattern20.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4058](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4058) + +*** + +### p2sh + +> **p2sh**: [`MetricPattern21`](../type-aliases/MetricPattern21.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4059](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4059) + +*** + +### p2tr + +> **p2tr**: [`MetricPattern22`](../type-aliases/MetricPattern22.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4060](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4060) + +*** + +### p2wpkh + +> **p2wpkh**: [`MetricPattern23`](../type-aliases/MetricPattern23.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4061](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4061) + +*** + +### p2wsh + +> **p2wsh**: [`MetricPattern24`](../type-aliases/MetricPattern24.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4062](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4062) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_EmptyAddrCount.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_EmptyAddrCount.md new file mode 100644 index 000000000..8272e2408 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_EmptyAddrCount.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_EmptyAddrCount + +# Interface: CatalogTree\_Distribution\_EmptyAddrCount + +Defined in: [Developer/brk/modules/brk-client/index.js:4066](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4066) + +## Properties + +### all + +> **all**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4067](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4067) + +*** + +### p2a + +> **p2a**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4068](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4068) + +*** + +### p2pk33 + +> **p2pk33**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4069](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4069) + +*** + +### p2pk65 + +> **p2pk65**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4070](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4070) + +*** + +### p2pkh + +> **p2pkh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4071](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4071) + +*** + +### p2sh + +> **p2sh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4072](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4072) + +*** + +### p2tr + +> **p2tr**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4073](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4073) + +*** + +### p2wpkh + +> **p2wpkh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4074](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4074) + +*** + +### p2wsh + +> **p2wsh**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4075](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4075) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts.md new file mode 100644 index 000000000..94bf6d104 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts.md @@ -0,0 +1,97 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts + +# Interface: CatalogTree\_Distribution\_UtxoCohorts + +Defined in: [Developer/brk/modules/brk-client/index.js:4079](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4079) + +## Properties + +### ageRange + +> **ageRange**: [`CatalogTree_Distribution_UtxoCohorts_AgeRange`](CatalogTree_Distribution_UtxoCohorts_AgeRange.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4080](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4080) + +*** + +### all + +> **all**: [`CatalogTree_Distribution_UtxoCohorts_All`](CatalogTree_Distribution_UtxoCohorts_All.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4081](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4081) + +*** + +### amountRange + +> **amountRange**: [`CatalogTree_Distribution_UtxoCohorts_AmountRange`](CatalogTree_Distribution_UtxoCohorts_AmountRange.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4082](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4082) + +*** + +### epoch + +> **epoch**: [`CatalogTree_Distribution_UtxoCohorts_Epoch`](CatalogTree_Distribution_UtxoCohorts_Epoch.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4083](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4083) + +*** + +### geAmount + +> **geAmount**: [`CatalogTree_Distribution_UtxoCohorts_GeAmount`](CatalogTree_Distribution_UtxoCohorts_GeAmount.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4084](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4084) + +*** + +### ltAmount + +> **ltAmount**: [`CatalogTree_Distribution_UtxoCohorts_LtAmount`](CatalogTree_Distribution_UtxoCohorts_LtAmount.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4085](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4085) + +*** + +### maxAge + +> **maxAge**: [`CatalogTree_Distribution_UtxoCohorts_MaxAge`](CatalogTree_Distribution_UtxoCohorts_MaxAge.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4086](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4086) + +*** + +### minAge + +> **minAge**: [`CatalogTree_Distribution_UtxoCohorts_MinAge`](CatalogTree_Distribution_UtxoCohorts_MinAge.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4087](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4087) + +*** + +### term + +> **term**: [`CatalogTree_Distribution_UtxoCohorts_Term`](CatalogTree_Distribution_UtxoCohorts_Term.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4088](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4088) + +*** + +### type + +> **type**: [`CatalogTree_Distribution_UtxoCohorts_Type`](CatalogTree_Distribution_UtxoCohorts_Type.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4089](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4089) + +*** + +### year + +> **year**: [`CatalogTree_Distribution_UtxoCohorts_Year`](CatalogTree_Distribution_UtxoCohorts_Year.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4090](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4090) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_AgeRange.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_AgeRange.md new file mode 100644 index 000000000..343aa2e81 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_AgeRange.md @@ -0,0 +1,177 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_AgeRange + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_AgeRange + +Defined in: [Developer/brk/modules/brk-client/index.js:4094](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4094) + +## Properties + +### \_10yTo12y + +> **\_10yTo12y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4095](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4095) + +*** + +### \_12yTo15y + +> **\_12yTo15y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4096](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4096) + +*** + +### \_1dTo1w + +> **\_1dTo1w**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4097](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4097) + +*** + +### \_1hTo1d + +> **\_1hTo1d**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4098](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4098) + +*** + +### \_1mTo2m + +> **\_1mTo2m**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4099](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4099) + +*** + +### \_1wTo1m + +> **\_1wTo1m**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4100](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4100) + +*** + +### \_1yTo2y + +> **\_1yTo2y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4101](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4101) + +*** + +### \_2mTo3m + +> **\_2mTo3m**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4102](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4102) + +*** + +### \_2yTo3y + +> **\_2yTo3y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4103](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4103) + +*** + +### \_3mTo4m + +> **\_3mTo4m**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4104](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4104) + +*** + +### \_3yTo4y + +> **\_3yTo4y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4105](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4105) + +*** + +### \_4mTo5m + +> **\_4mTo5m**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4106](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4106) + +*** + +### \_4yTo5y + +> **\_4yTo5y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4107](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4107) + +*** + +### \_5mTo6m + +> **\_5mTo6m**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4108](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4108) + +*** + +### \_5yTo6y + +> **\_5yTo6y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4109](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4109) + +*** + +### \_6mTo1y + +> **\_6mTo1y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4110](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4110) + +*** + +### \_6yTo7y + +> **\_6yTo7y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4111](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4111) + +*** + +### \_7yTo8y + +> **\_7yTo8y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4112](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4112) + +*** + +### \_8yTo10y + +> **\_8yTo10y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4113](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4113) + +*** + +### from15y + +> **from15y**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4114](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4114) + +*** + +### upTo1h + +> **upTo1h**: [`_10yTo12yPattern`](10yTo12yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4115](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4115) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All.md new file mode 100644 index 000000000..b6ca58d03 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_All + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_All + +Defined in: [Developer/brk/modules/brk-client/index.js:4119](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4119) + +## Properties + +### activity + +> **activity**: [`ActivityPattern2`](ActivityPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4120](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4120) + +*** + +### costBasis + +> **costBasis**: [`CatalogTree_Distribution_UtxoCohorts_All_CostBasis`](CatalogTree_Distribution_UtxoCohorts_All_CostBasis.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4121](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4121) + +*** + +### outputs + +> **outputs**: [`OutputsPattern`](OutputsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4122](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4122) + +*** + +### realized + +> **realized**: [`RealizedPattern3`](RealizedPattern3.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4123](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4123) + +*** + +### relative + +> **relative**: [`CatalogTree_Distribution_UtxoCohorts_All_Relative`](CatalogTree_Distribution_UtxoCohorts_All_Relative.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4124](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4124) + +*** + +### supply + +> **supply**: [`SupplyPattern2`](SupplyPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4125](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4125) + +*** + +### unrealized + +> **unrealized**: [`UnrealizedPattern`](UnrealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4126](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4126) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All_CostBasis.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All_CostBasis.md new file mode 100644 index 000000000..95465a8d7 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All_CostBasis.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_All\_CostBasis + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_All\_CostBasis + +Defined in: [Developer/brk/modules/brk-client/index.js:4130](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4130) + +## Properties + +### max + +> **max**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4131](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4131) + +*** + +### min + +> **min**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4132](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4132) + +*** + +### percentiles + +> **percentiles**: [`PercentilesPattern`](PercentilesPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4133](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4133) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All_Relative.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All_Relative.md new file mode 100644 index 000000000..01c6b002c --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_All_Relative.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_All\_Relative + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_All\_Relative + +Defined in: [Developer/brk/modules/brk-client/index.js:4137](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4137) + +## Properties + +### negUnrealizedLossRelToOwnTotalUnrealizedPnl + +> **negUnrealizedLossRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4138](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4138) + +*** + +### netUnrealizedPnlRelToOwnTotalUnrealizedPnl + +> **netUnrealizedPnlRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4139](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4139) + +*** + +### supplyInLossRelToOwnSupply + +> **supplyInLossRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4140](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4140) + +*** + +### supplyInProfitRelToOwnSupply + +> **supplyInProfitRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4141](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4141) + +*** + +### unrealizedLossRelToOwnTotalUnrealizedPnl + +> **unrealizedLossRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4142](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4142) + +*** + +### unrealizedProfitRelToOwnTotalUnrealizedPnl + +> **unrealizedProfitRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4143](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4143) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_AmountRange.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_AmountRange.md new file mode 100644 index 000000000..440c4ca84 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_AmountRange.md @@ -0,0 +1,129 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_AmountRange + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_AmountRange + +Defined in: [Developer/brk/modules/brk-client/index.js:4147](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4147) + +## Properties + +### \_0sats + +> **\_0sats**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4148](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4148) + +*** + +### \_100btcTo1kBtc + +> **\_100btcTo1kBtc**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4149](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4149) + +*** + +### \_100kBtcOrMore + +> **\_100kBtcOrMore**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4150](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4150) + +*** + +### \_100kSatsTo1mSats + +> **\_100kSatsTo1mSats**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4151](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4151) + +*** + +### \_100satsTo1kSats + +> **\_100satsTo1kSats**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4152](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4152) + +*** + +### \_10btcTo100btc + +> **\_10btcTo100btc**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4153](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4153) + +*** + +### \_10kBtcTo100kBtc + +> **\_10kBtcTo100kBtc**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4154](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4154) + +*** + +### \_10kSatsTo100kSats + +> **\_10kSatsTo100kSats**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4155](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4155) + +*** + +### \_10mSatsTo1btc + +> **\_10mSatsTo1btc**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4156](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4156) + +*** + +### \_10satsTo100sats + +> **\_10satsTo100sats**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4157](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4157) + +*** + +### \_1btcTo10btc + +> **\_1btcTo10btc**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4158](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4158) + +*** + +### \_1kBtcTo10kBtc + +> **\_1kBtcTo10kBtc**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4159](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4159) + +*** + +### \_1kSatsTo10kSats + +> **\_1kSatsTo10kSats**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4160](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4160) + +*** + +### \_1mSatsTo10mSats + +> **\_1mSatsTo10mSats**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4161](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4161) + +*** + +### \_1satTo10sats + +> **\_1satTo10sats**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4162](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4162) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Epoch.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Epoch.md new file mode 100644 index 000000000..c3d7ec15b --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Epoch.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_Epoch + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_Epoch + +Defined in: [Developer/brk/modules/brk-client/index.js:4166](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4166) + +## Properties + +### \_0 + +> **\_0**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4167](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4167) + +*** + +### \_1 + +> **\_1**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4168](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4168) + +*** + +### \_2 + +> **\_2**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4169](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4169) + +*** + +### \_3 + +> **\_3**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4170](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4170) + +*** + +### \_4 + +> **\_4**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4171](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4171) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_GeAmount.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_GeAmount.md new file mode 100644 index 000000000..dc0c65e72 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_GeAmount.md @@ -0,0 +1,113 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_GeAmount + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_GeAmount + +Defined in: [Developer/brk/modules/brk-client/index.js:4175](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4175) + +## Properties + +### \_100btc + +> **\_100btc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4176](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4176) + +*** + +### \_100kSats + +> **\_100kSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4177](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4177) + +*** + +### \_100sats + +> **\_100sats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4178](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4178) + +*** + +### \_10btc + +> **\_10btc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4179](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4179) + +*** + +### \_10kBtc + +> **\_10kBtc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4180](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4180) + +*** + +### \_10kSats + +> **\_10kSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4181](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4181) + +*** + +### \_10mSats + +> **\_10mSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4182](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4182) + +*** + +### \_10sats + +> **\_10sats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4183](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4183) + +*** + +### \_1btc + +> **\_1btc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4184](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4184) + +*** + +### \_1kBtc + +> **\_1kBtc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4185](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4185) + +*** + +### \_1kSats + +> **\_1kSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4186](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4186) + +*** + +### \_1mSats + +> **\_1mSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4187](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4187) + +*** + +### \_1sat + +> **\_1sat**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4188](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4188) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_LtAmount.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_LtAmount.md new file mode 100644 index 000000000..518fb7080 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_LtAmount.md @@ -0,0 +1,113 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_LtAmount + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_LtAmount + +Defined in: [Developer/brk/modules/brk-client/index.js:4192](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4192) + +## Properties + +### \_100btc + +> **\_100btc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4193](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4193) + +*** + +### \_100kBtc + +> **\_100kBtc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4194](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4194) + +*** + +### \_100kSats + +> **\_100kSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4195](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4195) + +*** + +### \_100sats + +> **\_100sats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4196](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4196) + +*** + +### \_10btc + +> **\_10btc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4197](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4197) + +*** + +### \_10kBtc + +> **\_10kBtc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4198](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4198) + +*** + +### \_10kSats + +> **\_10kSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4199](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4199) + +*** + +### \_10mSats + +> **\_10mSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4200](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4200) + +*** + +### \_10sats + +> **\_10sats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4201](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4201) + +*** + +### \_1btc + +> **\_1btc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4202](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4202) + +*** + +### \_1kBtc + +> **\_1kBtc**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4203](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4203) + +*** + +### \_1kSats + +> **\_1kSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4204](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4204) + +*** + +### \_1mSats + +> **\_1mSats**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4205](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4205) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_MaxAge.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_MaxAge.md new file mode 100644 index 000000000..9e76fe282 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_MaxAge.md @@ -0,0 +1,153 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_MaxAge + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_MaxAge + +Defined in: [Developer/brk/modules/brk-client/index.js:4209](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4209) + +## Properties + +### \_10y + +> **\_10y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4210](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4210) + +*** + +### \_12y + +> **\_12y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4211](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4211) + +*** + +### \_15y + +> **\_15y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4212](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4212) + +*** + +### \_1m + +> **\_1m**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4213](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4213) + +*** + +### \_1w + +> **\_1w**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4214](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4214) + +*** + +### \_1y + +> **\_1y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4215](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4215) + +*** + +### \_2m + +> **\_2m**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4216](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4216) + +*** + +### \_2y + +> **\_2y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4217](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4217) + +*** + +### \_3m + +> **\_3m**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4218](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4218) + +*** + +### \_3y + +> **\_3y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4219](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4219) + +*** + +### \_4m + +> **\_4m**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4220](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4220) + +*** + +### \_4y + +> **\_4y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4221](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4221) + +*** + +### \_5m + +> **\_5m**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4222](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4222) + +*** + +### \_5y + +> **\_5y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4223](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4223) + +*** + +### \_6m + +> **\_6m**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4224](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4224) + +*** + +### \_6y + +> **\_6y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4225](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4225) + +*** + +### \_7y + +> **\_7y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4226](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4226) + +*** + +### \_8y + +> **\_8y**: [`_10yPattern`](10yPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4227](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4227) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_MinAge.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_MinAge.md new file mode 100644 index 000000000..ef6e63559 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_MinAge.md @@ -0,0 +1,153 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_MinAge + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_MinAge + +Defined in: [Developer/brk/modules/brk-client/index.js:4231](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4231) + +## Properties + +### \_10y + +> **\_10y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4232](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4232) + +*** + +### \_12y + +> **\_12y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4233](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4233) + +*** + +### \_1d + +> **\_1d**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4234](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4234) + +*** + +### \_1m + +> **\_1m**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4235](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4235) + +*** + +### \_1w + +> **\_1w**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4236](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4236) + +*** + +### \_1y + +> **\_1y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4237](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4237) + +*** + +### \_2m + +> **\_2m**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4238](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4238) + +*** + +### \_2y + +> **\_2y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4239](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4239) + +*** + +### \_3m + +> **\_3m**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4240](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4240) + +*** + +### \_3y + +> **\_3y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4241](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4241) + +*** + +### \_4m + +> **\_4m**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4242](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4242) + +*** + +### \_4y + +> **\_4y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4243](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4243) + +*** + +### \_5m + +> **\_5m**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4244](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4244) + +*** + +### \_5y + +> **\_5y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4245](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4245) + +*** + +### \_6m + +> **\_6m**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4246](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4246) + +*** + +### \_6y + +> **\_6y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4247](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4247) + +*** + +### \_7y + +> **\_7y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4248](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4248) + +*** + +### \_8y + +> **\_8y**: [`_100btcPattern`](100btcPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4249](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4249) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term.md new file mode 100644 index 000000000..4664bf5b7 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_Term + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_Term + +Defined in: [Developer/brk/modules/brk-client/index.js:4253](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4253) + +## Properties + +### long + +> **long**: [`CatalogTree_Distribution_UtxoCohorts_Term_Long`](CatalogTree_Distribution_UtxoCohorts_Term_Long.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4254](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4254) + +*** + +### short + +> **short**: [`CatalogTree_Distribution_UtxoCohorts_Term_Short`](CatalogTree_Distribution_UtxoCohorts_Term_Short.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4255](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4255) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Long.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Long.md new file mode 100644 index 000000000..55fd028a9 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Long.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_Term\_Long + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_Term\_Long + +Defined in: [Developer/brk/modules/brk-client/index.js:4259](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4259) + +## Properties + +### activity + +> **activity**: [`ActivityPattern2`](ActivityPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4260](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4260) + +*** + +### costBasis + +> **costBasis**: [`CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis`](CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4261](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4261) + +*** + +### outputs + +> **outputs**: [`OutputsPattern`](OutputsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4262](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4262) + +*** + +### realized + +> **realized**: [`RealizedPattern2`](RealizedPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4263](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4263) + +*** + +### relative + +> **relative**: [`RelativePattern5`](RelativePattern5.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4264](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4264) + +*** + +### supply + +> **supply**: [`SupplyPattern2`](SupplyPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4265](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4265) + +*** + +### unrealized + +> **unrealized**: [`UnrealizedPattern`](UnrealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4266](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4266) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis.md new file mode 100644 index 000000000..25e9c361b --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_Term\_Long\_CostBasis + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_Term\_Long\_CostBasis + +Defined in: [Developer/brk/modules/brk-client/index.js:4270](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4270) + +## Properties + +### max + +> **max**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4271](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4271) + +*** + +### min + +> **min**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4272](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4272) + +*** + +### percentiles + +> **percentiles**: [`PercentilesPattern`](PercentilesPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4273](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4273) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Short.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Short.md new file mode 100644 index 000000000..8cb1815be --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Short.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_Term\_Short + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_Term\_Short + +Defined in: [Developer/brk/modules/brk-client/index.js:4277](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4277) + +## Properties + +### activity + +> **activity**: [`ActivityPattern2`](ActivityPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4278](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4278) + +*** + +### costBasis + +> **costBasis**: [`CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis`](CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4279](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4279) + +*** + +### outputs + +> **outputs**: [`OutputsPattern`](OutputsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4280](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4280) + +*** + +### realized + +> **realized**: [`RealizedPattern3`](RealizedPattern3.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4281](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4281) + +*** + +### relative + +> **relative**: [`RelativePattern5`](RelativePattern5.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4282](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4282) + +*** + +### supply + +> **supply**: [`SupplyPattern2`](SupplyPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4283](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4283) + +*** + +### unrealized + +> **unrealized**: [`UnrealizedPattern`](UnrealizedPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4284](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4284) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis.md new file mode 100644 index 000000000..9c09b5828 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_Term\_Short\_CostBasis + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_Term\_Short\_CostBasis + +Defined in: [Developer/brk/modules/brk-client/index.js:4288](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4288) + +## Properties + +### max + +> **max**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4289](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4289) + +*** + +### min + +> **min**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4290](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4290) + +*** + +### percentiles + +> **percentiles**: [`PercentilesPattern`](PercentilesPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4291](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4291) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Type.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Type.md new file mode 100644 index 000000000..14f9a5f98 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Type.md @@ -0,0 +1,97 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_Type + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_Type + +Defined in: [Developer/brk/modules/brk-client/index.js:4295](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4295) + +## Properties + +### empty + +> **empty**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4296](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4296) + +*** + +### p2a + +> **p2a**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4297](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4297) + +*** + +### p2ms + +> **p2ms**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4298](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4298) + +*** + +### p2pk33 + +> **p2pk33**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4299](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4299) + +*** + +### p2pk65 + +> **p2pk65**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4300](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4300) + +*** + +### p2pkh + +> **p2pkh**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4301](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4301) + +*** + +### p2sh + +> **p2sh**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4302](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4302) + +*** + +### p2tr + +> **p2tr**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4303](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4303) + +*** + +### p2wpkh + +> **p2wpkh**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4304](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4304) + +*** + +### p2wsh + +> **p2wsh**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4305](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4305) + +*** + +### unknown + +> **unknown**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4306](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4306) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Year.md b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Year.md new file mode 100644 index 000000000..40dfbe2e8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Distribution_UtxoCohorts_Year.md @@ -0,0 +1,153 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Distribution\_UtxoCohorts\_Year + +# Interface: CatalogTree\_Distribution\_UtxoCohorts\_Year + +Defined in: [Developer/brk/modules/brk-client/index.js:4310](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4310) + +## Properties + +### \_2009 + +> **\_2009**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4311](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4311) + +*** + +### \_2010 + +> **\_2010**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4312](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4312) + +*** + +### \_2011 + +> **\_2011**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4313](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4313) + +*** + +### \_2012 + +> **\_2012**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4314](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4314) + +*** + +### \_2013 + +> **\_2013**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4315](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4315) + +*** + +### \_2014 + +> **\_2014**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4316](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4316) + +*** + +### \_2015 + +> **\_2015**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4317](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4317) + +*** + +### \_2016 + +> **\_2016**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4318](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4318) + +*** + +### \_2017 + +> **\_2017**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4319](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4319) + +*** + +### \_2018 + +> **\_2018**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4320](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4320) + +*** + +### \_2019 + +> **\_2019**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4321](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4321) + +*** + +### \_2020 + +> **\_2020**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4322](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4322) + +*** + +### \_2021 + +> **\_2021**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4323](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4323) + +*** + +### \_2022 + +> **\_2022**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4324](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4324) + +*** + +### \_2023 + +> **\_2023**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4325](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4325) + +*** + +### \_2024 + +> **\_2024**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4326](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4326) + +*** + +### \_2025 + +> **\_2025**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4327](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4327) + +*** + +### \_2026 + +> **\_2026**: [`_0satsPattern2`](0satsPattern2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4328](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4328) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes.md new file mode 100644 index 000000000..670e6adce --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes.md @@ -0,0 +1,121 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes + +# Interface: CatalogTree\_Indexes + +Defined in: [Developer/brk/modules/brk-client/index.js:4332](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4332) + +## Properties + +### address + +> **address**: [`CatalogTree_Indexes_Address`](CatalogTree_Indexes_Address.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4333](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4333) + +*** + +### dateindex + +> **dateindex**: [`CatalogTree_Indexes_Dateindex`](CatalogTree_Indexes_Dateindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4334](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4334) + +*** + +### decadeindex + +> **decadeindex**: [`CatalogTree_Indexes_Decadeindex`](CatalogTree_Indexes_Decadeindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4335](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4335) + +*** + +### difficultyepoch + +> **difficultyepoch**: [`CatalogTree_Indexes_Difficultyepoch`](CatalogTree_Indexes_Difficultyepoch.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4336](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4336) + +*** + +### halvingepoch + +> **halvingepoch**: [`CatalogTree_Indexes_Halvingepoch`](CatalogTree_Indexes_Halvingepoch.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4337](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4337) + +*** + +### height + +> **height**: [`CatalogTree_Indexes_Height`](CatalogTree_Indexes_Height.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4338](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4338) + +*** + +### monthindex + +> **monthindex**: [`CatalogTree_Indexes_Monthindex`](CatalogTree_Indexes_Monthindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4339](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4339) + +*** + +### quarterindex + +> **quarterindex**: [`CatalogTree_Indexes_Quarterindex`](CatalogTree_Indexes_Quarterindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4340](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4340) + +*** + +### semesterindex + +> **semesterindex**: [`CatalogTree_Indexes_Semesterindex`](CatalogTree_Indexes_Semesterindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4341](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4341) + +*** + +### txindex + +> **txindex**: [`CatalogTree_Indexes_Txindex`](CatalogTree_Indexes_Txindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4342](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4342) + +*** + +### txinindex + +> **txinindex**: [`CatalogTree_Indexes_Txinindex`](CatalogTree_Indexes_Txinindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4343](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4343) + +*** + +### txoutindex + +> **txoutindex**: [`CatalogTree_Indexes_Txoutindex`](CatalogTree_Indexes_Txoutindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4344](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4344) + +*** + +### weekindex + +> **weekindex**: [`CatalogTree_Indexes_Weekindex`](CatalogTree_Indexes_Weekindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4345](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4345) + +*** + +### yearindex + +> **yearindex**: [`CatalogTree_Indexes_Yearindex`](CatalogTree_Indexes_Yearindex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4346](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4346) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address.md new file mode 100644 index 000000000..e6e8326a2 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address.md @@ -0,0 +1,105 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address + +# Interface: CatalogTree\_Indexes\_Address + +Defined in: [Developer/brk/modules/brk-client/index.js:4350](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4350) + +## Properties + +### empty + +> **empty**: [`CatalogTree_Indexes_Address_Empty`](CatalogTree_Indexes_Address_Empty.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4351](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4351) + +*** + +### opreturn + +> **opreturn**: [`CatalogTree_Indexes_Address_Opreturn`](CatalogTree_Indexes_Address_Opreturn.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4352](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4352) + +*** + +### p2a + +> **p2a**: [`CatalogTree_Indexes_Address_P2a`](CatalogTree_Indexes_Address_P2a.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4353](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4353) + +*** + +### p2ms + +> **p2ms**: [`CatalogTree_Indexes_Address_P2ms`](CatalogTree_Indexes_Address_P2ms.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4354](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4354) + +*** + +### p2pk33 + +> **p2pk33**: [`CatalogTree_Indexes_Address_P2pk33`](CatalogTree_Indexes_Address_P2pk33.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4355](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4355) + +*** + +### p2pk65 + +> **p2pk65**: [`CatalogTree_Indexes_Address_P2pk65`](CatalogTree_Indexes_Address_P2pk65.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4356](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4356) + +*** + +### p2pkh + +> **p2pkh**: [`CatalogTree_Indexes_Address_P2pkh`](CatalogTree_Indexes_Address_P2pkh.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4357](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4357) + +*** + +### p2sh + +> **p2sh**: [`CatalogTree_Indexes_Address_P2sh`](CatalogTree_Indexes_Address_P2sh.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4358](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4358) + +*** + +### p2tr + +> **p2tr**: [`CatalogTree_Indexes_Address_P2tr`](CatalogTree_Indexes_Address_P2tr.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4359](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4359) + +*** + +### p2wpkh + +> **p2wpkh**: [`CatalogTree_Indexes_Address_P2wpkh`](CatalogTree_Indexes_Address_P2wpkh.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4360](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4360) + +*** + +### p2wsh + +> **p2wsh**: [`CatalogTree_Indexes_Address_P2wsh`](CatalogTree_Indexes_Address_P2wsh.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4361](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4361) + +*** + +### unknown + +> **unknown**: [`CatalogTree_Indexes_Address_Unknown`](CatalogTree_Indexes_Address_Unknown.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4362](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4362) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Empty.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Empty.md new file mode 100644 index 000000000..395893edc --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Empty.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_Empty + +# Interface: CatalogTree\_Indexes\_Address\_Empty + +Defined in: [Developer/brk/modules/brk-client/index.js:4366](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4366) + +## Properties + +### identity + +> **identity**: [`MetricPattern9`](../type-aliases/MetricPattern9.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4367](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4367) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Opreturn.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Opreturn.md new file mode 100644 index 000000000..7c35222e8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Opreturn.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_Opreturn + +# Interface: CatalogTree\_Indexes\_Address\_Opreturn + +Defined in: [Developer/brk/modules/brk-client/index.js:4371](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4371) + +## Properties + +### identity + +> **identity**: [`MetricPattern14`](../type-aliases/MetricPattern14.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4372](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4372) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2a.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2a.md new file mode 100644 index 000000000..24a7ef03d --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2a.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2a + +# Interface: CatalogTree\_Indexes\_Address\_P2a + +Defined in: [Developer/brk/modules/brk-client/index.js:4376](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4376) + +## Properties + +### identity + +> **identity**: [`MetricPattern16`](../type-aliases/MetricPattern16.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4377](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4377) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2ms.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2ms.md new file mode 100644 index 000000000..65be09e9a --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2ms.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2ms + +# Interface: CatalogTree\_Indexes\_Address\_P2ms + +Defined in: [Developer/brk/modules/brk-client/index.js:4381](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4381) + +## Properties + +### identity + +> **identity**: [`MetricPattern17`](../type-aliases/MetricPattern17.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4382](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4382) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pk33.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pk33.md new file mode 100644 index 000000000..75b6e2d75 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pk33.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2pk33 + +# Interface: CatalogTree\_Indexes\_Address\_P2pk33 + +Defined in: [Developer/brk/modules/brk-client/index.js:4386](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4386) + +## Properties + +### identity + +> **identity**: [`MetricPattern18`](../type-aliases/MetricPattern18.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4387](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4387) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pk65.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pk65.md new file mode 100644 index 000000000..8e781c87c --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pk65.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2pk65 + +# Interface: CatalogTree\_Indexes\_Address\_P2pk65 + +Defined in: [Developer/brk/modules/brk-client/index.js:4391](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4391) + +## Properties + +### identity + +> **identity**: [`MetricPattern19`](../type-aliases/MetricPattern19.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4392](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4392) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pkh.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pkh.md new file mode 100644 index 000000000..8d60c735a --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2pkh.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2pkh + +# Interface: CatalogTree\_Indexes\_Address\_P2pkh + +Defined in: [Developer/brk/modules/brk-client/index.js:4396](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4396) + +## Properties + +### identity + +> **identity**: [`MetricPattern20`](../type-aliases/MetricPattern20.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4397](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4397) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2sh.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2sh.md new file mode 100644 index 000000000..338b9e085 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2sh.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2sh + +# Interface: CatalogTree\_Indexes\_Address\_P2sh + +Defined in: [Developer/brk/modules/brk-client/index.js:4401](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4401) + +## Properties + +### identity + +> **identity**: [`MetricPattern21`](../type-aliases/MetricPattern21.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4402](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4402) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2tr.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2tr.md new file mode 100644 index 000000000..bb665d1d0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2tr.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2tr + +# Interface: CatalogTree\_Indexes\_Address\_P2tr + +Defined in: [Developer/brk/modules/brk-client/index.js:4406](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4406) + +## Properties + +### identity + +> **identity**: [`MetricPattern22`](../type-aliases/MetricPattern22.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4407](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4407) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2wpkh.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2wpkh.md new file mode 100644 index 000000000..36fecf966 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2wpkh.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2wpkh + +# Interface: CatalogTree\_Indexes\_Address\_P2wpkh + +Defined in: [Developer/brk/modules/brk-client/index.js:4411](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4411) + +## Properties + +### identity + +> **identity**: [`MetricPattern23`](../type-aliases/MetricPattern23.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4412](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4412) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2wsh.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2wsh.md new file mode 100644 index 000000000..295e025d6 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_P2wsh.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_P2wsh + +# Interface: CatalogTree\_Indexes\_Address\_P2wsh + +Defined in: [Developer/brk/modules/brk-client/index.js:4416](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4416) + +## Properties + +### identity + +> **identity**: [`MetricPattern24`](../type-aliases/MetricPattern24.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4417](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4417) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Unknown.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Unknown.md new file mode 100644 index 000000000..3d13e78ef --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Address_Unknown.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Address\_Unknown + +# Interface: CatalogTree\_Indexes\_Address\_Unknown + +Defined in: [Developer/brk/modules/brk-client/index.js:4421](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4421) + +## Properties + +### identity + +> **identity**: [`MetricPattern28`](../type-aliases/MetricPattern28.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4422](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4422) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Dateindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Dateindex.md new file mode 100644 index 000000000..8cdf626e4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Dateindex.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Dateindex + +# Interface: CatalogTree\_Indexes\_Dateindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4426](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4426) + +## Properties + +### date + +> **date**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4427](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4427) + +*** + +### firstHeight + +> **firstHeight**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4428](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4428) + +*** + +### heightCount + +> **heightCount**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4429](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4429) + +*** + +### identity + +> **identity**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4430](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4430) + +*** + +### monthindex + +> **monthindex**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4431](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4431) + +*** + +### weekindex + +> **weekindex**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4432](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4432) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Decadeindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Decadeindex.md new file mode 100644 index 000000000..65e2ef484 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Decadeindex.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Decadeindex + +# Interface: CatalogTree\_Indexes\_Decadeindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4436](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4436) + +## Properties + +### firstYearindex + +> **firstYearindex**: [`MetricPattern7`](../type-aliases/MetricPattern7.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4437](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4437) + +*** + +### identity + +> **identity**: [`MetricPattern7`](../type-aliases/MetricPattern7.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4438](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4438) + +*** + +### yearindexCount + +> **yearindexCount**: [`MetricPattern7`](../type-aliases/MetricPattern7.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4439](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4439) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Difficultyepoch.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Difficultyepoch.md new file mode 100644 index 000000000..3770cb5b8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Difficultyepoch.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Difficultyepoch + +# Interface: CatalogTree\_Indexes\_Difficultyepoch + +Defined in: [Developer/brk/modules/brk-client/index.js:4443](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4443) + +## Properties + +### firstHeight + +> **firstHeight**: [`MetricPattern8`](../type-aliases/MetricPattern8.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4444](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4444) + +*** + +### heightCount + +> **heightCount**: [`MetricPattern8`](../type-aliases/MetricPattern8.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4445](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4445) + +*** + +### identity + +> **identity**: [`MetricPattern8`](../type-aliases/MetricPattern8.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4446](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4446) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Halvingepoch.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Halvingepoch.md new file mode 100644 index 000000000..284e9c83c --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Halvingepoch.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Halvingepoch + +# Interface: CatalogTree\_Indexes\_Halvingepoch + +Defined in: [Developer/brk/modules/brk-client/index.js:4450](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4450) + +## Properties + +### firstHeight + +> **firstHeight**: [`MetricPattern10`](../type-aliases/MetricPattern10.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4451](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4451) + +*** + +### identity + +> **identity**: [`MetricPattern10`](../type-aliases/MetricPattern10.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4452](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4452) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Height.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Height.md new file mode 100644 index 000000000..48e82b2cd --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Height.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Height + +# Interface: CatalogTree\_Indexes\_Height + +Defined in: [Developer/brk/modules/brk-client/index.js:4456](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4456) + +## Properties + +### dateindex + +> **dateindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4457](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4457) + +*** + +### difficultyepoch + +> **difficultyepoch**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4458](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4458) + +*** + +### halvingepoch + +> **halvingepoch**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4459](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4459) + +*** + +### identity + +> **identity**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4460](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4460) + +*** + +### txindexCount + +> **txindexCount**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4461](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4461) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Monthindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Monthindex.md new file mode 100644 index 000000000..e3ff2f485 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Monthindex.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Monthindex + +# Interface: CatalogTree\_Indexes\_Monthindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4465](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4465) + +## Properties + +### dateindexCount + +> **dateindexCount**: [`MetricPattern13`](../type-aliases/MetricPattern13.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4466](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4466) + +*** + +### firstDateindex + +> **firstDateindex**: [`MetricPattern13`](../type-aliases/MetricPattern13.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4467](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4467) + +*** + +### identity + +> **identity**: [`MetricPattern13`](../type-aliases/MetricPattern13.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4468](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4468) + +*** + +### quarterindex + +> **quarterindex**: [`MetricPattern13`](../type-aliases/MetricPattern13.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4469](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4469) + +*** + +### semesterindex + +> **semesterindex**: [`MetricPattern13`](../type-aliases/MetricPattern13.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4470](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4470) + +*** + +### yearindex + +> **yearindex**: [`MetricPattern13`](../type-aliases/MetricPattern13.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4471](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4471) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Quarterindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Quarterindex.md new file mode 100644 index 000000000..965f084c9 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Quarterindex.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Quarterindex + +# Interface: CatalogTree\_Indexes\_Quarterindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4475](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4475) + +## Properties + +### firstMonthindex + +> **firstMonthindex**: [`MetricPattern25`](../type-aliases/MetricPattern25.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4476](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4476) + +*** + +### identity + +> **identity**: [`MetricPattern25`](../type-aliases/MetricPattern25.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4477](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4477) + +*** + +### monthindexCount + +> **monthindexCount**: [`MetricPattern25`](../type-aliases/MetricPattern25.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4478](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4478) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Semesterindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Semesterindex.md new file mode 100644 index 000000000..1c0dc85d0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Semesterindex.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Semesterindex + +# Interface: CatalogTree\_Indexes\_Semesterindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4482](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4482) + +## Properties + +### firstMonthindex + +> **firstMonthindex**: [`MetricPattern26`](../type-aliases/MetricPattern26.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4483](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4483) + +*** + +### identity + +> **identity**: [`MetricPattern26`](../type-aliases/MetricPattern26.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4484](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4484) + +*** + +### monthindexCount + +> **monthindexCount**: [`MetricPattern26`](../type-aliases/MetricPattern26.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4485](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4485) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txindex.md new file mode 100644 index 000000000..d26eeda27 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txindex.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Txindex + +# Interface: CatalogTree\_Indexes\_Txindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4489](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4489) + +## Properties + +### identity + +> **identity**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4490](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4490) + +*** + +### inputCount + +> **inputCount**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4491](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4491) + +*** + +### outputCount + +> **outputCount**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4492](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4492) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txinindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txinindex.md new file mode 100644 index 000000000..6398b423a --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txinindex.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Txinindex + +# Interface: CatalogTree\_Indexes\_Txinindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4496](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4496) + +## Properties + +### identity + +> **identity**: [`MetricPattern12`](../type-aliases/MetricPattern12.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4497](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4497) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txoutindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txoutindex.md new file mode 100644 index 000000000..23fcf7b3f --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Txoutindex.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Txoutindex + +# Interface: CatalogTree\_Indexes\_Txoutindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4501](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4501) + +## Properties + +### identity + +> **identity**: [`MetricPattern15`](../type-aliases/MetricPattern15.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4502](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4502) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Weekindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Weekindex.md new file mode 100644 index 000000000..5ed7286f4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Weekindex.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Weekindex + +# Interface: CatalogTree\_Indexes\_Weekindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4506](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4506) + +## Properties + +### dateindexCount + +> **dateindexCount**: [`MetricPattern29`](../type-aliases/MetricPattern29.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4507](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4507) + +*** + +### firstDateindex + +> **firstDateindex**: [`MetricPattern29`](../type-aliases/MetricPattern29.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4508](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4508) + +*** + +### identity + +> **identity**: [`MetricPattern29`](../type-aliases/MetricPattern29.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4509](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4509) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Yearindex.md b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Yearindex.md new file mode 100644 index 000000000..8b9bdb817 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Indexes_Yearindex.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Indexes\_Yearindex + +# Interface: CatalogTree\_Indexes\_Yearindex + +Defined in: [Developer/brk/modules/brk-client/index.js:4513](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4513) + +## Properties + +### decadeindex + +> **decadeindex**: [`MetricPattern30`](../type-aliases/MetricPattern30.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4514](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4514) + +*** + +### firstMonthindex + +> **firstMonthindex**: [`MetricPattern30`](../type-aliases/MetricPattern30.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4515](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4515) + +*** + +### identity + +> **identity**: [`MetricPattern30`](../type-aliases/MetricPattern30.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4516](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4516) + +*** + +### monthindexCount + +> **monthindexCount**: [`MetricPattern30`](../type-aliases/MetricPattern30.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4517](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4517) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Inputs.md b/modules/brk-client/docs/interfaces/CatalogTree_Inputs.md new file mode 100644 index 000000000..319ab8e8d --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Inputs.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Inputs + +# Interface: CatalogTree\_Inputs + +Defined in: [Developer/brk/modules/brk-client/index.js:4521](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4521) + +## Properties + +### count + +> **count**: [`CountPattern2`](CountPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4522](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4522) + +*** + +### firstTxinindex + +> **firstTxinindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4523](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4523) + +*** + +### outpoint + +> **outpoint**: [`MetricPattern12`](../type-aliases/MetricPattern12.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4524](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4524) + +*** + +### outputtype + +> **outputtype**: [`MetricPattern12`](../type-aliases/MetricPattern12.md)\<[`OutputType`](../type-aliases/OutputType.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4525](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4525) + +*** + +### spent + +> **spent**: [`CatalogTree_Inputs_Spent`](CatalogTree_Inputs_Spent.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4526](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4526) + +*** + +### txindex + +> **txindex**: [`MetricPattern12`](../type-aliases/MetricPattern12.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4527](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4527) + +*** + +### typeindex + +> **typeindex**: [`MetricPattern12`](../type-aliases/MetricPattern12.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4528](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4528) + +*** + +### witnessSize + +> **witnessSize**: [`MetricPattern12`](../type-aliases/MetricPattern12.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4529](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4529) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Inputs_Spent.md b/modules/brk-client/docs/interfaces/CatalogTree_Inputs_Spent.md new file mode 100644 index 000000000..602b2b99b --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Inputs_Spent.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Inputs\_Spent + +# Interface: CatalogTree\_Inputs\_Spent + +Defined in: [Developer/brk/modules/brk-client/index.js:4533](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4533) + +## Properties + +### txoutindex + +> **txoutindex**: [`MetricPattern12`](../type-aliases/MetricPattern12.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4534](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4534) + +*** + +### value + +> **value**: [`MetricPattern12`](../type-aliases/MetricPattern12.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4535](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4535) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market.md b/modules/brk-client/docs/interfaces/CatalogTree_Market.md new file mode 100644 index 000000000..23d3e06d5 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market + +# Interface: CatalogTree\_Market + +Defined in: [Developer/brk/modules/brk-client/index.js:4539](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4539) + +## Properties + +### ath + +> **ath**: [`CatalogTree_Market_Ath`](CatalogTree_Market_Ath.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4540](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4540) + +*** + +### dca + +> **dca**: [`CatalogTree_Market_Dca`](CatalogTree_Market_Dca.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4541](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4541) + +*** + +### indicators + +> **indicators**: [`CatalogTree_Market_Indicators`](CatalogTree_Market_Indicators.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4542](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4542) + +*** + +### lookback + +> **lookback**: [`CatalogTree_Market_Lookback`](CatalogTree_Market_Lookback.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4543](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4543) + +*** + +### movingAverage + +> **movingAverage**: [`CatalogTree_Market_MovingAverage`](CatalogTree_Market_MovingAverage.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4544](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4544) + +*** + +### range + +> **range**: [`CatalogTree_Market_Range`](CatalogTree_Market_Range.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4545](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4545) + +*** + +### returns + +> **returns**: [`CatalogTree_Market_Returns`](CatalogTree_Market_Returns.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4546](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4546) + +*** + +### volatility + +> **volatility**: [`CatalogTree_Market_Volatility`](CatalogTree_Market_Volatility.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4547](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4547) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Ath.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Ath.md new file mode 100644 index 000000000..ba44355d0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Ath.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Ath + +# Interface: CatalogTree\_Market\_Ath + +Defined in: [Developer/brk/modules/brk-client/index.js:4551](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4551) + +## Properties + +### daysSincePriceAth + +> **daysSincePriceAth**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4552](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4552) + +*** + +### maxDaysBetweenPriceAths + +> **maxDaysBetweenPriceAths**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4553](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4553) + +*** + +### maxYearsBetweenPriceAths + +> **maxYearsBetweenPriceAths**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4554](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4554) + +*** + +### priceAth + +> **priceAth**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4555](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4555) + +*** + +### priceDrawdown + +> **priceDrawdown**: [`MetricPattern3`](../type-aliases/MetricPattern3.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4556](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4556) + +*** + +### yearsSincePriceAth + +> **yearsSincePriceAth**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4557](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4557) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca.md new file mode 100644 index 000000000..a6b5a2a54 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Dca + +# Interface: CatalogTree\_Market\_Dca + +Defined in: [Developer/brk/modules/brk-client/index.js:4561](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4561) + +## Properties + +### classAveragePrice + +> **classAveragePrice**: [`CatalogTree_Market_Dca_ClassAveragePrice`](CatalogTree_Market_Dca_ClassAveragePrice.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4562](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4562) + +*** + +### classReturns + +> **classReturns**: [`CatalogTree_Market_Dca_ClassReturns`](CatalogTree_Market_Dca_ClassReturns.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4563](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4563) + +*** + +### classStack + +> **classStack**: [`CatalogTree_Market_Dca_ClassStack`](CatalogTree_Market_Dca_ClassStack.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4564](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4564) + +*** + +### periodAveragePrice + +> **periodAveragePrice**: [`PeriodAveragePricePattern`](PeriodAveragePricePattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4565](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4565) + +*** + +### periodCagr + +> **periodCagr**: [`PeriodCagrPattern`](PeriodCagrPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4566](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4566) + +*** + +### periodLumpSumStack + +> **periodLumpSumStack**: [`PeriodLumpSumStackPattern`](PeriodLumpSumStackPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4567](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4567) + +*** + +### periodReturns + +> **periodReturns**: [`PeriodAveragePricePattern`](PeriodAveragePricePattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4568](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4568) + +*** + +### periodStack + +> **periodStack**: [`PeriodLumpSumStackPattern`](PeriodLumpSumStackPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4569](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4569) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassAveragePrice.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassAveragePrice.md new file mode 100644 index 000000000..ce5ccf8c9 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassAveragePrice.md @@ -0,0 +1,97 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Dca\_ClassAveragePrice + +# Interface: CatalogTree\_Market\_Dca\_ClassAveragePrice + +Defined in: [Developer/brk/modules/brk-client/index.js:4573](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4573) + +## Properties + +### \_2015 + +> **\_2015**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4574](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4574) + +*** + +### \_2016 + +> **\_2016**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4575](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4575) + +*** + +### \_2017 + +> **\_2017**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4576](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4576) + +*** + +### \_2018 + +> **\_2018**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4577](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4577) + +*** + +### \_2019 + +> **\_2019**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4578](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4578) + +*** + +### \_2020 + +> **\_2020**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4579](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4579) + +*** + +### \_2021 + +> **\_2021**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4580](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4580) + +*** + +### \_2022 + +> **\_2022**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4581](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4581) + +*** + +### \_2023 + +> **\_2023**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4582](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4582) + +*** + +### \_2024 + +> **\_2024**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4583](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4583) + +*** + +### \_2025 + +> **\_2025**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4584](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4584) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassReturns.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassReturns.md new file mode 100644 index 000000000..e75c1ae2c --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassReturns.md @@ -0,0 +1,97 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Dca\_ClassReturns + +# Interface: CatalogTree\_Market\_Dca\_ClassReturns + +Defined in: [Developer/brk/modules/brk-client/index.js:4588](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4588) + +## Properties + +### \_2015 + +> **\_2015**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4589](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4589) + +*** + +### \_2016 + +> **\_2016**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4590](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4590) + +*** + +### \_2017 + +> **\_2017**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4591](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4591) + +*** + +### \_2018 + +> **\_2018**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4592](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4592) + +*** + +### \_2019 + +> **\_2019**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4593](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4593) + +*** + +### \_2020 + +> **\_2020**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4594](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4594) + +*** + +### \_2021 + +> **\_2021**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4595](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4595) + +*** + +### \_2022 + +> **\_2022**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4596](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4596) + +*** + +### \_2023 + +> **\_2023**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4597](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4597) + +*** + +### \_2024 + +> **\_2024**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4598](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4598) + +*** + +### \_2025 + +> **\_2025**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4599](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4599) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassStack.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassStack.md new file mode 100644 index 000000000..61623c3b1 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Dca_ClassStack.md @@ -0,0 +1,97 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Dca\_ClassStack + +# Interface: CatalogTree\_Market\_Dca\_ClassStack + +Defined in: [Developer/brk/modules/brk-client/index.js:4603](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4603) + +## Properties + +### \_2015 + +> **\_2015**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4604](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4604) + +*** + +### \_2016 + +> **\_2016**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4605](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4605) + +*** + +### \_2017 + +> **\_2017**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4606](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4606) + +*** + +### \_2018 + +> **\_2018**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4607](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4607) + +*** + +### \_2019 + +> **\_2019**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4608](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4608) + +*** + +### \_2020 + +> **\_2020**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4609](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4609) + +*** + +### \_2021 + +> **\_2021**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4610](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4610) + +*** + +### \_2022 + +> **\_2022**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4611](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4611) + +*** + +### \_2023 + +> **\_2023**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4612](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4612) + +*** + +### \_2024 + +> **\_2024**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4613](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4613) + +*** + +### \_2025 + +> **\_2025**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4614](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4614) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Indicators.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Indicators.md new file mode 100644 index 000000000..e70cb06bf --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Indicators.md @@ -0,0 +1,161 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Indicators + +# Interface: CatalogTree\_Market\_Indicators + +Defined in: [Developer/brk/modules/brk-client/index.js:4618](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4618) + +## Properties + +### gini + +> **gini**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4619](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4619) + +*** + +### macdHistogram + +> **macdHistogram**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4620](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4620) + +*** + +### macdLine + +> **macdLine**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4621](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4621) + +*** + +### macdSignal + +> **macdSignal**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4622](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4622) + +*** + +### nvt + +> **nvt**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4623](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4623) + +*** + +### piCycle + +> **piCycle**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4624](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4624) + +*** + +### puellMultiple + +> **puellMultiple**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4625](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4625) + +*** + +### rsi14d + +> **rsi14d**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4626](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4626) + +*** + +### rsi14dMax + +> **rsi14dMax**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4627](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4627) + +*** + +### rsi14dMin + +> **rsi14dMin**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4628](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4628) + +*** + +### rsiAverageGain14d + +> **rsiAverageGain14d**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4629](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4629) + +*** + +### rsiAverageLoss14d + +> **rsiAverageLoss14d**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4630](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4630) + +*** + +### rsiGains + +> **rsiGains**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4631](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4631) + +*** + +### rsiLosses + +> **rsiLosses**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4632](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4632) + +*** + +### stochD + +> **stochD**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4633](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4633) + +*** + +### stochK + +> **stochK**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4634](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4634) + +*** + +### stochRsi + +> **stochRsi**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4635](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4635) + +*** + +### stochRsiD + +> **stochRsiD**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4636](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4636) + +*** + +### stochRsiK + +> **stochRsiK**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4637](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4637) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Lookback.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Lookback.md new file mode 100644 index 000000000..4d543aa0b --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Lookback.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Lookback + +# Interface: CatalogTree\_Market\_Lookback + +Defined in: [Developer/brk/modules/brk-client/index.js:4641](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4641) + +## Properties + +### priceAgo + +> **priceAgo**: [`CatalogTree_Market_Lookback_PriceAgo`](CatalogTree_Market_Lookback_PriceAgo.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4642](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4642) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Lookback_PriceAgo.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Lookback_PriceAgo.md new file mode 100644 index 000000000..5aa3dc3d4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Lookback_PriceAgo.md @@ -0,0 +1,113 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Lookback\_PriceAgo + +# Interface: CatalogTree\_Market\_Lookback\_PriceAgo + +Defined in: [Developer/brk/modules/brk-client/index.js:4646](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4646) + +## Properties + +### \_10y + +> **\_10y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4647](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4647) + +*** + +### \_1d + +> **\_1d**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4648](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4648) + +*** + +### \_1m + +> **\_1m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4649](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4649) + +*** + +### \_1w + +> **\_1w**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4650](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4650) + +*** + +### \_1y + +> **\_1y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4651](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4651) + +*** + +### \_2y + +> **\_2y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4652](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4652) + +*** + +### \_3m + +> **\_3m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4653](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4653) + +*** + +### \_3y + +> **\_3y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4654](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4654) + +*** + +### \_4y + +> **\_4y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4655](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4655) + +*** + +### \_5y + +> **\_5y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4656](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4656) + +*** + +### \_6m + +> **\_6m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4657](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4657) + +*** + +### \_6y + +> **\_6y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4658](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4658) + +*** + +### \_8y + +> **\_8y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4659](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4659) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_MovingAverage.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_MovingAverage.md new file mode 100644 index 000000000..df035bf95 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_MovingAverage.md @@ -0,0 +1,289 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_MovingAverage + +# Interface: CatalogTree\_Market\_MovingAverage + +Defined in: [Developer/brk/modules/brk-client/index.js:4663](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4663) + +## Properties + +### price111dSma + +> **price111dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4664](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4664) + +*** + +### price12dEma + +> **price12dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4665](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4665) + +*** + +### price13dEma + +> **price13dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4666](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4666) + +*** + +### price13dSma + +> **price13dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4667](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4667) + +*** + +### price144dEma + +> **price144dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4668](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4668) + +*** + +### price144dSma + +> **price144dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4669](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4669) + +*** + +### price1mEma + +> **price1mEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4670](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4670) + +*** + +### price1mSma + +> **price1mSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4671](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4671) + +*** + +### price1wEma + +> **price1wEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4672](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4672) + +*** + +### price1wSma + +> **price1wSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4673](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4673) + +*** + +### price1yEma + +> **price1yEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4674](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4674) + +*** + +### price1ySma + +> **price1ySma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4675](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4675) + +*** + +### price200dEma + +> **price200dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4676](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4676) + +*** + +### price200dSma + +> **price200dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4677](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4677) + +*** + +### price200dSmaX08 + +> **price200dSmaX08**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4678](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4678) + +*** + +### price200dSmaX24 + +> **price200dSmaX24**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4679](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4679) + +*** + +### price200wEma + +> **price200wEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4680](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4680) + +*** + +### price200wSma + +> **price200wSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4681](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4681) + +*** + +### price21dEma + +> **price21dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4682](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4682) + +*** + +### price21dSma + +> **price21dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4683](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4683) + +*** + +### price26dEma + +> **price26dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4684](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4684) + +*** + +### price2yEma + +> **price2yEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4685](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4685) + +*** + +### price2ySma + +> **price2ySma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4686](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4686) + +*** + +### price34dEma + +> **price34dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4687](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4687) + +*** + +### price34dSma + +> **price34dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4688](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4688) + +*** + +### price350dSma + +> **price350dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4689](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4689) + +*** + +### price350dSmaX2 + +> **price350dSmaX2**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4690](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4690) + +*** + +### price4yEma + +> **price4yEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4691](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4691) + +*** + +### price4ySma + +> **price4ySma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4692](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4692) + +*** + +### price55dEma + +> **price55dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4693](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4693) + +*** + +### price55dSma + +> **price55dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4694](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4694) + +*** + +### price89dEma + +> **price89dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4695](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4695) + +*** + +### price89dSma + +> **price89dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4696](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4696) + +*** + +### price8dEma + +> **price8dEma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4697](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4697) + +*** + +### price8dSma + +> **price8dSma**: [`Price111dSmaPattern`](Price111dSmaPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4698](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4698) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Range.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Range.md new file mode 100644 index 000000000..b97bd1b6a --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Range.md @@ -0,0 +1,97 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Range + +# Interface: CatalogTree\_Market\_Range + +Defined in: [Developer/brk/modules/brk-client/index.js:4702](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4702) + +## Properties + +### price1mMax + +> **price1mMax**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4703](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4703) + +*** + +### price1mMin + +> **price1mMin**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4704](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4704) + +*** + +### price1wMax + +> **price1wMax**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4705](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4705) + +*** + +### price1wMin + +> **price1wMin**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4706](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4706) + +*** + +### price1yMax + +> **price1yMax**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4707](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4707) + +*** + +### price1yMin + +> **price1yMin**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4708](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4708) + +*** + +### price2wChoppinessIndex + +> **price2wChoppinessIndex**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4709](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4709) + +*** + +### price2wMax + +> **price2wMax**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4710](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4710) + +*** + +### price2wMin + +> **price2wMin**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4711](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4711) + +*** + +### priceTrueRange + +> **priceTrueRange**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4712](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4712) + +*** + +### priceTrueRange2wSum + +> **priceTrueRange2wSum**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4713](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4713) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Returns.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Returns.md new file mode 100644 index 000000000..266d1e1f5 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Returns.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Returns + +# Interface: CatalogTree\_Market\_Returns + +Defined in: [Developer/brk/modules/brk-client/index.js:4717](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4717) + +## Properties + +### \_1dReturns1mSd + +> **\_1dReturns1mSd**: [`_1dReturns1mSdPattern`](1dReturns1mSdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4718](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4718) + +*** + +### \_1dReturns1wSd + +> **\_1dReturns1wSd**: [`_1dReturns1mSdPattern`](1dReturns1mSdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4719](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4719) + +*** + +### \_1dReturns1ySd + +> **\_1dReturns1ySd**: [`_1dReturns1mSdPattern`](1dReturns1mSdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4720](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4720) + +*** + +### cagr + +> **cagr**: [`PeriodCagrPattern`](PeriodCagrPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4721](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4721) + +*** + +### downside1mSd + +> **downside1mSd**: [`_1dReturns1mSdPattern`](1dReturns1mSdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4722](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4722) + +*** + +### downside1wSd + +> **downside1wSd**: [`_1dReturns1mSdPattern`](1dReturns1mSdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4723](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4723) + +*** + +### downside1ySd + +> **downside1ySd**: [`_1dReturns1mSdPattern`](1dReturns1mSdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4724](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4724) + +*** + +### downsideReturns + +> **downsideReturns**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4725](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4725) + +*** + +### priceReturns + +> **priceReturns**: [`CatalogTree_Market_Returns_PriceReturns`](CatalogTree_Market_Returns_PriceReturns.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4726](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4726) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Returns_PriceReturns.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Returns_PriceReturns.md new file mode 100644 index 000000000..da37fdc8e --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Returns_PriceReturns.md @@ -0,0 +1,113 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Returns\_PriceReturns + +# Interface: CatalogTree\_Market\_Returns\_PriceReturns + +Defined in: [Developer/brk/modules/brk-client/index.js:4730](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4730) + +## Properties + +### \_10y + +> **\_10y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4731](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4731) + +*** + +### \_1d + +> **\_1d**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4732](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4732) + +*** + +### \_1m + +> **\_1m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4733](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4733) + +*** + +### \_1w + +> **\_1w**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4734](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4734) + +*** + +### \_1y + +> **\_1y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4735](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4735) + +*** + +### \_2y + +> **\_2y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4736](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4736) + +*** + +### \_3m + +> **\_3m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4737](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4737) + +*** + +### \_3y + +> **\_3y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4738](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4738) + +*** + +### \_4y + +> **\_4y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4739](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4739) + +*** + +### \_5y + +> **\_5y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4740](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4740) + +*** + +### \_6m + +> **\_6m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4741](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4741) + +*** + +### \_6y + +> **\_6y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4742](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4742) + +*** + +### \_8y + +> **\_8y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4743](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4743) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Market_Volatility.md b/modules/brk-client/docs/interfaces/CatalogTree_Market_Volatility.md new file mode 100644 index 000000000..c33b94882 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Market_Volatility.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Market\_Volatility + +# Interface: CatalogTree\_Market\_Volatility + +Defined in: [Developer/brk/modules/brk-client/index.js:4747](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4747) + +## Properties + +### price1mVolatility + +> **price1mVolatility**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4748](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4748) + +*** + +### price1wVolatility + +> **price1wVolatility**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4749](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4749) + +*** + +### price1yVolatility + +> **price1yVolatility**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4750](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4750) + +*** + +### sharpe1m + +> **sharpe1m**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4751](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4751) + +*** + +### sharpe1w + +> **sharpe1w**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4752](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4752) + +*** + +### sharpe1y + +> **sharpe1y**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4753](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4753) + +*** + +### sortino1m + +> **sortino1m**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4754](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4754) + +*** + +### sortino1w + +> **sortino1w**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4755](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4755) + +*** + +### sortino1y + +> **sortino1y**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4756](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4756) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Outputs.md b/modules/brk-client/docs/interfaces/CatalogTree_Outputs.md new file mode 100644 index 000000000..09edcd563 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Outputs.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Outputs + +# Interface: CatalogTree\_Outputs + +Defined in: [Developer/brk/modules/brk-client/index.js:4760](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4760) + +## Properties + +### count + +> **count**: [`CatalogTree_Outputs_Count`](CatalogTree_Outputs_Count.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4761](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4761) + +*** + +### firstTxoutindex + +> **firstTxoutindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4762](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4762) + +*** + +### outputtype + +> **outputtype**: [`MetricPattern15`](../type-aliases/MetricPattern15.md)\<[`OutputType`](../type-aliases/OutputType.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4763](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4763) + +*** + +### spent + +> **spent**: [`CatalogTree_Outputs_Spent`](CatalogTree_Outputs_Spent.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4764](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4764) + +*** + +### txindex + +> **txindex**: [`MetricPattern15`](../type-aliases/MetricPattern15.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4765](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4765) + +*** + +### typeindex + +> **typeindex**: [`MetricPattern15`](../type-aliases/MetricPattern15.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4766](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4766) + +*** + +### value + +> **value**: [`MetricPattern15`](../type-aliases/MetricPattern15.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4767](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4767) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Outputs_Count.md b/modules/brk-client/docs/interfaces/CatalogTree_Outputs_Count.md new file mode 100644 index 000000000..ae2ae64a0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Outputs_Count.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Outputs\_Count + +# Interface: CatalogTree\_Outputs\_Count + +Defined in: [Developer/brk/modules/brk-client/index.js:4771](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4771) + +## Properties + +### totalCount + +> **totalCount**: [`CountPattern2`](CountPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4772](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4772) + +*** + +### utxoCount + +> **utxoCount**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4773](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4773) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Outputs_Spent.md b/modules/brk-client/docs/interfaces/CatalogTree_Outputs_Spent.md new file mode 100644 index 000000000..87f34976e --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Outputs_Spent.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Outputs\_Spent + +# Interface: CatalogTree\_Outputs\_Spent + +Defined in: [Developer/brk/modules/brk-client/index.js:4777](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4777) + +## Properties + +### txinindex + +> **txinindex**: [`MetricPattern15`](../type-aliases/MetricPattern15.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4778](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4778) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Pools.md b/modules/brk-client/docs/interfaces/CatalogTree_Pools.md new file mode 100644 index 000000000..bbcef3eec --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Pools.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Pools + +# Interface: CatalogTree\_Pools + +Defined in: [Developer/brk/modules/brk-client/index.js:4782](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4782) + +## Properties + +### heightToPool + +> **heightToPool**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<[`PoolSlug`](../type-aliases/PoolSlug.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4783](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4783) + +*** + +### vecs + +> **vecs**: [`CatalogTree_Pools_Vecs`](CatalogTree_Pools_Vecs.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4784](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4784) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Pools_Vecs.md b/modules/brk-client/docs/interfaces/CatalogTree_Pools_Vecs.md new file mode 100644 index 000000000..aa65d9a74 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Pools_Vecs.md @@ -0,0 +1,1273 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Pools\_Vecs + +# Interface: CatalogTree\_Pools\_Vecs + +Defined in: [Developer/brk/modules/brk-client/index.js:4788](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4788) + +## Properties + +### aaopool + +> **aaopool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4789](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4789) + +*** + +### antpool + +> **antpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4790](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4790) + +*** + +### arkpool + +> **arkpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4791](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4791) + +*** + +### asicminer + +> **asicminer**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4792](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4792) + +*** + +### axbt + +> **axbt**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4793](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4793) + +*** + +### batpool + +> **batpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4794](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4794) + +*** + +### bcmonster + +> **bcmonster**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4795](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4795) + +*** + +### bcpoolio + +> **bcpoolio**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4796](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4796) + +*** + +### binancepool + +> **binancepool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4797](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4797) + +*** + +### bitalo + +> **bitalo**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4798](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4798) + +*** + +### bitclub + +> **bitclub**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4799](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4799) + +*** + +### bitcoinaffiliatenetwork + +> **bitcoinaffiliatenetwork**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4800](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4800) + +*** + +### bitcoincom + +> **bitcoincom**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4801](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4801) + +*** + +### bitcoinindia + +> **bitcoinindia**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4802](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4802) + +*** + +### bitcoinrussia + +> **bitcoinrussia**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4803](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4803) + +*** + +### bitcoinukraine + +> **bitcoinukraine**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4804](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4804) + +*** + +### bitfarms + +> **bitfarms**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4805](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4805) + +*** + +### bitfufupool + +> **bitfufupool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4806](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4806) + +*** + +### bitfury + +> **bitfury**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4807](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4807) + +*** + +### bitminter + +> **bitminter**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4808](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4808) + +*** + +### bitparking + +> **bitparking**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4809](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4809) + +*** + +### bitsolo + +> **bitsolo**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4810](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4810) + +*** + +### bixin + +> **bixin**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4811](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4811) + +*** + +### blockfills + +> **blockfills**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4812](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4812) + +*** + +### braiinspool + +> **braiinspool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4813](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4813) + +*** + +### bravomining + +> **bravomining**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4814](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4814) + +*** + +### btcc + +> **btcc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4815](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4815) + +*** + +### btccom + +> **btccom**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4816](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4816) + +*** + +### btcdig + +> **btcdig**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4817](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4817) + +*** + +### btcguild + +> **btcguild**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4818](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4818) + +*** + +### btclab + +> **btclab**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4819](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4819) + +*** + +### btcmp + +> **btcmp**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4820](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4820) + +*** + +### btcnuggets + +> **btcnuggets**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4821](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4821) + +*** + +### btcpoolparty + +> **btcpoolparty**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4822](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4822) + +*** + +### btcserv + +> **btcserv**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4823](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4823) + +*** + +### btctop + +> **btctop**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4824](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4824) + +*** + +### btpool + +> **btpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4825](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4825) + +*** + +### bwpool + +> **bwpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4826](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4826) + +*** + +### bytepool + +> **bytepool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4827](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4827) + +*** + +### canoe + +> **canoe**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4828](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4828) + +*** + +### canoepool + +> **canoepool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4829](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4829) + +*** + +### carbonnegative + +> **carbonnegative**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4830](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4830) + +*** + +### ckpool + +> **ckpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4831](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4831) + +*** + +### cloudhashing + +> **cloudhashing**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4832](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4832) + +*** + +### coinlab + +> **coinlab**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4833](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4833) + +*** + +### cointerra + +> **cointerra**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4834](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4834) + +*** + +### connectbtc + +> **connectbtc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4835](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4835) + +*** + +### dcex + +> **dcex**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4836](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4836) + +*** + +### dcexploration + +> **dcexploration**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4837](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4837) + +*** + +### digitalbtc + +> **digitalbtc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4838](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4838) + +*** + +### digitalxmintsy + +> **digitalxmintsy**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4839](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4839) + +*** + +### dpool + +> **dpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4840](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4840) + +*** + +### eclipsemc + +> **eclipsemc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4841](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4841) + +*** + +### eightbaochi + +> **eightbaochi**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4842](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4842) + +*** + +### ekanembtc + +> **ekanembtc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4843](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4843) + +*** + +### eligius + +> **eligius**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4844](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4844) + +*** + +### emcdpool + +> **emcdpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4845](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4845) + +*** + +### entrustcharitypool + +> **entrustcharitypool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4846](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4846) + +*** + +### eobot + +> **eobot**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4847](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4847) + +*** + +### exxbw + +> **exxbw**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4848](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4848) + +*** + +### f2pool + +> **f2pool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4849](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4849) + +*** + +### fiftyeightcoin + +> **fiftyeightcoin**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4850](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4850) + +*** + +### foundryusa + +> **foundryusa**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4851](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4851) + +*** + +### futurebitapollosolo + +> **futurebitapollosolo**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4852](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4852) + +*** + +### gbminers + +> **gbminers**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4853](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4853) + +*** + +### ghashio + +> **ghashio**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4854](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4854) + +*** + +### givemecoins + +> **givemecoins**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4855](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4855) + +*** + +### gogreenlight + +> **gogreenlight**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4856](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4856) + +*** + +### haominer + +> **haominer**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4857](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4857) + +*** + +### haozhuzhu + +> **haozhuzhu**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4858](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4858) + +*** + +### hashbx + +> **hashbx**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4859](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4859) + +*** + +### hashpool + +> **hashpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4860](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4860) + +*** + +### helix + +> **helix**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4861](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4861) + +*** + +### hhtt + +> **hhtt**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4862](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4862) + +*** + +### hotpool + +> **hotpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4863](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4863) + +*** + +### hummerpool + +> **hummerpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4864](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4864) + +*** + +### huobipool + +> **huobipool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4865](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4865) + +*** + +### innopolistech + +> **innopolistech**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4866](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4866) + +*** + +### kanopool + +> **kanopool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4867](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4867) + +*** + +### kncminer + +> **kncminer**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4868](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4868) + +*** + +### kucoinpool + +> **kucoinpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4869](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4869) + +*** + +### lubiancom + +> **lubiancom**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4870](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4870) + +*** + +### luckypool + +> **luckypool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4871](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4871) + +*** + +### luxor + +> **luxor**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4872](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4872) + +*** + +### marapool + +> **marapool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4873](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4873) + +*** + +### maxbtc + +> **maxbtc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4874](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4874) + +*** + +### maxipool + +> **maxipool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4875](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4875) + +*** + +### megabigpower + +> **megabigpower**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4876](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4876) + +*** + +### minerium + +> **minerium**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4877](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4877) + +*** + +### miningcity + +> **miningcity**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4878](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4878) + +*** + +### miningdutch + +> **miningdutch**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4879](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4879) + +*** + +### miningkings + +> **miningkings**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4880](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4880) + +*** + +### miningsquared + +> **miningsquared**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4881](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4881) + +*** + +### mmpool + +> **mmpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4882](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4882) + +*** + +### mtred + +> **mtred**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4883](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4883) + +*** + +### multicoinco + +> **multicoinco**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4884](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4884) + +*** + +### multipool + +> **multipool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4885](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4885) + +*** + +### mybtccoinpool + +> **mybtccoinpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4886](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4886) + +*** + +### neopool + +> **neopool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4887](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4887) + +*** + +### nexious + +> **nexious**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4888](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4888) + +*** + +### nicehash + +> **nicehash**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4889](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4889) + +*** + +### nmcbit + +> **nmcbit**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4890](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4890) + +*** + +### novablock + +> **novablock**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4891](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4891) + +*** + +### ocean + +> **ocean**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4892](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4892) + +*** + +### okexpool + +> **okexpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4893](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4893) + +*** + +### okkong + +> **okkong**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4894](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4894) + +*** + +### okminer + +> **okminer**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4895](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4895) + +*** + +### okpooltop + +> **okpooltop**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4896](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4896) + +*** + +### onehash + +> **onehash**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4897](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4897) + +*** + +### onem1x + +> **onem1x**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4898](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4898) + +*** + +### onethash + +> **onethash**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4899](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4899) + +*** + +### ozcoin + +> **ozcoin**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4900](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4900) + +*** + +### parasite + +> **parasite**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4901](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4901) + +*** + +### patels + +> **patels**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4902](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4902) + +*** + +### pegapool + +> **pegapool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4903](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4903) + +*** + +### phashio + +> **phashio**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4904](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4904) + +*** + +### phoenix + +> **phoenix**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4905](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4905) + +*** + +### polmine + +> **polmine**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4906](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4906) + +*** + +### pool175btc + +> **pool175btc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4907](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4907) + +*** + +### pool50btc + +> **pool50btc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4908](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4908) + +*** + +### poolin + +> **poolin**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4909](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4909) + +*** + +### portlandhodl + +> **portlandhodl**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4910](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4910) + +*** + +### publicpool + +> **publicpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4911](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4911) + +*** + +### purebtccom + +> **purebtccom**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4912](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4912) + +*** + +### rawpool + +> **rawpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4913](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4913) + +*** + +### rigpool + +> **rigpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4914](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4914) + +*** + +### sbicrypto + +> **sbicrypto**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4915](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4915) + +*** + +### secpool + +> **secpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4916](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4916) + +*** + +### secretsuperstar + +> **secretsuperstar**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4917](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4917) + +*** + +### sevenpool + +> **sevenpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4918](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4918) + +*** + +### shawnp0wers + +> **shawnp0wers**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4919](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4919) + +*** + +### sigmapoolcom + +> **sigmapoolcom**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4920](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4920) + +*** + +### simplecoinus + +> **simplecoinus**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4921](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4921) + +*** + +### solock + +> **solock**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4922](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4922) + +*** + +### spiderpool + +> **spiderpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4923](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4923) + +*** + +### stminingcorp + +> **stminingcorp**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4924](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4924) + +*** + +### tangpool + +> **tangpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4925](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4925) + +*** + +### tatmaspool + +> **tatmaspool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4926](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4926) + +*** + +### tbdice + +> **tbdice**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4927](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4927) + +*** + +### telco214 + +> **telco214**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4928](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4928) + +*** + +### terrapool + +> **terrapool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4929](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4929) + +*** + +### tiger + +> **tiger**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4930](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4930) + +*** + +### tigerpoolnet + +> **tigerpoolnet**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4931](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4931) + +*** + +### titan + +> **titan**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4932](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4932) + +*** + +### transactioncoinmining + +> **transactioncoinmining**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4933](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4933) + +*** + +### trickysbtcpool + +> **trickysbtcpool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4934](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4934) + +*** + +### triplemining + +> **triplemining**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4935](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4935) + +*** + +### twentyoneinc + +> **twentyoneinc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4936](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4936) + +*** + +### ultimuspool + +> **ultimuspool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4937](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4937) + +*** + +### unknown + +> **unknown**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4938](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4938) + +*** + +### unomp + +> **unomp**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4939](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4939) + +*** + +### viabtc + +> **viabtc**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4940](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4940) + +*** + +### waterhole + +> **waterhole**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4941](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4941) + +*** + +### wayicn + +> **wayicn**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4942](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4942) + +*** + +### whitepool + +> **whitepool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4943](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4943) + +*** + +### wk057 + +> **wk057**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4944](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4944) + +*** + +### yourbtcnet + +> **yourbtcnet**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4945](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4945) + +*** + +### zulupool + +> **zulupool**: [`AaopoolPattern`](AaopoolPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4946](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4946) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Positions.md b/modules/brk-client/docs/interfaces/CatalogTree_Positions.md new file mode 100644 index 000000000..8ed59a8fa --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Positions.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Positions + +# Interface: CatalogTree\_Positions + +Defined in: [Developer/brk/modules/brk-client/index.js:4950](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4950) + +## Properties + +### blockPosition + +> **blockPosition**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4951](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4951) + +*** + +### txPosition + +> **txPosition**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4952](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4952) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Price.md b/modules/brk-client/docs/interfaces/CatalogTree_Price.md new file mode 100644 index 000000000..80f1853f4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Price.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Price + +# Interface: CatalogTree\_Price + +Defined in: [Developer/brk/modules/brk-client/index.js:4956](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4956) + +## Properties + +### cents + +> **cents**: [`CatalogTree_Price_Cents`](CatalogTree_Price_Cents.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4957](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4957) + +*** + +### sats + +> **sats**: [`CatalogTree_Price_Sats`](CatalogTree_Price_Sats.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4958](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4958) + +*** + +### usd + +> **usd**: [`CatalogTree_Price_Usd`](CatalogTree_Price_Usd.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4959](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4959) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Price_Cents.md b/modules/brk-client/docs/interfaces/CatalogTree_Price_Cents.md new file mode 100644 index 000000000..cdbd0c1ac --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Price_Cents.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Price\_Cents + +# Interface: CatalogTree\_Price\_Cents + +Defined in: [Developer/brk/modules/brk-client/index.js:4963](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4963) + +## Properties + +### ohlc + +> **ohlc**: [`MetricPattern5`](../type-aliases/MetricPattern5.md)\<[`OHLCCents`](OHLCCents.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4964](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4964) + +*** + +### split + +> **split**: [`CatalogTree_Price_Cents_Split`](CatalogTree_Price_Cents_Split.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4965](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4965) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Price_Cents_Split.md b/modules/brk-client/docs/interfaces/CatalogTree_Price_Cents_Split.md new file mode 100644 index 000000000..1a72154fd --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Price_Cents_Split.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Price\_Cents\_Split + +# Interface: CatalogTree\_Price\_Cents\_Split + +Defined in: [Developer/brk/modules/brk-client/index.js:4969](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4969) + +## Properties + +### close + +> **close**: [`MetricPattern5`](../type-aliases/MetricPattern5.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4970](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4970) + +*** + +### high + +> **high**: [`MetricPattern5`](../type-aliases/MetricPattern5.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4971](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4971) + +*** + +### low + +> **low**: [`MetricPattern5`](../type-aliases/MetricPattern5.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4972](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4972) + +*** + +### open + +> **open**: [`MetricPattern5`](../type-aliases/MetricPattern5.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4973](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4973) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Price_Sats.md b/modules/brk-client/docs/interfaces/CatalogTree_Price_Sats.md new file mode 100644 index 000000000..f212eb7c3 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Price_Sats.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Price\_Sats + +# Interface: CatalogTree\_Price\_Sats + +Defined in: [Developer/brk/modules/brk-client/index.js:4977](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4977) + +## Properties + +### ohlc + +> **ohlc**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<[`OHLCSats`](OHLCSats.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4978](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4978) + +*** + +### split + +> **split**: [`SplitPattern2`](SplitPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4979](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4979) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Price_Usd.md b/modules/brk-client/docs/interfaces/CatalogTree_Price_Usd.md new file mode 100644 index 000000000..aae116c96 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Price_Usd.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Price\_Usd + +# Interface: CatalogTree\_Price\_Usd + +Defined in: [Developer/brk/modules/brk-client/index.js:4983](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4983) + +## Properties + +### ohlc + +> **ohlc**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<[`OHLCDollars`](OHLCDollars.md)\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4984](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4984) + +*** + +### split + +> **split**: [`SplitPattern2`](SplitPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4985](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4985) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Scripts.md b/modules/brk-client/docs/interfaces/CatalogTree_Scripts.md new file mode 100644 index 000000000..db8202150 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Scripts.md @@ -0,0 +1,89 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Scripts + +# Interface: CatalogTree\_Scripts + +Defined in: [Developer/brk/modules/brk-client/index.js:4989](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4989) + +## Properties + +### count + +> **count**: [`CatalogTree_Scripts_Count`](CatalogTree_Scripts_Count.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4990](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4990) + +*** + +### emptyToTxindex + +> **emptyToTxindex**: [`MetricPattern9`](../type-aliases/MetricPattern9.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4991](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4991) + +*** + +### firstEmptyoutputindex + +> **firstEmptyoutputindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4992](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4992) + +*** + +### firstOpreturnindex + +> **firstOpreturnindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4993](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4993) + +*** + +### firstP2msoutputindex + +> **firstP2msoutputindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4994](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4994) + +*** + +### firstUnknownoutputindex + +> **firstUnknownoutputindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4995](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4995) + +*** + +### opreturnToTxindex + +> **opreturnToTxindex**: [`MetricPattern14`](../type-aliases/MetricPattern14.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4996](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4996) + +*** + +### p2msToTxindex + +> **p2msToTxindex**: [`MetricPattern17`](../type-aliases/MetricPattern17.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4997](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4997) + +*** + +### unknownToTxindex + +> **unknownToTxindex**: [`MetricPattern28`](../type-aliases/MetricPattern28.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:4998](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4998) + +*** + +### value + +> **value**: [`CatalogTree_Scripts_Value`](CatalogTree_Scripts_Value.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:4999](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L4999) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Scripts_Count.md b/modules/brk-client/docs/interfaces/CatalogTree_Scripts_Count.md new file mode 100644 index 000000000..309d954a6 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Scripts_Count.md @@ -0,0 +1,129 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Scripts\_Count + +# Interface: CatalogTree\_Scripts\_Count + +Defined in: [Developer/brk/modules/brk-client/index.js:5003](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5003) + +## Properties + +### emptyoutput + +> **emptyoutput**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5004](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5004) + +*** + +### opreturn + +> **opreturn**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5005](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5005) + +*** + +### p2a + +> **p2a**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5006](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5006) + +*** + +### p2ms + +> **p2ms**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5007](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5007) + +*** + +### p2pk33 + +> **p2pk33**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5008](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5008) + +*** + +### p2pk65 + +> **p2pk65**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5009](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5009) + +*** + +### p2pkh + +> **p2pkh**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5010](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5010) + +*** + +### p2sh + +> **p2sh**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5011](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5011) + +*** + +### p2tr + +> **p2tr**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5012](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5012) + +*** + +### p2wpkh + +> **p2wpkh**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5013](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5013) + +*** + +### p2wsh + +> **p2wsh**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5014](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5014) + +*** + +### segwit + +> **segwit**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5015](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5015) + +*** + +### segwitAdoption + +> **segwitAdoption**: [`SegwitAdoptionPattern`](SegwitAdoptionPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5016](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5016) + +*** + +### taprootAdoption + +> **taprootAdoption**: [`SegwitAdoptionPattern`](SegwitAdoptionPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5017](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5017) + +*** + +### unknownoutput + +> **unknownoutput**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5018](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5018) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Scripts_Value.md b/modules/brk-client/docs/interfaces/CatalogTree_Scripts_Value.md new file mode 100644 index 000000000..b79beb992 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Scripts_Value.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Scripts\_Value + +# Interface: CatalogTree\_Scripts\_Value + +Defined in: [Developer/brk/modules/brk-client/index.js:5022](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5022) + +## Properties + +### opreturn + +> **opreturn**: [`CoinbasePattern`](CoinbasePattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5023](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5023) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Supply.md b/modules/brk-client/docs/interfaces/CatalogTree_Supply.md new file mode 100644 index 000000000..457e31f01 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Supply.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Supply + +# Interface: CatalogTree\_Supply + +Defined in: [Developer/brk/modules/brk-client/index.js:5027](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5027) + +## Properties + +### burned + +> **burned**: [`CatalogTree_Supply_Burned`](CatalogTree_Supply_Burned.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5028](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5028) + +*** + +### circulating + +> **circulating**: [`CatalogTree_Supply_Circulating`](CatalogTree_Supply_Circulating.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5029](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5029) + +*** + +### inflation + +> **inflation**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5030](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5030) + +*** + +### marketCap + +> **marketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5031](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5031) + +*** + +### velocity + +> **velocity**: [`CatalogTree_Supply_Velocity`](CatalogTree_Supply_Velocity.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5032](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5032) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Supply_Burned.md b/modules/brk-client/docs/interfaces/CatalogTree_Supply_Burned.md new file mode 100644 index 000000000..3b43ed783 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Supply_Burned.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Supply\_Burned + +# Interface: CatalogTree\_Supply\_Burned + +Defined in: [Developer/brk/modules/brk-client/index.js:5036](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5036) + +## Properties + +### opreturn + +> **opreturn**: [`UnclaimedRewardsPattern`](UnclaimedRewardsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5037](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5037) + +*** + +### unspendable + +> **unspendable**: [`UnclaimedRewardsPattern`](UnclaimedRewardsPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5038](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5038) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Supply_Circulating.md b/modules/brk-client/docs/interfaces/CatalogTree_Supply_Circulating.md new file mode 100644 index 000000000..920400b16 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Supply_Circulating.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Supply\_Circulating + +# Interface: CatalogTree\_Supply\_Circulating + +Defined in: [Developer/brk/modules/brk-client/index.js:5042](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5042) + +## Properties + +### bitcoin + +> **bitcoin**: [`MetricPattern3`](../type-aliases/MetricPattern3.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5043](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5043) + +*** + +### dollars + +> **dollars**: [`MetricPattern3`](../type-aliases/MetricPattern3.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5044](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5044) + +*** + +### sats + +> **sats**: [`MetricPattern3`](../type-aliases/MetricPattern3.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5045](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5045) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Supply_Velocity.md b/modules/brk-client/docs/interfaces/CatalogTree_Supply_Velocity.md new file mode 100644 index 000000000..3fbbd8a8c --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Supply_Velocity.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Supply\_Velocity + +# Interface: CatalogTree\_Supply\_Velocity + +Defined in: [Developer/brk/modules/brk-client/index.js:5049](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5049) + +## Properties + +### btc + +> **btc**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5050](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5050) + +*** + +### usd + +> **usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5051](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5051) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Transactions.md b/modules/brk-client/docs/interfaces/CatalogTree_Transactions.md new file mode 100644 index 000000000..e6fda6b28 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Transactions.md @@ -0,0 +1,129 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Transactions + +# Interface: CatalogTree\_Transactions + +Defined in: [Developer/brk/modules/brk-client/index.js:5055](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5055) + +## Properties + +### baseSize + +> **baseSize**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5056](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5056) + +*** + +### count + +> **count**: [`CatalogTree_Transactions_Count`](CatalogTree_Transactions_Count.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5057](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5057) + +*** + +### fees + +> **fees**: [`CatalogTree_Transactions_Fees`](CatalogTree_Transactions_Fees.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5058](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5058) + +*** + +### firstTxindex + +> **firstTxindex**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5059](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5059) + +*** + +### firstTxinindex + +> **firstTxinindex**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5060](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5060) + +*** + +### firstTxoutindex + +> **firstTxoutindex**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5061](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5061) + +*** + +### height + +> **height**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5062](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5062) + +*** + +### isExplicitlyRbf + +> **isExplicitlyRbf**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5063](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5063) + +*** + +### rawlocktime + +> **rawlocktime**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5064](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5064) + +*** + +### size + +> **size**: [`CatalogTree_Transactions_Size`](CatalogTree_Transactions_Size.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5065](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5065) + +*** + +### totalSize + +> **totalSize**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5066](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5066) + +*** + +### txid + +> **txid**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`string`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5067](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5067) + +*** + +### txversion + +> **txversion**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5068](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5068) + +*** + +### versions + +> **versions**: [`CatalogTree_Transactions_Versions`](CatalogTree_Transactions_Versions.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5069](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5069) + +*** + +### volume + +> **volume**: [`CatalogTree_Transactions_Volume`](CatalogTree_Transactions_Volume.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5070](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5070) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Count.md b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Count.md new file mode 100644 index 000000000..0280453b4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Count.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Transactions\_Count + +# Interface: CatalogTree\_Transactions\_Count + +Defined in: [Developer/brk/modules/brk-client/index.js:5074](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5074) + +## Properties + +### isCoinbase + +> **isCoinbase**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5075](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5075) + +*** + +### txCount + +> **txCount**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5076](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5076) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees.md b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees.md new file mode 100644 index 000000000..123481447 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Transactions\_Fees + +# Interface: CatalogTree\_Transactions\_Fees + +Defined in: [Developer/brk/modules/brk-client/index.js:5080](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5080) + +## Properties + +### fee + +> **fee**: [`CatalogTree_Transactions_Fees_Fee`](CatalogTree_Transactions_Fees_Fee.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5081](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5081) + +*** + +### feeRate + +> **feeRate**: [`FeeRatePattern`](FeeRatePattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5082](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5082) + +*** + +### inputValue + +> **inputValue**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5083](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5083) + +*** + +### outputValue + +> **outputValue**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5084](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5084) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees_Fee.md b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees_Fee.md new file mode 100644 index 000000000..4a380b820 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees_Fee.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Transactions\_Fees\_Fee + +# Interface: CatalogTree\_Transactions\_Fees\_Fee + +Defined in: [Developer/brk/modules/brk-client/index.js:5088](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5088) + +## Properties + +### bitcoin + +> **bitcoin**: [`CountPattern2`](CountPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5089](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5089) + +*** + +### dollars + +> **dollars**: [`CatalogTree_Transactions_Fees_Fee_Dollars`](CatalogTree_Transactions_Fees_Fee_Dollars.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5090](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5090) + +*** + +### sats + +> **sats**: [`CountPattern2`](CountPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5091](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5091) + +*** + +### txindex + +> **txindex**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5092](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5092) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees_Fee_Dollars.md b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees_Fee_Dollars.md new file mode 100644 index 000000000..c1bc138a3 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Fees_Fee_Dollars.md @@ -0,0 +1,97 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Transactions\_Fees\_Fee\_Dollars + +# Interface: CatalogTree\_Transactions\_Fees\_Fee\_Dollars + +Defined in: [Developer/brk/modules/brk-client/index.js:5096](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5096) + +## Properties + +### average + +> **average**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5097](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5097) + +*** + +### cumulative + +> **cumulative**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5098](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5098) + +*** + +### heightCumulative + +> **heightCumulative**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5099](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5099) + +*** + +### max + +> **max**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5100](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5100) + +*** + +### median + +> **median**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5101](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5101) + +*** + +### min + +> **min**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5102](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5102) + +*** + +### pct10 + +> **pct10**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5103](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5103) + +*** + +### pct25 + +> **pct25**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5104](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5104) + +*** + +### pct75 + +> **pct75**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5105](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5105) + +*** + +### pct90 + +> **pct90**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5106](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5106) + +*** + +### sum + +> **sum**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5107](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5107) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Size.md b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Size.md new file mode 100644 index 000000000..8cf4562f9 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Size.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Transactions\_Size + +# Interface: CatalogTree\_Transactions\_Size + +Defined in: [Developer/brk/modules/brk-client/index.js:5111](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5111) + +## Properties + +### vsize + +> **vsize**: [`FeeRatePattern`](FeeRatePattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5112](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5112) + +*** + +### weight + +> **weight**: [`FeeRatePattern`](FeeRatePattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5113](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5113) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Versions.md b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Versions.md new file mode 100644 index 000000000..9a3046a00 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Versions.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Transactions\_Versions + +# Interface: CatalogTree\_Transactions\_Versions + +Defined in: [Developer/brk/modules/brk-client/index.js:5117](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5117) + +## Properties + +### v1 + +> **v1**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5118](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5118) + +*** + +### v2 + +> **v2**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5119](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5119) + +*** + +### v3 + +> **v3**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5120](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5120) diff --git a/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Volume.md b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Volume.md new file mode 100644 index 000000000..62014d374 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CatalogTree_Transactions_Volume.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CatalogTree\_Transactions\_Volume + +# Interface: CatalogTree\_Transactions\_Volume + +Defined in: [Developer/brk/modules/brk-client/index.js:5124](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5124) + +## Properties + +### annualizedVolume + +> **annualizedVolume**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5125](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5125) + +*** + +### inputsPerSec + +> **inputsPerSec**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5126](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5126) + +*** + +### outputsPerSec + +> **outputsPerSec**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5127](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5127) + +*** + +### sentSum + +> **sentSum**: [`ActiveSupplyPattern`](ActiveSupplyPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:5128](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5128) + +*** + +### txPerSec + +> **txPerSec**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:5129](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L5129) diff --git a/modules/brk-client/docs/interfaces/ClassAveragePricePattern.md b/modules/brk-client/docs/interfaces/ClassAveragePricePattern.md new file mode 100644 index 000000000..b707a9538 --- /dev/null +++ b/modules/brk-client/docs/interfaces/ClassAveragePricePattern.md @@ -0,0 +1,103 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / ClassAveragePricePattern + +# Interface: ClassAveragePricePattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:2802](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2802) + +## Type Parameters + +### T + +`T` + +## Properties + +### \_2015 + +> **\_2015**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2803](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2803) + +*** + +### \_2016 + +> **\_2016**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2804](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2804) + +*** + +### \_2017 + +> **\_2017**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2805](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2805) + +*** + +### \_2018 + +> **\_2018**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2806](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2806) + +*** + +### \_2019 + +> **\_2019**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2807](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2807) + +*** + +### \_2020 + +> **\_2020**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2808](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2808) + +*** + +### \_2021 + +> **\_2021**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2809](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2809) + +*** + +### \_2022 + +> **\_2022**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2810](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2810) + +*** + +### \_2023 + +> **\_2023**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2811](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2811) + +*** + +### \_2024 + +> **\_2024**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2812](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2812) + +*** + +### \_2025 + +> **\_2025**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2813](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2813) diff --git a/modules/brk-client/docs/interfaces/CoinbasePattern.md b/modules/brk-client/docs/interfaces/CoinbasePattern.md new file mode 100644 index 000000000..c56526bb7 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CoinbasePattern.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CoinbasePattern + +# Interface: CoinbasePattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3414](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3414) + +## Properties + +### bitcoin + +> **bitcoin**: [`FullnessPattern`](FullnessPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3415](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3415) + +*** + +### dollars + +> **dollars**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3416](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3416) + +*** + +### sats + +> **sats**: [`DollarsPattern`](DollarsPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3417](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3417) diff --git a/modules/brk-client/docs/interfaces/CoinbasePattern2.md b/modules/brk-client/docs/interfaces/CoinbasePattern2.md new file mode 100644 index 000000000..506936a4b --- /dev/null +++ b/modules/brk-client/docs/interfaces/CoinbasePattern2.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CoinbasePattern2 + +# Interface: CoinbasePattern2 + +Defined in: [Developer/brk/modules/brk-client/index.js:3435](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3435) + +## Properties + +### bitcoin + +> **bitcoin**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3436](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3436) + +*** + +### dollars + +> **dollars**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3437](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3437) + +*** + +### sats + +> **sats**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3438](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3438) diff --git a/modules/brk-client/docs/interfaces/CostBasisPattern.md b/modules/brk-client/docs/interfaces/CostBasisPattern.md new file mode 100644 index 000000000..87e92bfc0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CostBasisPattern.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CostBasisPattern + +# Interface: CostBasisPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3559](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3559) + +## Properties + +### max + +> **max**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3560](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3560) + +*** + +### min + +> **min**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3561](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3561) diff --git a/modules/brk-client/docs/interfaces/CostBasisPattern2.md b/modules/brk-client/docs/interfaces/CostBasisPattern2.md new file mode 100644 index 000000000..0365c90df --- /dev/null +++ b/modules/brk-client/docs/interfaces/CostBasisPattern2.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CostBasisPattern2 + +# Interface: CostBasisPattern2 + +Defined in: [Developer/brk/modules/brk-client/index.js:3477](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3477) + +## Properties + +### max + +> **max**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3478](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3478) + +*** + +### min + +> **min**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3479](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3479) + +*** + +### percentiles + +> **percentiles**: [`PercentilesPattern`](PercentilesPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3480](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3480) diff --git a/modules/brk-client/docs/interfaces/CountPattern2.md b/modules/brk-client/docs/interfaces/CountPattern2.md new file mode 100644 index 000000000..2997aad12 --- /dev/null +++ b/modules/brk-client/docs/interfaces/CountPattern2.md @@ -0,0 +1,95 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / CountPattern2 + +# Interface: CountPattern2\ + +Defined in: [Developer/brk/modules/brk-client/index.js:3007](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3007) + +## Type Parameters + +### T + +`T` + +## Properties + +### average + +> **average**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3008](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3008) + +*** + +### cumulative + +> **cumulative**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3009](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3009) + +*** + +### max + +> **max**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3010](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3010) + +*** + +### median + +> **median**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3011](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3011) + +*** + +### min + +> **min**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3012](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3012) + +*** + +### pct10 + +> **pct10**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3013](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3013) + +*** + +### pct25 + +> **pct25**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3014](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3014) + +*** + +### pct75 + +> **pct75**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3015](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3015) + +*** + +### pct90 + +> **pct90**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3016](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3016) + +*** + +### sum + +> **sum**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3017](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3017) diff --git a/modules/brk-client/docs/interfaces/DataRangeFormat.md b/modules/brk-client/docs/interfaces/DataRangeFormat.md new file mode 100644 index 000000000..77196768d --- /dev/null +++ b/modules/brk-client/docs/interfaces/DataRangeFormat.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / DataRangeFormat + +# Interface: DataRangeFormat + +Defined in: [Developer/brk/modules/brk-client/index.js:125](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L125) + +## Properties + +### count? + +> `optional` **count**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:126](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L126) + +*** + +### format? + +> `optional` **format**: [`Format`](../type-aliases/Format.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:127](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L127) + +*** + +### from? + +> `optional` **from**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:128](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L128) + +*** + +### to? + +> `optional` **to**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:129](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L129) diff --git a/modules/brk-client/docs/interfaces/DifficultyAdjustment.md b/modules/brk-client/docs/interfaces/DifficultyAdjustment.md new file mode 100644 index 000000000..758fa1215 --- /dev/null +++ b/modules/brk-client/docs/interfaces/DifficultyAdjustment.md @@ -0,0 +1,89 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / DifficultyAdjustment + +# Interface: DifficultyAdjustment + +Defined in: [Developer/brk/modules/brk-client/index.js:135](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L135) + +## Properties + +### adjustedTimeAvg + +> **adjustedTimeAvg**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:136](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L136) + +*** + +### difficultyChange + +> **difficultyChange**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:137](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L137) + +*** + +### estimatedRetargetDate + +> **estimatedRetargetDate**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:138](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L138) + +*** + +### nextRetargetHeight + +> **nextRetargetHeight**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:139](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L139) + +*** + +### previousRetarget + +> **previousRetarget**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:140](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L140) + +*** + +### progressPercent + +> **progressPercent**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:141](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L141) + +*** + +### remainingBlocks + +> **remainingBlocks**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:142](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L142) + +*** + +### remainingTime + +> **remainingTime**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:143](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L143) + +*** + +### timeAvg + +> **timeAvg**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:144](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L144) + +*** + +### timeOffset + +> **timeOffset**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:145](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L145) diff --git a/modules/brk-client/docs/interfaces/DifficultyAdjustmentEntry.md b/modules/brk-client/docs/interfaces/DifficultyAdjustmentEntry.md new file mode 100644 index 000000000..54b92fe3f --- /dev/null +++ b/modules/brk-client/docs/interfaces/DifficultyAdjustmentEntry.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / DifficultyAdjustmentEntry + +# Interface: DifficultyAdjustmentEntry + +Defined in: [Developer/brk/modules/brk-client/index.js:148](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L148) + +## Properties + +### changePercent + +> **changePercent**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:149](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L149) + +*** + +### difficulty + +> **difficulty**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:150](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L150) + +*** + +### height + +> **height**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:151](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L151) + +*** + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:152](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L152) diff --git a/modules/brk-client/docs/interfaces/DifficultyEntry.md b/modules/brk-client/docs/interfaces/DifficultyEntry.md new file mode 100644 index 000000000..ae572ae44 --- /dev/null +++ b/modules/brk-client/docs/interfaces/DifficultyEntry.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / DifficultyEntry + +# Interface: DifficultyEntry + +Defined in: [Developer/brk/modules/brk-client/index.js:155](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L155) + +## Properties + +### difficulty + +> **difficulty**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:156](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L156) + +*** + +### height + +> **height**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:157](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L157) + +*** + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:158](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L158) diff --git a/modules/brk-client/docs/interfaces/DollarsPattern.md b/modules/brk-client/docs/interfaces/DollarsPattern.md new file mode 100644 index 000000000..de375db19 --- /dev/null +++ b/modules/brk-client/docs/interfaces/DollarsPattern.md @@ -0,0 +1,103 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / DollarsPattern + +# Interface: DollarsPattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:2763](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2763) + +## Type Parameters + +### T + +`T` + +## Properties + +### average + +> **average**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2764](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2764) + +*** + +### base + +> **base**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2765](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2765) + +*** + +### cumulative + +> **cumulative**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2766](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2766) + +*** + +### max + +> **max**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2767](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2767) + +*** + +### median + +> **median**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2768](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2768) + +*** + +### min + +> **min**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2769](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2769) + +*** + +### pct10 + +> **pct10**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2770](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2770) + +*** + +### pct25 + +> **pct25**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2771](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2771) + +*** + +### pct75 + +> **pct75**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2772](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2772) + +*** + +### pct90 + +> **pct90**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2773](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2773) + +*** + +### sum + +> **sum**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2774](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2774) diff --git a/modules/brk-client/docs/interfaces/EmptyAddressData.md b/modules/brk-client/docs/interfaces/EmptyAddressData.md new file mode 100644 index 000000000..9a8a8bd86 --- /dev/null +++ b/modules/brk-client/docs/interfaces/EmptyAddressData.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / EmptyAddressData + +# Interface: EmptyAddressData + +Defined in: [Developer/brk/modules/brk-client/index.js:163](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L163) + +## Properties + +### fundedTxoCount + +> **fundedTxoCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:164](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L164) + +*** + +### transfered + +> **transfered**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:165](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L165) + +*** + +### txCount + +> **txCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:166](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L166) diff --git a/modules/brk-client/docs/interfaces/FeeRatePattern.md b/modules/brk-client/docs/interfaces/FeeRatePattern.md new file mode 100644 index 000000000..9a6efd695 --- /dev/null +++ b/modules/brk-client/docs/interfaces/FeeRatePattern.md @@ -0,0 +1,87 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / FeeRatePattern + +# Interface: FeeRatePattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:3077](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3077) + +## Type Parameters + +### T + +`T` + +## Properties + +### average + +> **average**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3078](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3078) + +*** + +### max + +> **max**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3079](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3079) + +*** + +### median + +> **median**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3080](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3080) + +*** + +### min + +> **min**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3081](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3081) + +*** + +### pct10 + +> **pct10**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3082](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3082) + +*** + +### pct25 + +> **pct25**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3083](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3083) + +*** + +### pct75 + +> **pct75**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3084](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3084) + +*** + +### pct90 + +> **pct90**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3085](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3085) + +*** + +### txindex + +> **txindex**: [`MetricPattern27`](../type-aliases/MetricPattern27.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3086](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3086) diff --git a/modules/brk-client/docs/interfaces/FullnessPattern.md b/modules/brk-client/docs/interfaces/FullnessPattern.md new file mode 100644 index 000000000..e2b0b357e --- /dev/null +++ b/modules/brk-client/docs/interfaces/FullnessPattern.md @@ -0,0 +1,103 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / FullnessPattern + +# Interface: FullnessPattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:2841](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2841) + +## Type Parameters + +### T + +`T` + +## Properties + +### average + +> **average**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2842](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2842) + +*** + +### base + +> **base**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2843](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2843) + +*** + +### cumulative + +> **cumulative**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2844](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2844) + +*** + +### max + +> **max**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2845](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2845) + +*** + +### median + +> **median**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2846](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2846) + +*** + +### min + +> **min**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2847](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2847) + +*** + +### pct10 + +> **pct10**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2848](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2848) + +*** + +### pct25 + +> **pct25**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2849](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2849) + +*** + +### pct75 + +> **pct75**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2850](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2850) + +*** + +### pct90 + +> **pct90**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2851](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2851) + +*** + +### sum + +> **sum**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2852](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2852) diff --git a/modules/brk-client/docs/interfaces/HashrateEntry.md b/modules/brk-client/docs/interfaces/HashrateEntry.md new file mode 100644 index 000000000..3974688b4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/HashrateEntry.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / HashrateEntry + +# Interface: HashrateEntry + +Defined in: [Developer/brk/modules/brk-client/index.js:174](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L174) + +## Properties + +### avgHashrate + +> **avgHashrate**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:175](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L175) + +*** + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:176](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L176) diff --git a/modules/brk-client/docs/interfaces/HashrateSummary.md b/modules/brk-client/docs/interfaces/HashrateSummary.md new file mode 100644 index 000000000..c89908531 --- /dev/null +++ b/modules/brk-client/docs/interfaces/HashrateSummary.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / HashrateSummary + +# Interface: HashrateSummary + +Defined in: [Developer/brk/modules/brk-client/index.js:179](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L179) + +## Properties + +### currentDifficulty + +> **currentDifficulty**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:180](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L180) + +*** + +### currentHashrate + +> **currentHashrate**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:181](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L181) + +*** + +### difficulty + +> **difficulty**: [`DifficultyEntry`](DifficultyEntry.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:182](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L182) + +*** + +### hashrates + +> **hashrates**: [`HashrateEntry`](HashrateEntry.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:183](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L183) diff --git a/modules/brk-client/docs/interfaces/Health.md b/modules/brk-client/docs/interfaces/Health.md new file mode 100644 index 000000000..27d8e1a95 --- /dev/null +++ b/modules/brk-client/docs/interfaces/Health.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Health + +# Interface: Health + +Defined in: [Developer/brk/modules/brk-client/index.js:186](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L186) + +## Properties + +### service + +> **service**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:187](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L187) + +*** + +### status + +> **status**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:188](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L188) + +*** + +### timestamp + +> **timestamp**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:189](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L189) diff --git a/modules/brk-client/docs/interfaces/HeightParam.md b/modules/brk-client/docs/interfaces/HeightParam.md new file mode 100644 index 000000000..777054a84 --- /dev/null +++ b/modules/brk-client/docs/interfaces/HeightParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / HeightParam + +# Interface: HeightParam + +Defined in: [Developer/brk/modules/brk-client/index.js:193](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L193) + +## Properties + +### height + +> **height**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:194](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L194) diff --git a/modules/brk-client/docs/interfaces/IndexInfo.md b/modules/brk-client/docs/interfaces/IndexInfo.md new file mode 100644 index 000000000..7328eca34 --- /dev/null +++ b/modules/brk-client/docs/interfaces/IndexInfo.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / IndexInfo + +# Interface: IndexInfo + +Defined in: [Developer/brk/modules/brk-client/index.js:200](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L200) + +## Properties + +### aliases + +> **aliases**: `string`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:201](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L201) + +*** + +### index + +> **index**: [`Index`](../type-aliases/Index.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:202](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L202) diff --git a/modules/brk-client/docs/interfaces/LimitParam.md b/modules/brk-client/docs/interfaces/LimitParam.md new file mode 100644 index 000000000..a32e25215 --- /dev/null +++ b/modules/brk-client/docs/interfaces/LimitParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / LimitParam + +# Interface: LimitParam + +Defined in: [Developer/brk/modules/brk-client/index.js:206](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L206) + +## Properties + +### limit? + +> `optional` **limit**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:207](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L207) diff --git a/modules/brk-client/docs/interfaces/LoadedAddressData.md b/modules/brk-client/docs/interfaces/LoadedAddressData.md new file mode 100644 index 000000000..0a2481918 --- /dev/null +++ b/modules/brk-client/docs/interfaces/LoadedAddressData.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / LoadedAddressData + +# Interface: LoadedAddressData + +Defined in: [Developer/brk/modules/brk-client/index.js:210](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L210) + +## Properties + +### fundedTxoCount + +> **fundedTxoCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:211](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L211) + +*** + +### realizedCap + +> **realizedCap**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:212](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L212) + +*** + +### received + +> **received**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:213](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L213) + +*** + +### sent + +> **sent**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:214](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L214) + +*** + +### spentTxoCount + +> **spentTxoCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:215](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L215) + +*** + +### txCount + +> **txCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:216](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L216) diff --git a/modules/brk-client/docs/interfaces/MempoolBlock.md b/modules/brk-client/docs/interfaces/MempoolBlock.md new file mode 100644 index 000000000..635d39754 --- /dev/null +++ b/modules/brk-client/docs/interfaces/MempoolBlock.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MempoolBlock + +# Interface: MempoolBlock + +Defined in: [Developer/brk/modules/brk-client/index.js:221](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L221) + +## Properties + +### blockSize + +> **blockSize**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:222](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L222) + +*** + +### blockVSize + +> **blockVSize**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:223](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L223) + +*** + +### feeRange + +> **feeRange**: `number`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:224](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L224) + +*** + +### medianFee + +> **medianFee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:225](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L225) + +*** + +### nTx + +> **nTx**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:226](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L226) + +*** + +### totalFees + +> **totalFees**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:227](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L227) diff --git a/modules/brk-client/docs/interfaces/MempoolInfo.md b/modules/brk-client/docs/interfaces/MempoolInfo.md new file mode 100644 index 000000000..94ef0b1ee --- /dev/null +++ b/modules/brk-client/docs/interfaces/MempoolInfo.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MempoolInfo + +# Interface: MempoolInfo + +Defined in: [Developer/brk/modules/brk-client/index.js:230](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L230) + +## Properties + +### count + +> **count**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:231](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L231) + +*** + +### totalFee + +> **totalFee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:232](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L232) + +*** + +### vsize + +> **vsize**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:233](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L233) diff --git a/modules/brk-client/docs/interfaces/MetricCount.md b/modules/brk-client/docs/interfaces/MetricCount.md new file mode 100644 index 000000000..eaccc97df --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricCount.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricCount + +# Interface: MetricCount + +Defined in: [Developer/brk/modules/brk-client/index.js:237](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L237) + +## Properties + +### distinctMetrics + +> **distinctMetrics**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:238](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L238) + +*** + +### lazyEndpoints + +> **lazyEndpoints**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:239](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L239) + +*** + +### storedEndpoints + +> **storedEndpoints**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:240](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L240) + +*** + +### totalEndpoints + +> **totalEndpoints**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:241](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L241) diff --git a/modules/brk-client/docs/interfaces/MetricData.md b/modules/brk-client/docs/interfaces/MetricData.md new file mode 100644 index 000000000..682f68e28 --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricData.md @@ -0,0 +1,55 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricData + +# Interface: MetricData\ + +Defined in: [Developer/brk/modules/brk-client/index.js:546](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L546) + +## Type Parameters + +### T + +`T` + +## Properties + +### data + +> **data**: `T`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:550](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L550) + +The metric data + +*** + +### from + +> **from**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:548](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L548) + +Start index (inclusive) + +*** + +### to + +> **to**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:549](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L549) + +End index (exclusive) + +*** + +### total + +> **total**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:547](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L547) + +Total number of data points diff --git a/modules/brk-client/docs/interfaces/MetricEndpoint.md b/modules/brk-client/docs/interfaces/MetricEndpoint.md new file mode 100644 index 000000000..a3fffe1ae --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricEndpoint.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricEndpoint + +# Interface: MetricEndpoint\ + +Defined in: [Developer/brk/modules/brk-client/index.js:556](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L556) + +## Type Parameters + +### T + +`T` + +## Properties + +### get() + +> **get**: (`onUpdate?`) => `Promise`\<[`MetricData`](MetricData.md)\<`T`\>\> + +Defined in: [Developer/brk/modules/brk-client/index.js:557](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L557) + +Fetch all data points + +#### Parameters + +##### onUpdate? + +(`value`) => `void` + +#### Returns + +`Promise`\<[`MetricData`](MetricData.md)\<`T`\>\> + +*** + +### path + +> **path**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:559](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L559) + +The endpoint path + +*** + +### range() + +> **range**: (`from?`, `to?`, `onUpdate?`) => `Promise`\<[`MetricData`](MetricData.md)\<`T`\>\> + +Defined in: [Developer/brk/modules/brk-client/index.js:558](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L558) + +Fetch data in range + +#### Parameters + +##### from? + +`number` + +##### to? + +`number` + +##### onUpdate? + +(`value`) => `void` + +#### Returns + +`Promise`\<[`MetricData`](MetricData.md)\<`T`\>\> diff --git a/modules/brk-client/docs/interfaces/MetricLeafWithSchema.md b/modules/brk-client/docs/interfaces/MetricLeafWithSchema.md new file mode 100644 index 000000000..966009076 --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricLeafWithSchema.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricLeafWithSchema + +# Interface: MetricLeafWithSchema + +Defined in: [Developer/brk/modules/brk-client/index.js:244](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L244) + +## Properties + +### indexes + +> **indexes**: [`Index`](../type-aliases/Index.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:245](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L245) + +*** + +### kind + +> **kind**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:246](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L246) + +*** + +### name + +> **name**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:247](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L247) + +*** + +### type + +> **type**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:248](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L248) diff --git a/modules/brk-client/docs/interfaces/MetricParam.md b/modules/brk-client/docs/interfaces/MetricParam.md new file mode 100644 index 000000000..35e0dce50 --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricParam + +# Interface: MetricParam + +Defined in: [Developer/brk/modules/brk-client/index.js:251](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L251) + +## Properties + +### metric + +> **metric**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:252](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L252) diff --git a/modules/brk-client/docs/interfaces/MetricPattern.md b/modules/brk-client/docs/interfaces/MetricPattern.md new file mode 100644 index 000000000..5fbf2d4ad --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricPattern.md @@ -0,0 +1,69 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern + +# Interface: MetricPattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:565](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L565) + +## Type Parameters + +### T + +`T` + +## Properties + +### by + +> **by**: `Partial`\<`Record`\<[`Index`](../type-aliases/Index.md), [`MetricEndpoint`](MetricEndpoint.md)\<`T`\>\>\> + +Defined in: [Developer/brk/modules/brk-client/index.js:567](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L567) + +Index endpoints (lazy getters) + +*** + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](MetricEndpoint.md)\<`T`\> \| `undefined` + +Defined in: [Developer/brk/modules/brk-client/index.js:569](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L569) + +Get an endpoint for a specific index + +#### Parameters + +##### index + +[`Index`](../type-aliases/Index.md) + +#### Returns + +[`MetricEndpoint`](MetricEndpoint.md)\<`T`\> \| `undefined` + +*** + +### indexes() + +> **indexes**: () => [`Index`](../type-aliases/Index.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:568](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L568) + +Get the list of available indexes + +#### Returns + +[`Index`](../type-aliases/Index.md)[] + +*** + +### name + +> **name**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:566](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L566) + +The metric name diff --git a/modules/brk-client/docs/interfaces/MetricSelection.md b/modules/brk-client/docs/interfaces/MetricSelection.md new file mode 100644 index 000000000..6154fd939 --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricSelection.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricSelection + +# Interface: MetricSelection + +Defined in: [Developer/brk/modules/brk-client/index.js:255](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L255) + +## Properties + +### count? + +> `optional` **count**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:256](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L256) + +*** + +### format? + +> `optional` **format**: [`Format`](../type-aliases/Format.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:257](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L257) + +*** + +### from? + +> `optional` **from**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:258](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L258) + +*** + +### index + +> **index**: [`Index`](../type-aliases/Index.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:259](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L259) + +*** + +### metrics + +> **metrics**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:260](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L260) + +*** + +### to? + +> `optional` **to**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:261](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L261) diff --git a/modules/brk-client/docs/interfaces/MetricSelectionLegacy.md b/modules/brk-client/docs/interfaces/MetricSelectionLegacy.md new file mode 100644 index 000000000..acb6951d8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricSelectionLegacy.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricSelectionLegacy + +# Interface: MetricSelectionLegacy + +Defined in: [Developer/brk/modules/brk-client/index.js:264](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L264) + +## Properties + +### count? + +> `optional` **count**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:265](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L265) + +*** + +### format? + +> `optional` **format**: [`Format`](../type-aliases/Format.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:266](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L266) + +*** + +### from? + +> `optional` **from**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:267](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L267) + +*** + +### ids + +> **ids**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:268](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L268) + +*** + +### index + +> **index**: [`Index`](../type-aliases/Index.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:269](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L269) + +*** + +### to? + +> `optional` **to**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:270](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L270) diff --git a/modules/brk-client/docs/interfaces/MetricWithIndex.md b/modules/brk-client/docs/interfaces/MetricWithIndex.md new file mode 100644 index 000000000..d2f07159f --- /dev/null +++ b/modules/brk-client/docs/interfaces/MetricWithIndex.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricWithIndex + +# Interface: MetricWithIndex + +Defined in: [Developer/brk/modules/brk-client/index.js:273](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L273) + +## Properties + +### index + +> **index**: [`Index`](../type-aliases/Index.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:274](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L274) + +*** + +### metric + +> **metric**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:275](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L275) diff --git a/modules/brk-client/docs/interfaces/OHLCCents.md b/modules/brk-client/docs/interfaces/OHLCCents.md new file mode 100644 index 000000000..164316e6c --- /dev/null +++ b/modules/brk-client/docs/interfaces/OHLCCents.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / OHLCCents + +# Interface: OHLCCents + +Defined in: [Developer/brk/modules/brk-client/index.js:280](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L280) + +## Properties + +### close + +> **close**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:281](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L281) + +*** + +### high + +> **high**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:282](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L282) + +*** + +### low + +> **low**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:283](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L283) + +*** + +### open + +> **open**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:284](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L284) diff --git a/modules/brk-client/docs/interfaces/OHLCDollars.md b/modules/brk-client/docs/interfaces/OHLCDollars.md new file mode 100644 index 000000000..6e45b01c6 --- /dev/null +++ b/modules/brk-client/docs/interfaces/OHLCDollars.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / OHLCDollars + +# Interface: OHLCDollars + +Defined in: [Developer/brk/modules/brk-client/index.js:287](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L287) + +## Properties + +### close + +> **close**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:288](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L288) + +*** + +### high + +> **high**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:289](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L289) + +*** + +### low + +> **low**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:290](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L290) + +*** + +### open + +> **open**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:291](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L291) diff --git a/modules/brk-client/docs/interfaces/OHLCSats.md b/modules/brk-client/docs/interfaces/OHLCSats.md new file mode 100644 index 000000000..6269e0e88 --- /dev/null +++ b/modules/brk-client/docs/interfaces/OHLCSats.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / OHLCSats + +# Interface: OHLCSats + +Defined in: [Developer/brk/modules/brk-client/index.js:294](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L294) + +## Properties + +### close + +> **close**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:295](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L295) + +*** + +### high + +> **high**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:296](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L296) + +*** + +### low + +> **low**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:297](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L297) + +*** + +### open + +> **open**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:298](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L298) diff --git a/modules/brk-client/docs/interfaces/OutputsPattern.md b/modules/brk-client/docs/interfaces/OutputsPattern.md new file mode 100644 index 000000000..97dae0bee --- /dev/null +++ b/modules/brk-client/docs/interfaces/OutputsPattern.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / OutputsPattern + +# Interface: OutputsPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3685](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3685) + +## Properties + +### utxoCount + +> **utxoCount**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3686](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3686) diff --git a/modules/brk-client/docs/interfaces/PaginatedMetrics.md b/modules/brk-client/docs/interfaces/PaginatedMetrics.md new file mode 100644 index 000000000..25c97db22 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PaginatedMetrics.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PaginatedMetrics + +# Interface: PaginatedMetrics + +Defined in: [Developer/brk/modules/brk-client/index.js:322](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L322) + +## Properties + +### currentPage + +> **currentPage**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:323](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L323) + +*** + +### maxPage + +> **maxPage**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:324](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L324) + +*** + +### metrics + +> **metrics**: `string`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:325](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L325) diff --git a/modules/brk-client/docs/interfaces/Pagination.md b/modules/brk-client/docs/interfaces/Pagination.md new file mode 100644 index 000000000..6293a0814 --- /dev/null +++ b/modules/brk-client/docs/interfaces/Pagination.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Pagination + +# Interface: Pagination + +Defined in: [Developer/brk/modules/brk-client/index.js:328](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L328) + +## Properties + +### page? + +> `optional` **page**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:329](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L329) diff --git a/modules/brk-client/docs/interfaces/PercentilesPattern.md b/modules/brk-client/docs/interfaces/PercentilesPattern.md new file mode 100644 index 000000000..01150ee23 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PercentilesPattern.md @@ -0,0 +1,161 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PercentilesPattern + +# Interface: PercentilesPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:2441](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2441) + +## Properties + +### costBasisPct05 + +> **costBasisPct05**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2442](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2442) + +*** + +### costBasisPct10 + +> **costBasisPct10**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2443](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2443) + +*** + +### costBasisPct15 + +> **costBasisPct15**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2444](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2444) + +*** + +### costBasisPct20 + +> **costBasisPct20**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2445](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2445) + +*** + +### costBasisPct25 + +> **costBasisPct25**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2446](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2446) + +*** + +### costBasisPct30 + +> **costBasisPct30**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2447](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2447) + +*** + +### costBasisPct35 + +> **costBasisPct35**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2448](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2448) + +*** + +### costBasisPct40 + +> **costBasisPct40**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2449](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2449) + +*** + +### costBasisPct45 + +> **costBasisPct45**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2450](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2450) + +*** + +### costBasisPct50 + +> **costBasisPct50**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2451](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2451) + +*** + +### costBasisPct55 + +> **costBasisPct55**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2452](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2452) + +*** + +### costBasisPct60 + +> **costBasisPct60**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2453](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2453) + +*** + +### costBasisPct65 + +> **costBasisPct65**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2454](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2454) + +*** + +### costBasisPct70 + +> **costBasisPct70**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2455](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2455) + +*** + +### costBasisPct75 + +> **costBasisPct75**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2456](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2456) + +*** + +### costBasisPct80 + +> **costBasisPct80**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2457](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2457) + +*** + +### costBasisPct85 + +> **costBasisPct85**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2458](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2458) + +*** + +### costBasisPct90 + +> **costBasisPct90**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2459](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2459) + +*** + +### costBasisPct95 + +> **costBasisPct95**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2460](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2460) diff --git a/modules/brk-client/docs/interfaces/PeriodAveragePricePattern.md b/modules/brk-client/docs/interfaces/PeriodAveragePricePattern.md new file mode 100644 index 000000000..225a122da --- /dev/null +++ b/modules/brk-client/docs/interfaces/PeriodAveragePricePattern.md @@ -0,0 +1,111 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PeriodAveragePricePattern + +# Interface: PeriodAveragePricePattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:2722](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2722) + +## Type Parameters + +### T + +`T` + +## Properties + +### \_10y + +> **\_10y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2723](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2723) + +*** + +### \_1m + +> **\_1m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2724](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2724) + +*** + +### \_1w + +> **\_1w**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2725](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2725) + +*** + +### \_1y + +> **\_1y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2726](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2726) + +*** + +### \_2y + +> **\_2y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2727](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2727) + +*** + +### \_3m + +> **\_3m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2728](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2728) + +*** + +### \_3y + +> **\_3y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2729](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2729) + +*** + +### \_4y + +> **\_4y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2730](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2730) + +*** + +### \_5y + +> **\_5y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2731](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2731) + +*** + +### \_6m + +> **\_6m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2732](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2732) + +*** + +### \_6y + +> **\_6y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2733](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2733) + +*** + +### \_8y + +> **\_8y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2734](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2734) diff --git a/modules/brk-client/docs/interfaces/PeriodCagrPattern.md b/modules/brk-client/docs/interfaces/PeriodCagrPattern.md new file mode 100644 index 000000000..7bf58a5f5 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PeriodCagrPattern.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PeriodCagrPattern + +# Interface: PeriodCagrPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3244](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3244) + +## Properties + +### \_10y + +> **\_10y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3245](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3245) + +*** + +### \_2y + +> **\_2y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3246](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3246) + +*** + +### \_3y + +> **\_3y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3247](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3247) + +*** + +### \_4y + +> **\_4y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3248](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3248) + +*** + +### \_5y + +> **\_5y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3249](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3249) + +*** + +### \_6y + +> **\_6y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3250](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3250) + +*** + +### \_8y + +> **\_8y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3251](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3251) diff --git a/modules/brk-client/docs/interfaces/PeriodLumpSumStackPattern.md b/modules/brk-client/docs/interfaces/PeriodLumpSumStackPattern.md new file mode 100644 index 000000000..32f8ebab0 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PeriodLumpSumStackPattern.md @@ -0,0 +1,105 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PeriodLumpSumStackPattern + +# Interface: PeriodLumpSumStackPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:2682](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2682) + +## Properties + +### \_10y + +> **\_10y**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2683](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2683) + +*** + +### \_1m + +> **\_1m**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2684](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2684) + +*** + +### \_1w + +> **\_1w**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2685](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2685) + +*** + +### \_1y + +> **\_1y**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2686](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2686) + +*** + +### \_2y + +> **\_2y**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2687](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2687) + +*** + +### \_3m + +> **\_3m**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2688](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2688) + +*** + +### \_3y + +> **\_3y**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2689](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2689) + +*** + +### \_4y + +> **\_4y**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2690](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2690) + +*** + +### \_5y + +> **\_5y**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2691](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2691) + +*** + +### \_6m + +> **\_6m**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2692](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2692) + +*** + +### \_6y + +> **\_6y**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2693](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2693) + +*** + +### \_8y + +> **\_8y**: [`_2015Pattern`](2015Pattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2694](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2694) diff --git a/modules/brk-client/docs/interfaces/PoolBlockCounts.md b/modules/brk-client/docs/interfaces/PoolBlockCounts.md new file mode 100644 index 000000000..1698c05ce --- /dev/null +++ b/modules/brk-client/docs/interfaces/PoolBlockCounts.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolBlockCounts + +# Interface: PoolBlockCounts + +Defined in: [Developer/brk/modules/brk-client/index.js:332](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L332) + +## Properties + +### \_1w + +> **\_1w**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:333](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L333) + +*** + +### \_24h + +> **\_24h**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:334](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L334) + +*** + +### all + +> **all**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:335](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L335) diff --git a/modules/brk-client/docs/interfaces/PoolBlockShares.md b/modules/brk-client/docs/interfaces/PoolBlockShares.md new file mode 100644 index 000000000..dff2583ba --- /dev/null +++ b/modules/brk-client/docs/interfaces/PoolBlockShares.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolBlockShares + +# Interface: PoolBlockShares + +Defined in: [Developer/brk/modules/brk-client/index.js:338](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L338) + +## Properties + +### \_1w + +> **\_1w**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:339](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L339) + +*** + +### \_24h + +> **\_24h**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:340](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L340) + +*** + +### all + +> **all**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:341](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L341) diff --git a/modules/brk-client/docs/interfaces/PoolDetail.md b/modules/brk-client/docs/interfaces/PoolDetail.md new file mode 100644 index 000000000..3d0a9827b --- /dev/null +++ b/modules/brk-client/docs/interfaces/PoolDetail.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolDetail + +# Interface: PoolDetail + +Defined in: [Developer/brk/modules/brk-client/index.js:344](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L344) + +## Properties + +### blockCount + +> **blockCount**: [`PoolBlockCounts`](PoolBlockCounts.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:345](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L345) + +*** + +### blockShare + +> **blockShare**: [`PoolBlockShares`](PoolBlockShares.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:346](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L346) + +*** + +### estimatedHashrate + +> **estimatedHashrate**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:347](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L347) + +*** + +### pool + +> **pool**: [`PoolDetailInfo`](PoolDetailInfo.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:348](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L348) + +*** + +### reportedHashrate? + +> `optional` **reportedHashrate**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:349](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L349) diff --git a/modules/brk-client/docs/interfaces/PoolDetailInfo.md b/modules/brk-client/docs/interfaces/PoolDetailInfo.md new file mode 100644 index 000000000..8ee7dbbfe --- /dev/null +++ b/modules/brk-client/docs/interfaces/PoolDetailInfo.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolDetailInfo + +# Interface: PoolDetailInfo + +Defined in: [Developer/brk/modules/brk-client/index.js:352](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L352) + +## Properties + +### addresses + +> **addresses**: `string`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:353](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L353) + +*** + +### id + +> **id**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:354](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L354) + +*** + +### link + +> **link**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:355](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L355) + +*** + +### name + +> **name**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:356](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L356) + +*** + +### regexes + +> **regexes**: `string`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:357](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L357) + +*** + +### slug + +> **slug**: [`PoolSlug`](../type-aliases/PoolSlug.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:358](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L358) diff --git a/modules/brk-client/docs/interfaces/PoolInfo.md b/modules/brk-client/docs/interfaces/PoolInfo.md new file mode 100644 index 000000000..3e3f83692 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PoolInfo.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolInfo + +# Interface: PoolInfo + +Defined in: [Developer/brk/modules/brk-client/index.js:361](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L361) + +## Properties + +### name + +> **name**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:362](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L362) + +*** + +### slug + +> **slug**: [`PoolSlug`](../type-aliases/PoolSlug.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:363](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L363) + +*** + +### uniqueId + +> **uniqueId**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:364](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L364) diff --git a/modules/brk-client/docs/interfaces/PoolSlugParam.md b/modules/brk-client/docs/interfaces/PoolSlugParam.md new file mode 100644 index 000000000..6a3610ed5 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PoolSlugParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolSlugParam + +# Interface: PoolSlugParam + +Defined in: [Developer/brk/modules/brk-client/index.js:368](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L368) + +## Properties + +### slug + +> **slug**: [`PoolSlug`](../type-aliases/PoolSlug.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:369](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L369) diff --git a/modules/brk-client/docs/interfaces/PoolStats.md b/modules/brk-client/docs/interfaces/PoolStats.md new file mode 100644 index 000000000..ddbfd62c7 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PoolStats.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolStats + +# Interface: PoolStats + +Defined in: [Developer/brk/modules/brk-client/index.js:372](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L372) + +## Properties + +### blockCount + +> **blockCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:373](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L373) + +*** + +### emptyBlocks + +> **emptyBlocks**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:374](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L374) + +*** + +### link + +> **link**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:375](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L375) + +*** + +### name + +> **name**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:376](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L376) + +*** + +### poolId + +> **poolId**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:377](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L377) + +*** + +### rank + +> **rank**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:378](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L378) + +*** + +### share + +> **share**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:379](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L379) + +*** + +### slug + +> **slug**: [`PoolSlug`](../type-aliases/PoolSlug.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:380](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L380) diff --git a/modules/brk-client/docs/interfaces/PoolsSummary.md b/modules/brk-client/docs/interfaces/PoolsSummary.md new file mode 100644 index 000000000..a9a680e72 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PoolsSummary.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolsSummary + +# Interface: PoolsSummary + +Defined in: [Developer/brk/modules/brk-client/index.js:383](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L383) + +## Properties + +### blockCount + +> **blockCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:384](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L384) + +*** + +### lastEstimatedHashrate + +> **lastEstimatedHashrate**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:385](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L385) + +*** + +### pools + +> **pools**: [`PoolStats`](PoolStats.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:386](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L386) diff --git a/modules/brk-client/docs/interfaces/Price111dSmaPattern.md b/modules/brk-client/docs/interfaces/Price111dSmaPattern.md new file mode 100644 index 000000000..0de7bb5bc --- /dev/null +++ b/modules/brk-client/docs/interfaces/Price111dSmaPattern.md @@ -0,0 +1,169 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Price111dSmaPattern + +# Interface: Price111dSmaPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:2333](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2333) + +## Properties + +### price + +> **price**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2334](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2334) + +*** + +### ratio + +> **ratio**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2335](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2335) + +*** + +### ratio1mSma + +> **ratio1mSma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2336](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2336) + +*** + +### ratio1wSma + +> **ratio1wSma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2337](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2337) + +*** + +### ratio1ySd + +> **ratio1ySd**: [`Ratio1ySdPattern`](Ratio1ySdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2338](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2338) + +*** + +### ratio2ySd + +> **ratio2ySd**: [`Ratio1ySdPattern`](Ratio1ySdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2339](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2339) + +*** + +### ratio4ySd + +> **ratio4ySd**: [`Ratio1ySdPattern`](Ratio1ySdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2340](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2340) + +*** + +### ratioPct1 + +> **ratioPct1**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2341](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2341) + +*** + +### ratioPct1Usd + +> **ratioPct1Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2342](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2342) + +*** + +### ratioPct2 + +> **ratioPct2**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2343](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2343) + +*** + +### ratioPct2Usd + +> **ratioPct2Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2344](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2344) + +*** + +### ratioPct5 + +> **ratioPct5**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2345](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2345) + +*** + +### ratioPct5Usd + +> **ratioPct5Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2346](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2346) + +*** + +### ratioPct95 + +> **ratioPct95**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2347](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2347) + +*** + +### ratioPct95Usd + +> **ratioPct95Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2348](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2348) + +*** + +### ratioPct98 + +> **ratioPct98**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2349](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2349) + +*** + +### ratioPct98Usd + +> **ratioPct98Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2350](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2350) + +*** + +### ratioPct99 + +> **ratioPct99**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2351](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2351) + +*** + +### ratioPct99Usd + +> **ratioPct99Usd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2352](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2352) + +*** + +### ratioSd + +> **ratioSd**: [`Ratio1ySdPattern`](Ratio1ySdPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2353](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2353) diff --git a/modules/brk-client/docs/interfaces/PriceAgoPattern.md b/modules/brk-client/docs/interfaces/PriceAgoPattern.md new file mode 100644 index 000000000..ca19b3c97 --- /dev/null +++ b/modules/brk-client/docs/interfaces/PriceAgoPattern.md @@ -0,0 +1,119 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PriceAgoPattern + +# Interface: PriceAgoPattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:2640](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2640) + +## Type Parameters + +### T + +`T` + +## Properties + +### \_10y + +> **\_10y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2641](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2641) + +*** + +### \_1d + +> **\_1d**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2642](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2642) + +*** + +### \_1m + +> **\_1m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2643](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2643) + +*** + +### \_1w + +> **\_1w**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2644](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2644) + +*** + +### \_1y + +> **\_1y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2645](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2645) + +*** + +### \_2y + +> **\_2y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2646](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2646) + +*** + +### \_3m + +> **\_3m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2647](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2647) + +*** + +### \_3y + +> **\_3y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2648](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2648) + +*** + +### \_4y + +> **\_4y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2649](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2649) + +*** + +### \_5y + +> **\_5y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2650](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2650) + +*** + +### \_6m + +> **\_6m**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2651](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2651) + +*** + +### \_6y + +> **\_6y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2652](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2652) + +*** + +### \_8y + +> **\_8y**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2653](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2653) diff --git a/modules/brk-client/docs/interfaces/Ratio1ySdPattern.md b/modules/brk-client/docs/interfaces/Ratio1ySdPattern.md new file mode 100644 index 000000000..9d4062361 --- /dev/null +++ b/modules/brk-client/docs/interfaces/Ratio1ySdPattern.md @@ -0,0 +1,233 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Ratio1ySdPattern + +# Interface: Ratio1ySdPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:2044](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2044) + +## Properties + +### \_0sdUsd + +> **\_0sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2045](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2045) + +*** + +### m05sd + +> **m05sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2046](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2046) + +*** + +### m05sdUsd + +> **m05sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2047](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2047) + +*** + +### m15sd + +> **m15sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2048](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2048) + +*** + +### m15sdUsd + +> **m15sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2049](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2049) + +*** + +### m1sd + +> **m1sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2050](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2050) + +*** + +### m1sdUsd + +> **m1sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2051](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2051) + +*** + +### m25sd + +> **m25sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2052](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2052) + +*** + +### m25sdUsd + +> **m25sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2053](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2053) + +*** + +### m2sd + +> **m2sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2054](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2054) + +*** + +### m2sdUsd + +> **m2sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2055](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2055) + +*** + +### m3sd + +> **m3sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2056](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2056) + +*** + +### m3sdUsd + +> **m3sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2057](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2057) + +*** + +### p05sd + +> **p05sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2058](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2058) + +*** + +### p05sdUsd + +> **p05sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2059](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2059) + +*** + +### p15sd + +> **p15sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2060](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2060) + +*** + +### p15sdUsd + +> **p15sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2061](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2061) + +*** + +### p1sd + +> **p1sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2062](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2062) + +*** + +### p1sdUsd + +> **p1sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2063](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2063) + +*** + +### p25sd + +> **p25sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2064](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2064) + +*** + +### p25sdUsd + +> **p25sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2065](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2065) + +*** + +### p2sd + +> **p2sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2066](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2066) + +*** + +### p2sdUsd + +> **p2sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2067](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2067) + +*** + +### p3sd + +> **p3sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2068](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2068) + +*** + +### p3sdUsd + +> **p3sdUsd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2069](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2069) + +*** + +### sd + +> **sd**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2070](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2070) + +*** + +### sma + +> **sma**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2071](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2071) + +*** + +### zscore + +> **zscore**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2072](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2072) diff --git a/modules/brk-client/docs/interfaces/RealizedPattern.md b/modules/brk-client/docs/interfaces/RealizedPattern.md new file mode 100644 index 000000000..40c69949e --- /dev/null +++ b/modules/brk-client/docs/interfaces/RealizedPattern.md @@ -0,0 +1,209 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RealizedPattern + +# Interface: RealizedPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:2229](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2229) + +## Properties + +### mvrv + +> **mvrv**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2230](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2230) + +*** + +### negRealizedLoss + +> **negRealizedLoss**: [`BitcoinPattern`](BitcoinPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2231](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2231) + +*** + +### netRealizedPnl + +> **netRealizedPnl**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2232](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2232) + +*** + +### netRealizedPnlCumulative30dDelta + +> **netRealizedPnlCumulative30dDelta**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2233](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2233) + +*** + +### netRealizedPnlCumulative30dDeltaRelToMarketCap + +> **netRealizedPnlCumulative30dDeltaRelToMarketCap**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2234](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2234) + +*** + +### netRealizedPnlCumulative30dDeltaRelToRealizedCap + +> **netRealizedPnlCumulative30dDeltaRelToRealizedCap**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2235](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2235) + +*** + +### netRealizedPnlRelToRealizedCap + +> **netRealizedPnlRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2236](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2236) + +*** + +### realizedCap + +> **realizedCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2237](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2237) + +*** + +### realizedCap30dDelta + +> **realizedCap30dDelta**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2238](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2238) + +*** + +### realizedLoss + +> **realizedLoss**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2239](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2239) + +*** + +### realizedLossRelToRealizedCap + +> **realizedLossRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2240](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2240) + +*** + +### realizedPrice + +> **realizedPrice**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2241](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2241) + +*** + +### realizedPriceExtra + +> **realizedPriceExtra**: [`RealizedPriceExtraPattern`](RealizedPriceExtraPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2242](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2242) + +*** + +### realizedProfit + +> **realizedProfit**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2243](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2243) + +*** + +### realizedProfitRelToRealizedCap + +> **realizedProfitRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2244](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2244) + +*** + +### realizedValue + +> **realizedValue**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2245](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2245) + +*** + +### sellSideRiskRatio + +> **sellSideRiskRatio**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2246](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2246) + +*** + +### sellSideRiskRatio30dEma + +> **sellSideRiskRatio30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2247](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2247) + +*** + +### sellSideRiskRatio7dEma + +> **sellSideRiskRatio7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2248](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2248) + +*** + +### sopr + +> **sopr**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2249](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2249) + +*** + +### sopr30dEma + +> **sopr30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2250](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2250) + +*** + +### sopr7dEma + +> **sopr7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2251](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2251) + +*** + +### totalRealizedPnl + +> **totalRealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2252](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2252) + +*** + +### valueCreated + +> **valueCreated**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2253](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2253) + +*** + +### valueDestroyed + +> **valueDestroyed**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2254](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2254) diff --git a/modules/brk-client/docs/interfaces/RealizedPattern2.md b/modules/brk-client/docs/interfaces/RealizedPattern2.md new file mode 100644 index 000000000..e7e32054e --- /dev/null +++ b/modules/brk-client/docs/interfaces/RealizedPattern2.md @@ -0,0 +1,225 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RealizedPattern2 + +# Interface: RealizedPattern2 + +Defined in: [Developer/brk/modules/brk-client/index.js:2115](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2115) + +## Properties + +### mvrv + +> **mvrv**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2116](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2116) + +*** + +### negRealizedLoss + +> **negRealizedLoss**: [`BitcoinPattern`](BitcoinPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2117](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2117) + +*** + +### netRealizedPnl + +> **netRealizedPnl**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2118](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2118) + +*** + +### netRealizedPnlCumulative30dDelta + +> **netRealizedPnlCumulative30dDelta**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2119](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2119) + +*** + +### netRealizedPnlCumulative30dDeltaRelToMarketCap + +> **netRealizedPnlCumulative30dDeltaRelToMarketCap**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2120](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2120) + +*** + +### netRealizedPnlCumulative30dDeltaRelToRealizedCap + +> **netRealizedPnlCumulative30dDeltaRelToRealizedCap**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2121](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2121) + +*** + +### netRealizedPnlRelToRealizedCap + +> **netRealizedPnlRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2122](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2122) + +*** + +### realizedCap + +> **realizedCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2123](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2123) + +*** + +### realizedCap30dDelta + +> **realizedCap30dDelta**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2124](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2124) + +*** + +### realizedCapRelToOwnMarketCap + +> **realizedCapRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2125](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2125) + +*** + +### realizedLoss + +> **realizedLoss**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2126](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2126) + +*** + +### realizedLossRelToRealizedCap + +> **realizedLossRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2127](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2127) + +*** + +### realizedPrice + +> **realizedPrice**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2128](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2128) + +*** + +### realizedPriceExtra + +> **realizedPriceExtra**: [`ActivePriceRatioPattern`](ActivePriceRatioPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:2129](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2129) + +*** + +### realizedProfit + +> **realizedProfit**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2130](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2130) + +*** + +### realizedProfitRelToRealizedCap + +> **realizedProfitRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2131](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2131) + +*** + +### realizedProfitToLossRatio + +> **realizedProfitToLossRatio**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2132](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2132) + +*** + +### realizedValue + +> **realizedValue**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2133](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2133) + +*** + +### sellSideRiskRatio + +> **sellSideRiskRatio**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2134](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2134) + +*** + +### sellSideRiskRatio30dEma + +> **sellSideRiskRatio30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2135](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2135) + +*** + +### sellSideRiskRatio7dEma + +> **sellSideRiskRatio7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2136](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2136) + +*** + +### sopr + +> **sopr**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2137](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2137) + +*** + +### sopr30dEma + +> **sopr30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2138](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2138) + +*** + +### sopr7dEma + +> **sopr7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2139](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2139) + +*** + +### totalRealizedPnl + +> **totalRealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2140](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2140) + +*** + +### valueCreated + +> **valueCreated**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2141](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2141) + +*** + +### valueDestroyed + +> **valueDestroyed**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2142](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2142) diff --git a/modules/brk-client/docs/interfaces/RealizedPattern3.md b/modules/brk-client/docs/interfaces/RealizedPattern3.md new file mode 100644 index 000000000..61f73a95b --- /dev/null +++ b/modules/brk-client/docs/interfaces/RealizedPattern3.md @@ -0,0 +1,265 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RealizedPattern3 + +# Interface: RealizedPattern3 + +Defined in: [Developer/brk/modules/brk-client/index.js:1782](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1782) + +## Properties + +### adjustedSopr + +> **adjustedSopr**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1783](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1783) + +*** + +### adjustedSopr30dEma + +> **adjustedSopr30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1784](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1784) + +*** + +### adjustedSopr7dEma + +> **adjustedSopr7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1785](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1785) + +*** + +### adjustedValueCreated + +> **adjustedValueCreated**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1786](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1786) + +*** + +### adjustedValueDestroyed + +> **adjustedValueDestroyed**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1787](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1787) + +*** + +### mvrv + +> **mvrv**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1788](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1788) + +*** + +### negRealizedLoss + +> **negRealizedLoss**: [`BitcoinPattern`](BitcoinPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1789](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1789) + +*** + +### netRealizedPnl + +> **netRealizedPnl**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1790](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1790) + +*** + +### netRealizedPnlCumulative30dDelta + +> **netRealizedPnlCumulative30dDelta**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1791](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1791) + +*** + +### netRealizedPnlCumulative30dDeltaRelToMarketCap + +> **netRealizedPnlCumulative30dDeltaRelToMarketCap**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1792](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1792) + +*** + +### netRealizedPnlCumulative30dDeltaRelToRealizedCap + +> **netRealizedPnlCumulative30dDeltaRelToRealizedCap**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1793](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1793) + +*** + +### netRealizedPnlRelToRealizedCap + +> **netRealizedPnlRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1794](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1794) + +*** + +### realizedCap + +> **realizedCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1795](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1795) + +*** + +### realizedCap30dDelta + +> **realizedCap30dDelta**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1796](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1796) + +*** + +### realizedCapRelToOwnMarketCap + +> **realizedCapRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1797](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1797) + +*** + +### realizedLoss + +> **realizedLoss**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1798](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1798) + +*** + +### realizedLossRelToRealizedCap + +> **realizedLossRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1799](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1799) + +*** + +### realizedPrice + +> **realizedPrice**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1800](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1800) + +*** + +### realizedPriceExtra + +> **realizedPriceExtra**: [`ActivePriceRatioPattern`](ActivePriceRatioPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:1801](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1801) + +*** + +### realizedProfit + +> **realizedProfit**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1802](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1802) + +*** + +### realizedProfitRelToRealizedCap + +> **realizedProfitRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1803](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1803) + +*** + +### realizedProfitToLossRatio + +> **realizedProfitToLossRatio**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1804](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1804) + +*** + +### realizedValue + +> **realizedValue**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1805](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1805) + +*** + +### sellSideRiskRatio + +> **sellSideRiskRatio**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1806](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1806) + +*** + +### sellSideRiskRatio30dEma + +> **sellSideRiskRatio30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1807](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1807) + +*** + +### sellSideRiskRatio7dEma + +> **sellSideRiskRatio7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1808](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1808) + +*** + +### sopr + +> **sopr**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1809](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1809) + +*** + +### sopr30dEma + +> **sopr30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1810](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1810) + +*** + +### sopr7dEma + +> **sopr7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1811](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1811) + +*** + +### totalRealizedPnl + +> **totalRealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1812](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1812) + +*** + +### valueCreated + +> **valueCreated**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1813](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1813) + +*** + +### valueDestroyed + +> **valueDestroyed**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1814](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1814) diff --git a/modules/brk-client/docs/interfaces/RealizedPattern4.md b/modules/brk-client/docs/interfaces/RealizedPattern4.md new file mode 100644 index 000000000..4693b0279 --- /dev/null +++ b/modules/brk-client/docs/interfaces/RealizedPattern4.md @@ -0,0 +1,249 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RealizedPattern4 + +# Interface: RealizedPattern4 + +Defined in: [Developer/brk/modules/brk-client/index.js:1918](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1918) + +## Properties + +### adjustedSopr + +> **adjustedSopr**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1919](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1919) + +*** + +### adjustedSopr30dEma + +> **adjustedSopr30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1920](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1920) + +*** + +### adjustedSopr7dEma + +> **adjustedSopr7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1921](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1921) + +*** + +### adjustedValueCreated + +> **adjustedValueCreated**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1922](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1922) + +*** + +### adjustedValueDestroyed + +> **adjustedValueDestroyed**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1923](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1923) + +*** + +### mvrv + +> **mvrv**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1924](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1924) + +*** + +### negRealizedLoss + +> **negRealizedLoss**: [`BitcoinPattern`](BitcoinPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1925](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1925) + +*** + +### netRealizedPnl + +> **netRealizedPnl**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1926](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1926) + +*** + +### netRealizedPnlCumulative30dDelta + +> **netRealizedPnlCumulative30dDelta**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1927](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1927) + +*** + +### netRealizedPnlCumulative30dDeltaRelToMarketCap + +> **netRealizedPnlCumulative30dDeltaRelToMarketCap**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1928](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1928) + +*** + +### netRealizedPnlCumulative30dDeltaRelToRealizedCap + +> **netRealizedPnlCumulative30dDeltaRelToRealizedCap**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1929](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1929) + +*** + +### netRealizedPnlRelToRealizedCap + +> **netRealizedPnlRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1930](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1930) + +*** + +### realizedCap + +> **realizedCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1931](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1931) + +*** + +### realizedCap30dDelta + +> **realizedCap30dDelta**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1932](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1932) + +*** + +### realizedLoss + +> **realizedLoss**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1933](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1933) + +*** + +### realizedLossRelToRealizedCap + +> **realizedLossRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1934](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1934) + +*** + +### realizedPrice + +> **realizedPrice**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1935](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1935) + +*** + +### realizedPriceExtra + +> **realizedPriceExtra**: [`RealizedPriceExtraPattern`](RealizedPriceExtraPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:1936](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1936) + +*** + +### realizedProfit + +> **realizedProfit**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1937](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1937) + +*** + +### realizedProfitRelToRealizedCap + +> **realizedProfitRelToRealizedCap**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1938](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1938) + +*** + +### realizedValue + +> **realizedValue**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1939](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1939) + +*** + +### sellSideRiskRatio + +> **sellSideRiskRatio**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1940](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1940) + +*** + +### sellSideRiskRatio30dEma + +> **sellSideRiskRatio30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1941](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1941) + +*** + +### sellSideRiskRatio7dEma + +> **sellSideRiskRatio7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1942](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1942) + +*** + +### sopr + +> **sopr**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1943](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1943) + +*** + +### sopr30dEma + +> **sopr30dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1944](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1944) + +*** + +### sopr7dEma + +> **sopr7dEma**: [`MetricPattern6`](../type-aliases/MetricPattern6.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1945](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1945) + +*** + +### totalRealizedPnl + +> **totalRealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1946](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1946) + +*** + +### valueCreated + +> **valueCreated**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1947](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1947) + +*** + +### valueDestroyed + +> **valueDestroyed**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:1948](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1948) diff --git a/modules/brk-client/docs/interfaces/RealizedPriceExtraPattern.md b/modules/brk-client/docs/interfaces/RealizedPriceExtraPattern.md new file mode 100644 index 000000000..6642a1527 --- /dev/null +++ b/modules/brk-client/docs/interfaces/RealizedPriceExtraPattern.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RealizedPriceExtraPattern + +# Interface: RealizedPriceExtraPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3702](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3702) + +## Properties + +### ratio + +> **ratio**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3703](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3703) diff --git a/modules/brk-client/docs/interfaces/RecommendedFees.md b/modules/brk-client/docs/interfaces/RecommendedFees.md new file mode 100644 index 000000000..8cda3674c --- /dev/null +++ b/modules/brk-client/docs/interfaces/RecommendedFees.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RecommendedFees + +# Interface: RecommendedFees + +Defined in: [Developer/brk/modules/brk-client/index.js:391](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L391) + +## Properties + +### economyFee + +> **economyFee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:392](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L392) + +*** + +### fastestFee + +> **fastestFee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:393](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L393) + +*** + +### halfHourFee + +> **halfHourFee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:394](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L394) + +*** + +### hourFee + +> **hourFee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:395](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L395) + +*** + +### minimumFee + +> **minimumFee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:396](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L396) diff --git a/modules/brk-client/docs/interfaces/RelativePattern.md b/modules/brk-client/docs/interfaces/RelativePattern.md new file mode 100644 index 000000000..a4adb717e --- /dev/null +++ b/modules/brk-client/docs/interfaces/RelativePattern.md @@ -0,0 +1,89 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RelativePattern + +# Interface: RelativePattern + +Defined in: [Developer/brk/modules/brk-client/index.js:2879](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2879) + +## Properties + +### negUnrealizedLossRelToMarketCap + +> **negUnrealizedLossRelToMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2880](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2880) + +*** + +### netUnrealizedPnlRelToMarketCap + +> **netUnrealizedPnlRelToMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2881](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2881) + +*** + +### nupl + +> **nupl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2882](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2882) + +*** + +### supplyInLossRelToCirculatingSupply + +> **supplyInLossRelToCirculatingSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2883](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2883) + +*** + +### supplyInLossRelToOwnSupply + +> **supplyInLossRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2884](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2884) + +*** + +### supplyInProfitRelToCirculatingSupply + +> **supplyInProfitRelToCirculatingSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2885](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2885) + +*** + +### supplyInProfitRelToOwnSupply + +> **supplyInProfitRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2886](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2886) + +*** + +### supplyRelToCirculatingSupply + +> **supplyRelToCirculatingSupply**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2887](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2887) + +*** + +### unrealizedLossRelToMarketCap + +> **unrealizedLossRelToMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2888](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2888) + +*** + +### unrealizedProfitRelToMarketCap + +> **unrealizedProfitRelToMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2889](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2889) diff --git a/modules/brk-client/docs/interfaces/RelativePattern2.md b/modules/brk-client/docs/interfaces/RelativePattern2.md new file mode 100644 index 000000000..16619694a --- /dev/null +++ b/modules/brk-client/docs/interfaces/RelativePattern2.md @@ -0,0 +1,89 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RelativePattern2 + +# Interface: RelativePattern2 + +Defined in: [Developer/brk/modules/brk-client/index.js:2941](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2941) + +## Properties + +### negUnrealizedLossRelToOwnMarketCap + +> **negUnrealizedLossRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2942](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2942) + +*** + +### negUnrealizedLossRelToOwnTotalUnrealizedPnl + +> **negUnrealizedLossRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2943](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2943) + +*** + +### netUnrealizedPnlRelToOwnMarketCap + +> **netUnrealizedPnlRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2944](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2944) + +*** + +### netUnrealizedPnlRelToOwnTotalUnrealizedPnl + +> **netUnrealizedPnlRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2945](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2945) + +*** + +### supplyInLossRelToOwnSupply + +> **supplyInLossRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2946](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2946) + +*** + +### supplyInProfitRelToOwnSupply + +> **supplyInProfitRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2947](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2947) + +*** + +### unrealizedLossRelToOwnMarketCap + +> **unrealizedLossRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2948](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2948) + +*** + +### unrealizedLossRelToOwnTotalUnrealizedPnl + +> **unrealizedLossRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2949](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2949) + +*** + +### unrealizedProfitRelToOwnMarketCap + +> **unrealizedProfitRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2950](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2950) + +*** + +### unrealizedProfitRelToOwnTotalUnrealizedPnl + +> **unrealizedProfitRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2951](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2951) diff --git a/modules/brk-client/docs/interfaces/RelativePattern4.md b/modules/brk-client/docs/interfaces/RelativePattern4.md new file mode 100644 index 000000000..ff9428fea --- /dev/null +++ b/modules/brk-client/docs/interfaces/RelativePattern4.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RelativePattern4 + +# Interface: RelativePattern4 + +Defined in: [Developer/brk/modules/brk-client/index.js:3578](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3578) + +## Properties + +### supplyInLossRelToOwnSupply + +> **supplyInLossRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3579](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3579) + +*** + +### supplyInProfitRelToOwnSupply + +> **supplyInProfitRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3580](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3580) diff --git a/modules/brk-client/docs/interfaces/RelativePattern5.md b/modules/brk-client/docs/interfaces/RelativePattern5.md new file mode 100644 index 000000000..5006ffa06 --- /dev/null +++ b/modules/brk-client/docs/interfaces/RelativePattern5.md @@ -0,0 +1,153 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RelativePattern5 + +# Interface: RelativePattern5 + +Defined in: [Developer/brk/modules/brk-client/index.js:2494](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2494) + +## Properties + +### negUnrealizedLossRelToMarketCap + +> **negUnrealizedLossRelToMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2495](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2495) + +*** + +### negUnrealizedLossRelToOwnMarketCap + +> **negUnrealizedLossRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2496](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2496) + +*** + +### negUnrealizedLossRelToOwnTotalUnrealizedPnl + +> **negUnrealizedLossRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2497](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2497) + +*** + +### netUnrealizedPnlRelToMarketCap + +> **netUnrealizedPnlRelToMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2498](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2498) + +*** + +### netUnrealizedPnlRelToOwnMarketCap + +> **netUnrealizedPnlRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2499](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2499) + +*** + +### netUnrealizedPnlRelToOwnTotalUnrealizedPnl + +> **netUnrealizedPnlRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2500](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2500) + +*** + +### nupl + +> **nupl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2501](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2501) + +*** + +### supplyInLossRelToCirculatingSupply + +> **supplyInLossRelToCirculatingSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2502](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2502) + +*** + +### supplyInLossRelToOwnSupply + +> **supplyInLossRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2503](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2503) + +*** + +### supplyInProfitRelToCirculatingSupply + +> **supplyInProfitRelToCirculatingSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2504](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2504) + +*** + +### supplyInProfitRelToOwnSupply + +> **supplyInProfitRelToOwnSupply**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2505](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2505) + +*** + +### supplyRelToCirculatingSupply + +> **supplyRelToCirculatingSupply**: [`MetricPattern4`](../type-aliases/MetricPattern4.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2506](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2506) + +*** + +### unrealizedLossRelToMarketCap + +> **unrealizedLossRelToMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2507](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2507) + +*** + +### unrealizedLossRelToOwnMarketCap + +> **unrealizedLossRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2508](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2508) + +*** + +### unrealizedLossRelToOwnTotalUnrealizedPnl + +> **unrealizedLossRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2509](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2509) + +*** + +### unrealizedProfitRelToMarketCap + +> **unrealizedProfitRelToMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2510](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2510) + +*** + +### unrealizedProfitRelToOwnMarketCap + +> **unrealizedProfitRelToOwnMarketCap**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2511](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2511) + +*** + +### unrealizedProfitRelToOwnTotalUnrealizedPnl + +> **unrealizedProfitRelToOwnTotalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:2512](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L2512) diff --git a/modules/brk-client/docs/interfaces/RewardStats.md b/modules/brk-client/docs/interfaces/RewardStats.md new file mode 100644 index 000000000..ef7b280b5 --- /dev/null +++ b/modules/brk-client/docs/interfaces/RewardStats.md @@ -0,0 +1,49 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RewardStats + +# Interface: RewardStats + +Defined in: [Developer/brk/modules/brk-client/index.js:399](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L399) + +## Properties + +### endBlock + +> **endBlock**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:400](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L400) + +*** + +### startBlock + +> **startBlock**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:401](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L401) + +*** + +### totalFee + +> **totalFee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:402](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L402) + +*** + +### totalReward + +> **totalReward**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:403](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L403) + +*** + +### totalTx + +> **totalTx**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:404](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L404) diff --git a/modules/brk-client/docs/interfaces/SatsPattern.md b/modules/brk-client/docs/interfaces/SatsPattern.md new file mode 100644 index 000000000..adcbec47d --- /dev/null +++ b/modules/brk-client/docs/interfaces/SatsPattern.md @@ -0,0 +1,31 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / SatsPattern + +# Interface: SatsPattern\ + +Defined in: [Developer/brk/modules/brk-client/index.js:3623](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3623) + +## Type Parameters + +### T + +`T` + +## Properties + +### ohlc + +> **ohlc**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3624](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3624) + +*** + +### split + +> **split**: [`SplitPattern2`](SplitPattern2.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3625](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3625) diff --git a/modules/brk-client/docs/interfaces/SegwitAdoptionPattern.md b/modules/brk-client/docs/interfaces/SegwitAdoptionPattern.md new file mode 100644 index 000000000..0bf145be8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/SegwitAdoptionPattern.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / SegwitAdoptionPattern + +# Interface: SegwitAdoptionPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3498](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3498) + +## Properties + +### base + +> **base**: [`MetricPattern11`](../type-aliases/MetricPattern11.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3499](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3499) + +*** + +### cumulative + +> **cumulative**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3500](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3500) + +*** + +### sum + +> **sum**: [`MetricPattern2`](../type-aliases/MetricPattern2.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3501](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3501) diff --git a/modules/brk-client/docs/interfaces/SplitPattern2.md b/modules/brk-client/docs/interfaces/SplitPattern2.md new file mode 100644 index 000000000..24cfc2ff1 --- /dev/null +++ b/modules/brk-client/docs/interfaces/SplitPattern2.md @@ -0,0 +1,47 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / SplitPattern2 + +# Interface: SplitPattern2\ + +Defined in: [Developer/brk/modules/brk-client/index.js:3369](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3369) + +## Type Parameters + +### T + +`T` + +## Properties + +### close + +> **close**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3370](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3370) + +*** + +### high + +> **high**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3371](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3371) + +*** + +### low + +> **low**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3372](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3372) + +*** + +### open + +> **open**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`T`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3373](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3373) diff --git a/modules/brk-client/docs/interfaces/SupplyPattern2.md b/modules/brk-client/docs/interfaces/SupplyPattern2.md new file mode 100644 index 000000000..3e77c0c0e --- /dev/null +++ b/modules/brk-client/docs/interfaces/SupplyPattern2.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / SupplyPattern2 + +# Interface: SupplyPattern2 + +Defined in: [Developer/brk/modules/brk-client/index.js:3540](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3540) + +## Properties + +### halved + +> **halved**: [`ActiveSupplyPattern`](ActiveSupplyPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3541](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3541) + +*** + +### total + +> **total**: [`ActiveSupplyPattern`](ActiveSupplyPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3542](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3542) diff --git a/modules/brk-client/docs/interfaces/SupplyState.md b/modules/brk-client/docs/interfaces/SupplyState.md new file mode 100644 index 000000000..ffbe66599 --- /dev/null +++ b/modules/brk-client/docs/interfaces/SupplyState.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / SupplyState + +# Interface: SupplyState + +Defined in: [Developer/brk/modules/brk-client/index.js:416](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L416) + +## Properties + +### utxoCount + +> **utxoCount**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:417](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L417) + +*** + +### value + +> **value**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:418](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L418) diff --git a/modules/brk-client/docs/interfaces/TimePeriodParam.md b/modules/brk-client/docs/interfaces/TimePeriodParam.md new file mode 100644 index 000000000..707b6e695 --- /dev/null +++ b/modules/brk-client/docs/interfaces/TimePeriodParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TimePeriodParam + +# Interface: TimePeriodParam + +Defined in: [Developer/brk/modules/brk-client/index.js:422](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L422) + +## Properties + +### timePeriod + +> **timePeriod**: [`TimePeriod`](../type-aliases/TimePeriod.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:423](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L423) diff --git a/modules/brk-client/docs/interfaces/TimestampParam.md b/modules/brk-client/docs/interfaces/TimestampParam.md new file mode 100644 index 000000000..3b49fc3e1 --- /dev/null +++ b/modules/brk-client/docs/interfaces/TimestampParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TimestampParam + +# Interface: TimestampParam + +Defined in: [Developer/brk/modules/brk-client/index.js:427](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L427) + +## Properties + +### timestamp + +> **timestamp**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:428](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L428) diff --git a/modules/brk-client/docs/interfaces/Transaction.md b/modules/brk-client/docs/interfaces/Transaction.md new file mode 100644 index 000000000..48e81cee8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/Transaction.md @@ -0,0 +1,97 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Transaction + +# Interface: Transaction + +Defined in: [Developer/brk/modules/brk-client/index.js:431](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L431) + +## Properties + +### fee + +> **fee**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:432](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L432) + +*** + +### index? + +> `optional` **index**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:433](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L433) + +*** + +### locktime + +> **locktime**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:434](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L434) + +*** + +### sigops + +> **sigops**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:435](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L435) + +*** + +### size + +> **size**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:436](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L436) + +*** + +### status + +> **status**: [`TxStatus`](TxStatus.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:437](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L437) + +*** + +### txid + +> **txid**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:438](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L438) + +*** + +### version + +> **version**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:439](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L439) + +*** + +### vin + +> **vin**: [`TxIn`](TxIn.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:440](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L440) + +*** + +### vout + +> **vout**: [`TxOut`](TxOut.md)[] + +Defined in: [Developer/brk/modules/brk-client/index.js:441](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L441) + +*** + +### weight + +> **weight**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:442](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L442) diff --git a/modules/brk-client/docs/interfaces/TxIn.md b/modules/brk-client/docs/interfaces/TxIn.md new file mode 100644 index 000000000..9a614fb6b --- /dev/null +++ b/modules/brk-client/docs/interfaces/TxIn.md @@ -0,0 +1,73 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxIn + +# Interface: TxIn + +Defined in: [Developer/brk/modules/brk-client/index.js:446](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L446) + +## Properties + +### innerRedeemscriptAsm? + +> `optional` **innerRedeemscriptAsm**: `string` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:447](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L447) + +*** + +### isCoinbase + +> **isCoinbase**: `boolean` + +Defined in: [Developer/brk/modules/brk-client/index.js:448](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L448) + +*** + +### prevout? + +> `optional` **prevout**: [`TxOut`](TxOut.md) \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:449](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L449) + +*** + +### scriptsig + +> **scriptsig**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:450](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L450) + +*** + +### scriptsigAsm + +> **scriptsigAsm**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:451](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L451) + +*** + +### sequence + +> **sequence**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:452](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L452) + +*** + +### txid + +> **txid**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:453](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L453) + +*** + +### vout + +> **vout**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:454](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L454) diff --git a/modules/brk-client/docs/interfaces/TxOut.md b/modules/brk-client/docs/interfaces/TxOut.md new file mode 100644 index 000000000..f1f7a2aad --- /dev/null +++ b/modules/brk-client/docs/interfaces/TxOut.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxOut + +# Interface: TxOut + +Defined in: [Developer/brk/modules/brk-client/index.js:459](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L459) + +## Properties + +### scriptpubkey + +> **scriptpubkey**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:460](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L460) + +*** + +### value + +> **value**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:461](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L461) diff --git a/modules/brk-client/docs/interfaces/TxOutspend.md b/modules/brk-client/docs/interfaces/TxOutspend.md new file mode 100644 index 000000000..4babb63e4 --- /dev/null +++ b/modules/brk-client/docs/interfaces/TxOutspend.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxOutspend + +# Interface: TxOutspend + +Defined in: [Developer/brk/modules/brk-client/index.js:465](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L465) + +## Properties + +### spent + +> **spent**: `boolean` + +Defined in: [Developer/brk/modules/brk-client/index.js:466](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L466) + +*** + +### status? + +> `optional` **status**: [`TxStatus`](TxStatus.md) \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:467](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L467) + +*** + +### txid? + +> `optional` **txid**: `string` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:468](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L468) + +*** + +### vin? + +> `optional` **vin**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:469](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L469) diff --git a/modules/brk-client/docs/interfaces/TxStatus.md b/modules/brk-client/docs/interfaces/TxStatus.md new file mode 100644 index 000000000..fe0a6a0d8 --- /dev/null +++ b/modules/brk-client/docs/interfaces/TxStatus.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxStatus + +# Interface: TxStatus + +Defined in: [Developer/brk/modules/brk-client/index.js:472](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L472) + +## Properties + +### blockHash? + +> `optional` **blockHash**: `string` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:473](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L473) + +*** + +### blockHeight? + +> `optional` **blockHeight**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:474](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L474) + +*** + +### blockTime? + +> `optional` **blockTime**: `number` \| `null` + +Defined in: [Developer/brk/modules/brk-client/index.js:475](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L475) + +*** + +### confirmed + +> **confirmed**: `boolean` + +Defined in: [Developer/brk/modules/brk-client/index.js:476](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L476) diff --git a/modules/brk-client/docs/interfaces/TxidParam.md b/modules/brk-client/docs/interfaces/TxidParam.md new file mode 100644 index 000000000..b35ccae4a --- /dev/null +++ b/modules/brk-client/docs/interfaces/TxidParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxidParam + +# Interface: TxidParam + +Defined in: [Developer/brk/modules/brk-client/index.js:481](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L481) + +## Properties + +### txid + +> **txid**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:482](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L482) diff --git a/modules/brk-client/docs/interfaces/TxidVout.md b/modules/brk-client/docs/interfaces/TxidVout.md new file mode 100644 index 000000000..a5ce6b0e3 --- /dev/null +++ b/modules/brk-client/docs/interfaces/TxidVout.md @@ -0,0 +1,25 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxidVout + +# Interface: TxidVout + +Defined in: [Developer/brk/modules/brk-client/index.js:485](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L485) + +## Properties + +### txid + +> **txid**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:486](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L486) + +*** + +### vout + +> **vout**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:487](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L487) diff --git a/modules/brk-client/docs/interfaces/UnclaimedRewardsPattern.md b/modules/brk-client/docs/interfaces/UnclaimedRewardsPattern.md new file mode 100644 index 000000000..b96b19cea --- /dev/null +++ b/modules/brk-client/docs/interfaces/UnclaimedRewardsPattern.md @@ -0,0 +1,33 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / UnclaimedRewardsPattern + +# Interface: UnclaimedRewardsPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3519](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3519) + +## Properties + +### bitcoin + +> **bitcoin**: [`BitcoinPattern`](BitcoinPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3520](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3520) + +*** + +### dollars + +> **dollars**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3521](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3521) + +*** + +### sats + +> **sats**: [`BlockCountPattern`](BlockCountPattern.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3522](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3522) diff --git a/modules/brk-client/docs/interfaces/UnrealizedPattern.md b/modules/brk-client/docs/interfaces/UnrealizedPattern.md new file mode 100644 index 000000000..371176aef --- /dev/null +++ b/modules/brk-client/docs/interfaces/UnrealizedPattern.md @@ -0,0 +1,65 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / UnrealizedPattern + +# Interface: UnrealizedPattern + +Defined in: [Developer/brk/modules/brk-client/index.js:3142](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3142) + +## Properties + +### negUnrealizedLoss + +> **negUnrealizedLoss**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3143](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3143) + +*** + +### netUnrealizedPnl + +> **netUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3144](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3144) + +*** + +### supplyInLoss + +> **supplyInLoss**: [`ActiveSupplyPattern`](ActiveSupplyPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3145](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3145) + +*** + +### supplyInProfit + +> **supplyInProfit**: [`ActiveSupplyPattern`](ActiveSupplyPattern.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:3146](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3146) + +*** + +### totalUnrealizedPnl + +> **totalUnrealizedPnl**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3147](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3147) + +*** + +### unrealizedLoss + +> **unrealizedLoss**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3148](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3148) + +*** + +### unrealizedProfit + +> **unrealizedProfit**: [`MetricPattern1`](../type-aliases/MetricPattern1.md)\<`number`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:3149](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L3149) diff --git a/modules/brk-client/docs/interfaces/Utxo.md b/modules/brk-client/docs/interfaces/Utxo.md new file mode 100644 index 000000000..474477008 --- /dev/null +++ b/modules/brk-client/docs/interfaces/Utxo.md @@ -0,0 +1,41 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Utxo + +# Interface: Utxo + +Defined in: [Developer/brk/modules/brk-client/index.js:497](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L497) + +## Properties + +### status + +> **status**: [`TxStatus`](TxStatus.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:498](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L498) + +*** + +### txid + +> **txid**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:499](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L499) + +*** + +### value + +> **value**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:500](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L500) + +*** + +### vout + +> **vout**: `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:501](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L501) diff --git a/modules/brk-client/docs/interfaces/ValidateAddressParam.md b/modules/brk-client/docs/interfaces/ValidateAddressParam.md new file mode 100644 index 000000000..a1b62a521 --- /dev/null +++ b/modules/brk-client/docs/interfaces/ValidateAddressParam.md @@ -0,0 +1,17 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / ValidateAddressParam + +# Interface: ValidateAddressParam + +Defined in: [Developer/brk/modules/brk-client/index.js:505](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L505) + +## Properties + +### address + +> **address**: `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:506](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L506) diff --git a/modules/brk-client/docs/type-aliases/Address.md b/modules/brk-client/docs/type-aliases/Address.md new file mode 100644 index 000000000..c3d93cb50 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Address.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Address + +# Type Alias: Address + +> **Address**\<\> = `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:6](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L6) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/AnyAddressIndex.md b/modules/brk-client/docs/type-aliases/AnyAddressIndex.md new file mode 100644 index 000000000..ad4619e5c --- /dev/null +++ b/modules/brk-client/docs/type-aliases/AnyAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AnyAddressIndex + +# Type Alias: AnyAddressIndex + +> **AnyAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:49](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L49) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/AnyMetricData.md b/modules/brk-client/docs/type-aliases/AnyMetricData.md new file mode 100644 index 000000000..8280e74ec --- /dev/null +++ b/modules/brk-client/docs/type-aliases/AnyMetricData.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AnyMetricData + +# Type Alias: AnyMetricData + +> **AnyMetricData**\<\> = [`MetricData`](../interfaces/MetricData.md)\<`unknown`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:552](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L552) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/AnyMetricEndpoint.md b/modules/brk-client/docs/type-aliases/AnyMetricEndpoint.md new file mode 100644 index 000000000..add877c63 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/AnyMetricEndpoint.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AnyMetricEndpoint + +# Type Alias: AnyMetricEndpoint + +> **AnyMetricEndpoint**\<\> = [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`unknown`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:561](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L561) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/AnyMetricPattern.md b/modules/brk-client/docs/type-aliases/AnyMetricPattern.md new file mode 100644 index 000000000..43ace480a --- /dev/null +++ b/modules/brk-client/docs/type-aliases/AnyMetricPattern.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / AnyMetricPattern + +# Type Alias: AnyMetricPattern + +> **AnyMetricPattern**\<\> = [`MetricPattern`](../interfaces/MetricPattern.md)\<`unknown`\> + +Defined in: [Developer/brk/modules/brk-client/index.js:572](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L572) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Bitcoin.md b/modules/brk-client/docs/type-aliases/Bitcoin.md new file mode 100644 index 000000000..2a0124d37 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Bitcoin.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Bitcoin + +# Type Alias: Bitcoin + +> **Bitcoin**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:50](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L50) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/BlkPosition.md b/modules/brk-client/docs/type-aliases/BlkPosition.md new file mode 100644 index 000000000..66016011e --- /dev/null +++ b/modules/brk-client/docs/type-aliases/BlkPosition.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlkPosition + +# Type Alias: BlkPosition + +> **BlkPosition**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:51](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L51) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/BlockHash.md b/modules/brk-client/docs/type-aliases/BlockHash.md new file mode 100644 index 000000000..12fc719f0 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/BlockHash.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / BlockHash + +# Type Alias: BlockHash + +> **BlockHash**\<\> = `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:62](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L62) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Cents.md b/modules/brk-client/docs/type-aliases/Cents.md new file mode 100644 index 000000000..10e811963 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Cents.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Cents + +# Type Alias: Cents + +> **Cents**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:122](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L122) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Close.md b/modules/brk-client/docs/type-aliases/Close.md new file mode 100644 index 000000000..ed8cca5a2 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Close.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Close + +# Type Alias: Close + +> **Close**\<\> = [`Cents`](Cents.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:123](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L123) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Date.md b/modules/brk-client/docs/type-aliases/Date.md new file mode 100644 index 000000000..6523165bd --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Date.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Date + +# Type Alias: Date + +> **Date**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:131](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L131) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/DateIndex.md b/modules/brk-client/docs/type-aliases/DateIndex.md new file mode 100644 index 000000000..d8dfa476c --- /dev/null +++ b/modules/brk-client/docs/type-aliases/DateIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / DateIndex + +# Type Alias: DateIndex + +> **DateIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:132](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L132) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/DecadeIndex.md b/modules/brk-client/docs/type-aliases/DecadeIndex.md new file mode 100644 index 000000000..37e02cbf0 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/DecadeIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / DecadeIndex + +# Type Alias: DecadeIndex + +> **DecadeIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:133](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L133) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/DifficultyEpoch.md b/modules/brk-client/docs/type-aliases/DifficultyEpoch.md new file mode 100644 index 000000000..92bee210e --- /dev/null +++ b/modules/brk-client/docs/type-aliases/DifficultyEpoch.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / DifficultyEpoch + +# Type Alias: DifficultyEpoch + +> **DifficultyEpoch**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:160](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L160) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Dollars.md b/modules/brk-client/docs/type-aliases/Dollars.md new file mode 100644 index 000000000..f5ab01544 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Dollars.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Dollars + +# Type Alias: Dollars + +> **Dollars**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:161](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L161) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/EmptyAddressIndex.md b/modules/brk-client/docs/type-aliases/EmptyAddressIndex.md new file mode 100644 index 000000000..546d1938e --- /dev/null +++ b/modules/brk-client/docs/type-aliases/EmptyAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / EmptyAddressIndex + +# Type Alias: EmptyAddressIndex + +> **EmptyAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:168](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L168) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/EmptyOutputIndex.md b/modules/brk-client/docs/type-aliases/EmptyOutputIndex.md new file mode 100644 index 000000000..1a411254d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/EmptyOutputIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / EmptyOutputIndex + +# Type Alias: EmptyOutputIndex + +> **EmptyOutputIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:169](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L169) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/FeeRate.md b/modules/brk-client/docs/type-aliases/FeeRate.md new file mode 100644 index 000000000..3d32ec787 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/FeeRate.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / FeeRate + +# Type Alias: FeeRate + +> **FeeRate**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:170](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L170) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Format.md b/modules/brk-client/docs/type-aliases/Format.md new file mode 100644 index 000000000..d42c16a36 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Format.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Format + +# Type Alias: Format + +> **Format**\<\> = `"json"` \| `"csv"` + +Defined in: [Developer/brk/modules/brk-client/index.js:171](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L171) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/HalvingEpoch.md b/modules/brk-client/docs/type-aliases/HalvingEpoch.md new file mode 100644 index 000000000..83b063099 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/HalvingEpoch.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / HalvingEpoch + +# Type Alias: HalvingEpoch + +> **HalvingEpoch**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:172](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L172) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Height.md b/modules/brk-client/docs/type-aliases/Height.md new file mode 100644 index 000000000..dcde963dc --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Height.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Height + +# Type Alias: Height + +> **Height**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:191](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L191) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Hex.md b/modules/brk-client/docs/type-aliases/Hex.md new file mode 100644 index 000000000..b8f12e052 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Hex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Hex + +# Type Alias: Hex + +> **Hex**\<\> = `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:196](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L196) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/High.md b/modules/brk-client/docs/type-aliases/High.md new file mode 100644 index 000000000..72836488f --- /dev/null +++ b/modules/brk-client/docs/type-aliases/High.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / High + +# Type Alias: High + +> **High**\<\> = [`Cents`](Cents.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:197](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L197) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Index.md b/modules/brk-client/docs/type-aliases/Index.md new file mode 100644 index 000000000..485288781 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Index.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Index + +# Type Alias: Index + +> **Index**\<\> = `"dateindex"` \| `"decadeindex"` \| `"difficultyepoch"` \| `"emptyoutputindex"` \| `"halvingepoch"` \| `"height"` \| `"txinindex"` \| `"monthindex"` \| `"opreturnindex"` \| `"txoutindex"` \| `"p2aaddressindex"` \| `"p2msoutputindex"` \| `"p2pk33addressindex"` \| `"p2pk65addressindex"` \| `"p2pkhaddressindex"` \| `"p2shaddressindex"` \| `"p2traddressindex"` \| `"p2wpkhaddressindex"` \| `"p2wshaddressindex"` \| `"quarterindex"` \| `"semesterindex"` \| `"txindex"` \| `"unknownoutputindex"` \| `"weekindex"` \| `"yearindex"` \| `"loadedaddressindex"` \| `"emptyaddressindex"` + +Defined in: [Developer/brk/modules/brk-client/index.js:198](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L198) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Limit.md b/modules/brk-client/docs/type-aliases/Limit.md new file mode 100644 index 000000000..f7c881809 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Limit.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Limit + +# Type Alias: Limit + +> **Limit**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:204](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L204) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/LoadedAddressIndex.md b/modules/brk-client/docs/type-aliases/LoadedAddressIndex.md new file mode 100644 index 000000000..d2f6ac98d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/LoadedAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / LoadedAddressIndex + +# Type Alias: LoadedAddressIndex + +> **LoadedAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:218](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L218) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Low.md b/modules/brk-client/docs/type-aliases/Low.md new file mode 100644 index 000000000..1948bf5db --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Low.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Low + +# Type Alias: Low + +> **Low**\<\> = [`Cents`](Cents.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:219](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L219) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Metric.md b/modules/brk-client/docs/type-aliases/Metric.md new file mode 100644 index 000000000..c7860990c --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Metric.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Metric + +# Type Alias: Metric + +> **Metric**\<\> = `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:235](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L235) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/MetricPattern1.md b/modules/brk-client/docs/type-aliases/MetricPattern1.md new file mode 100644 index 000000000..5bca3a95e --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern1.md @@ -0,0 +1,85 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern1 + +# Type Alias: MetricPattern1\ + +> **MetricPattern1**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:666](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L666) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.dateindex + +> **dateindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.decadeindex + +> **decadeindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.difficultyepoch + +> **difficultyepoch**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.height + +> **height**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.monthindex + +> **monthindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.quarterindex + +> **quarterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.semesterindex + +> **semesterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.weekindex + +> **weekindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.yearindex + +> **yearindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern10.md b/modules/brk-client/docs/type-aliases/MetricPattern10.md new file mode 100644 index 000000000..d3e38fa80 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern10.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern10 + +# Type Alias: MetricPattern10\ + +> **MetricPattern10**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1068](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1068) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.halvingepoch + +> **halvingepoch**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern11.md b/modules/brk-client/docs/type-aliases/MetricPattern11.md new file mode 100644 index 000000000..75f0f474d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern11.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern11 + +# Type Alias: MetricPattern11\ + +> **MetricPattern11**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1099](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1099) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.height + +> **height**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern12.md b/modules/brk-client/docs/type-aliases/MetricPattern12.md new file mode 100644 index 000000000..804c03939 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern12.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern12 + +# Type Alias: MetricPattern12\ + +> **MetricPattern12**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1130](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1130) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.txinindex + +> **txinindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern13.md b/modules/brk-client/docs/type-aliases/MetricPattern13.md new file mode 100644 index 000000000..633bfa27a --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern13.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern13 + +# Type Alias: MetricPattern13\ + +> **MetricPattern13**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1161](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1161) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.monthindex + +> **monthindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern14.md b/modules/brk-client/docs/type-aliases/MetricPattern14.md new file mode 100644 index 000000000..85784429c --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern14.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern14 + +# Type Alias: MetricPattern14\ + +> **MetricPattern14**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1192](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1192) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.opreturnindex + +> **opreturnindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern15.md b/modules/brk-client/docs/type-aliases/MetricPattern15.md new file mode 100644 index 000000000..f8a5236b8 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern15.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern15 + +# Type Alias: MetricPattern15\ + +> **MetricPattern15**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1223](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1223) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.txoutindex + +> **txoutindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern16.md b/modules/brk-client/docs/type-aliases/MetricPattern16.md new file mode 100644 index 000000000..b5ddb0920 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern16.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern16 + +# Type Alias: MetricPattern16\ + +> **MetricPattern16**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1254](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1254) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2aaddressindex + +> **p2aaddressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern17.md b/modules/brk-client/docs/type-aliases/MetricPattern17.md new file mode 100644 index 000000000..2b91eafd1 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern17.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern17 + +# Type Alias: MetricPattern17\ + +> **MetricPattern17**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1285](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1285) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2msoutputindex + +> **p2msoutputindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern18.md b/modules/brk-client/docs/type-aliases/MetricPattern18.md new file mode 100644 index 000000000..3b47b46c9 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern18.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern18 + +# Type Alias: MetricPattern18\ + +> **MetricPattern18**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1316](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1316) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2pk33addressindex + +> **p2pk33addressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern19.md b/modules/brk-client/docs/type-aliases/MetricPattern19.md new file mode 100644 index 000000000..4cafed9d1 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern19.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern19 + +# Type Alias: MetricPattern19\ + +> **MetricPattern19**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1347](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1347) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2pk65addressindex + +> **p2pk65addressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern2.md b/modules/brk-client/docs/type-aliases/MetricPattern2.md new file mode 100644 index 000000000..ff48fb829 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern2.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern2 + +# Type Alias: MetricPattern2\ + +> **MetricPattern2**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:731](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L731) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.dateindex + +> **dateindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.decadeindex + +> **decadeindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.difficultyepoch + +> **difficultyepoch**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.monthindex + +> **monthindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.quarterindex + +> **quarterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.semesterindex + +> **semesterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.weekindex + +> **weekindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.yearindex + +> **yearindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern20.md b/modules/brk-client/docs/type-aliases/MetricPattern20.md new file mode 100644 index 000000000..16f5415a6 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern20.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern20 + +# Type Alias: MetricPattern20\ + +> **MetricPattern20**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1378](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1378) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2pkhaddressindex + +> **p2pkhaddressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern21.md b/modules/brk-client/docs/type-aliases/MetricPattern21.md new file mode 100644 index 000000000..5cee32795 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern21.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern21 + +# Type Alias: MetricPattern21\ + +> **MetricPattern21**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1409](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1409) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2shaddressindex + +> **p2shaddressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern22.md b/modules/brk-client/docs/type-aliases/MetricPattern22.md new file mode 100644 index 000000000..625761eca --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern22.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern22 + +# Type Alias: MetricPattern22\ + +> **MetricPattern22**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1440](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1440) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2traddressindex + +> **p2traddressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern23.md b/modules/brk-client/docs/type-aliases/MetricPattern23.md new file mode 100644 index 000000000..a0fdf7951 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern23.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern23 + +# Type Alias: MetricPattern23\ + +> **MetricPattern23**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1471](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1471) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2wpkhaddressindex + +> **p2wpkhaddressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern24.md b/modules/brk-client/docs/type-aliases/MetricPattern24.md new file mode 100644 index 000000000..1b7973f97 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern24.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern24 + +# Type Alias: MetricPattern24\ + +> **MetricPattern24**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1502](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1502) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.p2wshaddressindex + +> **p2wshaddressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern25.md b/modules/brk-client/docs/type-aliases/MetricPattern25.md new file mode 100644 index 000000000..08767fbae --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern25.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern25 + +# Type Alias: MetricPattern25\ + +> **MetricPattern25**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1533](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1533) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.quarterindex + +> **quarterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern26.md b/modules/brk-client/docs/type-aliases/MetricPattern26.md new file mode 100644 index 000000000..f316aaa2b --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern26.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern26 + +# Type Alias: MetricPattern26\ + +> **MetricPattern26**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1564](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1564) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.semesterindex + +> **semesterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern27.md b/modules/brk-client/docs/type-aliases/MetricPattern27.md new file mode 100644 index 000000000..7832e7012 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern27.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern27 + +# Type Alias: MetricPattern27\ + +> **MetricPattern27**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1595](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1595) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.txindex + +> **txindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern28.md b/modules/brk-client/docs/type-aliases/MetricPattern28.md new file mode 100644 index 000000000..c0ff08db7 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern28.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern28 + +# Type Alias: MetricPattern28\ + +> **MetricPattern28**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1626](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1626) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.unknownoutputindex + +> **unknownoutputindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern29.md b/modules/brk-client/docs/type-aliases/MetricPattern29.md new file mode 100644 index 000000000..6c8af9933 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern29.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern29 + +# Type Alias: MetricPattern29\ + +> **MetricPattern29**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1657](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1657) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.weekindex + +> **weekindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern3.md b/modules/brk-client/docs/type-aliases/MetricPattern3.md new file mode 100644 index 000000000..435575e1f --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern3.md @@ -0,0 +1,81 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern3 + +# Type Alias: MetricPattern3\ + +> **MetricPattern3**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:792](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L792) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.dateindex + +> **dateindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.decadeindex + +> **decadeindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.height + +> **height**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.monthindex + +> **monthindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.quarterindex + +> **quarterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.semesterindex + +> **semesterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.weekindex + +> **weekindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.yearindex + +> **yearindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern30.md b/modules/brk-client/docs/type-aliases/MetricPattern30.md new file mode 100644 index 000000000..c7cf4af67 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern30.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern30 + +# Type Alias: MetricPattern30\ + +> **MetricPattern30**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1688](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1688) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.yearindex + +> **yearindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern31.md b/modules/brk-client/docs/type-aliases/MetricPattern31.md new file mode 100644 index 000000000..088f7b37d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern31.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern31 + +# Type Alias: MetricPattern31\ + +> **MetricPattern31**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1719](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1719) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.loadedaddressindex + +> **loadedaddressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern32.md b/modules/brk-client/docs/type-aliases/MetricPattern32.md new file mode 100644 index 000000000..f2b704c1d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern32.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern32 + +# Type Alias: MetricPattern32\ + +> **MetricPattern32**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1750](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1750) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.emptyaddressindex + +> **emptyaddressindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern4.md b/modules/brk-client/docs/type-aliases/MetricPattern4.md new file mode 100644 index 000000000..7efa07c4d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern4.md @@ -0,0 +1,77 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern4 + +# Type Alias: MetricPattern4\ + +> **MetricPattern4**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:853](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L853) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.dateindex + +> **dateindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.decadeindex + +> **decadeindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.monthindex + +> **monthindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.quarterindex + +> **quarterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.semesterindex + +> **semesterindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.weekindex + +> **weekindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.yearindex + +> **yearindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern5.md b/modules/brk-client/docs/type-aliases/MetricPattern5.md new file mode 100644 index 000000000..8a67052c6 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern5.md @@ -0,0 +1,57 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern5 + +# Type Alias: MetricPattern5\ + +> **MetricPattern5**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:910](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L910) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.dateindex + +> **dateindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +#### by.height + +> **height**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern6.md b/modules/brk-client/docs/type-aliases/MetricPattern6.md new file mode 100644 index 000000000..8547c1c30 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern6.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern6 + +# Type Alias: MetricPattern6\ + +> **MetricPattern6**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:944](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L944) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.dateindex + +> **dateindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern7.md b/modules/brk-client/docs/type-aliases/MetricPattern7.md new file mode 100644 index 000000000..4ca139220 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern7.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern7 + +# Type Alias: MetricPattern7\ + +> **MetricPattern7**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:975](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L975) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.decadeindex + +> **decadeindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern8.md b/modules/brk-client/docs/type-aliases/MetricPattern8.md new file mode 100644 index 000000000..cf84934f8 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern8.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern8 + +# Type Alias: MetricPattern8\ + +> **MetricPattern8**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1006](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1006) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.difficultyepoch + +> **difficultyepoch**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/MetricPattern9.md b/modules/brk-client/docs/type-aliases/MetricPattern9.md new file mode 100644 index 000000000..7ec8434a4 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MetricPattern9.md @@ -0,0 +1,53 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MetricPattern9 + +# Type Alias: MetricPattern9\ + +> **MetricPattern9**\<`T`\> = `object` + +Defined in: [Developer/brk/modules/brk-client/index.js:1037](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L1037) + +## Type Parameters + +### T + +`T` + +## Type Declaration + +### by + +> **by**: `object` + +#### by.emptyoutputindex + +> **emptyoutputindex**: [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> + +### get() + +> **get**: (`index`) => [`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +#### Parameters + +##### index + +[`Index`](Index.md) + +#### Returns + +[`MetricEndpoint`](../interfaces/MetricEndpoint.md)\<`T`\> \| `undefined` + +### indexes() + +> **indexes**: () => [`Index`](Index.md)[] + +#### Returns + +[`Index`](Index.md)[] + +### name + +> **name**: `string` diff --git a/modules/brk-client/docs/type-aliases/Metrics.md b/modules/brk-client/docs/type-aliases/Metrics.md new file mode 100644 index 000000000..50734695a --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Metrics.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Metrics + +# Type Alias: Metrics + +> **Metrics**\<\> = `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:277](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L277) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/MonthIndex.md b/modules/brk-client/docs/type-aliases/MonthIndex.md new file mode 100644 index 000000000..9c2e1f664 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/MonthIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / MonthIndex + +# Type Alias: MonthIndex + +> **MonthIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:278](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L278) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/OpReturnIndex.md b/modules/brk-client/docs/type-aliases/OpReturnIndex.md new file mode 100644 index 000000000..a09e54126 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/OpReturnIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / OpReturnIndex + +# Type Alias: OpReturnIndex + +> **OpReturnIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:300](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L300) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Open.md b/modules/brk-client/docs/type-aliases/Open.md new file mode 100644 index 000000000..3a92d6009 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Open.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Open + +# Type Alias: Open + +> **Open**\<\> = [`Cents`](Cents.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:301](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L301) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/OutPoint.md b/modules/brk-client/docs/type-aliases/OutPoint.md new file mode 100644 index 000000000..4178e606c --- /dev/null +++ b/modules/brk-client/docs/type-aliases/OutPoint.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / OutPoint + +# Type Alias: OutPoint + +> **OutPoint**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:302](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L302) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/OutputType.md b/modules/brk-client/docs/type-aliases/OutputType.md new file mode 100644 index 000000000..be5a223f3 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/OutputType.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / OutputType + +# Type Alias: OutputType + +> **OutputType**\<\> = `"p2pk65"` \| `"p2pk33"` \| `"p2pkh"` \| `"p2ms"` \| `"p2sh"` \| `"opreturn"` \| `"p2wpkh"` \| `"p2wsh"` \| `"p2tr"` \| `"p2a"` \| `"empty"` \| `"unknown"` + +Defined in: [Developer/brk/modules/brk-client/index.js:303](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L303) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2AAddressIndex.md b/modules/brk-client/docs/type-aliases/P2AAddressIndex.md new file mode 100644 index 000000000..51706e952 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2AAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2AAddressIndex + +# Type Alias: P2AAddressIndex + +> **P2AAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:304](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L304) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2ABytes.md b/modules/brk-client/docs/type-aliases/P2ABytes.md new file mode 100644 index 000000000..e0a5eb12d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2ABytes.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2ABytes + +# Type Alias: P2ABytes + +> **P2ABytes**\<\> = [`U8x2`](U8x2.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:305](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L305) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2MSOutputIndex.md b/modules/brk-client/docs/type-aliases/P2MSOutputIndex.md new file mode 100644 index 000000000..4fc5a20a5 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2MSOutputIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2MSOutputIndex + +# Type Alias: P2MSOutputIndex + +> **P2MSOutputIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:306](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L306) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2PK33AddressIndex.md b/modules/brk-client/docs/type-aliases/P2PK33AddressIndex.md new file mode 100644 index 000000000..0705e3438 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2PK33AddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2PK33AddressIndex + +# Type Alias: P2PK33AddressIndex + +> **P2PK33AddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:307](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L307) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2PK33Bytes.md b/modules/brk-client/docs/type-aliases/P2PK33Bytes.md new file mode 100644 index 000000000..9ff1e8d30 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2PK33Bytes.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2PK33Bytes + +# Type Alias: P2PK33Bytes + +> **P2PK33Bytes**\<\> = [`U8x33`](U8x33.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:308](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L308) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2PK65AddressIndex.md b/modules/brk-client/docs/type-aliases/P2PK65AddressIndex.md new file mode 100644 index 000000000..65ea1375a --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2PK65AddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2PK65AddressIndex + +# Type Alias: P2PK65AddressIndex + +> **P2PK65AddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:309](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L309) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2PK65Bytes.md b/modules/brk-client/docs/type-aliases/P2PK65Bytes.md new file mode 100644 index 000000000..2ae77c41d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2PK65Bytes.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2PK65Bytes + +# Type Alias: P2PK65Bytes + +> **P2PK65Bytes**\<\> = [`U8x65`](U8x65.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:310](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L310) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2PKHAddressIndex.md b/modules/brk-client/docs/type-aliases/P2PKHAddressIndex.md new file mode 100644 index 000000000..21da192cd --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2PKHAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2PKHAddressIndex + +# Type Alias: P2PKHAddressIndex + +> **P2PKHAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:311](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L311) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2PKHBytes.md b/modules/brk-client/docs/type-aliases/P2PKHBytes.md new file mode 100644 index 000000000..bbc61710f --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2PKHBytes.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2PKHBytes + +# Type Alias: P2PKHBytes + +> **P2PKHBytes**\<\> = [`U8x20`](U8x20.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:312](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L312) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2SHAddressIndex.md b/modules/brk-client/docs/type-aliases/P2SHAddressIndex.md new file mode 100644 index 000000000..564855f62 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2SHAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2SHAddressIndex + +# Type Alias: P2SHAddressIndex + +> **P2SHAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:313](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L313) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2SHBytes.md b/modules/brk-client/docs/type-aliases/P2SHBytes.md new file mode 100644 index 000000000..da5a9db87 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2SHBytes.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2SHBytes + +# Type Alias: P2SHBytes + +> **P2SHBytes**\<\> = [`U8x20`](U8x20.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:314](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L314) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2TRAddressIndex.md b/modules/brk-client/docs/type-aliases/P2TRAddressIndex.md new file mode 100644 index 000000000..3ef791b96 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2TRAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2TRAddressIndex + +# Type Alias: P2TRAddressIndex + +> **P2TRAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:315](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L315) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2TRBytes.md b/modules/brk-client/docs/type-aliases/P2TRBytes.md new file mode 100644 index 000000000..1c1be4b50 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2TRBytes.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2TRBytes + +# Type Alias: P2TRBytes + +> **P2TRBytes**\<\> = [`U8x32`](U8x32.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:316](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L316) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2WPKHAddressIndex.md b/modules/brk-client/docs/type-aliases/P2WPKHAddressIndex.md new file mode 100644 index 000000000..36d7b122e --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2WPKHAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2WPKHAddressIndex + +# Type Alias: P2WPKHAddressIndex + +> **P2WPKHAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:317](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L317) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2WPKHBytes.md b/modules/brk-client/docs/type-aliases/P2WPKHBytes.md new file mode 100644 index 000000000..e5c2272e7 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2WPKHBytes.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2WPKHBytes + +# Type Alias: P2WPKHBytes + +> **P2WPKHBytes**\<\> = [`U8x20`](U8x20.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:318](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L318) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2WSHAddressIndex.md b/modules/brk-client/docs/type-aliases/P2WSHAddressIndex.md new file mode 100644 index 000000000..75d8496b5 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2WSHAddressIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2WSHAddressIndex + +# Type Alias: P2WSHAddressIndex + +> **P2WSHAddressIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:319](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L319) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/P2WSHBytes.md b/modules/brk-client/docs/type-aliases/P2WSHBytes.md new file mode 100644 index 000000000..4dad36788 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/P2WSHBytes.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / P2WSHBytes + +# Type Alias: P2WSHBytes + +> **P2WSHBytes**\<\> = [`U8x32`](U8x32.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:320](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L320) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/PoolSlug.md b/modules/brk-client/docs/type-aliases/PoolSlug.md new file mode 100644 index 000000000..6c209dbc4 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/PoolSlug.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / PoolSlug + +# Type Alias: PoolSlug + +> **PoolSlug**\<\> = `"unknown"` \| `"blockfills"` \| `"ultimuspool"` \| `"terrapool"` \| `"luxor"` \| `"onethash"` \| `"btccom"` \| `"bitfarms"` \| `"huobipool"` \| `"wayicn"` \| `"canoepool"` \| `"btctop"` \| `"bitcoincom"` \| `"pool175btc"` \| `"gbminers"` \| `"axbt"` \| `"asicminer"` \| `"bitminter"` \| `"bitcoinrussia"` \| `"btcserv"` \| `"simplecoinus"` \| `"btcguild"` \| `"eligius"` \| `"ozcoin"` \| `"eclipsemc"` \| `"maxbtc"` \| `"triplemining"` \| `"coinlab"` \| `"pool50btc"` \| `"ghashio"` \| `"stminingcorp"` \| `"bitparking"` \| `"mmpool"` \| `"polmine"` \| `"kncminer"` \| `"bitalo"` \| `"f2pool"` \| `"hhtt"` \| `"megabigpower"` \| `"mtred"` \| `"nmcbit"` \| `"yourbtcnet"` \| `"givemecoins"` \| `"braiinspool"` \| `"antpool"` \| `"multicoinco"` \| `"bcpoolio"` \| `"cointerra"` \| `"kanopool"` \| `"solock"` \| `"ckpool"` \| `"nicehash"` \| `"bitclub"` \| `"bitcoinaffiliatenetwork"` \| `"btcc"` \| `"bwpool"` \| `"exxbw"` \| `"bitsolo"` \| `"bitfury"` \| `"twentyoneinc"` \| `"digitalbtc"` \| `"eightbaochi"` \| `"mybtccoinpool"` \| `"tbdice"` \| `"hashpool"` \| `"nexious"` \| `"bravomining"` \| `"hotpool"` \| `"okexpool"` \| `"bcmonster"` \| `"onehash"` \| `"bixin"` \| `"tatmaspool"` \| `"viabtc"` \| `"connectbtc"` \| `"batpool"` \| `"waterhole"` \| `"dcexploration"` \| `"dcex"` \| `"btpool"` \| `"fiftyeightcoin"` \| `"bitcoinindia"` \| `"shawnp0wers"` \| `"phashio"` \| `"rigpool"` \| `"haozhuzhu"` \| `"sevenpool"` \| `"miningkings"` \| `"hashbx"` \| `"dpool"` \| `"rawpool"` \| `"haominer"` \| `"helix"` \| `"bitcoinukraine"` \| `"poolin"` \| `"secretsuperstar"` \| `"tigerpoolnet"` \| `"sigmapoolcom"` \| `"okpooltop"` \| `"hummerpool"` \| `"tangpool"` \| `"bytepool"` \| `"spiderpool"` \| `"novablock"` \| `"miningcity"` \| `"binancepool"` \| `"minerium"` \| `"lubiancom"` \| `"okkong"` \| `"aaopool"` \| `"emcdpool"` \| `"foundryusa"` \| `"sbicrypto"` \| `"arkpool"` \| `"purebtccom"` \| `"marapool"` \| `"kucoinpool"` \| `"entrustcharitypool"` \| `"okminer"` \| `"titan"` \| `"pegapool"` \| `"btcnuggets"` \| `"cloudhashing"` \| `"digitalxmintsy"` \| `"telco214"` \| `"btcpoolparty"` \| `"multipool"` \| `"transactioncoinmining"` \| `"btcdig"` \| `"trickysbtcpool"` \| `"btcmp"` \| `"eobot"` \| `"unomp"` \| `"patels"` \| `"gogreenlight"` \| `"ekanembtc"` \| `"canoe"` \| `"tiger"` \| `"onem1x"` \| `"zulupool"` \| `"secpool"` \| `"ocean"` \| `"whitepool"` \| `"wk057"` \| `"futurebitapollosolo"` \| `"carbonnegative"` \| `"portlandhodl"` \| `"phoenix"` \| `"neopool"` \| `"maxipool"` \| `"bitfufupool"` \| `"luckypool"` \| `"miningdutch"` \| `"publicpool"` \| `"miningsquared"` \| `"innopolistech"` \| `"btclab"` \| `"parasite"` + +Defined in: [Developer/brk/modules/brk-client/index.js:366](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L366) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/QuarterIndex.md b/modules/brk-client/docs/type-aliases/QuarterIndex.md new file mode 100644 index 000000000..8bae3b0eb --- /dev/null +++ b/modules/brk-client/docs/type-aliases/QuarterIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / QuarterIndex + +# Type Alias: QuarterIndex + +> **QuarterIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:388](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L388) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/RawLockTime.md b/modules/brk-client/docs/type-aliases/RawLockTime.md new file mode 100644 index 000000000..1c37db014 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/RawLockTime.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / RawLockTime + +# Type Alias: RawLockTime + +> **RawLockTime**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:389](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L389) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Sats.md b/modules/brk-client/docs/type-aliases/Sats.md new file mode 100644 index 000000000..9d989d285 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Sats.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Sats + +# Type Alias: Sats + +> **Sats**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:406](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L406) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/SemesterIndex.md b/modules/brk-client/docs/type-aliases/SemesterIndex.md new file mode 100644 index 000000000..c7055286c --- /dev/null +++ b/modules/brk-client/docs/type-aliases/SemesterIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / SemesterIndex + +# Type Alias: SemesterIndex + +> **SemesterIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:407](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L407) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/StoredBool.md b/modules/brk-client/docs/type-aliases/StoredBool.md new file mode 100644 index 000000000..f1cc64f95 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/StoredBool.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / StoredBool + +# Type Alias: StoredBool + +> **StoredBool**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:408](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L408) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/StoredF32.md b/modules/brk-client/docs/type-aliases/StoredF32.md new file mode 100644 index 000000000..ac7ba39b6 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/StoredF32.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / StoredF32 + +# Type Alias: StoredF32 + +> **StoredF32**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:409](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L409) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/StoredF64.md b/modules/brk-client/docs/type-aliases/StoredF64.md new file mode 100644 index 000000000..cf41623ad --- /dev/null +++ b/modules/brk-client/docs/type-aliases/StoredF64.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / StoredF64 + +# Type Alias: StoredF64 + +> **StoredF64**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:410](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L410) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/StoredI16.md b/modules/brk-client/docs/type-aliases/StoredI16.md new file mode 100644 index 000000000..0863e60f5 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/StoredI16.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / StoredI16 + +# Type Alias: StoredI16 + +> **StoredI16**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:411](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L411) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/StoredU16.md b/modules/brk-client/docs/type-aliases/StoredU16.md new file mode 100644 index 000000000..5883c0d79 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/StoredU16.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / StoredU16 + +# Type Alias: StoredU16 + +> **StoredU16**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:412](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L412) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/StoredU32.md b/modules/brk-client/docs/type-aliases/StoredU32.md new file mode 100644 index 000000000..4b9450f72 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/StoredU32.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / StoredU32 + +# Type Alias: StoredU32 + +> **StoredU32**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:413](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L413) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/StoredU64.md b/modules/brk-client/docs/type-aliases/StoredU64.md new file mode 100644 index 000000000..6b07fb3c2 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/StoredU64.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / StoredU64 + +# Type Alias: StoredU64 + +> **StoredU64**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:414](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L414) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/TimePeriod.md b/modules/brk-client/docs/type-aliases/TimePeriod.md new file mode 100644 index 000000000..bebaf4bbb --- /dev/null +++ b/modules/brk-client/docs/type-aliases/TimePeriod.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TimePeriod + +# Type Alias: TimePeriod + +> **TimePeriod**\<\> = `"24h"` \| `"3d"` \| `"1w"` \| `"1m"` \| `"3m"` \| `"6m"` \| `"1y"` \| `"2y"` \| `"3y"` + +Defined in: [Developer/brk/modules/brk-client/index.js:420](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L420) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Timestamp.md b/modules/brk-client/docs/type-aliases/Timestamp.md new file mode 100644 index 000000000..5760aea9c --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Timestamp.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Timestamp + +# Type Alias: Timestamp + +> **Timestamp**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:425](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L425) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/TreeNode.md b/modules/brk-client/docs/type-aliases/TreeNode.md new file mode 100644 index 000000000..3375ee370 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/TreeNode.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TreeNode + +# Type Alias: TreeNode + +> **TreeNode**\<\> = \{\[`key`: `string`\]: `TreeNode`; \} \| [`MetricLeafWithSchema`](../interfaces/MetricLeafWithSchema.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:444](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L444) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/TxInIndex.md b/modules/brk-client/docs/type-aliases/TxInIndex.md new file mode 100644 index 000000000..fedbaac7b --- /dev/null +++ b/modules/brk-client/docs/type-aliases/TxInIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxInIndex + +# Type Alias: TxInIndex + +> **TxInIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:456](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L456) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/TxIndex.md b/modules/brk-client/docs/type-aliases/TxIndex.md new file mode 100644 index 000000000..6ca581d6d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/TxIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxIndex + +# Type Alias: TxIndex + +> **TxIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:457](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L457) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/TxOutIndex.md b/modules/brk-client/docs/type-aliases/TxOutIndex.md new file mode 100644 index 000000000..58fd3695f --- /dev/null +++ b/modules/brk-client/docs/type-aliases/TxOutIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxOutIndex + +# Type Alias: TxOutIndex + +> **TxOutIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:463](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L463) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/TxVersion.md b/modules/brk-client/docs/type-aliases/TxVersion.md new file mode 100644 index 000000000..f8b1b6d34 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/TxVersion.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TxVersion + +# Type Alias: TxVersion + +> **TxVersion**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:478](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L478) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Txid.md b/modules/brk-client/docs/type-aliases/Txid.md new file mode 100644 index 000000000..0bf5ccef8 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Txid.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Txid + +# Type Alias: Txid + +> **Txid**\<\> = `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:479](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L479) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/TypeIndex.md b/modules/brk-client/docs/type-aliases/TypeIndex.md new file mode 100644 index 000000000..cb027e359 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/TypeIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / TypeIndex + +# Type Alias: TypeIndex + +> **TypeIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:489](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L489) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/U8x2.md b/modules/brk-client/docs/type-aliases/U8x2.md new file mode 100644 index 000000000..300cbfb99 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/U8x2.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / U8x2 + +# Type Alias: U8x2 + +> **U8x2**\<\> = `number`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:490](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L490) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/U8x20.md b/modules/brk-client/docs/type-aliases/U8x20.md new file mode 100644 index 000000000..3d7d9c67f --- /dev/null +++ b/modules/brk-client/docs/type-aliases/U8x20.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / U8x20 + +# Type Alias: U8x20 + +> **U8x20**\<\> = `number`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:491](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L491) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/U8x32.md b/modules/brk-client/docs/type-aliases/U8x32.md new file mode 100644 index 000000000..7f7abfc52 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/U8x32.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / U8x32 + +# Type Alias: U8x32 + +> **U8x32**\<\> = `number`[] + +Defined in: [Developer/brk/modules/brk-client/index.js:492](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L492) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/U8x33.md b/modules/brk-client/docs/type-aliases/U8x33.md new file mode 100644 index 000000000..203ec7614 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/U8x33.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / U8x33 + +# Type Alias: U8x33 + +> **U8x33**\<\> = `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:493](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L493) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/U8x65.md b/modules/brk-client/docs/type-aliases/U8x65.md new file mode 100644 index 000000000..c7289351a --- /dev/null +++ b/modules/brk-client/docs/type-aliases/U8x65.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / U8x65 + +# Type Alias: U8x65 + +> **U8x65**\<\> = `string` + +Defined in: [Developer/brk/modules/brk-client/index.js:494](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L494) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/UnknownOutputIndex.md b/modules/brk-client/docs/type-aliases/UnknownOutputIndex.md new file mode 100644 index 000000000..50a5f3463 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/UnknownOutputIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / UnknownOutputIndex + +# Type Alias: UnknownOutputIndex + +> **UnknownOutputIndex**\<\> = [`TypeIndex`](TypeIndex.md) + +Defined in: [Developer/brk/modules/brk-client/index.js:495](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L495) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/VSize.md b/modules/brk-client/docs/type-aliases/VSize.md new file mode 100644 index 000000000..1d914b554 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/VSize.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / VSize + +# Type Alias: VSize + +> **VSize**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:503](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L503) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Vin.md b/modules/brk-client/docs/type-aliases/Vin.md new file mode 100644 index 000000000..e0e77243d --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Vin.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Vin + +# Type Alias: Vin + +> **Vin**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:508](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L508) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Vout.md b/modules/brk-client/docs/type-aliases/Vout.md new file mode 100644 index 000000000..c3abc4a5a --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Vout.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Vout + +# Type Alias: Vout + +> **Vout**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:509](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L509) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/WeekIndex.md b/modules/brk-client/docs/type-aliases/WeekIndex.md new file mode 100644 index 000000000..e0236786c --- /dev/null +++ b/modules/brk-client/docs/type-aliases/WeekIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / WeekIndex + +# Type Alias: WeekIndex + +> **WeekIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:510](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L510) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/Weight.md b/modules/brk-client/docs/type-aliases/Weight.md new file mode 100644 index 000000000..ae1df151b --- /dev/null +++ b/modules/brk-client/docs/type-aliases/Weight.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / Weight + +# Type Alias: Weight + +> **Weight**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:511](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L511) + +## Type Parameters diff --git a/modules/brk-client/docs/type-aliases/YearIndex.md b/modules/brk-client/docs/type-aliases/YearIndex.md new file mode 100644 index 000000000..d87476020 --- /dev/null +++ b/modules/brk-client/docs/type-aliases/YearIndex.md @@ -0,0 +1,13 @@ +[**brk-client**](../README.md) + +*** + +[brk-client](../globals.md) / YearIndex + +# Type Alias: YearIndex + +> **YearIndex**\<\> = `number` + +Defined in: [Developer/brk/modules/brk-client/index.js:512](https://github.com/bitcoinresearchkit/brk/blob/6f45ec13f3a9e84728abdaed03e8c5432df5ffa3/modules/brk-client/index.js#L512) + +## Type Parameters diff --git a/modules/brk-client/index.js b/modules/brk-client/index.js index dd61724b3..96136fd31 100644 --- a/modules/brk-client/index.js +++ b/modules/brk-client/index.js @@ -3,148 +3,211 @@ // Type definitions -/** @typedef {string} Address */ /** - * @typedef {Object} AddressChainStats - * @property {number} fundedTxoCount - * @property {Sats} fundedTxoSum - * @property {number} spentTxoCount - * @property {Sats} spentTxoSum - * @property {number} txCount - * @property {TypeIndex} typeIndex + * Bitcoin address string + * + * @typedef {string} Address */ /** + * Address statistics on the blockchain (confirmed transactions only) + * + * Based on mempool.space's format with type_index extension. + * + * @typedef {Object} AddressChainStats + * @property {number} fundedTxoCount - Total number of transaction outputs that funded this address + * @property {Sats} fundedTxoSum - Total amount in satoshis received by this address across all funded outputs + * @property {number} spentTxoCount - Total number of transaction outputs spent from this address + * @property {Sats} spentTxoSum - Total amount in satoshis spent from this address + * @property {number} txCount - Total number of confirmed transactions involving this address + * @property {TypeIndex} typeIndex - Index of this address within its type on the blockchain + */ +/** + * Address statistics in the mempool (unconfirmed transactions only) + * + * Based on mempool.space's format. + * * @typedef {Object} AddressMempoolStats - * @property {number} fundedTxoCount - * @property {Sats} fundedTxoSum - * @property {number} spentTxoCount - * @property {Sats} spentTxoSum - * @property {number} txCount + * @property {number} fundedTxoCount - Number of unconfirmed transaction outputs funding this address + * @property {Sats} fundedTxoSum - Total amount in satoshis being received in unconfirmed transactions + * @property {number} spentTxoCount - Number of unconfirmed transaction inputs spending from this address + * @property {Sats} spentTxoSum - Total amount in satoshis being spent in unconfirmed transactions + * @property {number} txCount - Number of unconfirmed transactions involving this address */ /** * @typedef {Object} AddressParam * @property {Address} address */ /** + * Address information compatible with mempool.space API format + * * @typedef {Object} AddressStats - * @property {Address} address - * @property {AddressChainStats} chainStats - * @property {(AddressMempoolStats|null)=} mempoolStats + * @property {Address} address - Bitcoin address string + * @property {AddressChainStats} chainStats - Statistics for confirmed transactions on the blockchain + * @property {(AddressMempoolStats|null)=} mempoolStats - Statistics for unconfirmed transactions in the mempool */ /** * @typedef {Object} AddressTxidsParam - * @property {(Txid|null)=} afterTxid - * @property {number=} limit + * @property {(Txid|null)=} afterTxid - Txid to paginate from (return transactions before this one) + * @property {number=} limit - Maximum number of results to return. Defaults to 25 if not specified. */ /** + * Address validation result + * * @typedef {Object} AddressValidation - * @property {?string=} address - * @property {?boolean=} isscript - * @property {boolean} isvalid - * @property {?boolean=} iswitness - * @property {?string=} scriptPubKey - * @property {?string=} witnessProgram - * @property {?number=} witnessVersion + * @property {?string=} address - The validated address + * @property {?boolean=} isscript - Whether this is a script address (P2SH) + * @property {boolean} isvalid - Whether the address is valid + * @property {?boolean=} iswitness - Whether this is a witness address + * @property {?string=} scriptPubKey - The scriptPubKey in hex + * @property {?string=} witnessProgram - Witness program in hex + * @property {?number=} witnessVersion - Witness version (0 for P2WPKH/P2WSH, 1 for P2TR) + */ +/** + * Unified index for any address type (loaded or empty) + * + * @typedef {TypeIndex} AnyAddressIndex + */ +/** + * Bitcoin amount as floating point (1 BTC = 100,000,000 satoshis) + * + * @typedef {number} Bitcoin + */ +/** + * Position within a .blk file, encoding file index and byte offset + * + * @typedef {number} BlkPosition */ -/** @typedef {TypeIndex} AnyAddressIndex */ -/** @typedef {number} Bitcoin */ -/** @typedef {number} BlkPosition */ /** * @typedef {Object} BlockCountParam - * @property {number} blockCount + * @property {number} blockCount - Number of recent blocks to include */ /** + * A single block fees data point. + * * @typedef {Object} BlockFeesEntry * @property {Sats} avgFees * @property {Height} avgHeight * @property {Timestamp} timestamp */ -/** @typedef {string} BlockHash */ +/** + * Block hash + * + * @typedef {string} BlockHash + */ /** * @typedef {Object} BlockHashParam * @property {BlockHash} hash */ /** * @typedef {Object} BlockHashStartIndex - * @property {BlockHash} hash - * @property {TxIndex} startIndex + * @property {BlockHash} hash - Bitcoin block hash + * @property {TxIndex} startIndex - Starting transaction index within the block (0-based) */ /** * @typedef {Object} BlockHashTxIndex - * @property {BlockHash} hash - * @property {TxIndex} index + * @property {BlockHash} hash - Bitcoin block hash + * @property {TxIndex} index - Transaction index within the block (0-based) */ /** + * Block information returned by the API + * * @typedef {Object} BlockInfo - * @property {number} difficulty - * @property {Height} height - * @property {BlockHash} id - * @property {number} size - * @property {Timestamp} timestamp - * @property {number} txCount - * @property {Weight} weight + * @property {number} difficulty - Block difficulty as a floating point number + * @property {Height} height - Block height + * @property {BlockHash} id - Block hash + * @property {number} size - Block size in bytes + * @property {Timestamp} timestamp - Block timestamp (Unix time) + * @property {number} txCount - Number of transactions in the block + * @property {Weight} weight - Block weight in weight units */ /** + * A single block rewards data point. + * * @typedef {Object} BlockRewardsEntry * @property {number} avgHeight * @property {number} avgRewards * @property {number} timestamp */ /** + * A single block size data point. + * * @typedef {Object} BlockSizeEntry * @property {number} avgHeight * @property {number} avgSize * @property {number} timestamp */ /** + * Combined block sizes and weights response. + * * @typedef {Object} BlockSizesWeights * @property {BlockSizeEntry[]} sizes * @property {BlockWeightEntry[]} weights */ /** + * Block status indicating whether block is in the best chain + * * @typedef {Object} BlockStatus - * @property {(Height|null)=} height - * @property {boolean} inBestChain - * @property {(BlockHash|null)=} nextBest + * @property {(Height|null)=} height - Block height (only if in best chain) + * @property {boolean} inBestChain - Whether this block is in the best chain + * @property {(BlockHash|null)=} nextBest - Hash of the next block in the best chain (only if in best chain and not tip) */ /** + * Block information returned for timestamp queries + * * @typedef {Object} BlockTimestamp - * @property {BlockHash} hash - * @property {Height} height - * @property {string} timestamp + * @property {BlockHash} hash - Block hash + * @property {Height} height - Block height + * @property {string} timestamp - Block timestamp in ISO 8601 format */ /** + * A single block weight data point. + * * @typedef {Object} BlockWeightEntry * @property {number} avgHeight * @property {number} avgWeight * @property {number} timestamp */ /** @typedef {number} Cents */ -/** @typedef {Cents} Close */ /** - * @typedef {Object} DataRangeFormat - * @property {?number=} count - * @property {Format=} format - * @property {?number=} from - * @property {?number=} to + * Closing price value for a time period + * + * @typedef {Cents} Close + */ +/** + * Data range with output format for API query parameters + * + * @typedef {Object} DataRangeFormat + * @property {?number=} count - Number of values to return (ignored if `to` is set) + * @property {Format=} format - Format of the output + * @property {?number=} from - Inclusive starting index, if negative counts from end + * @property {?number=} to - Exclusive ending index, if negative counts from end + */ +/** + * Date in YYYYMMDD format stored as u32 + * + * @typedef {number} Date */ -/** @typedef {number} Date */ /** @typedef {number} DateIndex */ /** @typedef {number} DecadeIndex */ /** + * Difficulty adjustment information. + * * @typedef {Object} DifficultyAdjustment - * @property {number} adjustedTimeAvg - * @property {number} difficultyChange - * @property {number} estimatedRetargetDate - * @property {Height} nextRetargetHeight - * @property {number} previousRetarget - * @property {number} progressPercent - * @property {number} remainingBlocks - * @property {number} remainingTime - * @property {number} timeAvg - * @property {number} timeOffset + * @property {number} adjustedTimeAvg - Time-adjusted average (accounting for timestamp manipulation) + * @property {number} difficultyChange - Estimated difficulty change at next retarget (%) + * @property {number} estimatedRetargetDate - Estimated Unix timestamp of next retarget + * @property {Height} nextRetargetHeight - Height of next retarget + * @property {number} previousRetarget - Previous difficulty adjustment (%) + * @property {number} progressPercent - Progress through current difficulty epoch (0-100%) + * @property {number} remainingBlocks - Blocks remaining until retarget + * @property {number} remainingTime - Estimated seconds until retarget + * @property {number} timeAvg - Average block time in current epoch (seconds) + * @property {number} timeOffset - Time offset from expected schedule (seconds) */ /** + * A single difficulty adjustment entry. + * Serializes as array: [timestamp, height, difficulty, change_percent] + * * @typedef {Object} DifficultyAdjustmentEntry * @property {number} changePercent * @property {number} difficulty @@ -152,131 +215,204 @@ * @property {Timestamp} timestamp */ /** + * A single difficulty data point. + * * @typedef {Object} DifficultyEntry - * @property {number} difficulty - * @property {Height} height - * @property {Timestamp} timestamp + * @property {number} difficulty - Difficulty value. + * @property {Height} height - Block height of the adjustment. + * @property {Timestamp} timestamp - Unix timestamp of the difficulty adjustment. */ /** @typedef {number} DifficultyEpoch */ -/** @typedef {number} Dollars */ /** + * US Dollar amount as floating point + * + * @typedef {number} Dollars + */ +/** + * Data of an empty address + * * @typedef {Object} EmptyAddressData - * @property {number} fundedTxoCount - * @property {Sats} transfered - * @property {number} txCount + * @property {number} fundedTxoCount - Total funded/spent transaction output count (equal since address is empty) + * @property {Sats} transfered - Total satoshis transferred + * @property {number} txCount - Total transaction count */ /** @typedef {TypeIndex} EmptyAddressIndex */ /** @typedef {TypeIndex} EmptyOutputIndex */ -/** @typedef {number} FeeRate */ -/** @typedef {("json"|"csv")} Format */ +/** + * Fee rate in sats/vB + * + * @typedef {number} FeeRate + */ +/** + * Output format for API responses + * + * @typedef {("json"|"csv")} Format + */ /** @typedef {number} HalvingEpoch */ /** + * A single hashrate data point. + * * @typedef {Object} HashrateEntry - * @property {number} avgHashrate - * @property {Timestamp} timestamp + * @property {number} avgHashrate - Average hashrate (H/s). + * @property {Timestamp} timestamp - Unix timestamp. */ /** + * Summary of network hashrate and difficulty data. + * * @typedef {Object} HashrateSummary - * @property {number} currentDifficulty - * @property {number} currentHashrate - * @property {DifficultyEntry[]} difficulty - * @property {HashrateEntry[]} hashrates + * @property {number} currentDifficulty - Current network difficulty. + * @property {number} currentHashrate - Current network hashrate (H/s). + * @property {DifficultyEntry[]} difficulty - Historical difficulty adjustments. + * @property {HashrateEntry[]} hashrates - Historical hashrate data points. */ /** + * Server health status + * * @typedef {Object} Health * @property {string} service * @property {string} status * @property {string} timestamp */ -/** @typedef {number} Height */ +/** + * Block height + * + * @typedef {number} Height + */ /** * @typedef {Object} HeightParam * @property {Height} height */ -/** @typedef {string} Hex */ -/** @typedef {Cents} High */ -/** @typedef {("dateindex"|"decadeindex"|"difficultyepoch"|"emptyoutputindex"|"halvingepoch"|"height"|"txinindex"|"monthindex"|"opreturnindex"|"txoutindex"|"p2aaddressindex"|"p2msoutputindex"|"p2pk33addressindex"|"p2pk65addressindex"|"p2pkhaddressindex"|"p2shaddressindex"|"p2traddressindex"|"p2wpkhaddressindex"|"p2wshaddressindex"|"quarterindex"|"semesterindex"|"txindex"|"unknownoutputindex"|"weekindex"|"yearindex"|"loadedaddressindex"|"emptyaddressindex")} Index */ /** - * @typedef {Object} IndexInfo - * @property {string[]} aliases - * @property {Index} index + * Hex-encoded string + * + * @typedef {string} Hex + */ +/** + * Highest price value for a time period + * + * @typedef {Cents} High + */ +/** + * Aggregation dimension for querying metrics. Includes time-based (date, week, month, year), + * block-based (height, txindex), and address/output type indexes. + * + * @typedef {("dateindex"|"decadeindex"|"difficultyepoch"|"emptyoutputindex"|"halvingepoch"|"height"|"txinindex"|"monthindex"|"opreturnindex"|"txoutindex"|"p2aaddressindex"|"p2msoutputindex"|"p2pk33addressindex"|"p2pk65addressindex"|"p2pkhaddressindex"|"p2shaddressindex"|"p2traddressindex"|"p2wpkhaddressindex"|"p2wshaddressindex"|"quarterindex"|"semesterindex"|"txindex"|"unknownoutputindex"|"weekindex"|"yearindex"|"loadedaddressindex"|"emptyaddressindex")} Index + */ +/** + * Information about an available index and its query aliases + * + * @typedef {Object} IndexInfo + * @property {string[]} aliases - All Accepted query aliases + * @property {Index} index - The canonical index name + */ +/** + * Maximum number of results to return. Defaults to 100 if not specified. + * + * @typedef {number} Limit */ -/** @typedef {number} Limit */ /** * @typedef {Object} LimitParam * @property {Limit=} limit */ /** + * Data for a loaded (non-empty) address with current balance + * * @typedef {Object} LoadedAddressData - * @property {number} fundedTxoCount - * @property {Dollars} realizedCap - * @property {Sats} received - * @property {Sats} sent - * @property {number} spentTxoCount - * @property {number} txCount + * @property {number} fundedTxoCount - Number of transaction outputs funded to this address + * @property {Dollars} realizedCap - The realized capitalization of this address + * @property {Sats} received - Satoshis received by this address + * @property {Sats} sent - Satoshis sent by this address + * @property {number} spentTxoCount - Number of transaction outputs spent by this address + * @property {number} txCount - Total transaction count */ /** @typedef {TypeIndex} LoadedAddressIndex */ -/** @typedef {Cents} Low */ /** + * Lowest price value for a time period + * + * @typedef {Cents} Low + */ +/** + * Block info in a mempool.space like format for fee estimation. + * * @typedef {Object} MempoolBlock - * @property {number} blockSize - * @property {number} blockVSize - * @property {FeeRate[]} feeRange - * @property {FeeRate} medianFee - * @property {number} nTx - * @property {Sats} totalFees + * @property {number} blockSize - Total block size in weight units + * @property {number} blockVSize - Total block virtual size in vbytes + * @property {FeeRate[]} feeRange - Fee rate range: [min, 10%, 25%, 50%, 75%, 90%, max] + * @property {FeeRate} medianFee - Median fee rate in sat/vB + * @property {number} nTx - Number of transactions in the projected block + * @property {Sats} totalFees - Total fees in satoshis */ /** + * Mempool statistics + * * @typedef {Object} MempoolInfo - * @property {number} count - * @property {Sats} totalFee - * @property {VSize} vsize + * @property {number} count - Number of transactions in the mempool + * @property {Sats} totalFee - Total fees of all transactions in the mempool (satoshis) + * @property {VSize} vsize - Total virtual size of all transactions in the mempool (vbytes) */ -/** @typedef {string} Metric */ /** + * Metric name + * + * @typedef {string} Metric + */ +/** + * Metric count statistics - distinct metrics and total metric-index combinations + * * @typedef {Object} MetricCount - * @property {number} distinctMetrics - * @property {number} lazyEndpoints - * @property {number} storedEndpoints - * @property {number} totalEndpoints + * @property {number} distinctMetrics - Number of unique metrics available (e.g., realized_price, market_cap) + * @property {number} lazyEndpoints - Number of lazy (computed on-the-fly) metric-index combinations + * @property {number} storedEndpoints - Number of eager (stored on disk) metric-index combinations + * @property {number} totalEndpoints - Total number of metric-index combinations across all timeframes */ /** + * MetricLeaf with JSON Schema for client generation + * * @typedef {Object} MetricLeafWithSchema - * @property {Index[]} indexes - * @property {string} kind - * @property {string} name - * @property {string} type + * @property {Index[]} indexes - Available indexes for this metric + * @property {string} kind - The Rust type (e.g., "Sats", "StoredF64") + * @property {string} name - The metric name/identifier + * @property {string} type - JSON Schema type (e.g., "integer", "number", "string", "boolean", "array", "object") */ /** * @typedef {Object} MetricParam * @property {Metric} metric */ /** + * Selection of metrics to query + * * @typedef {Object} MetricSelection - * @property {?number=} count - * @property {Format=} format - * @property {?number=} from - * @property {Index} index - * @property {Metrics} metrics - * @property {?number=} to + * @property {?number=} count - Number of values to return (ignored if `to` is set) + * @property {Format=} format - Format of the output + * @property {?number=} from - Inclusive starting index, if negative counts from end + * @property {Index} index - Index to query + * @property {Metrics} metrics - Requested metrics + * @property {?number=} to - Exclusive ending index, if negative counts from end */ /** + * Legacy metric selection parameters (deprecated) + * * @typedef {Object} MetricSelectionLegacy - * @property {?number=} count - * @property {Format=} format - * @property {?number=} from + * @property {?number=} count - Number of values to return (ignored if `to` is set) + * @property {Format=} format - Format of the output + * @property {?number=} from - Inclusive starting index, if negative counts from end * @property {Metrics} ids * @property {Index} index - * @property {?number=} to + * @property {?number=} to - Exclusive ending index, if negative counts from end */ /** * @typedef {Object} MetricWithIndex - * @property {Index} index - * @property {Metric} metric + * @property {Index} index - Aggregation index + * @property {Metric} metric - Metric name + */ +/** + * Comma-separated list of metric names + * + * @typedef {string} Metrics */ -/** @typedef {string} Metrics */ /** @typedef {number} MonthIndex */ /** + * OHLC (Open, High, Low, Close) data in cents + * * @typedef {Object} OHLCCents * @property {Close} close * @property {High} high @@ -284,6 +420,8 @@ * @property {Open} open */ /** + * OHLC (Open, High, Low, Close) data in dollars + * * @typedef {Object} OHLCDollars * @property {Close} close * @property {High} high @@ -291,6 +429,8 @@ * @property {Open} open */ /** + * OHLC (Open, High, Low, Close) data in satoshis + * * @typedef {Object} OHLCSats * @property {Close} close * @property {High} high @@ -298,9 +438,17 @@ * @property {Open} open */ /** @typedef {TypeIndex} OpReturnIndex */ -/** @typedef {Cents} Open */ +/** + * Opening price value for a time period + * + * @typedef {Cents} Open + */ /** @typedef {number} OutPoint */ -/** @typedef {("p2pk65"|"p2pk33"|"p2pkh"|"p2ms"|"p2sh"|"opreturn"|"p2wpkh"|"p2wsh"|"p2tr"|"p2a"|"empty"|"unknown")} OutputType */ +/** + * Type (P2PKH, P2WPKH, P2SH, P2TR, etc.) + * + * @typedef {("p2pk65"|"p2pk33"|"p2pkh"|"p2ms"|"p2sh"|"opreturn"|"p2wpkh"|"p2wsh"|"p2tr"|"p2a"|"empty"|"unknown")} OutputType + */ /** @typedef {TypeIndex} P2AAddressIndex */ /** @typedef {U8x2} P2ABytes */ /** @typedef {TypeIndex} P2MSOutputIndex */ @@ -319,49 +467,63 @@ /** @typedef {TypeIndex} P2WSHAddressIndex */ /** @typedef {U8x32} P2WSHBytes */ /** + * A paginated list of available metric names (1000 per page) + * * @typedef {Object} PaginatedMetrics - * @property {number} currentPage - * @property {number} maxPage - * @property {string[]} metrics + * @property {number} currentPage - Current page number (0-indexed) + * @property {number} maxPage - Maximum valid page index (0-indexed) + * @property {string[]} metrics - List of metric names (max 1000 per page) */ /** + * Pagination parameters for paginated API endpoints + * * @typedef {Object} Pagination - * @property {?number=} page + * @property {?number=} page - Pagination index */ /** + * Block counts for different time periods + * * @typedef {Object} PoolBlockCounts - * @property {number} _1w - * @property {number} _24h - * @property {number} all + * @property {number} _1w - Blocks mined in last week + * @property {number} _24h - Blocks mined in last 24 hours + * @property {number} all - Total blocks mined (all time) */ /** + * Pool's share of total blocks for different time periods + * * @typedef {Object} PoolBlockShares - * @property {number} _1w - * @property {number} _24h - * @property {number} all + * @property {number} _1w - Share of blocks in last week + * @property {number} _24h - Share of blocks in last 24 hours + * @property {number} all - Share of all blocks (0.0 - 1.0) */ /** + * Detailed pool information with statistics across time periods + * * @typedef {Object} PoolDetail - * @property {PoolBlockCounts} blockCount - * @property {PoolBlockShares} blockShare - * @property {number} estimatedHashrate - * @property {PoolDetailInfo} pool - * @property {?number=} reportedHashrate + * @property {PoolBlockCounts} blockCount - Block counts for different time periods + * @property {PoolBlockShares} blockShare - Pool's share of total blocks for different time periods + * @property {number} estimatedHashrate - Estimated hashrate based on blocks mined + * @property {PoolDetailInfo} pool - Pool information + * @property {?number=} reportedHashrate - Self-reported hashrate (if available) */ /** + * Pool information for detail view + * * @typedef {Object} PoolDetailInfo - * @property {string[]} addresses - * @property {number} id - * @property {string} link - * @property {string} name - * @property {string[]} regexes - * @property {PoolSlug} slug + * @property {string[]} addresses - Known payout addresses + * @property {number} id - Unique pool identifier + * @property {string} link - Pool website URL + * @property {string} name - Pool name + * @property {string[]} regexes - Coinbase tag patterns (regexes) + * @property {PoolSlug} slug - URL-friendly pool identifier */ /** + * Basic pool information for listing all pools + * * @typedef {Object} PoolInfo - * @property {string} name - * @property {PoolSlug} slug - * @property {number} uniqueId + * @property {string} name - Pool name + * @property {PoolSlug} slug - URL-friendly pool identifier + * @property {number} uniqueId - Unique numeric pool identifier */ /** @typedef {("unknown"|"blockfills"|"ultimuspool"|"terrapool"|"luxor"|"onethash"|"btccom"|"bitfarms"|"huobipool"|"wayicn"|"canoepool"|"btctop"|"bitcoincom"|"pool175btc"|"gbminers"|"axbt"|"asicminer"|"bitminter"|"bitcoinrussia"|"btcserv"|"simplecoinus"|"btcguild"|"eligius"|"ozcoin"|"eclipsemc"|"maxbtc"|"triplemining"|"coinlab"|"pool50btc"|"ghashio"|"stminingcorp"|"bitparking"|"mmpool"|"polmine"|"kncminer"|"bitalo"|"f2pool"|"hhtt"|"megabigpower"|"mtred"|"nmcbit"|"yourbtcnet"|"givemecoins"|"braiinspool"|"antpool"|"multicoinco"|"bcpoolio"|"cointerra"|"kanopool"|"solock"|"ckpool"|"nicehash"|"bitclub"|"bitcoinaffiliatenetwork"|"btcc"|"bwpool"|"exxbw"|"bitsolo"|"bitfury"|"twentyoneinc"|"digitalbtc"|"eightbaochi"|"mybtccoinpool"|"tbdice"|"hashpool"|"nexious"|"bravomining"|"hotpool"|"okexpool"|"bcmonster"|"onehash"|"bixin"|"tatmaspool"|"viabtc"|"connectbtc"|"batpool"|"waterhole"|"dcexploration"|"dcex"|"btpool"|"fiftyeightcoin"|"bitcoinindia"|"shawnp0wers"|"phashio"|"rigpool"|"haozhuzhu"|"sevenpool"|"miningkings"|"hashbx"|"dpool"|"rawpool"|"haominer"|"helix"|"bitcoinukraine"|"poolin"|"secretsuperstar"|"tigerpoolnet"|"sigmapoolcom"|"okpooltop"|"hummerpool"|"tangpool"|"bytepool"|"spiderpool"|"novablock"|"miningcity"|"binancepool"|"minerium"|"lubiancom"|"okkong"|"aaopool"|"emcdpool"|"foundryusa"|"sbicrypto"|"arkpool"|"purebtccom"|"marapool"|"kucoinpool"|"entrustcharitypool"|"okminer"|"titan"|"pegapool"|"btcnuggets"|"cloudhashing"|"digitalxmintsy"|"telco214"|"btcpoolparty"|"multipool"|"transactioncoinmining"|"btcdig"|"trickysbtcpool"|"btcmp"|"eobot"|"unomp"|"patels"|"gogreenlight"|"ekanembtc"|"canoe"|"tiger"|"onem1x"|"zulupool"|"secpool"|"ocean"|"whitepool"|"wk057"|"futurebitapollosolo"|"carbonnegative"|"portlandhodl"|"phoenix"|"neopool"|"maxipool"|"bitfufupool"|"luckypool"|"miningdutch"|"publicpool"|"miningsquared"|"innopolistech"|"btclab"|"parasite")} PoolSlug */ /** @@ -369,124 +531,201 @@ * @property {PoolSlug} slug */ /** + * Mining pool with block statistics for a time period + * * @typedef {Object} PoolStats - * @property {number} blockCount - * @property {number} emptyBlocks - * @property {string} link - * @property {string} name - * @property {number} poolId - * @property {number} rank - * @property {number} share - * @property {PoolSlug} slug + * @property {number} blockCount - Number of blocks mined in the time period + * @property {number} emptyBlocks - Number of empty blocks mined + * @property {string} link - Pool website URL + * @property {string} name - Pool name + * @property {number} poolId - Unique pool identifier + * @property {number} rank - Pool ranking by block count (1 = most blocks) + * @property {number} share - Pool's share of total blocks (0.0 - 1.0) + * @property {PoolSlug} slug - URL-friendly pool identifier */ /** + * Mining pools response for a time period + * * @typedef {Object} PoolsSummary - * @property {number} blockCount - * @property {number} lastEstimatedHashrate - * @property {PoolStats[]} pools + * @property {number} blockCount - Total blocks in the time period + * @property {number} lastEstimatedHashrate - Estimated network hashrate (hashes per second) + * @property {PoolStats[]} pools - List of pools sorted by block count descending */ /** @typedef {number} QuarterIndex */ -/** @typedef {number} RawLockTime */ /** - * @typedef {Object} RecommendedFees - * @property {FeeRate} economyFee - * @property {FeeRate} fastestFee - * @property {FeeRate} halfHourFee - * @property {FeeRate} hourFee - * @property {FeeRate} minimumFee + * Transaction locktime + * + * @typedef {number} RawLockTime */ /** + * Recommended fee rates in sat/vB + * + * @typedef {Object} RecommendedFees + * @property {FeeRate} economyFee - Fee rate for economical confirmation + * @property {FeeRate} fastestFee - Fee rate for fastest confirmation (next block) + * @property {FeeRate} halfHourFee - Fee rate for confirmation within ~30 minutes (3 blocks) + * @property {FeeRate} hourFee - Fee rate for confirmation within ~1 hour (6 blocks) + * @property {FeeRate} minimumFee - Minimum relay fee rate + */ +/** + * Block reward statistics over a range of blocks + * * @typedef {Object} RewardStats - * @property {Height} endBlock - * @property {Height} startBlock + * @property {Height} endBlock - Last block in the range + * @property {Height} startBlock - First block in the range * @property {Sats} totalFee * @property {Sats} totalReward * @property {number} totalTx */ -/** @typedef {number} Sats */ +/** + * Satoshis + * + * @typedef {number} Sats + */ /** @typedef {number} SemesterIndex */ -/** @typedef {number} StoredBool */ -/** @typedef {number} StoredF32 */ -/** @typedef {number} StoredF64 */ +/** + * Fixed-size boolean value optimized for on-disk storage (stored as u16) + * + * @typedef {number} StoredBool + */ +/** + * Stored 32-bit floating point value + * + * @typedef {number} StoredF32 + */ +/** + * Fixed-size 64-bit floating point value optimized for on-disk storage + * + * @typedef {number} StoredF64 + */ /** @typedef {number} StoredI16 */ /** @typedef {number} StoredU16 */ -/** @typedef {number} StoredU32 */ -/** @typedef {number} StoredU64 */ /** - * @typedef {Object} SupplyState - * @property {number} utxoCount - * @property {Sats} value + * Fixed-size 32-bit unsigned integer optimized for on-disk storage + * + * @typedef {number} StoredU32 + */ +/** + * Fixed-size 64-bit unsigned integer optimized for on-disk storage + * + * @typedef {number} StoredU64 + */ +/** + * Current supply state tracking UTXO count and total value + * + * @typedef {Object} SupplyState + * @property {number} utxoCount - Number of unspent transaction outputs + * @property {Sats} value - Total value in satoshis + */ +/** + * Time period for mining statistics. + * + * Used to specify the lookback window for pool statistics, hashrate calculations, + * and other time-based mining metrics. + * + * @typedef {("24h"|"3d"|"1w"|"1m"|"3m"|"6m"|"1y"|"2y"|"3y")} TimePeriod */ -/** @typedef {("24h"|"3d"|"1w"|"1m"|"3m"|"6m"|"1y"|"2y"|"3y")} TimePeriod */ /** * @typedef {Object} TimePeriodParam * @property {TimePeriod} timePeriod */ -/** @typedef {number} Timestamp */ +/** + * UNIX timestamp in seconds + * + * @typedef {number} Timestamp + */ /** * @typedef {Object} TimestampParam * @property {Timestamp} timestamp */ /** + * Transaction information compatible with mempool.space API format + * * @typedef {Object} Transaction - * @property {Sats} fee + * @property {Sats} fee - Transaction fee in satoshis * @property {(TxIndex|null)=} index * @property {RawLockTime} locktime - * @property {number} sigops - * @property {number} size + * @property {number} sigops - Number of signature operations + * @property {number} size - Transaction size in bytes * @property {TxStatus} status * @property {Txid} txid * @property {TxVersion} version - * @property {TxIn[]} vin - * @property {TxOut[]} vout - * @property {Weight} weight + * @property {TxIn[]} vin - Transaction inputs + * @property {TxOut[]} vout - Transaction outputs + * @property {Weight} weight - Transaction weight */ -/** @typedef {({ [key: string]: TreeNode }|MetricLeafWithSchema)} TreeNode */ /** + * Hierarchical tree node for organizing metrics into categories + * + * @typedef {({ [key: string]: TreeNode }|MetricLeafWithSchema)} TreeNode + */ +/** + * Transaction input + * * @typedef {Object} TxIn - * @property {?string=} innerRedeemscriptAsm - * @property {boolean} isCoinbase - * @property {(TxOut|null)=} prevout - * @property {string} scriptsig - * @property {string} scriptsigAsm - * @property {number} sequence - * @property {Txid} txid + * @property {?string=} innerRedeemscriptAsm - Inner redeemscript in assembly format (for P2SH-wrapped SegWit) + * @property {boolean} isCoinbase - Whether this input is a coinbase (block reward) input + * @property {(TxOut|null)=} prevout - Information about the previous output being spent + * @property {string} scriptsig - Signature script (for non-SegWit inputs) + * @property {string} scriptsigAsm - Signature script in assembly format + * @property {number} sequence - Input sequence number + * @property {Txid} txid - Transaction ID of the output being spent * @property {Vout} vout */ /** @typedef {number} TxInIndex */ /** @typedef {number} TxIndex */ /** + * Transaction output + * * @typedef {Object} TxOut - * @property {string} scriptpubkey - * @property {Sats} value + * @property {string} scriptpubkey - Script pubkey (locking script) + * @property {Sats} value - Value of the output in satoshis */ /** @typedef {number} TxOutIndex */ /** + * Status of an output indicating whether it has been spent + * * @typedef {Object} TxOutspend - * @property {boolean} spent - * @property {(TxStatus|null)=} status - * @property {(Txid|null)=} txid - * @property {(Vin|null)=} vin + * @property {boolean} spent - Whether the output has been spent + * @property {(TxStatus|null)=} status - Status of the spending transaction (only present if spent) + * @property {(Txid|null)=} txid - Transaction ID of the spending transaction (only present if spent) + * @property {(Vin|null)=} vin - Input index in the spending transaction (only present if spent) */ /** + * Transaction confirmation status + * * @typedef {Object} TxStatus - * @property {(BlockHash|null)=} blockHash - * @property {(Height|null)=} blockHeight - * @property {(Timestamp|null)=} blockTime - * @property {boolean} confirmed + * @property {(BlockHash|null)=} blockHash - Block hash (only present if confirmed) + * @property {(Height|null)=} blockHeight - Block height (only present if confirmed) + * @property {(Timestamp|null)=} blockTime - Block timestamp (only present if confirmed) + * @property {boolean} confirmed - Whether the transaction is confirmed + */ +/** + * Transaction version number + * + * @typedef {number} TxVersion + */ +/** + * Transaction ID (hash) + * + * @typedef {string} Txid */ -/** @typedef {number} TxVersion */ -/** @typedef {string} Txid */ /** * @typedef {Object} TxidParam * @property {Txid} txid */ /** + * Transaction output reference (txid + output index) + * * @typedef {Object} TxidVout - * @property {Txid} txid - * @property {Vout} vout + * @property {Txid} txid - Transaction ID + * @property {Vout} vout - Output index + */ +/** + * Index within its type (e.g., 0 for first P2WPKH address) + * + * @typedef {number} TypeIndex */ -/** @typedef {number} TypeIndex */ /** @typedef {number[]} U8x2 */ /** @typedef {number[]} U8x20 */ /** @typedef {number[]} U8x32 */ @@ -494,21 +733,39 @@ /** @typedef {string} U8x65 */ /** @typedef {TypeIndex} UnknownOutputIndex */ /** + * Unspent transaction output + * * @typedef {Object} Utxo * @property {TxStatus} status * @property {Txid} txid * @property {Sats} value * @property {Vout} vout */ -/** @typedef {number} VSize */ +/** + * Virtual size in vbytes (weight / 4, rounded up) + * + * @typedef {number} VSize + */ /** * @typedef {Object} ValidateAddressParam - * @property {string} address + * @property {string} address - Bitcoin address to validate (can be any string) + */ +/** + * Input index in the spending transaction + * + * @typedef {number} Vin + */ +/** + * Index of the output being spent in the previous transaction + * + * @typedef {number} Vout */ -/** @typedef {number} Vin */ -/** @typedef {number} Vout */ /** @typedef {number} WeekIndex */ -/** @typedef {number} Weight */ +/** + * Transaction or block weight in weight units (WU) + * + * @typedef {number} Weight + */ /** @typedef {number} YearIndex */ /** @@ -517,12 +774,13 @@ * @property {number} [timeout] - Request timeout in milliseconds */ -const _isBrowser = typeof window !== 'undefined' && 'caches' in window; -const _runIdle = (/** @type {VoidFunction} */ fn) => (globalThis.requestIdleCallback ?? setTimeout)(fn); +const _isBrowser = typeof window !== "undefined" && "caches" in window; +const _runIdle = (/** @type {VoidFunction} */ fn) => + (globalThis.requestIdleCallback ?? setTimeout)(fn); /** @type {Promise} */ const _cachePromise = _isBrowser - ? caches.open('__BRK_CLIENT__').catch(() => null) + ? caches.open("__BRK_CLIENT__").catch(() => null) : Promise.resolve(null); /** @@ -535,7 +793,7 @@ class BrkError extends Error { */ constructor(message, status) { super(message); - this.name = 'BrkError'; + this.name = "BrkError"; this.status = status; } } @@ -584,12 +842,14 @@ function _endpoint(client, name, index) { get: (onUpdate) => client.get(p, onUpdate), range: (from, to, onUpdate) => { const params = new URLSearchParams(); - if (from !== undefined) params.set('from', String(from)); - if (to !== undefined) params.set('to', String(to)); + if (from !== undefined) params.set("from", String(from)); + if (to !== undefined) params.set("to", String(to)); const query = params.toString(); return client.get(query ? `${p}?${query}` : p, onUpdate); }, - get path() { return p; }, + get path() { + return p; + }, }; } @@ -601,7 +861,7 @@ class BrkClientBase { * @param {BrkClientOptions|string} options */ constructor(options) { - const isString = typeof options === 'string'; + const isString = typeof options === "string"; this.baseUrl = isString ? options : options.baseUrl; this.timeout = isString ? 5000 : (options.timeout ?? 5000); } @@ -614,7 +874,9 @@ class BrkClientBase { * @returns {Promise} */ async get(path, onUpdate) { - const base = this.baseUrl.endsWith('/') ? this.baseUrl.slice(0, -1) : this.baseUrl; + const base = this.baseUrl.endsWith("/") + ? this.baseUrl.slice(0, -1) + : this.baseUrl; const url = `${base}${path}`; const cache = await _cachePromise; const cachedRes = await cache?.match(url); @@ -623,13 +885,16 @@ class BrkClientBase { if (cachedJson) onUpdate?.(cachedJson); if (!globalThis.navigator?.onLine) { if (cachedJson) return cachedJson; - throw new BrkError('Offline and no cached data available'); + throw new BrkError("Offline and no cached data available"); } try { - const res = await fetch(url, { signal: AbortSignal.timeout(this.timeout) }); + const res = await fetch(url, { + signal: AbortSignal.timeout(this.timeout), + }); if (!res.ok) throw new BrkError(`HTTP ${res.status}`, res.status); - if (cachedRes?.headers.get('ETag') === res.headers.get('ETag')) return cachedJson; + if (cachedRes?.headers.get("ETag") === res.headers.get("ETag")) + return cachedJson; const cloned = res.clone(); const json = await res.json(); @@ -649,8 +914,7 @@ class BrkClientBase { * @param {string} s - Metric suffix * @returns {string} */ -const _m = (acc, s) => acc ? `${acc}_${s}` : s; - +const _m = (acc, s) => (acc ? `${acc}_${s}` : s); // Index accessor factory functions @@ -670,24 +934,52 @@ function createMetricPattern1(client, name) { return { name, by: { - get dateindex() { return _endpoint(client, name, 'dateindex'); }, - get decadeindex() { return _endpoint(client, name, 'decadeindex'); }, - get difficultyepoch() { return _endpoint(client, name, 'difficultyepoch'); }, - get height() { return _endpoint(client, name, 'height'); }, - get monthindex() { return _endpoint(client, name, 'monthindex'); }, - get quarterindex() { return _endpoint(client, name, 'quarterindex'); }, - get semesterindex() { return _endpoint(client, name, 'semesterindex'); }, - get weekindex() { return _endpoint(client, name, 'weekindex'); }, - get yearindex() { return _endpoint(client, name, 'yearindex'); } + get dateindex() { + return _endpoint(client, name, "dateindex"); + }, + get decadeindex() { + return _endpoint(client, name, "decadeindex"); + }, + get difficultyepoch() { + return _endpoint(client, name, "difficultyepoch"); + }, + get height() { + return _endpoint(client, name, "height"); + }, + get monthindex() { + return _endpoint(client, name, "monthindex"); + }, + get quarterindex() { + return _endpoint(client, name, "quarterindex"); + }, + get semesterindex() { + return _endpoint(client, name, "semesterindex"); + }, + get weekindex() { + return _endpoint(client, name, "weekindex"); + }, + get yearindex() { + return _endpoint(client, name, "yearindex"); + }, }, indexes() { - return ['dateindex', 'decadeindex', 'difficultyepoch', 'height', 'monthindex', 'quarterindex', 'semesterindex', 'weekindex', 'yearindex']; + return [ + "dateindex", + "decadeindex", + "difficultyepoch", + "height", + "monthindex", + "quarterindex", + "semesterindex", + "weekindex", + "yearindex", + ]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -707,23 +999,48 @@ function createMetricPattern2(client, name) { return { name, by: { - get dateindex() { return _endpoint(client, name, 'dateindex'); }, - get decadeindex() { return _endpoint(client, name, 'decadeindex'); }, - get difficultyepoch() { return _endpoint(client, name, 'difficultyepoch'); }, - get monthindex() { return _endpoint(client, name, 'monthindex'); }, - get quarterindex() { return _endpoint(client, name, 'quarterindex'); }, - get semesterindex() { return _endpoint(client, name, 'semesterindex'); }, - get weekindex() { return _endpoint(client, name, 'weekindex'); }, - get yearindex() { return _endpoint(client, name, 'yearindex'); } + get dateindex() { + return _endpoint(client, name, "dateindex"); + }, + get decadeindex() { + return _endpoint(client, name, "decadeindex"); + }, + get difficultyepoch() { + return _endpoint(client, name, "difficultyepoch"); + }, + get monthindex() { + return _endpoint(client, name, "monthindex"); + }, + get quarterindex() { + return _endpoint(client, name, "quarterindex"); + }, + get semesterindex() { + return _endpoint(client, name, "semesterindex"); + }, + get weekindex() { + return _endpoint(client, name, "weekindex"); + }, + get yearindex() { + return _endpoint(client, name, "yearindex"); + }, }, indexes() { - return ['dateindex', 'decadeindex', 'difficultyepoch', 'monthindex', 'quarterindex', 'semesterindex', 'weekindex', 'yearindex']; + return [ + "dateindex", + "decadeindex", + "difficultyepoch", + "monthindex", + "quarterindex", + "semesterindex", + "weekindex", + "yearindex", + ]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -743,23 +1060,48 @@ function createMetricPattern3(client, name) { return { name, by: { - get dateindex() { return _endpoint(client, name, 'dateindex'); }, - get decadeindex() { return _endpoint(client, name, 'decadeindex'); }, - get height() { return _endpoint(client, name, 'height'); }, - get monthindex() { return _endpoint(client, name, 'monthindex'); }, - get quarterindex() { return _endpoint(client, name, 'quarterindex'); }, - get semesterindex() { return _endpoint(client, name, 'semesterindex'); }, - get weekindex() { return _endpoint(client, name, 'weekindex'); }, - get yearindex() { return _endpoint(client, name, 'yearindex'); } + get dateindex() { + return _endpoint(client, name, "dateindex"); + }, + get decadeindex() { + return _endpoint(client, name, "decadeindex"); + }, + get height() { + return _endpoint(client, name, "height"); + }, + get monthindex() { + return _endpoint(client, name, "monthindex"); + }, + get quarterindex() { + return _endpoint(client, name, "quarterindex"); + }, + get semesterindex() { + return _endpoint(client, name, "semesterindex"); + }, + get weekindex() { + return _endpoint(client, name, "weekindex"); + }, + get yearindex() { + return _endpoint(client, name, "yearindex"); + }, }, indexes() { - return ['dateindex', 'decadeindex', 'height', 'monthindex', 'quarterindex', 'semesterindex', 'weekindex', 'yearindex']; + return [ + "dateindex", + "decadeindex", + "height", + "monthindex", + "quarterindex", + "semesterindex", + "weekindex", + "yearindex", + ]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -779,22 +1121,44 @@ function createMetricPattern4(client, name) { return { name, by: { - get dateindex() { return _endpoint(client, name, 'dateindex'); }, - get decadeindex() { return _endpoint(client, name, 'decadeindex'); }, - get monthindex() { return _endpoint(client, name, 'monthindex'); }, - get quarterindex() { return _endpoint(client, name, 'quarterindex'); }, - get semesterindex() { return _endpoint(client, name, 'semesterindex'); }, - get weekindex() { return _endpoint(client, name, 'weekindex'); }, - get yearindex() { return _endpoint(client, name, 'yearindex'); } + get dateindex() { + return _endpoint(client, name, "dateindex"); + }, + get decadeindex() { + return _endpoint(client, name, "decadeindex"); + }, + get monthindex() { + return _endpoint(client, name, "monthindex"); + }, + get quarterindex() { + return _endpoint(client, name, "quarterindex"); + }, + get semesterindex() { + return _endpoint(client, name, "semesterindex"); + }, + get weekindex() { + return _endpoint(client, name, "weekindex"); + }, + get yearindex() { + return _endpoint(client, name, "yearindex"); + }, }, indexes() { - return ['dateindex', 'decadeindex', 'monthindex', 'quarterindex', 'semesterindex', 'weekindex', 'yearindex']; + return [ + "dateindex", + "decadeindex", + "monthindex", + "quarterindex", + "semesterindex", + "weekindex", + "yearindex", + ]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -814,17 +1178,21 @@ function createMetricPattern5(client, name) { return { name, by: { - get dateindex() { return _endpoint(client, name, 'dateindex'); }, - get height() { return _endpoint(client, name, 'height'); } + get dateindex() { + return _endpoint(client, name, "dateindex"); + }, + get height() { + return _endpoint(client, name, "height"); + }, }, indexes() { - return ['dateindex', 'height']; + return ["dateindex", "height"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -844,16 +1212,18 @@ function createMetricPattern6(client, name) { return { name, by: { - get dateindex() { return _endpoint(client, name, 'dateindex'); } + get dateindex() { + return _endpoint(client, name, "dateindex"); + }, }, indexes() { - return ['dateindex']; + return ["dateindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -873,16 +1243,18 @@ function createMetricPattern7(client, name) { return { name, by: { - get decadeindex() { return _endpoint(client, name, 'decadeindex'); } + get decadeindex() { + return _endpoint(client, name, "decadeindex"); + }, }, indexes() { - return ['decadeindex']; + return ["decadeindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -902,16 +1274,18 @@ function createMetricPattern8(client, name) { return { name, by: { - get difficultyepoch() { return _endpoint(client, name, 'difficultyepoch'); } + get difficultyepoch() { + return _endpoint(client, name, "difficultyepoch"); + }, }, indexes() { - return ['difficultyepoch']; + return ["difficultyepoch"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -931,16 +1305,18 @@ function createMetricPattern9(client, name) { return { name, by: { - get emptyoutputindex() { return _endpoint(client, name, 'emptyoutputindex'); } + get emptyoutputindex() { + return _endpoint(client, name, "emptyoutputindex"); + }, }, indexes() { - return ['emptyoutputindex']; + return ["emptyoutputindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -960,16 +1336,18 @@ function createMetricPattern10(client, name) { return { name, by: { - get halvingepoch() { return _endpoint(client, name, 'halvingepoch'); } + get halvingepoch() { + return _endpoint(client, name, "halvingepoch"); + }, }, indexes() { - return ['halvingepoch']; + return ["halvingepoch"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -989,16 +1367,18 @@ function createMetricPattern11(client, name) { return { name, by: { - get height() { return _endpoint(client, name, 'height'); } + get height() { + return _endpoint(client, name, "height"); + }, }, indexes() { - return ['height']; + return ["height"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1018,16 +1398,18 @@ function createMetricPattern12(client, name) { return { name, by: { - get txinindex() { return _endpoint(client, name, 'txinindex'); } + get txinindex() { + return _endpoint(client, name, "txinindex"); + }, }, indexes() { - return ['txinindex']; + return ["txinindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1047,16 +1429,18 @@ function createMetricPattern13(client, name) { return { name, by: { - get monthindex() { return _endpoint(client, name, 'monthindex'); } + get monthindex() { + return _endpoint(client, name, "monthindex"); + }, }, indexes() { - return ['monthindex']; + return ["monthindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1076,16 +1460,18 @@ function createMetricPattern14(client, name) { return { name, by: { - get opreturnindex() { return _endpoint(client, name, 'opreturnindex'); } + get opreturnindex() { + return _endpoint(client, name, "opreturnindex"); + }, }, indexes() { - return ['opreturnindex']; + return ["opreturnindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1105,16 +1491,18 @@ function createMetricPattern15(client, name) { return { name, by: { - get txoutindex() { return _endpoint(client, name, 'txoutindex'); } + get txoutindex() { + return _endpoint(client, name, "txoutindex"); + }, }, indexes() { - return ['txoutindex']; + return ["txoutindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1134,16 +1522,18 @@ function createMetricPattern16(client, name) { return { name, by: { - get p2aaddressindex() { return _endpoint(client, name, 'p2aaddressindex'); } + get p2aaddressindex() { + return _endpoint(client, name, "p2aaddressindex"); + }, }, indexes() { - return ['p2aaddressindex']; + return ["p2aaddressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1163,16 +1553,18 @@ function createMetricPattern17(client, name) { return { name, by: { - get p2msoutputindex() { return _endpoint(client, name, 'p2msoutputindex'); } + get p2msoutputindex() { + return _endpoint(client, name, "p2msoutputindex"); + }, }, indexes() { - return ['p2msoutputindex']; + return ["p2msoutputindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1192,16 +1584,18 @@ function createMetricPattern18(client, name) { return { name, by: { - get p2pk33addressindex() { return _endpoint(client, name, 'p2pk33addressindex'); } + get p2pk33addressindex() { + return _endpoint(client, name, "p2pk33addressindex"); + }, }, indexes() { - return ['p2pk33addressindex']; + return ["p2pk33addressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1221,16 +1615,18 @@ function createMetricPattern19(client, name) { return { name, by: { - get p2pk65addressindex() { return _endpoint(client, name, 'p2pk65addressindex'); } + get p2pk65addressindex() { + return _endpoint(client, name, "p2pk65addressindex"); + }, }, indexes() { - return ['p2pk65addressindex']; + return ["p2pk65addressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1250,16 +1646,18 @@ function createMetricPattern20(client, name) { return { name, by: { - get p2pkhaddressindex() { return _endpoint(client, name, 'p2pkhaddressindex'); } + get p2pkhaddressindex() { + return _endpoint(client, name, "p2pkhaddressindex"); + }, }, indexes() { - return ['p2pkhaddressindex']; + return ["p2pkhaddressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1279,16 +1677,18 @@ function createMetricPattern21(client, name) { return { name, by: { - get p2shaddressindex() { return _endpoint(client, name, 'p2shaddressindex'); } + get p2shaddressindex() { + return _endpoint(client, name, "p2shaddressindex"); + }, }, indexes() { - return ['p2shaddressindex']; + return ["p2shaddressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1308,16 +1708,18 @@ function createMetricPattern22(client, name) { return { name, by: { - get p2traddressindex() { return _endpoint(client, name, 'p2traddressindex'); } + get p2traddressindex() { + return _endpoint(client, name, "p2traddressindex"); + }, }, indexes() { - return ['p2traddressindex']; + return ["p2traddressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1337,16 +1739,18 @@ function createMetricPattern23(client, name) { return { name, by: { - get p2wpkhaddressindex() { return _endpoint(client, name, 'p2wpkhaddressindex'); } + get p2wpkhaddressindex() { + return _endpoint(client, name, "p2wpkhaddressindex"); + }, }, indexes() { - return ['p2wpkhaddressindex']; + return ["p2wpkhaddressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1366,16 +1770,18 @@ function createMetricPattern24(client, name) { return { name, by: { - get p2wshaddressindex() { return _endpoint(client, name, 'p2wshaddressindex'); } + get p2wshaddressindex() { + return _endpoint(client, name, "p2wshaddressindex"); + }, }, indexes() { - return ['p2wshaddressindex']; + return ["p2wshaddressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1395,16 +1801,18 @@ function createMetricPattern25(client, name) { return { name, by: { - get quarterindex() { return _endpoint(client, name, 'quarterindex'); } + get quarterindex() { + return _endpoint(client, name, "quarterindex"); + }, }, indexes() { - return ['quarterindex']; + return ["quarterindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1424,16 +1832,18 @@ function createMetricPattern26(client, name) { return { name, by: { - get semesterindex() { return _endpoint(client, name, 'semesterindex'); } + get semesterindex() { + return _endpoint(client, name, "semesterindex"); + }, }, indexes() { - return ['semesterindex']; + return ["semesterindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1453,16 +1863,18 @@ function createMetricPattern27(client, name) { return { name, by: { - get txindex() { return _endpoint(client, name, 'txindex'); } + get txindex() { + return _endpoint(client, name, "txindex"); + }, }, indexes() { - return ['txindex']; + return ["txindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1482,16 +1894,18 @@ function createMetricPattern28(client, name) { return { name, by: { - get unknownoutputindex() { return _endpoint(client, name, 'unknownoutputindex'); } + get unknownoutputindex() { + return _endpoint(client, name, "unknownoutputindex"); + }, }, indexes() { - return ['unknownoutputindex']; + return ["unknownoutputindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1511,16 +1925,18 @@ function createMetricPattern29(client, name) { return { name, by: { - get weekindex() { return _endpoint(client, name, 'weekindex'); } + get weekindex() { + return _endpoint(client, name, "weekindex"); + }, }, indexes() { - return ['weekindex']; + return ["weekindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1540,16 +1956,18 @@ function createMetricPattern30(client, name) { return { name, by: { - get yearindex() { return _endpoint(client, name, 'yearindex'); } + get yearindex() { + return _endpoint(client, name, "yearindex"); + }, }, indexes() { - return ['yearindex']; + return ["yearindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1569,16 +1987,18 @@ function createMetricPattern31(client, name) { return { name, by: { - get loadedaddressindex() { return _endpoint(client, name, 'loadedaddressindex'); } + get loadedaddressindex() { + return _endpoint(client, name, "loadedaddressindex"); + }, }, indexes() { - return ['loadedaddressindex']; + return ["loadedaddressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1598,16 +2018,18 @@ function createMetricPattern32(client, name) { return { name, by: { - get emptyaddressindex() { return _endpoint(client, name, 'emptyaddressindex'); } + get emptyaddressindex() { + return _endpoint(client, name, "emptyaddressindex"); + }, }, indexes() { - return ['emptyaddressindex']; + return ["emptyaddressindex"]; }, get(index) { if (this.indexes().includes(index)) { return _endpoint(client, name, index); } - } + }, }; } @@ -1621,7 +2043,7 @@ function createMetricPattern32(client, name) { * @property {MetricPattern1} adjustedValueCreated * @property {MetricPattern1} adjustedValueDestroyed * @property {MetricPattern4} mvrv - * @property {BlockCountPattern} negRealizedLoss + * @property {BitcoinPattern} negRealizedLoss * @property {BlockCountPattern} netRealizedPnl * @property {MetricPattern4} netRealizedPnlCumulative30dDelta * @property {MetricPattern4} netRealizedPnlCumulative30dDeltaRelToMarketCap @@ -1657,38 +2079,95 @@ function createMetricPattern32(client, name) { */ function createRealizedPattern3(client, acc) { return { - adjustedSopr: createMetricPattern6(client, _m(acc, 'adjusted_sopr')), - adjustedSopr30dEma: createMetricPattern6(client, _m(acc, 'adjusted_sopr_30d_ema')), - adjustedSopr7dEma: createMetricPattern6(client, _m(acc, 'adjusted_sopr_7d_ema')), - adjustedValueCreated: createMetricPattern1(client, _m(acc, 'adjusted_value_created')), - adjustedValueDestroyed: createMetricPattern1(client, _m(acc, 'adjusted_value_destroyed')), - mvrv: createMetricPattern4(client, _m(acc, 'mvrv')), - negRealizedLoss: createBlockCountPattern(client, _m(acc, 'neg_realized_loss')), - netRealizedPnl: createBlockCountPattern(client, _m(acc, 'net_realized_pnl')), - netRealizedPnlCumulative30dDelta: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta')), - netRealizedPnlCumulative30dDeltaRelToMarketCap: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_market_cap')), - netRealizedPnlCumulative30dDeltaRelToRealizedCap: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap')), - netRealizedPnlRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'net_realized_pnl_rel_to_realized_cap')), - realizedCap: createMetricPattern1(client, _m(acc, 'realized_cap')), - realizedCap30dDelta: createMetricPattern4(client, _m(acc, 'realized_cap_30d_delta')), - realizedCapRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'realized_cap_rel_to_own_market_cap')), - realizedLoss: createBlockCountPattern(client, _m(acc, 'realized_loss')), - realizedLossRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'realized_loss_rel_to_realized_cap')), - realizedPrice: createMetricPattern1(client, _m(acc, 'realized_price')), - realizedPriceExtra: createActivePriceRatioPattern(client, _m(acc, 'realized_price_ratio')), - realizedProfit: createBlockCountPattern(client, _m(acc, 'realized_profit')), - realizedProfitRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'realized_profit_rel_to_realized_cap')), - realizedProfitToLossRatio: createMetricPattern6(client, _m(acc, 'realized_profit_to_loss_ratio')), - realizedValue: createMetricPattern1(client, _m(acc, 'realized_value')), - sellSideRiskRatio: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio')), - sellSideRiskRatio30dEma: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio_30d_ema')), - sellSideRiskRatio7dEma: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio_7d_ema')), - sopr: createMetricPattern6(client, _m(acc, 'sopr')), - sopr30dEma: createMetricPattern6(client, _m(acc, 'sopr_30d_ema')), - sopr7dEma: createMetricPattern6(client, _m(acc, 'sopr_7d_ema')), - totalRealizedPnl: createMetricPattern1(client, _m(acc, 'total_realized_pnl')), - valueCreated: createMetricPattern1(client, _m(acc, 'value_created')), - valueDestroyed: createMetricPattern1(client, _m(acc, 'value_destroyed')), + adjustedSopr: createMetricPattern6(client, _m(acc, "adjusted_sopr")), + adjustedSopr30dEma: createMetricPattern6( + client, + _m(acc, "adjusted_sopr_30d_ema"), + ), + adjustedSopr7dEma: createMetricPattern6( + client, + _m(acc, "adjusted_sopr_7d_ema"), + ), + adjustedValueCreated: createMetricPattern1( + client, + _m(acc, "adjusted_value_created"), + ), + adjustedValueDestroyed: createMetricPattern1( + client, + _m(acc, "adjusted_value_destroyed"), + ), + mvrv: createMetricPattern4(client, _m(acc, "mvrv")), + negRealizedLoss: createBitcoinPattern(client, _m(acc, "neg_realized_loss")), + netRealizedPnl: createBlockCountPattern( + client, + _m(acc, "net_realized_pnl"), + ), + netRealizedPnlCumulative30dDelta: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta"), + ), + netRealizedPnlCumulative30dDeltaRelToMarketCap: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap"), + ), + netRealizedPnlCumulative30dDeltaRelToRealizedCap: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap"), + ), + netRealizedPnlRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "net_realized_pnl_rel_to_realized_cap"), + ), + realizedCap: createMetricPattern1(client, _m(acc, "realized_cap")), + realizedCap30dDelta: createMetricPattern4( + client, + _m(acc, "realized_cap_30d_delta"), + ), + realizedCapRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "realized_cap_rel_to_own_market_cap"), + ), + realizedLoss: createBlockCountPattern(client, _m(acc, "realized_loss")), + realizedLossRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "realized_loss_rel_to_realized_cap"), + ), + realizedPrice: createMetricPattern1(client, _m(acc, "realized_price")), + realizedPriceExtra: createActivePriceRatioPattern( + client, + _m(acc, "realized_price_ratio"), + ), + realizedProfit: createBlockCountPattern(client, _m(acc, "realized_profit")), + realizedProfitRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "realized_profit_rel_to_realized_cap"), + ), + realizedProfitToLossRatio: createMetricPattern6( + client, + _m(acc, "realized_profit_to_loss_ratio"), + ), + realizedValue: createMetricPattern1(client, _m(acc, "realized_value")), + sellSideRiskRatio: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio"), + ), + sellSideRiskRatio30dEma: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio_30d_ema"), + ), + sellSideRiskRatio7dEma: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio_7d_ema"), + ), + sopr: createMetricPattern6(client, _m(acc, "sopr")), + sopr30dEma: createMetricPattern6(client, _m(acc, "sopr_30d_ema")), + sopr7dEma: createMetricPattern6(client, _m(acc, "sopr_7d_ema")), + totalRealizedPnl: createMetricPattern1( + client, + _m(acc, "total_realized_pnl"), + ), + valueCreated: createMetricPattern1(client, _m(acc, "value_created")), + valueDestroyed: createMetricPattern1(client, _m(acc, "value_destroyed")), }; } @@ -1700,7 +2179,7 @@ function createRealizedPattern3(client, acc) { * @property {MetricPattern1} adjustedValueCreated * @property {MetricPattern1} adjustedValueDestroyed * @property {MetricPattern4} mvrv - * @property {BlockCountPattern} negRealizedLoss + * @property {BitcoinPattern} negRealizedLoss * @property {BlockCountPattern} netRealizedPnl * @property {MetricPattern4} netRealizedPnlCumulative30dDelta * @property {MetricPattern4} netRealizedPnlCumulative30dDeltaRelToMarketCap @@ -1734,36 +2213,87 @@ function createRealizedPattern3(client, acc) { */ function createRealizedPattern4(client, acc) { return { - adjustedSopr: createMetricPattern6(client, _m(acc, 'adjusted_sopr')), - adjustedSopr30dEma: createMetricPattern6(client, _m(acc, 'adjusted_sopr_30d_ema')), - adjustedSopr7dEma: createMetricPattern6(client, _m(acc, 'adjusted_sopr_7d_ema')), - adjustedValueCreated: createMetricPattern1(client, _m(acc, 'adjusted_value_created')), - adjustedValueDestroyed: createMetricPattern1(client, _m(acc, 'adjusted_value_destroyed')), - mvrv: createMetricPattern4(client, _m(acc, 'mvrv')), - negRealizedLoss: createBlockCountPattern(client, _m(acc, 'neg_realized_loss')), - netRealizedPnl: createBlockCountPattern(client, _m(acc, 'net_realized_pnl')), - netRealizedPnlCumulative30dDelta: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta')), - netRealizedPnlCumulative30dDeltaRelToMarketCap: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_market_cap')), - netRealizedPnlCumulative30dDeltaRelToRealizedCap: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap')), - netRealizedPnlRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'net_realized_pnl_rel_to_realized_cap')), - realizedCap: createMetricPattern1(client, _m(acc, 'realized_cap')), - realizedCap30dDelta: createMetricPattern4(client, _m(acc, 'realized_cap_30d_delta')), - realizedLoss: createBlockCountPattern(client, _m(acc, 'realized_loss')), - realizedLossRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'realized_loss_rel_to_realized_cap')), - realizedPrice: createMetricPattern1(client, _m(acc, 'realized_price')), - realizedPriceExtra: createRealizedPriceExtraPattern(client, _m(acc, 'realized_price')), - realizedProfit: createBlockCountPattern(client, _m(acc, 'realized_profit')), - realizedProfitRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'realized_profit_rel_to_realized_cap')), - realizedValue: createMetricPattern1(client, _m(acc, 'realized_value')), - sellSideRiskRatio: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio')), - sellSideRiskRatio30dEma: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio_30d_ema')), - sellSideRiskRatio7dEma: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio_7d_ema')), - sopr: createMetricPattern6(client, _m(acc, 'sopr')), - sopr30dEma: createMetricPattern6(client, _m(acc, 'sopr_30d_ema')), - sopr7dEma: createMetricPattern6(client, _m(acc, 'sopr_7d_ema')), - totalRealizedPnl: createMetricPattern1(client, _m(acc, 'total_realized_pnl')), - valueCreated: createMetricPattern1(client, _m(acc, 'value_created')), - valueDestroyed: createMetricPattern1(client, _m(acc, 'value_destroyed')), + adjustedSopr: createMetricPattern6(client, _m(acc, "adjusted_sopr")), + adjustedSopr30dEma: createMetricPattern6( + client, + _m(acc, "adjusted_sopr_30d_ema"), + ), + adjustedSopr7dEma: createMetricPattern6( + client, + _m(acc, "adjusted_sopr_7d_ema"), + ), + adjustedValueCreated: createMetricPattern1( + client, + _m(acc, "adjusted_value_created"), + ), + adjustedValueDestroyed: createMetricPattern1( + client, + _m(acc, "adjusted_value_destroyed"), + ), + mvrv: createMetricPattern4(client, _m(acc, "mvrv")), + negRealizedLoss: createBitcoinPattern(client, _m(acc, "neg_realized_loss")), + netRealizedPnl: createBlockCountPattern( + client, + _m(acc, "net_realized_pnl"), + ), + netRealizedPnlCumulative30dDelta: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta"), + ), + netRealizedPnlCumulative30dDeltaRelToMarketCap: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap"), + ), + netRealizedPnlCumulative30dDeltaRelToRealizedCap: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap"), + ), + netRealizedPnlRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "net_realized_pnl_rel_to_realized_cap"), + ), + realizedCap: createMetricPattern1(client, _m(acc, "realized_cap")), + realizedCap30dDelta: createMetricPattern4( + client, + _m(acc, "realized_cap_30d_delta"), + ), + realizedLoss: createBlockCountPattern(client, _m(acc, "realized_loss")), + realizedLossRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "realized_loss_rel_to_realized_cap"), + ), + realizedPrice: createMetricPattern1(client, _m(acc, "realized_price")), + realizedPriceExtra: createRealizedPriceExtraPattern( + client, + _m(acc, "realized_price"), + ), + realizedProfit: createBlockCountPattern(client, _m(acc, "realized_profit")), + realizedProfitRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "realized_profit_rel_to_realized_cap"), + ), + realizedValue: createMetricPattern1(client, _m(acc, "realized_value")), + sellSideRiskRatio: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio"), + ), + sellSideRiskRatio30dEma: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio_30d_ema"), + ), + sellSideRiskRatio7dEma: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio_7d_ema"), + ), + sopr: createMetricPattern6(client, _m(acc, "sopr")), + sopr30dEma: createMetricPattern6(client, _m(acc, "sopr_30d_ema")), + sopr7dEma: createMetricPattern6(client, _m(acc, "sopr_7d_ema")), + totalRealizedPnl: createMetricPattern1( + client, + _m(acc, "total_realized_pnl"), + ), + valueCreated: createMetricPattern1(client, _m(acc, "value_created")), + valueDestroyed: createMetricPattern1(client, _m(acc, "value_destroyed")), }; } @@ -1807,41 +2337,41 @@ function createRealizedPattern4(client, acc) { */ function createRatio1ySdPattern(client, acc) { return { - _0sdUsd: createMetricPattern4(client, _m(acc, '0sd_usd')), - m05sd: createMetricPattern4(client, _m(acc, 'm0_5sd')), - m05sdUsd: createMetricPattern4(client, _m(acc, 'm0_5sd_usd')), - m15sd: createMetricPattern4(client, _m(acc, 'm1_5sd')), - m15sdUsd: createMetricPattern4(client, _m(acc, 'm1_5sd_usd')), - m1sd: createMetricPattern4(client, _m(acc, 'm1sd')), - m1sdUsd: createMetricPattern4(client, _m(acc, 'm1sd_usd')), - m25sd: createMetricPattern4(client, _m(acc, 'm2_5sd')), - m25sdUsd: createMetricPattern4(client, _m(acc, 'm2_5sd_usd')), - m2sd: createMetricPattern4(client, _m(acc, 'm2sd')), - m2sdUsd: createMetricPattern4(client, _m(acc, 'm2sd_usd')), - m3sd: createMetricPattern4(client, _m(acc, 'm3sd')), - m3sdUsd: createMetricPattern4(client, _m(acc, 'm3sd_usd')), - p05sd: createMetricPattern4(client, _m(acc, 'p0_5sd')), - p05sdUsd: createMetricPattern4(client, _m(acc, 'p0_5sd_usd')), - p15sd: createMetricPattern4(client, _m(acc, 'p1_5sd')), - p15sdUsd: createMetricPattern4(client, _m(acc, 'p1_5sd_usd')), - p1sd: createMetricPattern4(client, _m(acc, 'p1sd')), - p1sdUsd: createMetricPattern4(client, _m(acc, 'p1sd_usd')), - p25sd: createMetricPattern4(client, _m(acc, 'p2_5sd')), - p25sdUsd: createMetricPattern4(client, _m(acc, 'p2_5sd_usd')), - p2sd: createMetricPattern4(client, _m(acc, 'p2sd')), - p2sdUsd: createMetricPattern4(client, _m(acc, 'p2sd_usd')), - p3sd: createMetricPattern4(client, _m(acc, 'p3sd')), - p3sdUsd: createMetricPattern4(client, _m(acc, 'p3sd_usd')), - sd: createMetricPattern4(client, _m(acc, 'sd')), - sma: createMetricPattern4(client, _m(acc, 'sma')), - zscore: createMetricPattern4(client, _m(acc, 'zscore')), + _0sdUsd: createMetricPattern4(client, _m(acc, "0sd_usd")), + m05sd: createMetricPattern4(client, _m(acc, "m0_5sd")), + m05sdUsd: createMetricPattern4(client, _m(acc, "m0_5sd_usd")), + m15sd: createMetricPattern4(client, _m(acc, "m1_5sd")), + m15sdUsd: createMetricPattern4(client, _m(acc, "m1_5sd_usd")), + m1sd: createMetricPattern4(client, _m(acc, "m1sd")), + m1sdUsd: createMetricPattern4(client, _m(acc, "m1sd_usd")), + m25sd: createMetricPattern4(client, _m(acc, "m2_5sd")), + m25sdUsd: createMetricPattern4(client, _m(acc, "m2_5sd_usd")), + m2sd: createMetricPattern4(client, _m(acc, "m2sd")), + m2sdUsd: createMetricPattern4(client, _m(acc, "m2sd_usd")), + m3sd: createMetricPattern4(client, _m(acc, "m3sd")), + m3sdUsd: createMetricPattern4(client, _m(acc, "m3sd_usd")), + p05sd: createMetricPattern4(client, _m(acc, "p0_5sd")), + p05sdUsd: createMetricPattern4(client, _m(acc, "p0_5sd_usd")), + p15sd: createMetricPattern4(client, _m(acc, "p1_5sd")), + p15sdUsd: createMetricPattern4(client, _m(acc, "p1_5sd_usd")), + p1sd: createMetricPattern4(client, _m(acc, "p1sd")), + p1sdUsd: createMetricPattern4(client, _m(acc, "p1sd_usd")), + p25sd: createMetricPattern4(client, _m(acc, "p2_5sd")), + p25sdUsd: createMetricPattern4(client, _m(acc, "p2_5sd_usd")), + p2sd: createMetricPattern4(client, _m(acc, "p2sd")), + p2sdUsd: createMetricPattern4(client, _m(acc, "p2sd_usd")), + p3sd: createMetricPattern4(client, _m(acc, "p3sd")), + p3sdUsd: createMetricPattern4(client, _m(acc, "p3sd_usd")), + sd: createMetricPattern4(client, _m(acc, "sd")), + sma: createMetricPattern4(client, _m(acc, "sma")), + zscore: createMetricPattern4(client, _m(acc, "zscore")), }; } /** * @typedef {Object} RealizedPattern2 * @property {MetricPattern4} mvrv - * @property {BlockCountPattern} negRealizedLoss + * @property {BitcoinPattern} negRealizedLoss * @property {BlockCountPattern} netRealizedPnl * @property {MetricPattern4} netRealizedPnlCumulative30dDelta * @property {MetricPattern4} netRealizedPnlCumulative30dDeltaRelToMarketCap @@ -1877,40 +2407,85 @@ function createRatio1ySdPattern(client, acc) { */ function createRealizedPattern2(client, acc) { return { - mvrv: createMetricPattern4(client, _m(acc, 'mvrv')), - negRealizedLoss: createBlockCountPattern(client, _m(acc, 'neg_realized_loss')), - netRealizedPnl: createBlockCountPattern(client, _m(acc, 'net_realized_pnl')), - netRealizedPnlCumulative30dDelta: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta')), - netRealizedPnlCumulative30dDeltaRelToMarketCap: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_market_cap')), - netRealizedPnlCumulative30dDeltaRelToRealizedCap: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap')), - netRealizedPnlRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'net_realized_pnl_rel_to_realized_cap')), - realizedCap: createMetricPattern1(client, _m(acc, 'realized_cap')), - realizedCap30dDelta: createMetricPattern4(client, _m(acc, 'realized_cap_30d_delta')), - realizedCapRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'realized_cap_rel_to_own_market_cap')), - realizedLoss: createBlockCountPattern(client, _m(acc, 'realized_loss')), - realizedLossRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'realized_loss_rel_to_realized_cap')), - realizedPrice: createMetricPattern1(client, _m(acc, 'realized_price')), - realizedPriceExtra: createActivePriceRatioPattern(client, _m(acc, 'realized_price_ratio')), - realizedProfit: createBlockCountPattern(client, _m(acc, 'realized_profit')), - realizedProfitRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'realized_profit_rel_to_realized_cap')), - realizedProfitToLossRatio: createMetricPattern6(client, _m(acc, 'realized_profit_to_loss_ratio')), - realizedValue: createMetricPattern1(client, _m(acc, 'realized_value')), - sellSideRiskRatio: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio')), - sellSideRiskRatio30dEma: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio_30d_ema')), - sellSideRiskRatio7dEma: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio_7d_ema')), - sopr: createMetricPattern6(client, _m(acc, 'sopr')), - sopr30dEma: createMetricPattern6(client, _m(acc, 'sopr_30d_ema')), - sopr7dEma: createMetricPattern6(client, _m(acc, 'sopr_7d_ema')), - totalRealizedPnl: createMetricPattern1(client, _m(acc, 'total_realized_pnl')), - valueCreated: createMetricPattern1(client, _m(acc, 'value_created')), - valueDestroyed: createMetricPattern1(client, _m(acc, 'value_destroyed')), + mvrv: createMetricPattern4(client, _m(acc, "mvrv")), + negRealizedLoss: createBitcoinPattern(client, _m(acc, "neg_realized_loss")), + netRealizedPnl: createBlockCountPattern( + client, + _m(acc, "net_realized_pnl"), + ), + netRealizedPnlCumulative30dDelta: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta"), + ), + netRealizedPnlCumulative30dDeltaRelToMarketCap: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap"), + ), + netRealizedPnlCumulative30dDeltaRelToRealizedCap: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap"), + ), + netRealizedPnlRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "net_realized_pnl_rel_to_realized_cap"), + ), + realizedCap: createMetricPattern1(client, _m(acc, "realized_cap")), + realizedCap30dDelta: createMetricPattern4( + client, + _m(acc, "realized_cap_30d_delta"), + ), + realizedCapRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "realized_cap_rel_to_own_market_cap"), + ), + realizedLoss: createBlockCountPattern(client, _m(acc, "realized_loss")), + realizedLossRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "realized_loss_rel_to_realized_cap"), + ), + realizedPrice: createMetricPattern1(client, _m(acc, "realized_price")), + realizedPriceExtra: createActivePriceRatioPattern( + client, + _m(acc, "realized_price_ratio"), + ), + realizedProfit: createBlockCountPattern(client, _m(acc, "realized_profit")), + realizedProfitRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "realized_profit_rel_to_realized_cap"), + ), + realizedProfitToLossRatio: createMetricPattern6( + client, + _m(acc, "realized_profit_to_loss_ratio"), + ), + realizedValue: createMetricPattern1(client, _m(acc, "realized_value")), + sellSideRiskRatio: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio"), + ), + sellSideRiskRatio30dEma: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio_30d_ema"), + ), + sellSideRiskRatio7dEma: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio_7d_ema"), + ), + sopr: createMetricPattern6(client, _m(acc, "sopr")), + sopr30dEma: createMetricPattern6(client, _m(acc, "sopr_30d_ema")), + sopr7dEma: createMetricPattern6(client, _m(acc, "sopr_7d_ema")), + totalRealizedPnl: createMetricPattern1( + client, + _m(acc, "total_realized_pnl"), + ), + valueCreated: createMetricPattern1(client, _m(acc, "value_created")), + valueDestroyed: createMetricPattern1(client, _m(acc, "value_destroyed")), }; } /** * @typedef {Object} RealizedPattern * @property {MetricPattern4} mvrv - * @property {BlockCountPattern} negRealizedLoss + * @property {BitcoinPattern} negRealizedLoss * @property {BlockCountPattern} netRealizedPnl * @property {MetricPattern4} netRealizedPnlCumulative30dDelta * @property {MetricPattern4} netRealizedPnlCumulative30dDeltaRelToMarketCap @@ -1944,31 +2519,70 @@ function createRealizedPattern2(client, acc) { */ function createRealizedPattern(client, acc) { return { - mvrv: createMetricPattern4(client, _m(acc, 'mvrv')), - negRealizedLoss: createBlockCountPattern(client, _m(acc, 'neg_realized_loss')), - netRealizedPnl: createBlockCountPattern(client, _m(acc, 'net_realized_pnl')), - netRealizedPnlCumulative30dDelta: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta')), - netRealizedPnlCumulative30dDeltaRelToMarketCap: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_market_cap')), - netRealizedPnlCumulative30dDeltaRelToRealizedCap: createMetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap')), - netRealizedPnlRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'net_realized_pnl_rel_to_realized_cap')), - realizedCap: createMetricPattern1(client, _m(acc, 'realized_cap')), - realizedCap30dDelta: createMetricPattern4(client, _m(acc, 'realized_cap_30d_delta')), - realizedLoss: createBlockCountPattern(client, _m(acc, 'realized_loss')), - realizedLossRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'realized_loss_rel_to_realized_cap')), - realizedPrice: createMetricPattern1(client, _m(acc, 'realized_price')), - realizedPriceExtra: createRealizedPriceExtraPattern(client, _m(acc, 'realized_price')), - realizedProfit: createBlockCountPattern(client, _m(acc, 'realized_profit')), - realizedProfitRelToRealizedCap: createBlockCountPattern(client, _m(acc, 'realized_profit_rel_to_realized_cap')), - realizedValue: createMetricPattern1(client, _m(acc, 'realized_value')), - sellSideRiskRatio: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio')), - sellSideRiskRatio30dEma: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio_30d_ema')), - sellSideRiskRatio7dEma: createMetricPattern6(client, _m(acc, 'sell_side_risk_ratio_7d_ema')), - sopr: createMetricPattern6(client, _m(acc, 'sopr')), - sopr30dEma: createMetricPattern6(client, _m(acc, 'sopr_30d_ema')), - sopr7dEma: createMetricPattern6(client, _m(acc, 'sopr_7d_ema')), - totalRealizedPnl: createMetricPattern1(client, _m(acc, 'total_realized_pnl')), - valueCreated: createMetricPattern1(client, _m(acc, 'value_created')), - valueDestroyed: createMetricPattern1(client, _m(acc, 'value_destroyed')), + mvrv: createMetricPattern4(client, _m(acc, "mvrv")), + negRealizedLoss: createBitcoinPattern(client, _m(acc, "neg_realized_loss")), + netRealizedPnl: createBlockCountPattern( + client, + _m(acc, "net_realized_pnl"), + ), + netRealizedPnlCumulative30dDelta: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta"), + ), + netRealizedPnlCumulative30dDeltaRelToMarketCap: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap"), + ), + netRealizedPnlCumulative30dDeltaRelToRealizedCap: createMetricPattern4( + client, + _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap"), + ), + netRealizedPnlRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "net_realized_pnl_rel_to_realized_cap"), + ), + realizedCap: createMetricPattern1(client, _m(acc, "realized_cap")), + realizedCap30dDelta: createMetricPattern4( + client, + _m(acc, "realized_cap_30d_delta"), + ), + realizedLoss: createBlockCountPattern(client, _m(acc, "realized_loss")), + realizedLossRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "realized_loss_rel_to_realized_cap"), + ), + realizedPrice: createMetricPattern1(client, _m(acc, "realized_price")), + realizedPriceExtra: createRealizedPriceExtraPattern( + client, + _m(acc, "realized_price"), + ), + realizedProfit: createBlockCountPattern(client, _m(acc, "realized_profit")), + realizedProfitRelToRealizedCap: createBlockCountPattern( + client, + _m(acc, "realized_profit_rel_to_realized_cap"), + ), + realizedValue: createMetricPattern1(client, _m(acc, "realized_value")), + sellSideRiskRatio: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio"), + ), + sellSideRiskRatio30dEma: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio_30d_ema"), + ), + sellSideRiskRatio7dEma: createMetricPattern6( + client, + _m(acc, "sell_side_risk_ratio_7d_ema"), + ), + sopr: createMetricPattern6(client, _m(acc, "sopr")), + sopr30dEma: createMetricPattern6(client, _m(acc, "sopr_30d_ema")), + sopr7dEma: createMetricPattern6(client, _m(acc, "sopr_7d_ema")), + totalRealizedPnl: createMetricPattern1( + client, + _m(acc, "total_realized_pnl"), + ), + valueCreated: createMetricPattern1(client, _m(acc, "value_created")), + valueDestroyed: createMetricPattern1(client, _m(acc, "value_destroyed")), }; } @@ -2005,25 +2619,25 @@ function createRealizedPattern(client, acc) { function createPrice111dSmaPattern(client, acc) { return { price: createMetricPattern4(client, acc), - ratio: createMetricPattern4(client, _m(acc, 'ratio')), - ratio1mSma: createMetricPattern4(client, _m(acc, 'ratio_1m_sma')), - ratio1wSma: createMetricPattern4(client, _m(acc, 'ratio_1w_sma')), - ratio1ySd: createRatio1ySdPattern(client, _m(acc, 'ratio_1y')), - ratio2ySd: createRatio1ySdPattern(client, _m(acc, 'ratio_2y')), - ratio4ySd: createRatio1ySdPattern(client, _m(acc, 'ratio_4y')), - ratioPct1: createMetricPattern4(client, _m(acc, 'ratio_pct1')), - ratioPct1Usd: createMetricPattern4(client, _m(acc, 'ratio_pct1_usd')), - ratioPct2: createMetricPattern4(client, _m(acc, 'ratio_pct2')), - ratioPct2Usd: createMetricPattern4(client, _m(acc, 'ratio_pct2_usd')), - ratioPct5: createMetricPattern4(client, _m(acc, 'ratio_pct5')), - ratioPct5Usd: createMetricPattern4(client, _m(acc, 'ratio_pct5_usd')), - ratioPct95: createMetricPattern4(client, _m(acc, 'ratio_pct95')), - ratioPct95Usd: createMetricPattern4(client, _m(acc, 'ratio_pct95_usd')), - ratioPct98: createMetricPattern4(client, _m(acc, 'ratio_pct98')), - ratioPct98Usd: createMetricPattern4(client, _m(acc, 'ratio_pct98_usd')), - ratioPct99: createMetricPattern4(client, _m(acc, 'ratio_pct99')), - ratioPct99Usd: createMetricPattern4(client, _m(acc, 'ratio_pct99_usd')), - ratioSd: createRatio1ySdPattern(client, _m(acc, 'ratio')), + ratio: createMetricPattern4(client, _m(acc, "ratio")), + ratio1mSma: createMetricPattern4(client, _m(acc, "ratio_1m_sma")), + ratio1wSma: createMetricPattern4(client, _m(acc, "ratio_1w_sma")), + ratio1ySd: createRatio1ySdPattern(client, _m(acc, "ratio_1y")), + ratio2ySd: createRatio1ySdPattern(client, _m(acc, "ratio_2y")), + ratio4ySd: createRatio1ySdPattern(client, _m(acc, "ratio_4y")), + ratioPct1: createMetricPattern4(client, _m(acc, "ratio_pct1")), + ratioPct1Usd: createMetricPattern4(client, _m(acc, "ratio_pct1_usd")), + ratioPct2: createMetricPattern4(client, _m(acc, "ratio_pct2")), + ratioPct2Usd: createMetricPattern4(client, _m(acc, "ratio_pct2_usd")), + ratioPct5: createMetricPattern4(client, _m(acc, "ratio_pct5")), + ratioPct5Usd: createMetricPattern4(client, _m(acc, "ratio_pct5_usd")), + ratioPct95: createMetricPattern4(client, _m(acc, "ratio_pct95")), + ratioPct95Usd: createMetricPattern4(client, _m(acc, "ratio_pct95_usd")), + ratioPct98: createMetricPattern4(client, _m(acc, "ratio_pct98")), + ratioPct98Usd: createMetricPattern4(client, _m(acc, "ratio_pct98_usd")), + ratioPct99: createMetricPattern4(client, _m(acc, "ratio_pct99")), + ratioPct99Usd: createMetricPattern4(client, _m(acc, "ratio_pct99_usd")), + ratioSd: createRatio1ySdPattern(client, _m(acc, "ratio")), }; } @@ -2058,25 +2672,25 @@ function createPrice111dSmaPattern(client, acc) { */ function createPercentilesPattern(client, acc) { return { - costBasisPct05: createMetricPattern4(client, _m(acc, 'pct05')), - costBasisPct10: createMetricPattern4(client, _m(acc, 'pct10')), - costBasisPct15: createMetricPattern4(client, _m(acc, 'pct15')), - costBasisPct20: createMetricPattern4(client, _m(acc, 'pct20')), - costBasisPct25: createMetricPattern4(client, _m(acc, 'pct25')), - costBasisPct30: createMetricPattern4(client, _m(acc, 'pct30')), - costBasisPct35: createMetricPattern4(client, _m(acc, 'pct35')), - costBasisPct40: createMetricPattern4(client, _m(acc, 'pct40')), - costBasisPct45: createMetricPattern4(client, _m(acc, 'pct45')), - costBasisPct50: createMetricPattern4(client, _m(acc, 'pct50')), - costBasisPct55: createMetricPattern4(client, _m(acc, 'pct55')), - costBasisPct60: createMetricPattern4(client, _m(acc, 'pct60')), - costBasisPct65: createMetricPattern4(client, _m(acc, 'pct65')), - costBasisPct70: createMetricPattern4(client, _m(acc, 'pct70')), - costBasisPct75: createMetricPattern4(client, _m(acc, 'pct75')), - costBasisPct80: createMetricPattern4(client, _m(acc, 'pct80')), - costBasisPct85: createMetricPattern4(client, _m(acc, 'pct85')), - costBasisPct90: createMetricPattern4(client, _m(acc, 'pct90')), - costBasisPct95: createMetricPattern4(client, _m(acc, 'pct95')), + costBasisPct05: createMetricPattern4(client, _m(acc, "pct05")), + costBasisPct10: createMetricPattern4(client, _m(acc, "pct10")), + costBasisPct15: createMetricPattern4(client, _m(acc, "pct15")), + costBasisPct20: createMetricPattern4(client, _m(acc, "pct20")), + costBasisPct25: createMetricPattern4(client, _m(acc, "pct25")), + costBasisPct30: createMetricPattern4(client, _m(acc, "pct30")), + costBasisPct35: createMetricPattern4(client, _m(acc, "pct35")), + costBasisPct40: createMetricPattern4(client, _m(acc, "pct40")), + costBasisPct45: createMetricPattern4(client, _m(acc, "pct45")), + costBasisPct50: createMetricPattern4(client, _m(acc, "pct50")), + costBasisPct55: createMetricPattern4(client, _m(acc, "pct55")), + costBasisPct60: createMetricPattern4(client, _m(acc, "pct60")), + costBasisPct65: createMetricPattern4(client, _m(acc, "pct65")), + costBasisPct70: createMetricPattern4(client, _m(acc, "pct70")), + costBasisPct75: createMetricPattern4(client, _m(acc, "pct75")), + costBasisPct80: createMetricPattern4(client, _m(acc, "pct80")), + costBasisPct85: createMetricPattern4(client, _m(acc, "pct85")), + costBasisPct90: createMetricPattern4(client, _m(acc, "pct90")), + costBasisPct95: createMetricPattern4(client, _m(acc, "pct95")), }; } @@ -2112,23 +2726,23 @@ function createPercentilesPattern(client, acc) { function createActivePriceRatioPattern(client, acc) { return { ratio: createMetricPattern4(client, acc), - ratio1mSma: createMetricPattern4(client, _m(acc, '1m_sma')), - ratio1wSma: createMetricPattern4(client, _m(acc, '1w_sma')), - ratio1ySd: createRatio1ySdPattern(client, _m(acc, '1y')), - ratio2ySd: createRatio1ySdPattern(client, _m(acc, '2y')), - ratio4ySd: createRatio1ySdPattern(client, _m(acc, '4y')), - ratioPct1: createMetricPattern4(client, _m(acc, 'pct1')), - ratioPct1Usd: createMetricPattern4(client, _m(acc, 'pct1_usd')), - ratioPct2: createMetricPattern4(client, _m(acc, 'pct2')), - ratioPct2Usd: createMetricPattern4(client, _m(acc, 'pct2_usd')), - ratioPct5: createMetricPattern4(client, _m(acc, 'pct5')), - ratioPct5Usd: createMetricPattern4(client, _m(acc, 'pct5_usd')), - ratioPct95: createMetricPattern4(client, _m(acc, 'pct95')), - ratioPct95Usd: createMetricPattern4(client, _m(acc, 'pct95_usd')), - ratioPct98: createMetricPattern4(client, _m(acc, 'pct98')), - ratioPct98Usd: createMetricPattern4(client, _m(acc, 'pct98_usd')), - ratioPct99: createMetricPattern4(client, _m(acc, 'pct99')), - ratioPct99Usd: createMetricPattern4(client, _m(acc, 'pct99_usd')), + ratio1mSma: createMetricPattern4(client, _m(acc, "1m_sma")), + ratio1wSma: createMetricPattern4(client, _m(acc, "1w_sma")), + ratio1ySd: createRatio1ySdPattern(client, _m(acc, "1y")), + ratio2ySd: createRatio1ySdPattern(client, _m(acc, "2y")), + ratio4ySd: createRatio1ySdPattern(client, _m(acc, "4y")), + ratioPct1: createMetricPattern4(client, _m(acc, "pct1")), + ratioPct1Usd: createMetricPattern4(client, _m(acc, "pct1_usd")), + ratioPct2: createMetricPattern4(client, _m(acc, "pct2")), + ratioPct2Usd: createMetricPattern4(client, _m(acc, "pct2_usd")), + ratioPct5: createMetricPattern4(client, _m(acc, "pct5")), + ratioPct5Usd: createMetricPattern4(client, _m(acc, "pct5_usd")), + ratioPct95: createMetricPattern4(client, _m(acc, "pct95")), + ratioPct95Usd: createMetricPattern4(client, _m(acc, "pct95_usd")), + ratioPct98: createMetricPattern4(client, _m(acc, "pct98")), + ratioPct98Usd: createMetricPattern4(client, _m(acc, "pct98_usd")), + ratioPct99: createMetricPattern4(client, _m(acc, "pct99")), + ratioPct99Usd: createMetricPattern4(client, _m(acc, "pct99_usd")), ratioSd: createRatio1ySdPattern(client, acc), }; } @@ -2163,24 +2777,75 @@ function createActivePriceRatioPattern(client, acc) { */ function createRelativePattern5(client, acc) { return { - negUnrealizedLossRelToMarketCap: createMetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_market_cap')), - negUnrealizedLossRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_own_market_cap')), - negUnrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_own_total_unrealized_pnl')), - netUnrealizedPnlRelToMarketCap: createMetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_market_cap')), - netUnrealizedPnlRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_own_market_cap')), - netUnrealizedPnlRelToOwnTotalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_own_total_unrealized_pnl')), - nupl: createMetricPattern1(client, _m(acc, 'nupl')), - supplyInLossRelToCirculatingSupply: createMetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_circulating_supply')), - supplyInLossRelToOwnSupply: createMetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_own_supply')), - supplyInProfitRelToCirculatingSupply: createMetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_circulating_supply')), - supplyInProfitRelToOwnSupply: createMetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_own_supply')), - supplyRelToCirculatingSupply: createMetricPattern4(client, _m(acc, 'supply_rel_to_circulating_supply')), - unrealizedLossRelToMarketCap: createMetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_market_cap')), - unrealizedLossRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_own_market_cap')), - unrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_own_total_unrealized_pnl')), - unrealizedProfitRelToMarketCap: createMetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_market_cap')), - unrealizedProfitRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_own_market_cap')), - unrealizedProfitRelToOwnTotalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_own_total_unrealized_pnl')), + negUnrealizedLossRelToMarketCap: createMetricPattern1( + client, + _m(acc, "neg_unrealized_loss_rel_to_market_cap"), + ), + negUnrealizedLossRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "neg_unrealized_loss_rel_to_own_market_cap"), + ), + negUnrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + netUnrealizedPnlRelToMarketCap: createMetricPattern1( + client, + _m(acc, "net_unrealized_pnl_rel_to_market_cap"), + ), + netUnrealizedPnlRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "net_unrealized_pnl_rel_to_own_market_cap"), + ), + netUnrealizedPnlRelToOwnTotalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl"), + ), + nupl: createMetricPattern1(client, _m(acc, "nupl")), + supplyInLossRelToCirculatingSupply: createMetricPattern1( + client, + _m(acc, "supply_in_loss_rel_to_circulating_supply"), + ), + supplyInLossRelToOwnSupply: createMetricPattern1( + client, + _m(acc, "supply_in_loss_rel_to_own_supply"), + ), + supplyInProfitRelToCirculatingSupply: createMetricPattern1( + client, + _m(acc, "supply_in_profit_rel_to_circulating_supply"), + ), + supplyInProfitRelToOwnSupply: createMetricPattern1( + client, + _m(acc, "supply_in_profit_rel_to_own_supply"), + ), + supplyRelToCirculatingSupply: createMetricPattern4( + client, + _m(acc, "supply_rel_to_circulating_supply"), + ), + unrealizedLossRelToMarketCap: createMetricPattern1( + client, + _m(acc, "unrealized_loss_rel_to_market_cap"), + ), + unrealizedLossRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "unrealized_loss_rel_to_own_market_cap"), + ), + unrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + unrealizedProfitRelToMarketCap: createMetricPattern1( + client, + _m(acc, "unrealized_profit_rel_to_market_cap"), + ), + unrealizedProfitRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "unrealized_profit_rel_to_own_market_cap"), + ), + unrealizedProfitRelToOwnTotalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "unrealized_profit_rel_to_own_total_unrealized_pnl"), + ), }; } @@ -2195,7 +2860,7 @@ function createRelativePattern5(client, acc) { * @property {MetricPattern1} _24hBlocksMined * @property {MetricPattern1} _24hDominance * @property {BlockCountPattern} blocksMined - * @property {UnclaimedRewardsPattern} coinbase + * @property {CoinbasePattern2} coinbase * @property {MetricPattern4} daysSinceBlock * @property {MetricPattern1} dominance * @property {UnclaimedRewardsPattern} fee @@ -2210,20 +2875,20 @@ function createRelativePattern5(client, acc) { */ function createAaopoolPattern(client, acc) { return { - _1mBlocksMined: createMetricPattern1(client, _m(acc, '1m_blocks_mined')), - _1mDominance: createMetricPattern1(client, _m(acc, '1m_dominance')), - _1wBlocksMined: createMetricPattern1(client, _m(acc, '1w_blocks_mined')), - _1wDominance: createMetricPattern1(client, _m(acc, '1w_dominance')), - _1yBlocksMined: createMetricPattern1(client, _m(acc, '1y_blocks_mined')), - _1yDominance: createMetricPattern1(client, _m(acc, '1y_dominance')), - _24hBlocksMined: createMetricPattern1(client, _m(acc, '24h_blocks_mined')), - _24hDominance: createMetricPattern1(client, _m(acc, '24h_dominance')), - blocksMined: createBlockCountPattern(client, _m(acc, 'blocks_mined')), - coinbase: createUnclaimedRewardsPattern(client, _m(acc, 'coinbase')), - daysSinceBlock: createMetricPattern4(client, _m(acc, 'days_since_block')), - dominance: createMetricPattern1(client, _m(acc, 'dominance')), - fee: createUnclaimedRewardsPattern(client, _m(acc, 'fee')), - subsidy: createUnclaimedRewardsPattern(client, _m(acc, 'subsidy')), + _1mBlocksMined: createMetricPattern1(client, _m(acc, "1m_blocks_mined")), + _1mDominance: createMetricPattern1(client, _m(acc, "1m_dominance")), + _1wBlocksMined: createMetricPattern1(client, _m(acc, "1w_blocks_mined")), + _1wDominance: createMetricPattern1(client, _m(acc, "1w_dominance")), + _1yBlocksMined: createMetricPattern1(client, _m(acc, "1y_blocks_mined")), + _1yDominance: createMetricPattern1(client, _m(acc, "1y_dominance")), + _24hBlocksMined: createMetricPattern1(client, _m(acc, "24h_blocks_mined")), + _24hDominance: createMetricPattern1(client, _m(acc, "24h_dominance")), + blocksMined: createBlockCountPattern(client, _m(acc, "blocks_mined")), + coinbase: createCoinbasePattern2(client, _m(acc, "coinbase")), + daysSinceBlock: createMetricPattern4(client, _m(acc, "days_since_block")), + dominance: createMetricPattern1(client, _m(acc, "dominance")), + fee: createUnclaimedRewardsPattern(client, _m(acc, "fee")), + subsidy: createUnclaimedRewardsPattern(client, _m(acc, "subsidy")), }; } @@ -2249,41 +2914,41 @@ function createAaopoolPattern(client, acc) { * Create a PriceAgoPattern pattern node * @template T * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name + * @param {string} basePath * @returns {PriceAgoPattern} */ -function createPriceAgoPattern(client, acc) { +function createPriceAgoPattern(client, basePath) { return { - _10y: createMetricPattern4(client, _m(acc, '10y_ago')), - _1d: createMetricPattern4(client, _m(acc, '1d_ago')), - _1m: createMetricPattern4(client, _m(acc, '1m_ago')), - _1w: createMetricPattern4(client, _m(acc, '1w_ago')), - _1y: createMetricPattern4(client, _m(acc, '1y_ago')), - _2y: createMetricPattern4(client, _m(acc, '2y_ago')), - _3m: createMetricPattern4(client, _m(acc, '3m_ago')), - _3y: createMetricPattern4(client, _m(acc, '3y_ago')), - _4y: createMetricPattern4(client, _m(acc, '4y_ago')), - _5y: createMetricPattern4(client, _m(acc, '5y_ago')), - _6m: createMetricPattern4(client, _m(acc, '6m_ago')), - _6y: createMetricPattern4(client, _m(acc, '6y_ago')), - _8y: createMetricPattern4(client, _m(acc, '8y_ago')), + _10y: createMetricPattern4(client, `${basePath}_10y`), + _1d: createMetricPattern4(client, `${basePath}_1d`), + _1m: createMetricPattern4(client, `${basePath}_1m`), + _1w: createMetricPattern4(client, `${basePath}_1w`), + _1y: createMetricPattern4(client, `${basePath}_1y`), + _2y: createMetricPattern4(client, `${basePath}_2y`), + _3m: createMetricPattern4(client, `${basePath}_3m`), + _3y: createMetricPattern4(client, `${basePath}_3y`), + _4y: createMetricPattern4(client, `${basePath}_4y`), + _5y: createMetricPattern4(client, `${basePath}_5y`), + _6m: createMetricPattern4(client, `${basePath}_6m`), + _6y: createMetricPattern4(client, `${basePath}_6y`), + _8y: createMetricPattern4(client, `${basePath}_8y`), }; } /** * @typedef {Object} PeriodLumpSumStackPattern - * @property {_24hCoinbaseSumPattern} _10y - * @property {_24hCoinbaseSumPattern} _1m - * @property {_24hCoinbaseSumPattern} _1w - * @property {_24hCoinbaseSumPattern} _1y - * @property {_24hCoinbaseSumPattern} _2y - * @property {_24hCoinbaseSumPattern} _3m - * @property {_24hCoinbaseSumPattern} _3y - * @property {_24hCoinbaseSumPattern} _4y - * @property {_24hCoinbaseSumPattern} _5y - * @property {_24hCoinbaseSumPattern} _6m - * @property {_24hCoinbaseSumPattern} _6y - * @property {_24hCoinbaseSumPattern} _8y + * @property {_2015Pattern} _10y + * @property {_2015Pattern} _1m + * @property {_2015Pattern} _1w + * @property {_2015Pattern} _1y + * @property {_2015Pattern} _2y + * @property {_2015Pattern} _3m + * @property {_2015Pattern} _3y + * @property {_2015Pattern} _4y + * @property {_2015Pattern} _5y + * @property {_2015Pattern} _6m + * @property {_2015Pattern} _6y + * @property {_2015Pattern} _8y */ /** @@ -2294,18 +2959,18 @@ function createPriceAgoPattern(client, acc) { */ function createPeriodLumpSumStackPattern(client, acc) { return { - _10y: create_24hCoinbaseSumPattern(client, (acc ? `10y_${acc}` : '10y')), - _1m: create_24hCoinbaseSumPattern(client, (acc ? `1m_${acc}` : '1m')), - _1w: create_24hCoinbaseSumPattern(client, (acc ? `1w_${acc}` : '1w')), - _1y: create_24hCoinbaseSumPattern(client, (acc ? `1y_${acc}` : '1y')), - _2y: create_24hCoinbaseSumPattern(client, (acc ? `2y_${acc}` : '2y')), - _3m: create_24hCoinbaseSumPattern(client, (acc ? `3m_${acc}` : '3m')), - _3y: create_24hCoinbaseSumPattern(client, (acc ? `3y_${acc}` : '3y')), - _4y: create_24hCoinbaseSumPattern(client, (acc ? `4y_${acc}` : '4y')), - _5y: create_24hCoinbaseSumPattern(client, (acc ? `5y_${acc}` : '5y')), - _6m: create_24hCoinbaseSumPattern(client, (acc ? `6m_${acc}` : '6m')), - _6y: create_24hCoinbaseSumPattern(client, (acc ? `6y_${acc}` : '6y')), - _8y: create_24hCoinbaseSumPattern(client, (acc ? `8y_${acc}` : '8y')), + _10y: create_2015Pattern(client, acc ? `10y_${acc}` : "10y"), + _1m: create_2015Pattern(client, acc ? `1m_${acc}` : "1m"), + _1w: create_2015Pattern(client, acc ? `1w_${acc}` : "1w"), + _1y: create_2015Pattern(client, acc ? `1y_${acc}` : "1y"), + _2y: create_2015Pattern(client, acc ? `2y_${acc}` : "2y"), + _3m: create_2015Pattern(client, acc ? `3m_${acc}` : "3m"), + _3y: create_2015Pattern(client, acc ? `3y_${acc}` : "3y"), + _4y: create_2015Pattern(client, acc ? `4y_${acc}` : "4y"), + _5y: create_2015Pattern(client, acc ? `5y_${acc}` : "5y"), + _6m: create_2015Pattern(client, acc ? `6m_${acc}` : "6m"), + _6y: create_2015Pattern(client, acc ? `6y_${acc}` : "6y"), + _8y: create_2015Pattern(client, acc ? `8y_${acc}` : "8y"), }; } @@ -2335,18 +3000,57 @@ function createPeriodLumpSumStackPattern(client, acc) { */ function createPeriodAveragePricePattern(client, acc) { return { - _10y: createMetricPattern4(client, (acc ? `10y_${acc}` : '10y')), - _1m: createMetricPattern4(client, (acc ? `1m_${acc}` : '1m')), - _1w: createMetricPattern4(client, (acc ? `1w_${acc}` : '1w')), - _1y: createMetricPattern4(client, (acc ? `1y_${acc}` : '1y')), - _2y: createMetricPattern4(client, (acc ? `2y_${acc}` : '2y')), - _3m: createMetricPattern4(client, (acc ? `3m_${acc}` : '3m')), - _3y: createMetricPattern4(client, (acc ? `3y_${acc}` : '3y')), - _4y: createMetricPattern4(client, (acc ? `4y_${acc}` : '4y')), - _5y: createMetricPattern4(client, (acc ? `5y_${acc}` : '5y')), - _6m: createMetricPattern4(client, (acc ? `6m_${acc}` : '6m')), - _6y: createMetricPattern4(client, (acc ? `6y_${acc}` : '6y')), - _8y: createMetricPattern4(client, (acc ? `8y_${acc}` : '8y')), + _10y: createMetricPattern4(client, acc ? `10y_${acc}` : "10y"), + _1m: createMetricPattern4(client, acc ? `1m_${acc}` : "1m"), + _1w: createMetricPattern4(client, acc ? `1w_${acc}` : "1w"), + _1y: createMetricPattern4(client, acc ? `1y_${acc}` : "1y"), + _2y: createMetricPattern4(client, acc ? `2y_${acc}` : "2y"), + _3m: createMetricPattern4(client, acc ? `3m_${acc}` : "3m"), + _3y: createMetricPattern4(client, acc ? `3y_${acc}` : "3y"), + _4y: createMetricPattern4(client, acc ? `4y_${acc}` : "4y"), + _5y: createMetricPattern4(client, acc ? `5y_${acc}` : "5y"), + _6m: createMetricPattern4(client, acc ? `6m_${acc}` : "6m"), + _6y: createMetricPattern4(client, acc ? `6y_${acc}` : "6y"), + _8y: createMetricPattern4(client, acc ? `8y_${acc}` : "8y"), + }; +} + +/** + * @template T + * @typedef {Object} DollarsPattern + * @property {MetricPattern2} average + * @property {MetricPattern11} base + * @property {MetricPattern1} cumulative + * @property {MetricPattern2} max + * @property {MetricPattern6} median + * @property {MetricPattern2} min + * @property {MetricPattern6} pct10 + * @property {MetricPattern6} pct25 + * @property {MetricPattern6} pct75 + * @property {MetricPattern6} pct90 + * @property {MetricPattern2} sum + */ + +/** + * Create a DollarsPattern pattern node + * @template T + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {DollarsPattern} + */ +function createDollarsPattern(client, acc) { + return { + average: createMetricPattern2(client, _m(acc, "average")), + base: createMetricPattern11(client, acc), + cumulative: createMetricPattern1(client, _m(acc, "cumulative")), + max: createMetricPattern2(client, _m(acc, "max")), + median: createMetricPattern6(client, _m(acc, "median")), + min: createMetricPattern2(client, _m(acc, "min")), + pct10: createMetricPattern6(client, _m(acc, "pct10")), + pct25: createMetricPattern6(client, _m(acc, "pct25")), + pct75: createMetricPattern6(client, _m(acc, "pct75")), + pct90: createMetricPattern6(client, _m(acc, "pct90")), + sum: createMetricPattern2(client, _m(acc, "sum")), }; } @@ -2370,22 +3074,22 @@ function createPeriodAveragePricePattern(client, acc) { * Create a ClassAveragePricePattern pattern node * @template T * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name + * @param {string} basePath * @returns {ClassAveragePricePattern} */ -function createClassAveragePricePattern(client, acc) { +function createClassAveragePricePattern(client, basePath) { return { - _2015: createMetricPattern4(client, _m(acc, '2015_average_price')), - _2016: createMetricPattern4(client, _m(acc, '2016_average_price')), - _2017: createMetricPattern4(client, _m(acc, '2017_average_price')), - _2018: createMetricPattern4(client, _m(acc, '2018_average_price')), - _2019: createMetricPattern4(client, _m(acc, '2019_average_price')), - _2020: createMetricPattern4(client, _m(acc, '2020_average_price')), - _2021: createMetricPattern4(client, _m(acc, '2021_average_price')), - _2022: createMetricPattern4(client, _m(acc, '2022_average_price')), - _2023: createMetricPattern4(client, _m(acc, '2023_average_price')), - _2024: createMetricPattern4(client, _m(acc, '2024_average_price')), - _2025: createMetricPattern4(client, _m(acc, '2025_average_price')), + _2015: createMetricPattern4(client, `${basePath}_2015`), + _2016: createMetricPattern4(client, `${basePath}_2016`), + _2017: createMetricPattern4(client, `${basePath}_2017`), + _2018: createMetricPattern4(client, `${basePath}_2018`), + _2019: createMetricPattern4(client, `${basePath}_2019`), + _2020: createMetricPattern4(client, `${basePath}_2020`), + _2021: createMetricPattern4(client, `${basePath}_2021`), + _2022: createMetricPattern4(client, `${basePath}_2022`), + _2023: createMetricPattern4(client, `${basePath}_2023`), + _2024: createMetricPattern4(client, `${basePath}_2024`), + _2025: createMetricPattern4(client, `${basePath}_2025`), }; } @@ -2394,7 +3098,7 @@ function createClassAveragePricePattern(client, acc) { * @typedef {Object} FullnessPattern * @property {MetricPattern2} average * @property {MetricPattern11} base - * @property {MetricPattern1} cumulative + * @property {MetricPattern2} cumulative * @property {MetricPattern2} max * @property {MetricPattern6} median * @property {MetricPattern2} min @@ -2414,17 +3118,17 @@ function createClassAveragePricePattern(client, acc) { */ function createFullnessPattern(client, acc) { return { - average: createMetricPattern2(client, _m(acc, 'average')), + average: createMetricPattern2(client, _m(acc, "average")), base: createMetricPattern11(client, acc), - cumulative: createMetricPattern1(client, _m(acc, 'cumulative')), - max: createMetricPattern2(client, _m(acc, 'max')), - median: createMetricPattern6(client, _m(acc, 'median')), - min: createMetricPattern2(client, _m(acc, 'min')), - pct10: createMetricPattern6(client, _m(acc, 'pct10')), - pct25: createMetricPattern6(client, _m(acc, 'pct25')), - pct75: createMetricPattern6(client, _m(acc, 'pct75')), - pct90: createMetricPattern6(client, _m(acc, 'pct90')), - sum: createMetricPattern2(client, _m(acc, 'sum')), + cumulative: createMetricPattern2(client, _m(acc, "cumulative")), + max: createMetricPattern2(client, _m(acc, "max")), + median: createMetricPattern6(client, _m(acc, "median")), + min: createMetricPattern2(client, _m(acc, "min")), + pct10: createMetricPattern6(client, _m(acc, "pct10")), + pct25: createMetricPattern6(client, _m(acc, "pct25")), + pct75: createMetricPattern6(client, _m(acc, "pct75")), + pct90: createMetricPattern6(client, _m(acc, "pct90")), + sum: createMetricPattern2(client, _m(acc, "sum")), }; } @@ -2450,16 +3154,43 @@ function createFullnessPattern(client, acc) { */ function createRelativePattern(client, acc) { return { - negUnrealizedLossRelToMarketCap: createMetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_market_cap')), - netUnrealizedPnlRelToMarketCap: createMetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_market_cap')), - nupl: createMetricPattern1(client, _m(acc, 'nupl')), - supplyInLossRelToCirculatingSupply: createMetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_circulating_supply')), - supplyInLossRelToOwnSupply: createMetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_own_supply')), - supplyInProfitRelToCirculatingSupply: createMetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_circulating_supply')), - supplyInProfitRelToOwnSupply: createMetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_own_supply')), - supplyRelToCirculatingSupply: createMetricPattern4(client, _m(acc, 'supply_rel_to_circulating_supply')), - unrealizedLossRelToMarketCap: createMetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_market_cap')), - unrealizedProfitRelToMarketCap: createMetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_market_cap')), + negUnrealizedLossRelToMarketCap: createMetricPattern1( + client, + _m(acc, "neg_unrealized_loss_rel_to_market_cap"), + ), + netUnrealizedPnlRelToMarketCap: createMetricPattern1( + client, + _m(acc, "net_unrealized_pnl_rel_to_market_cap"), + ), + nupl: createMetricPattern1(client, _m(acc, "nupl")), + supplyInLossRelToCirculatingSupply: createMetricPattern1( + client, + _m(acc, "supply_in_loss_rel_to_circulating_supply"), + ), + supplyInLossRelToOwnSupply: createMetricPattern1( + client, + _m(acc, "supply_in_loss_rel_to_own_supply"), + ), + supplyInProfitRelToCirculatingSupply: createMetricPattern1( + client, + _m(acc, "supply_in_profit_rel_to_circulating_supply"), + ), + supplyInProfitRelToOwnSupply: createMetricPattern1( + client, + _m(acc, "supply_in_profit_rel_to_own_supply"), + ), + supplyRelToCirculatingSupply: createMetricPattern4( + client, + _m(acc, "supply_rel_to_circulating_supply"), + ), + unrealizedLossRelToMarketCap: createMetricPattern1( + client, + _m(acc, "unrealized_loss_rel_to_market_cap"), + ), + unrealizedProfitRelToMarketCap: createMetricPattern1( + client, + _m(acc, "unrealized_profit_rel_to_market_cap"), + ), }; } @@ -2485,22 +3216,52 @@ function createRelativePattern(client, acc) { */ function createRelativePattern2(client, acc) { return { - negUnrealizedLossRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_own_market_cap')), - negUnrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_own_total_unrealized_pnl')), - netUnrealizedPnlRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_own_market_cap')), - netUnrealizedPnlRelToOwnTotalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_own_total_unrealized_pnl')), - supplyInLossRelToOwnSupply: createMetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_own_supply')), - supplyInProfitRelToOwnSupply: createMetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_own_supply')), - unrealizedLossRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_own_market_cap')), - unrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_own_total_unrealized_pnl')), - unrealizedProfitRelToOwnMarketCap: createMetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_own_market_cap')), - unrealizedProfitRelToOwnTotalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_own_total_unrealized_pnl')), + negUnrealizedLossRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "neg_unrealized_loss_rel_to_own_market_cap"), + ), + negUnrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + netUnrealizedPnlRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "net_unrealized_pnl_rel_to_own_market_cap"), + ), + netUnrealizedPnlRelToOwnTotalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl"), + ), + supplyInLossRelToOwnSupply: createMetricPattern1( + client, + _m(acc, "supply_in_loss_rel_to_own_supply"), + ), + supplyInProfitRelToOwnSupply: createMetricPattern1( + client, + _m(acc, "supply_in_profit_rel_to_own_supply"), + ), + unrealizedLossRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "unrealized_loss_rel_to_own_market_cap"), + ), + unrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "unrealized_loss_rel_to_own_total_unrealized_pnl"), + ), + unrealizedProfitRelToOwnMarketCap: createMetricPattern1( + client, + _m(acc, "unrealized_profit_rel_to_own_market_cap"), + ), + unrealizedProfitRelToOwnTotalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "unrealized_profit_rel_to_own_total_unrealized_pnl"), + ), }; } /** * @template T - * @typedef {Object} SizePattern + * @typedef {Object} CountPattern2 * @property {MetricPattern1} average * @property {MetricPattern1} cumulative * @property {MetricPattern1} max @@ -2514,24 +3275,24 @@ function createRelativePattern2(client, acc) { */ /** - * Create a SizePattern pattern node + * Create a CountPattern2 pattern node * @template T * @param {BrkClientBase} client * @param {string} acc - Accumulated metric name - * @returns {SizePattern} + * @returns {CountPattern2} */ -function createSizePattern(client, acc) { +function createCountPattern2(client, acc) { return { - average: createMetricPattern1(client, _m(acc, 'average')), - cumulative: createMetricPattern1(client, _m(acc, 'cumulative')), - max: createMetricPattern1(client, _m(acc, 'max')), - median: createMetricPattern11(client, _m(acc, 'median')), - min: createMetricPattern1(client, _m(acc, 'min')), - pct10: createMetricPattern11(client, _m(acc, 'pct10')), - pct25: createMetricPattern11(client, _m(acc, 'pct25')), - pct75: createMetricPattern11(client, _m(acc, 'pct75')), - pct90: createMetricPattern11(client, _m(acc, 'pct90')), - sum: createMetricPattern1(client, _m(acc, 'sum')), + average: createMetricPattern1(client, _m(acc, "average")), + cumulative: createMetricPattern1(client, _m(acc, "cumulative")), + max: createMetricPattern1(client, _m(acc, "max")), + median: createMetricPattern11(client, _m(acc, "median")), + min: createMetricPattern1(client, _m(acc, "min")), + pct10: createMetricPattern11(client, _m(acc, "pct10")), + pct25: createMetricPattern11(client, _m(acc, "pct25")), + pct75: createMetricPattern11(client, _m(acc, "pct75")), + pct90: createMetricPattern11(client, _m(acc, "pct90")), + sum: createMetricPattern1(client, _m(acc, "sum")), }; } @@ -2551,20 +3312,20 @@ function createSizePattern(client, acc) { /** * Create a AddrCountPattern pattern node * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name + * @param {string} basePath * @returns {AddrCountPattern} */ -function createAddrCountPattern(client, acc) { +function createAddrCountPattern(client, basePath) { return { - all: createMetricPattern1(client, (acc ? `addr_${acc}` : 'addr')), - p2a: createMetricPattern1(client, (acc ? `p2a_addr_${acc}` : 'p2a_addr')), - p2pk33: createMetricPattern1(client, (acc ? `p2pk33_addr_${acc}` : 'p2pk33_addr')), - p2pk65: createMetricPattern1(client, (acc ? `p2pk65_addr_${acc}` : 'p2pk65_addr')), - p2pkh: createMetricPattern1(client, (acc ? `p2pkh_addr_${acc}` : 'p2pkh_addr')), - p2sh: createMetricPattern1(client, (acc ? `p2sh_addr_${acc}` : 'p2sh_addr')), - p2tr: createMetricPattern1(client, (acc ? `p2tr_addr_${acc}` : 'p2tr_addr')), - p2wpkh: createMetricPattern1(client, (acc ? `p2wpkh_addr_${acc}` : 'p2wpkh_addr')), - p2wsh: createMetricPattern1(client, (acc ? `p2wsh_addr_${acc}` : 'p2wsh_addr')), + all: createMetricPattern1(client, `${basePath}_all`), + p2a: createMetricPattern1(client, `${basePath}_p2a`), + p2pk33: createMetricPattern1(client, `${basePath}_p2pk33`), + p2pk65: createMetricPattern1(client, `${basePath}_p2pk65`), + p2pkh: createMetricPattern1(client, `${basePath}_p2pkh`), + p2sh: createMetricPattern1(client, `${basePath}_p2sh`), + p2tr: createMetricPattern1(client, `${basePath}_p2tr`), + p2wpkh: createMetricPattern1(client, `${basePath}_p2wpkh`), + p2wsh: createMetricPattern1(client, `${basePath}_p2wsh`), }; } @@ -2591,14 +3352,14 @@ function createAddrCountPattern(client, acc) { */ function createFeeRatePattern(client, acc) { return { - average: createMetricPattern1(client, _m(acc, 'average')), - max: createMetricPattern1(client, _m(acc, 'max')), - median: createMetricPattern11(client, _m(acc, 'median')), - min: createMetricPattern1(client, _m(acc, 'min')), - pct10: createMetricPattern11(client, _m(acc, 'pct10')), - pct25: createMetricPattern11(client, _m(acc, 'pct25')), - pct75: createMetricPattern11(client, _m(acc, 'pct75')), - pct90: createMetricPattern11(client, _m(acc, 'pct90')), + average: createMetricPattern1(client, _m(acc, "average")), + max: createMetricPattern1(client, _m(acc, "max")), + median: createMetricPattern11(client, _m(acc, "median")), + min: createMetricPattern1(client, _m(acc, "min")), + pct10: createMetricPattern11(client, _m(acc, "pct10")), + pct25: createMetricPattern11(client, _m(acc, "pct25")), + pct75: createMetricPattern11(client, _m(acc, "pct75")), + pct90: createMetricPattern11(client, _m(acc, "pct90")), txindex: createMetricPattern27(client, acc), }; } @@ -2624,99 +3385,12 @@ function createFeeRatePattern(client, acc) { function create_0satsPattern(client, acc) { return { activity: createActivityPattern2(client, acc), - addrCount: createMetricPattern1(client, _m(acc, 'addr_count')), + addrCount: createMetricPattern1(client, _m(acc, "addr_count")), costBasis: createCostBasisPattern(client, acc), outputs: createOutputsPattern(client, acc), realized: createRealizedPattern(client, acc), relative: createRelativePattern(client, acc), - supply: createSupplyPattern2(client, _m(acc, 'supply')), - unrealized: createUnrealizedPattern(client, acc), - }; -} - -/** - * @typedef {Object} _0satsPattern2 - * @property {ActivityPattern2} activity - * @property {CostBasisPattern} costBasis - * @property {OutputsPattern} outputs - * @property {RealizedPattern} realized - * @property {RelativePattern4} relative - * @property {SupplyPattern2} supply - * @property {UnrealizedPattern} unrealized - */ - -/** - * Create a _0satsPattern2 pattern node - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {_0satsPattern2} - */ -function create_0satsPattern2(client, acc) { - return { - activity: createActivityPattern2(client, acc), - costBasis: createCostBasisPattern(client, acc), - outputs: createOutputsPattern(client, acc), - realized: createRealizedPattern(client, acc), - relative: createRelativePattern4(client, _m(acc, 'supply_in')), - supply: createSupplyPattern2(client, _m(acc, 'supply')), - unrealized: createUnrealizedPattern(client, acc), - }; -} - -/** - * @typedef {Object} _10yTo12yPattern - * @property {ActivityPattern2} activity - * @property {CostBasisPattern2} costBasis - * @property {OutputsPattern} outputs - * @property {RealizedPattern2} realized - * @property {RelativePattern2} relative - * @property {SupplyPattern2} supply - * @property {UnrealizedPattern} unrealized - */ - -/** - * Create a _10yTo12yPattern pattern node - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {_10yTo12yPattern} - */ -function create_10yTo12yPattern(client, acc) { - return { - activity: createActivityPattern2(client, acc), - costBasis: createCostBasisPattern2(client, acc), - outputs: createOutputsPattern(client, acc), - realized: createRealizedPattern2(client, acc), - relative: createRelativePattern2(client, acc), - supply: createSupplyPattern2(client, _m(acc, 'supply')), - unrealized: createUnrealizedPattern(client, acc), - }; -} - -/** - * @typedef {Object} _10yPattern - * @property {ActivityPattern2} activity - * @property {CostBasisPattern} costBasis - * @property {OutputsPattern} outputs - * @property {RealizedPattern4} realized - * @property {RelativePattern} relative - * @property {SupplyPattern2} supply - * @property {UnrealizedPattern} unrealized - */ - -/** - * Create a _10yPattern pattern node - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {_10yPattern} - */ -function create_10yPattern(client, acc) { - return { - activity: createActivityPattern2(client, acc), - costBasis: createCostBasisPattern(client, acc), - outputs: createOutputsPattern(client, acc), - realized: createRealizedPattern4(client, acc), - relative: createRelativePattern(client, acc), - supply: createSupplyPattern2(client, _m(acc, 'supply')), + supply: createSupplyPattern2(client, _m(acc, "supply")), unrealized: createUnrealizedPattern(client, acc), }; } @@ -2745,7 +3419,65 @@ function create_100btcPattern(client, acc) { outputs: createOutputsPattern(client, acc), realized: createRealizedPattern(client, acc), relative: createRelativePattern(client, acc), - supply: createSupplyPattern2(client, _m(acc, 'supply')), + supply: createSupplyPattern2(client, _m(acc, "supply")), + unrealized: createUnrealizedPattern(client, acc), + }; +} + +/** + * @typedef {Object} _0satsPattern2 + * @property {ActivityPattern2} activity + * @property {CostBasisPattern} costBasis + * @property {OutputsPattern} outputs + * @property {RealizedPattern} realized + * @property {RelativePattern4} relative + * @property {SupplyPattern2} supply + * @property {UnrealizedPattern} unrealized + */ + +/** + * Create a _0satsPattern2 pattern node + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {_0satsPattern2} + */ +function create_0satsPattern2(client, acc) { + return { + activity: createActivityPattern2(client, acc), + costBasis: createCostBasisPattern(client, acc), + outputs: createOutputsPattern(client, acc), + realized: createRealizedPattern(client, acc), + relative: createRelativePattern4(client, _m(acc, "supply_in")), + supply: createSupplyPattern2(client, _m(acc, "supply")), + unrealized: createUnrealizedPattern(client, acc), + }; +} + +/** + * @typedef {Object} _10yTo12yPattern + * @property {ActivityPattern2} activity + * @property {CostBasisPattern2} costBasis + * @property {OutputsPattern} outputs + * @property {RealizedPattern2} realized + * @property {RelativePattern2} relative + * @property {SupplyPattern2} supply + * @property {UnrealizedPattern} unrealized + */ + +/** + * Create a _10yTo12yPattern pattern node + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {_10yTo12yPattern} + */ +function create_10yTo12yPattern(client, acc) { + return { + activity: createActivityPattern2(client, acc), + costBasis: createCostBasisPattern2(client, acc), + outputs: createOutputsPattern(client, acc), + realized: createRealizedPattern2(client, acc), + relative: createRelativePattern2(client, acc), + supply: createSupplyPattern2(client, _m(acc, "supply")), unrealized: createUnrealizedPattern(client, acc), }; } @@ -2754,8 +3486,8 @@ function create_100btcPattern(client, acc) { * @typedef {Object} UnrealizedPattern * @property {MetricPattern1} negUnrealizedLoss * @property {MetricPattern1} netUnrealizedPnl - * @property {_24hCoinbaseSumPattern} supplyInLoss - * @property {_24hCoinbaseSumPattern} supplyInProfit + * @property {ActiveSupplyPattern} supplyInLoss + * @property {ActiveSupplyPattern} supplyInProfit * @property {MetricPattern1} totalUnrealizedPnl * @property {MetricPattern1} unrealizedLoss * @property {MetricPattern1} unrealizedProfit @@ -2769,13 +3501,28 @@ function create_100btcPattern(client, acc) { */ function createUnrealizedPattern(client, acc) { return { - negUnrealizedLoss: createMetricPattern1(client, _m(acc, 'neg_unrealized_loss')), - netUnrealizedPnl: createMetricPattern1(client, _m(acc, 'net_unrealized_pnl')), - supplyInLoss: create_24hCoinbaseSumPattern(client, _m(acc, 'supply_in_loss')), - supplyInProfit: create_24hCoinbaseSumPattern(client, _m(acc, 'supply_in_profit')), - totalUnrealizedPnl: createMetricPattern1(client, _m(acc, 'total_unrealized_pnl')), - unrealizedLoss: createMetricPattern1(client, _m(acc, 'unrealized_loss')), - unrealizedProfit: createMetricPattern1(client, _m(acc, 'unrealized_profit')), + negUnrealizedLoss: createMetricPattern1( + client, + _m(acc, "neg_unrealized_loss"), + ), + netUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "net_unrealized_pnl"), + ), + supplyInLoss: createActiveSupplyPattern(client, _m(acc, "supply_in_loss")), + supplyInProfit: createActiveSupplyPattern( + client, + _m(acc, "supply_in_profit"), + ), + totalUnrealizedPnl: createMetricPattern1( + client, + _m(acc, "total_unrealized_pnl"), + ), + unrealizedLoss: createMetricPattern1(client, _m(acc, "unrealized_loss")), + unrealizedProfit: createMetricPattern1( + client, + _m(acc, "unrealized_profit"), + ), }; } @@ -2798,13 +3545,42 @@ function createUnrealizedPattern(client, acc) { */ function createPeriodCagrPattern(client, acc) { return { - _10y: createMetricPattern4(client, (acc ? `10y_${acc}` : '10y')), - _2y: createMetricPattern4(client, (acc ? `2y_${acc}` : '2y')), - _3y: createMetricPattern4(client, (acc ? `3y_${acc}` : '3y')), - _4y: createMetricPattern4(client, (acc ? `4y_${acc}` : '4y')), - _5y: createMetricPattern4(client, (acc ? `5y_${acc}` : '5y')), - _6y: createMetricPattern4(client, (acc ? `6y_${acc}` : '6y')), - _8y: createMetricPattern4(client, (acc ? `8y_${acc}` : '8y')), + _10y: createMetricPattern4(client, acc ? `10y_${acc}` : "10y"), + _2y: createMetricPattern4(client, acc ? `2y_${acc}` : "2y"), + _3y: createMetricPattern4(client, acc ? `3y_${acc}` : "3y"), + _4y: createMetricPattern4(client, acc ? `4y_${acc}` : "4y"), + _5y: createMetricPattern4(client, acc ? `5y_${acc}` : "5y"), + _6y: createMetricPattern4(client, acc ? `6y_${acc}` : "6y"), + _8y: createMetricPattern4(client, acc ? `8y_${acc}` : "8y"), + }; +} + +/** + * @typedef {Object} _10yPattern + * @property {ActivityPattern2} activity + * @property {CostBasisPattern} costBasis + * @property {OutputsPattern} outputs + * @property {RealizedPattern4} realized + * @property {RelativePattern} relative + * @property {SupplyPattern2} supply + * @property {UnrealizedPattern} unrealized + */ + +/** + * Create a _10yPattern pattern node + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {_10yPattern} + */ +function create_10yPattern(client, acc) { + return { + activity: createActivityPattern2(client, acc), + costBasis: createCostBasisPattern(client, acc), + outputs: createOutputsPattern(client, acc), + realized: createRealizedPattern4(client, acc), + relative: createRelativePattern(client, acc), + supply: createSupplyPattern2(client, _m(acc, "supply")), + unrealized: createUnrealizedPattern(client, acc), }; } @@ -2825,44 +3601,56 @@ function createPeriodCagrPattern(client, acc) { */ function createActivityPattern2(client, acc) { return { - coinblocksDestroyed: createBlockCountPattern(client, _m(acc, 'coinblocks_destroyed')), - coindaysDestroyed: createBlockCountPattern(client, _m(acc, 'coindays_destroyed')), - satblocksDestroyed: createMetricPattern11(client, _m(acc, 'satblocks_destroyed')), - satdaysDestroyed: createMetricPattern11(client, _m(acc, 'satdays_destroyed')), - sent: createUnclaimedRewardsPattern(client, _m(acc, 'sent')), + coinblocksDestroyed: createBlockCountPattern( + client, + _m(acc, "coinblocks_destroyed"), + ), + coindaysDestroyed: createBlockCountPattern( + client, + _m(acc, "coindays_destroyed"), + ), + satblocksDestroyed: createMetricPattern11( + client, + _m(acc, "satblocks_destroyed"), + ), + satdaysDestroyed: createMetricPattern11( + client, + _m(acc, "satdays_destroyed"), + ), + sent: createUnclaimedRewardsPattern(client, _m(acc, "sent")), }; } /** * @template T - * @typedef {Object} SplitPattern - * @property {MetricPattern5} close - * @property {MetricPattern5} high - * @property {MetricPattern5} low - * @property {MetricPattern5} open + * @typedef {Object} SplitPattern2 + * @property {MetricPattern1} close + * @property {MetricPattern1} high + * @property {MetricPattern1} low + * @property {MetricPattern1} open */ /** - * Create a SplitPattern pattern node + * Create a SplitPattern2 pattern node * @template T * @param {BrkClientBase} client * @param {string} acc - Accumulated metric name - * @returns {SplitPattern} + * @returns {SplitPattern2} */ -function createSplitPattern(client, acc) { +function createSplitPattern2(client, acc) { return { - close: createMetricPattern5(client, _m(acc, 'close_cents')), - high: createMetricPattern5(client, _m(acc, 'high_cents')), - low: createMetricPattern5(client, _m(acc, 'low_cents')), - open: createMetricPattern5(client, _m(acc, 'open_cents')), + close: createMetricPattern1(client, _m(acc, "close")), + high: createMetricPattern1(client, _m(acc, "high")), + low: createMetricPattern1(client, _m(acc, "low")), + open: createMetricPattern1(client, _m(acc, "open")), }; } /** * @typedef {Object} CoinbasePattern * @property {FullnessPattern} bitcoin - * @property {FullnessPattern} dollars - * @property {FullnessPattern} sats + * @property {DollarsPattern} dollars + * @property {DollarsPattern} sats */ /** @@ -2873,9 +3661,114 @@ function createSplitPattern(client, acc) { */ function createCoinbasePattern(client, acc) { return { - bitcoin: createFullnessPattern(client, _m(acc, 'btc')), - dollars: createFullnessPattern(client, _m(acc, 'usd')), - sats: createFullnessPattern(client, acc), + bitcoin: createFullnessPattern(client, _m(acc, "btc")), + dollars: createDollarsPattern(client, _m(acc, "usd")), + sats: createDollarsPattern(client, acc), + }; +} + +/** + * @typedef {Object} CoinbasePattern2 + * @property {BlockCountPattern} bitcoin + * @property {BlockCountPattern} dollars + * @property {BlockCountPattern} sats + */ + +/** + * Create a CoinbasePattern2 pattern node + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {CoinbasePattern2} + */ +function createCoinbasePattern2(client, acc) { + return { + bitcoin: createBlockCountPattern(client, _m(acc, "btc")), + dollars: createBlockCountPattern(client, _m(acc, "usd")), + sats: createBlockCountPattern(client, acc), + }; +} + +/** + * @typedef {Object} ActiveSupplyPattern + * @property {MetricPattern1} bitcoin + * @property {MetricPattern1} dollars + * @property {MetricPattern1} sats + */ + +/** + * Create a ActiveSupplyPattern pattern node + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {ActiveSupplyPattern} + */ +function createActiveSupplyPattern(client, acc) { + return { + bitcoin: createMetricPattern1(client, _m(acc, "btc")), + dollars: createMetricPattern1(client, _m(acc, "usd")), + sats: createMetricPattern1(client, acc), + }; +} + +/** + * @typedef {Object} UnclaimedRewardsPattern + * @property {BitcoinPattern} bitcoin + * @property {BlockCountPattern} dollars + * @property {BlockCountPattern} sats + */ + +/** + * Create a UnclaimedRewardsPattern pattern node + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {UnclaimedRewardsPattern} + */ +function createUnclaimedRewardsPattern(client, acc) { + return { + bitcoin: createBitcoinPattern(client, _m(acc, "btc")), + dollars: createBlockCountPattern(client, _m(acc, "usd")), + sats: createBlockCountPattern(client, acc), + }; +} + +/** + * @typedef {Object} _2015Pattern + * @property {MetricPattern4} bitcoin + * @property {MetricPattern4} dollars + * @property {MetricPattern4} sats + */ + +/** + * Create a _2015Pattern pattern node + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {_2015Pattern} + */ +function create_2015Pattern(client, acc) { + return { + bitcoin: createMetricPattern4(client, _m(acc, "btc")), + dollars: createMetricPattern4(client, _m(acc, "usd")), + sats: createMetricPattern4(client, acc), + }; +} + +/** + * @typedef {Object} CostBasisPattern2 + * @property {MetricPattern1} max + * @property {MetricPattern1} min + * @property {PercentilesPattern} percentiles + */ + +/** + * Create a CostBasisPattern2 pattern node + * @param {BrkClientBase} client + * @param {string} basePath + * @returns {CostBasisPattern2} + */ +function createCostBasisPattern2(client, basePath) { + return { + max: createMetricPattern1(client, `${basePath}_max`), + min: createMetricPattern1(client, `${basePath}_min`), + percentiles: createPercentilesPattern(client, `${basePath}_percentiles`), }; } @@ -2895,71 +3788,8 @@ function createCoinbasePattern(client, acc) { function createSegwitAdoptionPattern(client, acc) { return { base: createMetricPattern11(client, acc), - cumulative: createMetricPattern2(client, _m(acc, 'cumulative')), - sum: createMetricPattern2(client, _m(acc, 'sum')), - }; -} - -/** - * @typedef {Object} _24hCoinbaseSumPattern - * @property {MetricPattern11} bitcoin - * @property {MetricPattern11} dollars - * @property {MetricPattern11} sats - */ - -/** - * Create a _24hCoinbaseSumPattern pattern node - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {_24hCoinbaseSumPattern} - */ -function create_24hCoinbaseSumPattern(client, acc) { - return { - bitcoin: createMetricPattern11(client, _m(acc, 'btc')), - dollars: createMetricPattern11(client, _m(acc, 'usd')), - sats: createMetricPattern11(client, acc), - }; -} - -/** - * @typedef {Object} CostBasisPattern2 - * @property {MetricPattern1} max - * @property {MetricPattern1} min - * @property {PercentilesPattern} percentiles - */ - -/** - * Create a CostBasisPattern2 pattern node - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {CostBasisPattern2} - */ -function createCostBasisPattern2(client, acc) { - return { - max: createMetricPattern1(client, _m(acc, 'max_cost_basis')), - min: createMetricPattern1(client, _m(acc, 'min_cost_basis')), - percentiles: createPercentilesPattern(client, _m(acc, 'cost_basis')), - }; -} - -/** - * @typedef {Object} UnclaimedRewardsPattern - * @property {BlockCountPattern} bitcoin - * @property {BlockCountPattern} dollars - * @property {BlockCountPattern} sats - */ - -/** - * Create a UnclaimedRewardsPattern pattern node - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {UnclaimedRewardsPattern} - */ -function createUnclaimedRewardsPattern(client, acc) { - return { - bitcoin: createBlockCountPattern(client, _m(acc, 'btc')), - dollars: createBlockCountPattern(client, _m(acc, 'usd')), - sats: createBlockCountPattern(client, acc), + cumulative: createMetricPattern2(client, _m(acc, "cumulative")), + sum: createMetricPattern2(client, _m(acc, "sum")), }; } @@ -2977,8 +3807,33 @@ function createUnclaimedRewardsPattern(client, acc) { */ function createRelativePattern4(client, acc) { return { - supplyInLossRelToOwnSupply: createMetricPattern1(client, _m(acc, 'loss_rel_to_own_supply')), - supplyInProfitRelToOwnSupply: createMetricPattern1(client, _m(acc, 'profit_rel_to_own_supply')), + supplyInLossRelToOwnSupply: createMetricPattern1( + client, + _m(acc, "loss_rel_to_own_supply"), + ), + supplyInProfitRelToOwnSupply: createMetricPattern1( + client, + _m(acc, "profit_rel_to_own_supply"), + ), + }; +} + +/** + * @typedef {Object} SupplyPattern2 + * @property {ActiveSupplyPattern} halved + * @property {ActiveSupplyPattern} total + */ + +/** + * Create a SupplyPattern2 pattern node + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {SupplyPattern2} + */ +function createSupplyPattern2(client, acc) { + return { + halved: createActiveSupplyPattern(client, _m(acc, "half")), + total: createActiveSupplyPattern(client, acc), }; } @@ -2996,27 +3851,8 @@ function createRelativePattern4(client, acc) { */ function createCostBasisPattern(client, acc) { return { - max: createMetricPattern1(client, _m(acc, 'max_cost_basis')), - min: createMetricPattern1(client, _m(acc, 'min_cost_basis')), - }; -} - -/** - * @typedef {Object} SupplyPattern2 - * @property {_24hCoinbaseSumPattern} halved - * @property {_24hCoinbaseSumPattern} total - */ - -/** - * Create a SupplyPattern2 pattern node - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {SupplyPattern2} - */ -function createSupplyPattern2(client, acc) { - return { - halved: create_24hCoinbaseSumPattern(client, _m(acc, 'half')), - total: create_24hCoinbaseSumPattern(client, acc), + max: createMetricPattern1(client, _m(acc, "max_cost_basis")), + min: createMetricPattern1(client, _m(acc, "min_cost_basis")), }; } @@ -3034,97 +3870,8 @@ function createSupplyPattern2(client, acc) { */ function create_1dReturns1mSdPattern(client, acc) { return { - sd: createMetricPattern4(client, _m(acc, 'sd')), - sma: createMetricPattern4(client, _m(acc, 'sma')), - }; -} - -/** - * @template T - * @typedef {Object} CentsPattern - * @property {MetricPattern5} ohlc - * @property {SplitPattern} split - */ - -/** - * Create a CentsPattern pattern node - * @template T - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {CentsPattern} - */ -function createCentsPattern(client, acc) { - return { - ohlc: createMetricPattern5(client, _m(acc, 'ohlc_sats')), - split: createSplitPattern(client, _m(acc, 'sats')), - }; -} - -/** - * @template T - * @typedef {Object} UsdPricePattern - * @property {MetricPattern5} ohlc - * @property {UsdPriceSplitPattern} split - */ - -/** - * @template T - * @typedef {Object} UsdPriceSplitPattern - * @property {MetricPattern1} close - * @property {MetricPattern1} high - * @property {MetricPattern1} low - * @property {MetricPattern1} open - */ - -/** - * Create a UsdPricePattern pattern node - * @template T - * @param {BrkClientBase} client - * @returns {UsdPricePattern} - */ -function createUsdPricePattern(client) { - return { - ohlc: createMetricPattern5(client, 'price_ohlc'), - split: { - close: createMetricPattern1(client, 'price_close'), - high: createMetricPattern1(client, 'price_high'), - low: createMetricPattern1(client, 'price_low'), - open: createMetricPattern1(client, 'price_open'), - }, - }; -} - -/** - * @template T - * @typedef {Object} SatsPricePattern - * @property {MetricPattern5} ohlc - * @property {SatsPriceSplitPattern} split - */ - -/** - * @template T - * @typedef {Object} SatsPriceSplitPattern - * @property {MetricPattern1} close - * @property {MetricPattern1} high - * @property {MetricPattern1} low - * @property {MetricPattern1} open - */ - -/** - * Create a SatsPricePattern pattern node - * @template T - * @param {BrkClientBase} client - * @returns {SatsPricePattern} - */ -function createSatsPricePattern(client) { - return { - ohlc: createMetricPattern5(client, 'price_ohlc_sats'), - split: { - close: createMetricPattern1(client, 'price_sats_close'), - high: createMetricPattern1(client, 'price_sats_high'), - low: createMetricPattern1(client, 'price_sats_low'), - open: createMetricPattern1(client, 'price_sats_open'), - }, + sd: createMetricPattern4(client, _m(acc, "sd")), + sma: createMetricPattern4(client, _m(acc, "sma")), }; } @@ -3144,11 +3891,53 @@ function createSatsPricePattern(client) { */ function createBlockCountPattern(client, acc) { return { - cumulative: createMetricPattern1(client, _m(acc, 'cumulative')), + cumulative: createMetricPattern1(client, _m(acc, "cumulative")), sum: createMetricPattern1(client, acc), }; } +/** + * @template T + * @typedef {Object} BitcoinPattern + * @property {MetricPattern2} cumulative + * @property {MetricPattern1} sum + */ + +/** + * Create a BitcoinPattern pattern node + * @template T + * @param {BrkClientBase} client + * @param {string} acc - Accumulated metric name + * @returns {BitcoinPattern} + */ +function createBitcoinPattern(client, acc) { + return { + cumulative: createMetricPattern2(client, _m(acc, "cumulative")), + sum: createMetricPattern1(client, acc), + }; +} + +/** + * @template T + * @typedef {Object} SatsPattern + * @property {MetricPattern1} ohlc + * @property {SplitPattern2} split + */ + +/** + * Create a SatsPattern pattern node + * @template T + * @param {BrkClientBase} client + * @param {string} basePath + * @returns {SatsPattern} + */ +function createSatsPattern(client, basePath) { + return { + ohlc: createMetricPattern1(client, `${basePath}_ohlc`), + split: createSplitPattern2(client, `${basePath}_split`), + }; +} + /** * @typedef {Object} RealizedPriceExtraPattern * @property {MetricPattern4} ratio @@ -3162,7 +3951,7 @@ function createBlockCountPattern(client, acc) { */ function createRealizedPriceExtraPattern(client, acc) { return { - ratio: createMetricPattern4(client, _m(acc, 'ratio')), + ratio: createMetricPattern4(client, _m(acc, "ratio")), }; } @@ -3179,26 +3968,7 @@ function createRealizedPriceExtraPattern(client, acc) { */ function createOutputsPattern(client, acc) { return { - utxoCount: createMetricPattern1(client, _m(acc, 'utxo_count')), - }; -} - -/** - * @template T - * @typedef {Object} EmptyPattern - * @property {MetricPattern23} identity - */ - -/** - * Create a EmptyPattern pattern node - * @template T - * @param {BrkClientBase} client - * @param {string} acc - Accumulated metric name - * @returns {EmptyPattern} - */ -function createEmptyPattern(client, acc) { - return { - identity: createMetricPattern23(client, acc), + utxoCount: createMetricPattern1(client, _m(acc, "utxo_count")), }; } @@ -3253,11 +4023,11 @@ function createEmptyPattern(client, acc) { * @property {CatalogTree_Blocks_Interval} interval * @property {CatalogTree_Blocks_Mining} mining * @property {CatalogTree_Blocks_Rewards} rewards - * @property {SizePattern} size + * @property {CatalogTree_Blocks_Size} size * @property {CatalogTree_Blocks_Time} time * @property {MetricPattern11} totalSize - * @property {FullnessPattern} vbytes - * @property {FullnessPattern} weight + * @property {DollarsPattern} vbytes + * @property {DollarsPattern} weight */ /** @@ -3325,7 +4095,7 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Blocks_Rewards - * @property {_24hCoinbaseSumPattern} _24hCoinbaseSum + * @property {CatalogTree_Blocks_Rewards_24hCoinbaseSum} _24hCoinbaseSum * @property {CoinbasePattern} coinbase * @property {MetricPattern6} feeDominance * @property {CoinbasePattern} subsidy @@ -3334,6 +4104,27 @@ function createEmptyPattern(client, acc) { * @property {UnclaimedRewardsPattern} unclaimedRewards */ +/** + * @typedef {Object} CatalogTree_Blocks_Rewards_24hCoinbaseSum + * @property {MetricPattern11} bitcoin + * @property {MetricPattern11} dollars + * @property {MetricPattern11} sats + */ + +/** + * @typedef {Object} CatalogTree_Blocks_Size + * @property {MetricPattern2} average + * @property {MetricPattern1} cumulative + * @property {MetricPattern2} max + * @property {MetricPattern6} median + * @property {MetricPattern2} min + * @property {MetricPattern6} pct10 + * @property {MetricPattern6} pct25 + * @property {MetricPattern6} pct75 + * @property {MetricPattern6} pct90 + * @property {MetricPattern2} sum + */ + /** * @typedef {Object} CatalogTree_Blocks_Time * @property {MetricPattern11} date @@ -3391,8 +4182,8 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Cointime_Supply - * @property {_24hCoinbaseSumPattern} activeSupply - * @property {_24hCoinbaseSumPattern} vaultedSupply + * @property {ActiveSupplyPattern} activeSupply + * @property {ActiveSupplyPattern} vaultedSupply */ /** @@ -3426,17 +4217,30 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Distribution - * @property {AddrCountPattern} addrCount + * @property {CatalogTree_Distribution_AddrCount} addrCount * @property {CatalogTree_Distribution_AddressCohorts} addressCohorts * @property {CatalogTree_Distribution_AddressesData} addressesData * @property {CatalogTree_Distribution_AnyAddressIndexes} anyAddressIndexes * @property {MetricPattern11} chainState - * @property {AddrCountPattern} emptyAddrCount + * @property {CatalogTree_Distribution_EmptyAddrCount} emptyAddrCount * @property {MetricPattern32} emptyaddressindex * @property {MetricPattern31} loadedaddressindex * @property {CatalogTree_Distribution_UtxoCohorts} utxoCohorts */ +/** + * @typedef {Object} CatalogTree_Distribution_AddrCount + * @property {MetricPattern1} all + * @property {MetricPattern1} p2a + * @property {MetricPattern1} p2pk33 + * @property {MetricPattern1} p2pk65 + * @property {MetricPattern1} p2pkh + * @property {MetricPattern1} p2sh + * @property {MetricPattern1} p2tr + * @property {MetricPattern1} p2wpkh + * @property {MetricPattern1} p2wsh + */ + /** * @typedef {Object} CatalogTree_Distribution_AddressCohorts * @property {CatalogTree_Distribution_AddressCohorts_AmountRange} amountRange @@ -3515,6 +4319,19 @@ function createEmptyPattern(client, acc) { * @property {MetricPattern24} p2wsh */ +/** + * @typedef {Object} CatalogTree_Distribution_EmptyAddrCount + * @property {MetricPattern1} all + * @property {MetricPattern1} p2a + * @property {MetricPattern1} p2pk33 + * @property {MetricPattern1} p2pk65 + * @property {MetricPattern1} p2pkh + * @property {MetricPattern1} p2sh + * @property {MetricPattern1} p2tr + * @property {MetricPattern1} p2wpkh + * @property {MetricPattern1} p2wsh + */ + /** * @typedef {Object} CatalogTree_Distribution_UtxoCohorts * @property {CatalogTree_Distribution_UtxoCohorts_AgeRange} ageRange @@ -3558,7 +4375,7 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Distribution_UtxoCohorts_All * @property {ActivityPattern2} activity - * @property {CostBasisPattern2} costBasis + * @property {CatalogTree_Distribution_UtxoCohorts_All_CostBasis} costBasis * @property {OutputsPattern} outputs * @property {RealizedPattern3} realized * @property {CatalogTree_Distribution_UtxoCohorts_All_Relative} relative @@ -3566,6 +4383,13 @@ function createEmptyPattern(client, acc) { * @property {UnrealizedPattern} unrealized */ +/** + * @typedef {Object} CatalogTree_Distribution_UtxoCohorts_All_CostBasis + * @property {MetricPattern1} max + * @property {MetricPattern1} min + * @property {PercentilesPattern} percentiles + */ + /** * @typedef {Object} CatalogTree_Distribution_UtxoCohorts_All_Relative * @property {MetricPattern1} negUnrealizedLossRelToOwnTotalUnrealizedPnl @@ -3691,7 +4515,7 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Distribution_UtxoCohorts_Term_Long * @property {ActivityPattern2} activity - * @property {CostBasisPattern2} costBasis + * @property {CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis} costBasis * @property {OutputsPattern} outputs * @property {RealizedPattern2} realized * @property {RelativePattern5} relative @@ -3699,10 +4523,17 @@ function createEmptyPattern(client, acc) { * @property {UnrealizedPattern} unrealized */ +/** + * @typedef {Object} CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis + * @property {MetricPattern1} max + * @property {MetricPattern1} min + * @property {PercentilesPattern} percentiles + */ + /** * @typedef {Object} CatalogTree_Distribution_UtxoCohorts_Term_Short * @property {ActivityPattern2} activity - * @property {CostBasisPattern2} costBasis + * @property {CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis} costBasis * @property {OutputsPattern} outputs * @property {RealizedPattern3} realized * @property {RelativePattern5} relative @@ -3710,6 +4541,13 @@ function createEmptyPattern(client, acc) { * @property {UnrealizedPattern} unrealized */ +/** + * @typedef {Object} CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis + * @property {MetricPattern1} max + * @property {MetricPattern1} min + * @property {PercentilesPattern} percentiles + */ + /** * @typedef {Object} CatalogTree_Distribution_UtxoCohorts_Type * @property {_0satsPattern2} empty @@ -3759,26 +4597,86 @@ function createEmptyPattern(client, acc) { * @property {CatalogTree_Indexes_Quarterindex} quarterindex * @property {CatalogTree_Indexes_Semesterindex} semesterindex * @property {CatalogTree_Indexes_Txindex} txindex - * @property {EmptyPattern} txinindex - * @property {EmptyPattern} txoutindex + * @property {CatalogTree_Indexes_Txinindex} txinindex + * @property {CatalogTree_Indexes_Txoutindex} txoutindex * @property {CatalogTree_Indexes_Weekindex} weekindex * @property {CatalogTree_Indexes_Yearindex} yearindex */ /** * @typedef {Object} CatalogTree_Indexes_Address - * @property {EmptyPattern} empty - * @property {EmptyPattern} opreturn - * @property {EmptyPattern} p2a - * @property {EmptyPattern} p2ms - * @property {EmptyPattern} p2pk33 - * @property {EmptyPattern} p2pk65 - * @property {EmptyPattern} p2pkh - * @property {EmptyPattern} p2sh - * @property {EmptyPattern} p2tr - * @property {EmptyPattern} p2wpkh - * @property {EmptyPattern} p2wsh - * @property {EmptyPattern} unknown + * @property {CatalogTree_Indexes_Address_Empty} empty + * @property {CatalogTree_Indexes_Address_Opreturn} opreturn + * @property {CatalogTree_Indexes_Address_P2a} p2a + * @property {CatalogTree_Indexes_Address_P2ms} p2ms + * @property {CatalogTree_Indexes_Address_P2pk33} p2pk33 + * @property {CatalogTree_Indexes_Address_P2pk65} p2pk65 + * @property {CatalogTree_Indexes_Address_P2pkh} p2pkh + * @property {CatalogTree_Indexes_Address_P2sh} p2sh + * @property {CatalogTree_Indexes_Address_P2tr} p2tr + * @property {CatalogTree_Indexes_Address_P2wpkh} p2wpkh + * @property {CatalogTree_Indexes_Address_P2wsh} p2wsh + * @property {CatalogTree_Indexes_Address_Unknown} unknown + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_Empty + * @property {MetricPattern9} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_Opreturn + * @property {MetricPattern14} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2a + * @property {MetricPattern16} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2ms + * @property {MetricPattern17} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2pk33 + * @property {MetricPattern18} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2pk65 + * @property {MetricPattern19} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2pkh + * @property {MetricPattern20} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2sh + * @property {MetricPattern21} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2tr + * @property {MetricPattern22} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2wpkh + * @property {MetricPattern23} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_P2wsh + * @property {MetricPattern24} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Address_Unknown + * @property {MetricPattern28} identity */ /** @@ -3851,6 +4749,16 @@ function createEmptyPattern(client, acc) { * @property {MetricPattern27} outputCount */ +/** + * @typedef {Object} CatalogTree_Indexes_Txinindex + * @property {MetricPattern12} identity + */ + +/** + * @typedef {Object} CatalogTree_Indexes_Txoutindex + * @property {MetricPattern15} identity + */ + /** * @typedef {Object} CatalogTree_Indexes_Weekindex * @property {MetricPattern29} dateindexCount @@ -3868,7 +4776,7 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Inputs - * @property {SizePattern} count + * @property {CountPattern2} count * @property {MetricPattern11} firstTxinindex * @property {MetricPattern12} outpoint * @property {MetricPattern12} outputtype @@ -3908,8 +4816,8 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Market_Dca - * @property {ClassAveragePricePattern} classAveragePrice - * @property {ClassAveragePricePattern} classReturns + * @property {CatalogTree_Market_Dca_ClassAveragePrice} classAveragePrice + * @property {CatalogTree_Market_Dca_ClassReturns} classReturns * @property {CatalogTree_Market_Dca_ClassStack} classStack * @property {PeriodAveragePricePattern} periodAveragePrice * @property {PeriodCagrPattern} periodCagr @@ -3918,19 +4826,49 @@ function createEmptyPattern(client, acc) { * @property {PeriodLumpSumStackPattern} periodStack */ +/** + * @typedef {Object} CatalogTree_Market_Dca_ClassAveragePrice + * @property {MetricPattern4} _2015 + * @property {MetricPattern4} _2016 + * @property {MetricPattern4} _2017 + * @property {MetricPattern4} _2018 + * @property {MetricPattern4} _2019 + * @property {MetricPattern4} _2020 + * @property {MetricPattern4} _2021 + * @property {MetricPattern4} _2022 + * @property {MetricPattern4} _2023 + * @property {MetricPattern4} _2024 + * @property {MetricPattern4} _2025 + */ + +/** + * @typedef {Object} CatalogTree_Market_Dca_ClassReturns + * @property {MetricPattern4} _2015 + * @property {MetricPattern4} _2016 + * @property {MetricPattern4} _2017 + * @property {MetricPattern4} _2018 + * @property {MetricPattern4} _2019 + * @property {MetricPattern4} _2020 + * @property {MetricPattern4} _2021 + * @property {MetricPattern4} _2022 + * @property {MetricPattern4} _2023 + * @property {MetricPattern4} _2024 + * @property {MetricPattern4} _2025 + */ + /** * @typedef {Object} CatalogTree_Market_Dca_ClassStack - * @property {_24hCoinbaseSumPattern} _2015 - * @property {_24hCoinbaseSumPattern} _2016 - * @property {_24hCoinbaseSumPattern} _2017 - * @property {_24hCoinbaseSumPattern} _2018 - * @property {_24hCoinbaseSumPattern} _2019 - * @property {_24hCoinbaseSumPattern} _2020 - * @property {_24hCoinbaseSumPattern} _2021 - * @property {_24hCoinbaseSumPattern} _2022 - * @property {_24hCoinbaseSumPattern} _2023 - * @property {_24hCoinbaseSumPattern} _2024 - * @property {_24hCoinbaseSumPattern} _2025 + * @property {_2015Pattern} _2015 + * @property {_2015Pattern} _2016 + * @property {_2015Pattern} _2017 + * @property {_2015Pattern} _2018 + * @property {_2015Pattern} _2019 + * @property {_2015Pattern} _2020 + * @property {_2015Pattern} _2021 + * @property {_2015Pattern} _2022 + * @property {_2015Pattern} _2023 + * @property {_2015Pattern} _2024 + * @property {_2015Pattern} _2025 */ /** @@ -3958,7 +4896,24 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Market_Lookback - * @property {PriceAgoPattern} priceAgo + * @property {CatalogTree_Market_Lookback_PriceAgo} priceAgo + */ + +/** + * @typedef {Object} CatalogTree_Market_Lookback_PriceAgo + * @property {MetricPattern4} _10y + * @property {MetricPattern4} _1d + * @property {MetricPattern4} _1m + * @property {MetricPattern4} _1w + * @property {MetricPattern4} _1y + * @property {MetricPattern4} _2y + * @property {MetricPattern4} _3m + * @property {MetricPattern4} _3y + * @property {MetricPattern4} _4y + * @property {MetricPattern4} _5y + * @property {MetricPattern4} _6m + * @property {MetricPattern4} _6y + * @property {MetricPattern4} _8y */ /** @@ -4025,7 +4980,24 @@ function createEmptyPattern(client, acc) { * @property {_1dReturns1mSdPattern} downside1wSd * @property {_1dReturns1mSdPattern} downside1ySd * @property {MetricPattern6} downsideReturns - * @property {PriceAgoPattern} priceReturns + * @property {CatalogTree_Market_Returns_PriceReturns} priceReturns + */ + +/** + * @typedef {Object} CatalogTree_Market_Returns_PriceReturns + * @property {MetricPattern4} _10y + * @property {MetricPattern4} _1d + * @property {MetricPattern4} _1m + * @property {MetricPattern4} _1w + * @property {MetricPattern4} _1y + * @property {MetricPattern4} _2y + * @property {MetricPattern4} _3m + * @property {MetricPattern4} _3y + * @property {MetricPattern4} _4y + * @property {MetricPattern4} _5y + * @property {MetricPattern4} _6m + * @property {MetricPattern4} _6y + * @property {MetricPattern4} _8y */ /** @@ -4054,8 +5026,8 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Outputs_Count - * @property {SizePattern} totalCount - * @property {FullnessPattern} utxoCount + * @property {CountPattern2} totalCount + * @property {MetricPattern1} utxoCount */ /** @@ -4239,9 +5211,35 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Price - * @property {CentsPattern} cents - * @property {CentsPattern} sats - * @property {CentsPattern} usd + * @property {CatalogTree_Price_Cents} cents + * @property {CatalogTree_Price_Sats} sats + * @property {CatalogTree_Price_Usd} usd + */ + +/** + * @typedef {Object} CatalogTree_Price_Cents + * @property {MetricPattern5} ohlc + * @property {CatalogTree_Price_Cents_Split} split + */ + +/** + * @typedef {Object} CatalogTree_Price_Cents_Split + * @property {MetricPattern5} close + * @property {MetricPattern5} high + * @property {MetricPattern5} low + * @property {MetricPattern5} open + */ + +/** + * @typedef {Object} CatalogTree_Price_Sats + * @property {MetricPattern1} ohlc + * @property {SplitPattern2} split + */ + +/** + * @typedef {Object} CatalogTree_Price_Usd + * @property {MetricPattern1} ohlc + * @property {SplitPattern2} split */ /** @@ -4260,21 +5258,21 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Scripts_Count - * @property {FullnessPattern} emptyoutput - * @property {FullnessPattern} opreturn - * @property {FullnessPattern} p2a - * @property {FullnessPattern} p2ms - * @property {FullnessPattern} p2pk33 - * @property {FullnessPattern} p2pk65 - * @property {FullnessPattern} p2pkh - * @property {FullnessPattern} p2sh - * @property {FullnessPattern} p2tr - * @property {FullnessPattern} p2wpkh - * @property {FullnessPattern} p2wsh - * @property {FullnessPattern} segwit + * @property {DollarsPattern} emptyoutput + * @property {DollarsPattern} opreturn + * @property {DollarsPattern} p2a + * @property {DollarsPattern} p2ms + * @property {DollarsPattern} p2pk33 + * @property {DollarsPattern} p2pk65 + * @property {DollarsPattern} p2pkh + * @property {DollarsPattern} p2sh + * @property {DollarsPattern} p2tr + * @property {DollarsPattern} p2wpkh + * @property {DollarsPattern} p2wsh + * @property {DollarsPattern} segwit * @property {SegwitAdoptionPattern} segwitAdoption * @property {SegwitAdoptionPattern} taprootAdoption - * @property {FullnessPattern} unknownoutput + * @property {DollarsPattern} unknownoutput */ /** @@ -4285,7 +5283,7 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Supply * @property {CatalogTree_Supply_Burned} burned - * @property {_24hCoinbaseSumPattern} circulating + * @property {CatalogTree_Supply_Circulating} circulating * @property {MetricPattern4} inflation * @property {MetricPattern1} marketCap * @property {CatalogTree_Supply_Velocity} velocity @@ -4297,6 +5295,13 @@ function createEmptyPattern(client, acc) { * @property {UnclaimedRewardsPattern} unspendable */ +/** + * @typedef {Object} CatalogTree_Supply_Circulating + * @property {MetricPattern3} bitcoin + * @property {MetricPattern3} dollars + * @property {MetricPattern3} sats + */ + /** * @typedef {Object} CatalogTree_Supply_Velocity * @property {MetricPattern4} btc @@ -4325,7 +5330,7 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Transactions_Count * @property {MetricPattern27} isCoinbase - * @property {FullnessPattern} txCount + * @property {DollarsPattern} txCount */ /** @@ -4338,9 +5343,9 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Transactions_Fees_Fee - * @property {SizePattern} bitcoin + * @property {CountPattern2} bitcoin * @property {CatalogTree_Transactions_Fees_Fee_Dollars} dollars - * @property {SizePattern} sats + * @property {CountPattern2} sats * @property {MetricPattern27} txindex */ @@ -4374,10 +5379,10 @@ function createEmptyPattern(client, acc) { /** * @typedef {Object} CatalogTree_Transactions_Volume - * @property {_24hCoinbaseSumPattern} annualizedVolume + * @property {_2015Pattern} annualizedVolume * @property {MetricPattern4} inputsPerSec * @property {MetricPattern4} outputsPerSec - * @property {_24hCoinbaseSumPattern} sentSum + * @property {ActiveSupplyPattern} sentSum * @property {MetricPattern4} txPerSec */ @@ -4415,868 +5420,868 @@ class BrkClient extends BrkClientBase { "weekindex", "yearindex", "loadedaddressindex", - "emptyaddressindex" + "emptyaddressindex", ]); POOL_ID_TO_POOL_NAME = /** @type {const} */ ({ - "unknown": "Unknown", - "blockfills": "BlockFills", - "ultimuspool": "ULTIMUSPOOL", - "terrapool": "Terra Pool", - "luxor": "Luxor", - "onethash": "1THash", - "btccom": "BTC.com", - "bitfarms": "Bitfarms", - "huobipool": "Huobi.pool", - "wayicn": "WAYI.CN", - "canoepool": "CanoePool", - "btctop": "BTC.TOP", - "bitcoincom": "Bitcoin.com", - "pool175btc": "175btc", - "gbminers": "GBMiners", - "axbt": "A-XBT", - "asicminer": "ASICMiner", - "bitminter": "BitMinter", - "bitcoinrussia": "BitcoinRussia", - "btcserv": "BTCServ", - "simplecoinus": "simplecoin.us", - "btcguild": "BTC Guild", - "eligius": "Eligius", - "ozcoin": "OzCoin", - "eclipsemc": "EclipseMC", - "maxbtc": "MaxBTC", - "triplemining": "TripleMining", - "coinlab": "CoinLab", - "pool50btc": "50BTC", - "ghashio": "GHash.IO", - "stminingcorp": "ST Mining Corp", - "bitparking": "Bitparking", - "mmpool": "mmpool", - "polmine": "Polmine", - "kncminer": "KnCMiner", - "bitalo": "Bitalo", - "f2pool": "F2Pool", - "hhtt": "HHTT", - "megabigpower": "MegaBigPower", - "mtred": "Mt Red", - "nmcbit": "NMCbit", - "yourbtcnet": "Yourbtc.net", - "givemecoins": "Give Me Coins", - "braiinspool": "Braiins Pool", - "antpool": "AntPool", - "multicoinco": "MultiCoin.co", - "bcpoolio": "bcpool.io", - "cointerra": "Cointerra", - "kanopool": "KanoPool", - "solock": "Solo CK", - "ckpool": "CKPool", - "nicehash": "NiceHash", - "bitclub": "BitClub", - "bitcoinaffiliatenetwork": "Bitcoin Affiliate Network", - "btcc": "BTCC", - "bwpool": "BWPool", - "exxbw": "EXX&BW", - "bitsolo": "Bitsolo", - "bitfury": "BitFury", - "twentyoneinc": "21 Inc.", - "digitalbtc": "digitalBTC", - "eightbaochi": "8baochi", - "mybtccoinpool": "myBTCcoin Pool", - "tbdice": "TBDice", - "hashpool": "HASHPOOL", - "nexious": "Nexious", - "bravomining": "Bravo Mining", - "hotpool": "HotPool", - "okexpool": "OKExPool", - "bcmonster": "BCMonster", - "onehash": "1Hash", - "bixin": "Bixin", - "tatmaspool": "TATMAS Pool", - "viabtc": "ViaBTC", - "connectbtc": "ConnectBTC", - "batpool": "BATPOOL", - "waterhole": "Waterhole", - "dcexploration": "DCExploration", - "dcex": "DCEX", - "btpool": "BTPOOL", - "fiftyeightcoin": "58COIN", - "bitcoinindia": "Bitcoin India", - "shawnp0wers": "shawnp0wers", - "phashio": "PHash.IO", - "rigpool": "RigPool", - "haozhuzhu": "HAOZHUZHU", - "sevenpool": "7pool", - "miningkings": "MiningKings", - "hashbx": "HashBX", - "dpool": "DPOOL", - "rawpool": "Rawpool", - "haominer": "haominer", - "helix": "Helix", - "bitcoinukraine": "Bitcoin-Ukraine", - "poolin": "Poolin", - "secretsuperstar": "SecretSuperstar", - "tigerpoolnet": "tigerpool.net", - "sigmapoolcom": "Sigmapool.com", - "okpooltop": "okpool.top", - "hummerpool": "Hummerpool", - "tangpool": "Tangpool", - "bytepool": "BytePool", - "spiderpool": "SpiderPool", - "novablock": "NovaBlock", - "miningcity": "MiningCity", - "binancepool": "Binance Pool", - "minerium": "Minerium", - "lubiancom": "Lubian.com", - "okkong": "OKKONG", - "aaopool": "AAO Pool", - "emcdpool": "EMCDPool", - "foundryusa": "Foundry USA", - "sbicrypto": "SBI Crypto", - "arkpool": "ArkPool", - "purebtccom": "PureBTC.COM", - "marapool": "MARA Pool", - "kucoinpool": "KuCoinPool", - "entrustcharitypool": "Entrust Charity Pool", - "okminer": "OKMINER", - "titan": "Titan", - "pegapool": "PEGA Pool", - "btcnuggets": "BTC Nuggets", - "cloudhashing": "CloudHashing", - "digitalxmintsy": "digitalX Mintsy", - "telco214": "Telco 214", - "btcpoolparty": "BTC Pool Party", - "multipool": "Multipool", - "transactioncoinmining": "transactioncoinmining", - "btcdig": "BTCDig", - "trickysbtcpool": "Tricky's BTC Pool", - "btcmp": "BTCMP", - "eobot": "Eobot", - "unomp": "UNOMP", - "patels": "Patels", - "gogreenlight": "GoGreenLight", - "ekanembtc": "EkanemBTC", - "canoe": "CANOE", - "tiger": "tiger", - "onem1x": "1M1X", - "zulupool": "Zulupool", - "secpool": "SECPOOL", - "ocean": "OCEAN", - "whitepool": "WhitePool", - "wk057": "wk057", - "futurebitapollosolo": "FutureBit Apollo Solo", - "carbonnegative": "Carbon Negative", - "portlandhodl": "Portland.HODL", - "phoenix": "Phoenix", - "neopool": "Neopool", - "maxipool": "MaxiPool", - "bitfufupool": "BitFuFuPool", - "luckypool": "luckyPool", - "miningdutch": "Mining-Dutch", - "publicpool": "Public Pool", - "miningsquared": "Mining Squared", - "innopolistech": "Innopolis Tech", - "btclab": "BTCLab", - "parasite": "Parasite" + unknown: "Unknown", + blockfills: "BlockFills", + ultimuspool: "ULTIMUSPOOL", + terrapool: "Terra Pool", + luxor: "Luxor", + onethash: "1THash", + btccom: "BTC.com", + bitfarms: "Bitfarms", + huobipool: "Huobi.pool", + wayicn: "WAYI.CN", + canoepool: "CanoePool", + btctop: "BTC.TOP", + bitcoincom: "Bitcoin.com", + pool175btc: "175btc", + gbminers: "GBMiners", + axbt: "A-XBT", + asicminer: "ASICMiner", + bitminter: "BitMinter", + bitcoinrussia: "BitcoinRussia", + btcserv: "BTCServ", + simplecoinus: "simplecoin.us", + btcguild: "BTC Guild", + eligius: "Eligius", + ozcoin: "OzCoin", + eclipsemc: "EclipseMC", + maxbtc: "MaxBTC", + triplemining: "TripleMining", + coinlab: "CoinLab", + pool50btc: "50BTC", + ghashio: "GHash.IO", + stminingcorp: "ST Mining Corp", + bitparking: "Bitparking", + mmpool: "mmpool", + polmine: "Polmine", + kncminer: "KnCMiner", + bitalo: "Bitalo", + f2pool: "F2Pool", + hhtt: "HHTT", + megabigpower: "MegaBigPower", + mtred: "Mt Red", + nmcbit: "NMCbit", + yourbtcnet: "Yourbtc.net", + givemecoins: "Give Me Coins", + braiinspool: "Braiins Pool", + antpool: "AntPool", + multicoinco: "MultiCoin.co", + bcpoolio: "bcpool.io", + cointerra: "Cointerra", + kanopool: "KanoPool", + solock: "Solo CK", + ckpool: "CKPool", + nicehash: "NiceHash", + bitclub: "BitClub", + bitcoinaffiliatenetwork: "Bitcoin Affiliate Network", + btcc: "BTCC", + bwpool: "BWPool", + exxbw: "EXX&BW", + bitsolo: "Bitsolo", + bitfury: "BitFury", + twentyoneinc: "21 Inc.", + digitalbtc: "digitalBTC", + eightbaochi: "8baochi", + mybtccoinpool: "myBTCcoin Pool", + tbdice: "TBDice", + hashpool: "HASHPOOL", + nexious: "Nexious", + bravomining: "Bravo Mining", + hotpool: "HotPool", + okexpool: "OKExPool", + bcmonster: "BCMonster", + onehash: "1Hash", + bixin: "Bixin", + tatmaspool: "TATMAS Pool", + viabtc: "ViaBTC", + connectbtc: "ConnectBTC", + batpool: "BATPOOL", + waterhole: "Waterhole", + dcexploration: "DCExploration", + dcex: "DCEX", + btpool: "BTPOOL", + fiftyeightcoin: "58COIN", + bitcoinindia: "Bitcoin India", + shawnp0wers: "shawnp0wers", + phashio: "PHash.IO", + rigpool: "RigPool", + haozhuzhu: "HAOZHUZHU", + sevenpool: "7pool", + miningkings: "MiningKings", + hashbx: "HashBX", + dpool: "DPOOL", + rawpool: "Rawpool", + haominer: "haominer", + helix: "Helix", + bitcoinukraine: "Bitcoin-Ukraine", + poolin: "Poolin", + secretsuperstar: "SecretSuperstar", + tigerpoolnet: "tigerpool.net", + sigmapoolcom: "Sigmapool.com", + okpooltop: "okpool.top", + hummerpool: "Hummerpool", + tangpool: "Tangpool", + bytepool: "BytePool", + spiderpool: "SpiderPool", + novablock: "NovaBlock", + miningcity: "MiningCity", + binancepool: "Binance Pool", + minerium: "Minerium", + lubiancom: "Lubian.com", + okkong: "OKKONG", + aaopool: "AAO Pool", + emcdpool: "EMCDPool", + foundryusa: "Foundry USA", + sbicrypto: "SBI Crypto", + arkpool: "ArkPool", + purebtccom: "PureBTC.COM", + marapool: "MARA Pool", + kucoinpool: "KuCoinPool", + entrustcharitypool: "Entrust Charity Pool", + okminer: "OKMINER", + titan: "Titan", + pegapool: "PEGA Pool", + btcnuggets: "BTC Nuggets", + cloudhashing: "CloudHashing", + digitalxmintsy: "digitalX Mintsy", + telco214: "Telco 214", + btcpoolparty: "BTC Pool Party", + multipool: "Multipool", + transactioncoinmining: "transactioncoinmining", + btcdig: "BTCDig", + trickysbtcpool: "Tricky's BTC Pool", + btcmp: "BTCMP", + eobot: "Eobot", + unomp: "UNOMP", + patels: "Patels", + gogreenlight: "GoGreenLight", + ekanembtc: "EkanemBTC", + canoe: "CANOE", + tiger: "tiger", + onem1x: "1M1X", + zulupool: "Zulupool", + secpool: "SECPOOL", + ocean: "OCEAN", + whitepool: "WhitePool", + wk057: "wk057", + futurebitapollosolo: "FutureBit Apollo Solo", + carbonnegative: "Carbon Negative", + portlandhodl: "Portland.HODL", + phoenix: "Phoenix", + neopool: "Neopool", + maxipool: "MaxiPool", + bitfufupool: "BitFuFuPool", + luckypool: "luckyPool", + miningdutch: "Mining-Dutch", + publicpool: "Public Pool", + miningsquared: "Mining Squared", + innopolistech: "Innopolis Tech", + btclab: "BTCLab", + parasite: "Parasite", }); TERM_NAMES = /** @type {const} */ ({ - "long": { - "id": "lth", - "long": "Long Term Holders", - "short": "LTH" + long: { + id: "lth", + long: "Long Term Holders", + short: "LTH", + }, + short: { + id: "sth", + long: "Short Term Holders", + short: "STH", }, - "short": { - "id": "sth", - "long": "Short Term Holders", - "short": "STH" - } }); EPOCH_NAMES = /** @type {const} */ ({ - "_0": { - "id": "epoch_0", - "long": "Epoch 0", - "short": "Epoch 0" + _0: { + id: "epoch_0", + long: "Epoch 0", + short: "Epoch 0", }, - "_1": { - "id": "epoch_1", - "long": "Epoch 1", - "short": "Epoch 1" + _1: { + id: "epoch_1", + long: "Epoch 1", + short: "Epoch 1", }, - "_2": { - "id": "epoch_2", - "long": "Epoch 2", - "short": "Epoch 2" + _2: { + id: "epoch_2", + long: "Epoch 2", + short: "Epoch 2", }, - "_3": { - "id": "epoch_3", - "long": "Epoch 3", - "short": "Epoch 3" + _3: { + id: "epoch_3", + long: "Epoch 3", + short: "Epoch 3", + }, + _4: { + id: "epoch_4", + long: "Epoch 4", + short: "Epoch 4", }, - "_4": { - "id": "epoch_4", - "long": "Epoch 4", - "short": "Epoch 4" - } }); YEAR_NAMES = /** @type {const} */ ({ - "_2009": { - "id": "year_2009", - "long": "Year 2009", - "short": "2009" + _2009: { + id: "year_2009", + long: "Year 2009", + short: "2009", }, - "_2010": { - "id": "year_2010", - "long": "Year 2010", - "short": "2010" + _2010: { + id: "year_2010", + long: "Year 2010", + short: "2010", }, - "_2011": { - "id": "year_2011", - "long": "Year 2011", - "short": "2011" + _2011: { + id: "year_2011", + long: "Year 2011", + short: "2011", }, - "_2012": { - "id": "year_2012", - "long": "Year 2012", - "short": "2012" + _2012: { + id: "year_2012", + long: "Year 2012", + short: "2012", }, - "_2013": { - "id": "year_2013", - "long": "Year 2013", - "short": "2013" + _2013: { + id: "year_2013", + long: "Year 2013", + short: "2013", }, - "_2014": { - "id": "year_2014", - "long": "Year 2014", - "short": "2014" + _2014: { + id: "year_2014", + long: "Year 2014", + short: "2014", }, - "_2015": { - "id": "year_2015", - "long": "Year 2015", - "short": "2015" + _2015: { + id: "year_2015", + long: "Year 2015", + short: "2015", }, - "_2016": { - "id": "year_2016", - "long": "Year 2016", - "short": "2016" + _2016: { + id: "year_2016", + long: "Year 2016", + short: "2016", }, - "_2017": { - "id": "year_2017", - "long": "Year 2017", - "short": "2017" + _2017: { + id: "year_2017", + long: "Year 2017", + short: "2017", }, - "_2018": { - "id": "year_2018", - "long": "Year 2018", - "short": "2018" + _2018: { + id: "year_2018", + long: "Year 2018", + short: "2018", }, - "_2019": { - "id": "year_2019", - "long": "Year 2019", - "short": "2019" + _2019: { + id: "year_2019", + long: "Year 2019", + short: "2019", }, - "_2020": { - "id": "year_2020", - "long": "Year 2020", - "short": "2020" + _2020: { + id: "year_2020", + long: "Year 2020", + short: "2020", }, - "_2021": { - "id": "year_2021", - "long": "Year 2021", - "short": "2021" + _2021: { + id: "year_2021", + long: "Year 2021", + short: "2021", }, - "_2022": { - "id": "year_2022", - "long": "Year 2022", - "short": "2022" + _2022: { + id: "year_2022", + long: "Year 2022", + short: "2022", }, - "_2023": { - "id": "year_2023", - "long": "Year 2023", - "short": "2023" + _2023: { + id: "year_2023", + long: "Year 2023", + short: "2023", }, - "_2024": { - "id": "year_2024", - "long": "Year 2024", - "short": "2024" + _2024: { + id: "year_2024", + long: "Year 2024", + short: "2024", }, - "_2025": { - "id": "year_2025", - "long": "Year 2025", - "short": "2025" + _2025: { + id: "year_2025", + long: "Year 2025", + short: "2025", + }, + _2026: { + id: "year_2026", + long: "Year 2026", + short: "2026", }, - "_2026": { - "id": "year_2026", - "long": "Year 2026", - "short": "2026" - } }); SPENDABLE_TYPE_NAMES = /** @type {const} */ ({ - "empty": { - "id": "empty_outputs", - "long": "Empty Output", - "short": "Empty" + empty: { + id: "empty_outputs", + long: "Empty Output", + short: "Empty", }, - "p2a": { - "id": "p2a", - "long": "Pay to Anchor", - "short": "P2A" + p2a: { + id: "p2a", + long: "Pay to Anchor", + short: "P2A", }, - "p2ms": { - "id": "p2ms", - "long": "Pay to Multisig", - "short": "P2MS" + p2ms: { + id: "p2ms", + long: "Pay to Multisig", + short: "P2MS", }, - "p2pk33": { - "id": "p2pk33", - "long": "Pay to Public Key (33 bytes)", - "short": "P2PK33" + p2pk33: { + id: "p2pk33", + long: "Pay to Public Key (33 bytes)", + short: "P2PK33", }, - "p2pk65": { - "id": "p2pk65", - "long": "Pay to Public Key (65 bytes)", - "short": "P2PK65" + p2pk65: { + id: "p2pk65", + long: "Pay to Public Key (65 bytes)", + short: "P2PK65", }, - "p2pkh": { - "id": "p2pkh", - "long": "Pay to Public Key Hash", - "short": "P2PKH" + p2pkh: { + id: "p2pkh", + long: "Pay to Public Key Hash", + short: "P2PKH", }, - "p2sh": { - "id": "p2sh", - "long": "Pay to Script Hash", - "short": "P2SH" + p2sh: { + id: "p2sh", + long: "Pay to Script Hash", + short: "P2SH", }, - "p2tr": { - "id": "p2tr", - "long": "Pay to Taproot", - "short": "P2TR" + p2tr: { + id: "p2tr", + long: "Pay to Taproot", + short: "P2TR", }, - "p2wpkh": { - "id": "p2wpkh", - "long": "Pay to Witness Public Key Hash", - "short": "P2WPKH" + p2wpkh: { + id: "p2wpkh", + long: "Pay to Witness Public Key Hash", + short: "P2WPKH", }, - "p2wsh": { - "id": "p2wsh", - "long": "Pay to Witness Script Hash", - "short": "P2WSH" + p2wsh: { + id: "p2wsh", + long: "Pay to Witness Script Hash", + short: "P2WSH", + }, + unknown: { + id: "unknown_outputs", + long: "Unknown Output Type", + short: "Unknown", }, - "unknown": { - "id": "unknown_outputs", - "long": "Unknown Output Type", - "short": "Unknown" - } }); AGE_RANGE_NAMES = /** @type {const} */ ({ - "_10yTo12y": { - "id": "at_least_10y_up_to_12y_old", - "long": "10 to 12 Years Old", - "short": "10y-12y" + _10yTo12y: { + id: "at_least_10y_up_to_12y_old", + long: "10 to 12 Years Old", + short: "10y-12y", }, - "_12yTo15y": { - "id": "at_least_12y_up_to_15y_old", - "long": "12 to 15 Years Old", - "short": "12y-15y" + _12yTo15y: { + id: "at_least_12y_up_to_15y_old", + long: "12 to 15 Years Old", + short: "12y-15y", }, - "_1dTo1w": { - "id": "at_least_1d_up_to_1w_old", - "long": "1 Day to 1 Week Old", - "short": "1d-1w" + _1dTo1w: { + id: "at_least_1d_up_to_1w_old", + long: "1 Day to 1 Week Old", + short: "1d-1w", }, - "_1hTo1d": { - "id": "at_least_1h_up_to_1d_old", - "long": "1 Hour to 1 Day Old", - "short": "1h-1d" + _1hTo1d: { + id: "at_least_1h_up_to_1d_old", + long: "1 Hour to 1 Day Old", + short: "1h-1d", }, - "_1mTo2m": { - "id": "at_least_1m_up_to_2m_old", - "long": "1 to 2 Months Old", - "short": "1m-2m" + _1mTo2m: { + id: "at_least_1m_up_to_2m_old", + long: "1 to 2 Months Old", + short: "1m-2m", }, - "_1wTo1m": { - "id": "at_least_1w_up_to_1m_old", - "long": "1 Week to 1 Month Old", - "short": "1w-1m" + _1wTo1m: { + id: "at_least_1w_up_to_1m_old", + long: "1 Week to 1 Month Old", + short: "1w-1m", }, - "_1yTo2y": { - "id": "at_least_1y_up_to_2y_old", - "long": "1 to 2 Years Old", - "short": "1y-2y" + _1yTo2y: { + id: "at_least_1y_up_to_2y_old", + long: "1 to 2 Years Old", + short: "1y-2y", }, - "_2mTo3m": { - "id": "at_least_2m_up_to_3m_old", - "long": "2 to 3 Months Old", - "short": "2m-3m" + _2mTo3m: { + id: "at_least_2m_up_to_3m_old", + long: "2 to 3 Months Old", + short: "2m-3m", }, - "_2yTo3y": { - "id": "at_least_2y_up_to_3y_old", - "long": "2 to 3 Years Old", - "short": "2y-3y" + _2yTo3y: { + id: "at_least_2y_up_to_3y_old", + long: "2 to 3 Years Old", + short: "2y-3y", }, - "_3mTo4m": { - "id": "at_least_3m_up_to_4m_old", - "long": "3 to 4 Months Old", - "short": "3m-4m" + _3mTo4m: { + id: "at_least_3m_up_to_4m_old", + long: "3 to 4 Months Old", + short: "3m-4m", }, - "_3yTo4y": { - "id": "at_least_3y_up_to_4y_old", - "long": "3 to 4 Years Old", - "short": "3y-4y" + _3yTo4y: { + id: "at_least_3y_up_to_4y_old", + long: "3 to 4 Years Old", + short: "3y-4y", }, - "_4mTo5m": { - "id": "at_least_4m_up_to_5m_old", - "long": "4 to 5 Months Old", - "short": "4m-5m" + _4mTo5m: { + id: "at_least_4m_up_to_5m_old", + long: "4 to 5 Months Old", + short: "4m-5m", }, - "_4yTo5y": { - "id": "at_least_4y_up_to_5y_old", - "long": "4 to 5 Years Old", - "short": "4y-5y" + _4yTo5y: { + id: "at_least_4y_up_to_5y_old", + long: "4 to 5 Years Old", + short: "4y-5y", }, - "_5mTo6m": { - "id": "at_least_5m_up_to_6m_old", - "long": "5 to 6 Months Old", - "short": "5m-6m" + _5mTo6m: { + id: "at_least_5m_up_to_6m_old", + long: "5 to 6 Months Old", + short: "5m-6m", }, - "_5yTo6y": { - "id": "at_least_5y_up_to_6y_old", - "long": "5 to 6 Years Old", - "short": "5y-6y" + _5yTo6y: { + id: "at_least_5y_up_to_6y_old", + long: "5 to 6 Years Old", + short: "5y-6y", }, - "_6mTo1y": { - "id": "at_least_6m_up_to_1y_old", - "long": "6 Months to 1 Year Old", - "short": "6m-1y" + _6mTo1y: { + id: "at_least_6m_up_to_1y_old", + long: "6 Months to 1 Year Old", + short: "6m-1y", }, - "_6yTo7y": { - "id": "at_least_6y_up_to_7y_old", - "long": "6 to 7 Years Old", - "short": "6y-7y" + _6yTo7y: { + id: "at_least_6y_up_to_7y_old", + long: "6 to 7 Years Old", + short: "6y-7y", }, - "_7yTo8y": { - "id": "at_least_7y_up_to_8y_old", - "long": "7 to 8 Years Old", - "short": "7y-8y" + _7yTo8y: { + id: "at_least_7y_up_to_8y_old", + long: "7 to 8 Years Old", + short: "7y-8y", }, - "_8yTo10y": { - "id": "at_least_8y_up_to_10y_old", - "long": "8 to 10 Years Old", - "short": "8y-10y" + _8yTo10y: { + id: "at_least_8y_up_to_10y_old", + long: "8 to 10 Years Old", + short: "8y-10y", }, - "from15y": { - "id": "at_least_15y_old", - "long": "15+ Years Old", - "short": "15y+" + from15y: { + id: "at_least_15y_old", + long: "15+ Years Old", + short: "15y+", + }, + upTo1h: { + id: "up_to_1h_old", + long: "Up to 1 Hour Old", + short: "<1h", }, - "upTo1h": { - "id": "up_to_1h_old", - "long": "Up to 1 Hour Old", - "short": "<1h" - } }); MAX_AGE_NAMES = /** @type {const} */ ({ - "_10y": { - "id": "up_to_10y_old", - "long": "Up to 10 Years Old", - "short": "<10y" + _10y: { + id: "up_to_10y_old", + long: "Up to 10 Years Old", + short: "<10y", }, - "_12y": { - "id": "up_to_12y_old", - "long": "Up to 12 Years Old", - "short": "<12y" + _12y: { + id: "up_to_12y_old", + long: "Up to 12 Years Old", + short: "<12y", }, - "_15y": { - "id": "up_to_15y_old", - "long": "Up to 15 Years Old", - "short": "<15y" + _15y: { + id: "up_to_15y_old", + long: "Up to 15 Years Old", + short: "<15y", }, - "_1m": { - "id": "up_to_1m_old", - "long": "Up to 1 Month Old", - "short": "<1m" + _1m: { + id: "up_to_1m_old", + long: "Up to 1 Month Old", + short: "<1m", }, - "_1w": { - "id": "up_to_1w_old", - "long": "Up to 1 Week Old", - "short": "<1w" + _1w: { + id: "up_to_1w_old", + long: "Up to 1 Week Old", + short: "<1w", }, - "_1y": { - "id": "up_to_1y_old", - "long": "Up to 1 Year Old", - "short": "<1y" + _1y: { + id: "up_to_1y_old", + long: "Up to 1 Year Old", + short: "<1y", }, - "_2m": { - "id": "up_to_2m_old", - "long": "Up to 2 Months Old", - "short": "<2m" + _2m: { + id: "up_to_2m_old", + long: "Up to 2 Months Old", + short: "<2m", }, - "_2y": { - "id": "up_to_2y_old", - "long": "Up to 2 Years Old", - "short": "<2y" + _2y: { + id: "up_to_2y_old", + long: "Up to 2 Years Old", + short: "<2y", }, - "_3m": { - "id": "up_to_3m_old", - "long": "Up to 3 Months Old", - "short": "<3m" + _3m: { + id: "up_to_3m_old", + long: "Up to 3 Months Old", + short: "<3m", }, - "_3y": { - "id": "up_to_3y_old", - "long": "Up to 3 Years Old", - "short": "<3y" + _3y: { + id: "up_to_3y_old", + long: "Up to 3 Years Old", + short: "<3y", }, - "_4m": { - "id": "up_to_4m_old", - "long": "Up to 4 Months Old", - "short": "<4m" + _4m: { + id: "up_to_4m_old", + long: "Up to 4 Months Old", + short: "<4m", }, - "_4y": { - "id": "up_to_4y_old", - "long": "Up to 4 Years Old", - "short": "<4y" + _4y: { + id: "up_to_4y_old", + long: "Up to 4 Years Old", + short: "<4y", }, - "_5m": { - "id": "up_to_5m_old", - "long": "Up to 5 Months Old", - "short": "<5m" + _5m: { + id: "up_to_5m_old", + long: "Up to 5 Months Old", + short: "<5m", }, - "_5y": { - "id": "up_to_5y_old", - "long": "Up to 5 Years Old", - "short": "<5y" + _5y: { + id: "up_to_5y_old", + long: "Up to 5 Years Old", + short: "<5y", }, - "_6m": { - "id": "up_to_6m_old", - "long": "Up to 6 Months Old", - "short": "<6m" + _6m: { + id: "up_to_6m_old", + long: "Up to 6 Months Old", + short: "<6m", }, - "_6y": { - "id": "up_to_6y_old", - "long": "Up to 6 Years Old", - "short": "<6y" + _6y: { + id: "up_to_6y_old", + long: "Up to 6 Years Old", + short: "<6y", }, - "_7y": { - "id": "up_to_7y_old", - "long": "Up to 7 Years Old", - "short": "<7y" + _7y: { + id: "up_to_7y_old", + long: "Up to 7 Years Old", + short: "<7y", + }, + _8y: { + id: "up_to_8y_old", + long: "Up to 8 Years Old", + short: "<8y", }, - "_8y": { - "id": "up_to_8y_old", - "long": "Up to 8 Years Old", - "short": "<8y" - } }); MIN_AGE_NAMES = /** @type {const} */ ({ - "_10y": { - "id": "at_least_10y_old", - "long": "At Least 10 Years Old", - "short": "10y+" + _10y: { + id: "at_least_10y_old", + long: "At Least 10 Years Old", + short: "10y+", }, - "_12y": { - "id": "at_least_12y_old", - "long": "At Least 12 Years Old", - "short": "12y+" + _12y: { + id: "at_least_12y_old", + long: "At Least 12 Years Old", + short: "12y+", }, - "_1d": { - "id": "at_least_1d_old", - "long": "At Least 1 Day Old", - "short": "1d+" + _1d: { + id: "at_least_1d_old", + long: "At Least 1 Day Old", + short: "1d+", }, - "_1m": { - "id": "at_least_1m_old", - "long": "At Least 1 Month Old", - "short": "1m+" + _1m: { + id: "at_least_1m_old", + long: "At Least 1 Month Old", + short: "1m+", }, - "_1w": { - "id": "at_least_1w_old", - "long": "At Least 1 Week Old", - "short": "1w+" + _1w: { + id: "at_least_1w_old", + long: "At Least 1 Week Old", + short: "1w+", }, - "_1y": { - "id": "at_least_1y_old", - "long": "At Least 1 Year Old", - "short": "1y+" + _1y: { + id: "at_least_1y_old", + long: "At Least 1 Year Old", + short: "1y+", }, - "_2m": { - "id": "at_least_2m_old", - "long": "At Least 2 Months Old", - "short": "2m+" + _2m: { + id: "at_least_2m_old", + long: "At Least 2 Months Old", + short: "2m+", }, - "_2y": { - "id": "at_least_2y_old", - "long": "At Least 2 Years Old", - "short": "2y+" + _2y: { + id: "at_least_2y_old", + long: "At Least 2 Years Old", + short: "2y+", }, - "_3m": { - "id": "at_least_3m_old", - "long": "At Least 3 Months Old", - "short": "3m+" + _3m: { + id: "at_least_3m_old", + long: "At Least 3 Months Old", + short: "3m+", }, - "_3y": { - "id": "at_least_3y_old", - "long": "At Least 3 Years Old", - "short": "3y+" + _3y: { + id: "at_least_3y_old", + long: "At Least 3 Years Old", + short: "3y+", }, - "_4m": { - "id": "at_least_4m_old", - "long": "At Least 4 Months Old", - "short": "4m+" + _4m: { + id: "at_least_4m_old", + long: "At Least 4 Months Old", + short: "4m+", }, - "_4y": { - "id": "at_least_4y_old", - "long": "At Least 4 Years Old", - "short": "4y+" + _4y: { + id: "at_least_4y_old", + long: "At Least 4 Years Old", + short: "4y+", }, - "_5m": { - "id": "at_least_5m_old", - "long": "At Least 5 Months Old", - "short": "5m+" + _5m: { + id: "at_least_5m_old", + long: "At Least 5 Months Old", + short: "5m+", }, - "_5y": { - "id": "at_least_5y_old", - "long": "At Least 5 Years Old", - "short": "5y+" + _5y: { + id: "at_least_5y_old", + long: "At Least 5 Years Old", + short: "5y+", }, - "_6m": { - "id": "at_least_6m_old", - "long": "At Least 6 Months Old", - "short": "6m+" + _6m: { + id: "at_least_6m_old", + long: "At Least 6 Months Old", + short: "6m+", }, - "_6y": { - "id": "at_least_6y_old", - "long": "At Least 6 Years Old", - "short": "6y+" + _6y: { + id: "at_least_6y_old", + long: "At Least 6 Years Old", + short: "6y+", }, - "_7y": { - "id": "at_least_7y_old", - "long": "At Least 7 Years Old", - "short": "7y+" + _7y: { + id: "at_least_7y_old", + long: "At Least 7 Years Old", + short: "7y+", + }, + _8y: { + id: "at_least_8y_old", + long: "At Least 8 Years Old", + short: "8y+", }, - "_8y": { - "id": "at_least_8y_old", - "long": "At Least 8 Years Old", - "short": "8y+" - } }); AMOUNT_RANGE_NAMES = /** @type {const} */ ({ - "_0sats": { - "id": "with_0sats", - "long": "0 Sats", - "short": "0 sats" + _0sats: { + id: "with_0sats", + long: "0 Sats", + short: "0 sats", }, - "_100btcTo1kBtc": { - "id": "above_100btc_under_1k_btc", - "long": "100 to 1K BTC", - "short": "100-1k BTC" + _100btcTo1kBtc: { + id: "above_100btc_under_1k_btc", + long: "100 to 1K BTC", + short: "100-1k BTC", }, - "_100kBtcOrMore": { - "id": "above_100k_btc", - "long": "100K+ BTC", - "short": "100k+ BTC" + _100kBtcOrMore: { + id: "above_100k_btc", + long: "100K+ BTC", + short: "100k+ BTC", }, - "_100kSatsTo1mSats": { - "id": "above_100k_sats_under_1m_sats", - "long": "100K to 1M Sats", - "short": "100k-1M sats" + _100kSatsTo1mSats: { + id: "above_100k_sats_under_1m_sats", + long: "100K to 1M Sats", + short: "100k-1M sats", }, - "_100satsTo1kSats": { - "id": "above_100sats_under_1k_sats", - "long": "100 to 1K Sats", - "short": "100-1k sats" + _100satsTo1kSats: { + id: "above_100sats_under_1k_sats", + long: "100 to 1K Sats", + short: "100-1k sats", }, - "_10btcTo100btc": { - "id": "above_10btc_under_100btc", - "long": "10 to 100 BTC", - "short": "10-100 BTC" + _10btcTo100btc: { + id: "above_10btc_under_100btc", + long: "10 to 100 BTC", + short: "10-100 BTC", }, - "_10kBtcTo100kBtc": { - "id": "above_10k_btc_under_100k_btc", - "long": "10K to 100K BTC", - "short": "10k-100k BTC" + _10kBtcTo100kBtc: { + id: "above_10k_btc_under_100k_btc", + long: "10K to 100K BTC", + short: "10k-100k BTC", }, - "_10kSatsTo100kSats": { - "id": "above_10k_sats_under_100k_sats", - "long": "10K to 100K Sats", - "short": "10k-100k sats" + _10kSatsTo100kSats: { + id: "above_10k_sats_under_100k_sats", + long: "10K to 100K Sats", + short: "10k-100k sats", }, - "_10mSatsTo1btc": { - "id": "above_10m_sats_under_1btc", - "long": "0.1 to 1 BTC", - "short": "0.1-1 BTC" + _10mSatsTo1btc: { + id: "above_10m_sats_under_1btc", + long: "0.1 to 1 BTC", + short: "0.1-1 BTC", }, - "_10satsTo100sats": { - "id": "above_10sats_under_100sats", - "long": "10 to 100 Sats", - "short": "10-100 sats" + _10satsTo100sats: { + id: "above_10sats_under_100sats", + long: "10 to 100 Sats", + short: "10-100 sats", }, - "_1btcTo10btc": { - "id": "above_1btc_under_10btc", - "long": "1 to 10 BTC", - "short": "1-10 BTC" + _1btcTo10btc: { + id: "above_1btc_under_10btc", + long: "1 to 10 BTC", + short: "1-10 BTC", }, - "_1kBtcTo10kBtc": { - "id": "above_1k_btc_under_10k_btc", - "long": "1K to 10K BTC", - "short": "1k-10k BTC" + _1kBtcTo10kBtc: { + id: "above_1k_btc_under_10k_btc", + long: "1K to 10K BTC", + short: "1k-10k BTC", }, - "_1kSatsTo10kSats": { - "id": "above_1k_sats_under_10k_sats", - "long": "1K to 10K Sats", - "short": "1k-10k sats" + _1kSatsTo10kSats: { + id: "above_1k_sats_under_10k_sats", + long: "1K to 10K Sats", + short: "1k-10k sats", }, - "_1mSatsTo10mSats": { - "id": "above_1m_sats_under_10m_sats", - "long": "1M to 10M Sats", - "short": "1M-10M sats" + _1mSatsTo10mSats: { + id: "above_1m_sats_under_10m_sats", + long: "1M to 10M Sats", + short: "1M-10M sats", + }, + _1satTo10sats: { + id: "above_1sat_under_10sats", + long: "1 to 10 Sats", + short: "1-10 sats", }, - "_1satTo10sats": { - "id": "above_1sat_under_10sats", - "long": "1 to 10 Sats", - "short": "1-10 sats" - } }); GE_AMOUNT_NAMES = /** @type {const} */ ({ - "_100btc": { - "id": "above_100btc", - "long": "Above 100 BTC", - "short": "100+ BTC" + _100btc: { + id: "above_100btc", + long: "Above 100 BTC", + short: "100+ BTC", }, - "_100kSats": { - "id": "above_100k_sats", - "long": "Above 100K Sats", - "short": "100k+ sats" + _100kSats: { + id: "above_100k_sats", + long: "Above 100K Sats", + short: "100k+ sats", }, - "_100sats": { - "id": "above_100sats", - "long": "Above 100 Sats", - "short": "100+ sats" + _100sats: { + id: "above_100sats", + long: "Above 100 Sats", + short: "100+ sats", }, - "_10btc": { - "id": "above_10btc", - "long": "Above 10 BTC", - "short": "10+ BTC" + _10btc: { + id: "above_10btc", + long: "Above 10 BTC", + short: "10+ BTC", }, - "_10kBtc": { - "id": "above_10k_btc", - "long": "Above 10K BTC", - "short": "10k+ BTC" + _10kBtc: { + id: "above_10k_btc", + long: "Above 10K BTC", + short: "10k+ BTC", }, - "_10kSats": { - "id": "above_10k_sats", - "long": "Above 10K Sats", - "short": "10k+ sats" + _10kSats: { + id: "above_10k_sats", + long: "Above 10K Sats", + short: "10k+ sats", }, - "_10mSats": { - "id": "above_10m_sats", - "long": "Above 0.1 BTC", - "short": "0.1+ BTC" + _10mSats: { + id: "above_10m_sats", + long: "Above 0.1 BTC", + short: "0.1+ BTC", }, - "_10sats": { - "id": "above_10sats", - "long": "Above 10 Sats", - "short": "10+ sats" + _10sats: { + id: "above_10sats", + long: "Above 10 Sats", + short: "10+ sats", }, - "_1btc": { - "id": "above_1btc", - "long": "Above 1 BTC", - "short": "1+ BTC" + _1btc: { + id: "above_1btc", + long: "Above 1 BTC", + short: "1+ BTC", }, - "_1kBtc": { - "id": "above_1k_btc", - "long": "Above 1K BTC", - "short": "1k+ BTC" + _1kBtc: { + id: "above_1k_btc", + long: "Above 1K BTC", + short: "1k+ BTC", }, - "_1kSats": { - "id": "above_1k_sats", - "long": "Above 1K Sats", - "short": "1k+ sats" + _1kSats: { + id: "above_1k_sats", + long: "Above 1K Sats", + short: "1k+ sats", }, - "_1mSats": { - "id": "above_1m_sats", - "long": "Above 1M Sats", - "short": "1M+ sats" + _1mSats: { + id: "above_1m_sats", + long: "Above 1M Sats", + short: "1M+ sats", + }, + _1sat: { + id: "above_1sat", + long: "Above 1 Sat", + short: "1+ sats", }, - "_1sat": { - "id": "above_1sat", - "long": "Above 1 Sat", - "short": "1+ sats" - } }); LT_AMOUNT_NAMES = /** @type {const} */ ({ - "_100btc": { - "id": "under_100btc", - "long": "Under 100 BTC", - "short": "<100 BTC" + _100btc: { + id: "under_100btc", + long: "Under 100 BTC", + short: "<100 BTC", }, - "_100kBtc": { - "id": "under_100k_btc", - "long": "Under 100K BTC", - "short": "<100k BTC" + _100kBtc: { + id: "under_100k_btc", + long: "Under 100K BTC", + short: "<100k BTC", }, - "_100kSats": { - "id": "under_100k_sats", - "long": "Under 100K Sats", - "short": "<100k sats" + _100kSats: { + id: "under_100k_sats", + long: "Under 100K Sats", + short: "<100k sats", }, - "_100sats": { - "id": "under_100sats", - "long": "Under 100 Sats", - "short": "<100 sats" + _100sats: { + id: "under_100sats", + long: "Under 100 Sats", + short: "<100 sats", }, - "_10btc": { - "id": "under_10btc", - "long": "Under 10 BTC", - "short": "<10 BTC" + _10btc: { + id: "under_10btc", + long: "Under 10 BTC", + short: "<10 BTC", }, - "_10kBtc": { - "id": "under_10k_btc", - "long": "Under 10K BTC", - "short": "<10k BTC" + _10kBtc: { + id: "under_10k_btc", + long: "Under 10K BTC", + short: "<10k BTC", }, - "_10kSats": { - "id": "under_10k_sats", - "long": "Under 10K Sats", - "short": "<10k sats" + _10kSats: { + id: "under_10k_sats", + long: "Under 10K Sats", + short: "<10k sats", }, - "_10mSats": { - "id": "under_10m_sats", - "long": "Under 0.1 BTC", - "short": "<0.1 BTC" + _10mSats: { + id: "under_10m_sats", + long: "Under 0.1 BTC", + short: "<0.1 BTC", }, - "_10sats": { - "id": "under_10sats", - "long": "Under 10 Sats", - "short": "<10 sats" + _10sats: { + id: "under_10sats", + long: "Under 10 Sats", + short: "<10 sats", }, - "_1btc": { - "id": "under_1btc", - "long": "Under 1 BTC", - "short": "<1 BTC" + _1btc: { + id: "under_1btc", + long: "Under 1 BTC", + short: "<1 BTC", }, - "_1kBtc": { - "id": "under_1k_btc", - "long": "Under 1K BTC", - "short": "<1k BTC" + _1kBtc: { + id: "under_1k_btc", + long: "Under 1K BTC", + short: "<1k BTC", }, - "_1kSats": { - "id": "under_1k_sats", - "long": "Under 1K Sats", - "short": "<1k sats" + _1kSats: { + id: "under_1k_sats", + long: "Under 1K Sats", + short: "<1k sats", + }, + _1mSats: { + id: "under_1m_sats", + long: "Under 1M Sats", + short: "<1M sats", }, - "_1mSats": { - "id": "under_1m_sats", - "long": "Under 1M Sats", - "short": "<1M sats" - } }); /** @@ -5285,7 +6290,7 @@ class BrkClient extends BrkClientBase { constructor(options) { super(options); /** @type {CatalogTree} */ - this.tree = this._buildTree(''); + this.tree = this._buildTree(""); } /** @@ -5296,930 +6301,1401 @@ class BrkClient extends BrkClientBase { _buildTree(basePath) { return { addresses: { - firstP2aaddressindex: createMetricPattern11(this, 'first_p2aaddressindex'), - firstP2pk33addressindex: createMetricPattern11(this, 'first_p2pk33addressindex'), - firstP2pk65addressindex: createMetricPattern11(this, 'first_p2pk65addressindex'), - firstP2pkhaddressindex: createMetricPattern11(this, 'first_p2pkhaddressindex'), - firstP2shaddressindex: createMetricPattern11(this, 'first_p2shaddressindex'), - firstP2traddressindex: createMetricPattern11(this, 'first_p2traddressindex'), - firstP2wpkhaddressindex: createMetricPattern11(this, 'first_p2wpkhaddressindex'), - firstP2wshaddressindex: createMetricPattern11(this, 'first_p2wshaddressindex'), - p2abytes: createMetricPattern16(this, 'p2abytes'), - p2pk33bytes: createMetricPattern18(this, 'p2pk33bytes'), - p2pk65bytes: createMetricPattern19(this, 'p2pk65bytes'), - p2pkhbytes: createMetricPattern20(this, 'p2pkhbytes'), - p2shbytes: createMetricPattern21(this, 'p2shbytes'), - p2trbytes: createMetricPattern22(this, 'p2trbytes'), - p2wpkhbytes: createMetricPattern23(this, 'p2wpkhbytes'), - p2wshbytes: createMetricPattern24(this, 'p2wshbytes') + firstP2aaddressindex: createMetricPattern11( + this, + "first_p2aaddressindex", + ), + firstP2pk33addressindex: createMetricPattern11( + this, + "first_p2pk33addressindex", + ), + firstP2pk65addressindex: createMetricPattern11( + this, + "first_p2pk65addressindex", + ), + firstP2pkhaddressindex: createMetricPattern11( + this, + "first_p2pkhaddressindex", + ), + firstP2shaddressindex: createMetricPattern11( + this, + "first_p2shaddressindex", + ), + firstP2traddressindex: createMetricPattern11( + this, + "first_p2traddressindex", + ), + firstP2wpkhaddressindex: createMetricPattern11( + this, + "first_p2wpkhaddressindex", + ), + firstP2wshaddressindex: createMetricPattern11( + this, + "first_p2wshaddressindex", + ), + p2abytes: createMetricPattern16(this, "p2abytes"), + p2pk33bytes: createMetricPattern18(this, "p2pk33bytes"), + p2pk65bytes: createMetricPattern19(this, "p2pk65bytes"), + p2pkhbytes: createMetricPattern20(this, "p2pkhbytes"), + p2shbytes: createMetricPattern21(this, "p2shbytes"), + p2trbytes: createMetricPattern22(this, "p2trbytes"), + p2wpkhbytes: createMetricPattern23(this, "p2wpkhbytes"), + p2wshbytes: createMetricPattern24(this, "p2wshbytes"), }, blocks: { - blockhash: createMetricPattern11(this, 'blockhash'), + blockhash: createMetricPattern11(this, "blockhash"), count: { - _1mBlockCount: createMetricPattern1(this, '1m_block_count'), - _1mStart: createMetricPattern11(this, '1m_start'), - _1wBlockCount: createMetricPattern1(this, '1w_block_count'), - _1wStart: createMetricPattern11(this, '1w_start'), - _1yBlockCount: createMetricPattern1(this, '1y_block_count'), - _1yStart: createMetricPattern11(this, '1y_start'), - _24hBlockCount: createMetricPattern1(this, '24h_block_count'), - _24hStart: createMetricPattern11(this, '24h_start'), - blockCount: createBlockCountPattern(this, 'block_count'), - blockCountTarget: createMetricPattern4(this, 'block_count_target') + _1mBlockCount: createMetricPattern1(this, "1m_block_count"), + _1mStart: createMetricPattern11(this, "1m_start"), + _1wBlockCount: createMetricPattern1(this, "1w_block_count"), + _1wStart: createMetricPattern11(this, "1w_start"), + _1yBlockCount: createMetricPattern1(this, "1y_block_count"), + _1yStart: createMetricPattern11(this, "1y_start"), + _24hBlockCount: createMetricPattern1(this, "24h_block_count"), + _24hStart: createMetricPattern11(this, "24h_start"), + blockCount: createBlockCountPattern(this, "block_count"), + blockCountTarget: createMetricPattern4(this, "block_count_target"), }, difficulty: { - adjustment: createMetricPattern1(this, 'difficulty_adjustment'), - asHash: createMetricPattern1(this, 'difficulty_as_hash'), - blocksBeforeNextAdjustment: createMetricPattern1(this, 'blocks_before_next_difficulty_adjustment'), - daysBeforeNextAdjustment: createMetricPattern1(this, 'days_before_next_difficulty_adjustment'), - epoch: createMetricPattern4(this, 'difficultyepoch'), - raw: createMetricPattern1(this, 'difficulty') + adjustment: createMetricPattern1(this, "difficulty_adjustment"), + asHash: createMetricPattern1(this, "difficulty_as_hash"), + blocksBeforeNextAdjustment: createMetricPattern1( + this, + "blocks_before_next_difficulty_adjustment", + ), + daysBeforeNextAdjustment: createMetricPattern1( + this, + "days_before_next_difficulty_adjustment", + ), + epoch: createMetricPattern4(this, "difficultyepoch"), + raw: createMetricPattern1(this, "difficulty"), }, - fullness: createFullnessPattern(this, 'block_fullness'), + fullness: createFullnessPattern(this, "block_fullness"), halving: { - blocksBeforeNextHalving: createMetricPattern1(this, 'blocks_before_next_halving'), - daysBeforeNextHalving: createMetricPattern1(this, 'days_before_next_halving'), - epoch: createMetricPattern4(this, 'halvingepoch') + blocksBeforeNextHalving: createMetricPattern1( + this, + "blocks_before_next_halving", + ), + daysBeforeNextHalving: createMetricPattern1( + this, + "days_before_next_halving", + ), + epoch: createMetricPattern4(this, "halvingepoch"), }, interval: { - average: createMetricPattern2(this, 'block_interval_average'), - base: createMetricPattern11(this, 'block_interval'), - max: createMetricPattern2(this, 'block_interval_max'), - median: createMetricPattern6(this, 'block_interval_median'), - min: createMetricPattern2(this, 'block_interval_min'), - pct10: createMetricPattern6(this, 'block_interval_pct10'), - pct25: createMetricPattern6(this, 'block_interval_pct25'), - pct75: createMetricPattern6(this, 'block_interval_pct75'), - pct90: createMetricPattern6(this, 'block_interval_pct90') + average: createMetricPattern2(this, "block_interval_average"), + base: createMetricPattern11(this, "block_interval"), + max: createMetricPattern2(this, "block_interval_max"), + median: createMetricPattern6(this, "block_interval_median"), + min: createMetricPattern2(this, "block_interval_min"), + pct10: createMetricPattern6(this, "block_interval_pct10"), + pct25: createMetricPattern6(this, "block_interval_pct25"), + pct75: createMetricPattern6(this, "block_interval_pct75"), + pct90: createMetricPattern6(this, "block_interval_pct90"), }, mining: { - hashPricePhs: createMetricPattern1(this, 'hash_price_phs'), - hashPricePhsMin: createMetricPattern1(this, 'hash_price_phs_min'), - hashPriceRebound: createMetricPattern1(this, 'hash_price_rebound'), - hashPriceThs: createMetricPattern1(this, 'hash_price_ths'), - hashPriceThsMin: createMetricPattern1(this, 'hash_price_ths_min'), - hashRate: createMetricPattern1(this, 'hash_rate'), - hashRate1mSma: createMetricPattern4(this, 'hash_rate_1m_sma'), - hashRate1wSma: createMetricPattern4(this, 'hash_rate_1w_sma'), - hashRate1ySma: createMetricPattern4(this, 'hash_rate_1y_sma'), - hashRate2mSma: createMetricPattern4(this, 'hash_rate_2m_sma'), - hashValuePhs: createMetricPattern1(this, 'hash_value_phs'), - hashValuePhsMin: createMetricPattern1(this, 'hash_value_phs_min'), - hashValueRebound: createMetricPattern1(this, 'hash_value_rebound'), - hashValueThs: createMetricPattern1(this, 'hash_value_ths'), - hashValueThsMin: createMetricPattern1(this, 'hash_value_ths_min') + hashPricePhs: createMetricPattern1(this, "hash_price_phs"), + hashPricePhsMin: createMetricPattern1(this, "hash_price_phs_min"), + hashPriceRebound: createMetricPattern1(this, "hash_price_rebound"), + hashPriceThs: createMetricPattern1(this, "hash_price_ths"), + hashPriceThsMin: createMetricPattern1(this, "hash_price_ths_min"), + hashRate: createMetricPattern1(this, "hash_rate"), + hashRate1mSma: createMetricPattern4(this, "hash_rate_1m_sma"), + hashRate1wSma: createMetricPattern4(this, "hash_rate_1w_sma"), + hashRate1ySma: createMetricPattern4(this, "hash_rate_1y_sma"), + hashRate2mSma: createMetricPattern4(this, "hash_rate_2m_sma"), + hashValuePhs: createMetricPattern1(this, "hash_value_phs"), + hashValuePhsMin: createMetricPattern1(this, "hash_value_phs_min"), + hashValueRebound: createMetricPattern1(this, "hash_value_rebound"), + hashValueThs: createMetricPattern1(this, "hash_value_ths"), + hashValueThsMin: createMetricPattern1(this, "hash_value_ths_min"), }, rewards: { - _24hCoinbaseSum: create_24hCoinbaseSumPattern(this, '24h_coinbase_sum'), - coinbase: createCoinbasePattern(this, 'coinbase'), - feeDominance: createMetricPattern6(this, 'fee_dominance'), - subsidy: createCoinbasePattern(this, 'subsidy'), - subsidyDominance: createMetricPattern6(this, 'subsidy_dominance'), - subsidyUsd1ySma: createMetricPattern4(this, 'subsidy_usd_1y_sma'), - unclaimedRewards: createUnclaimedRewardsPattern(this, 'unclaimed_rewards') + _24hCoinbaseSum: { + bitcoin: createMetricPattern11(this, "24h_coinbase_sum_btc"), + dollars: createMetricPattern11(this, "24h_coinbase_sum_usd"), + sats: createMetricPattern11(this, "24h_coinbase_sum"), + }, + coinbase: createCoinbasePattern(this, "coinbase"), + feeDominance: createMetricPattern6(this, "fee_dominance"), + subsidy: createCoinbasePattern(this, "subsidy"), + subsidyDominance: createMetricPattern6(this, "subsidy_dominance"), + subsidyUsd1ySma: createMetricPattern4(this, "subsidy_usd_1y_sma"), + unclaimedRewards: createUnclaimedRewardsPattern( + this, + "unclaimed_rewards", + ), + }, + size: { + average: createMetricPattern2(this, "block_size_average"), + cumulative: createMetricPattern1(this, "block_size_cumulative"), + max: createMetricPattern2(this, "block_size_max"), + median: createMetricPattern6(this, "block_size_median"), + min: createMetricPattern2(this, "block_size_min"), + pct10: createMetricPattern6(this, "block_size_pct10"), + pct25: createMetricPattern6(this, "block_size_pct25"), + pct75: createMetricPattern6(this, "block_size_pct75"), + pct90: createMetricPattern6(this, "block_size_pct90"), + sum: createMetricPattern2(this, "block_size_sum"), }, - size: createSizePattern(this, 'block_size'), time: { - date: createMetricPattern11(this, 'date'), - dateFixed: createMetricPattern11(this, 'date_fixed'), - timestamp: createMetricPattern1(this, 'timestamp'), - timestampFixed: createMetricPattern11(this, 'timestamp_fixed') + date: createMetricPattern11(this, "date"), + dateFixed: createMetricPattern11(this, "date_fixed"), + timestamp: createMetricPattern1(this, "timestamp"), + timestampFixed: createMetricPattern11(this, "timestamp_fixed"), }, - totalSize: createMetricPattern11(this, 'total_size'), - vbytes: createFullnessPattern(this, 'block_vbytes'), - weight: createFullnessPattern(this, '') + totalSize: createMetricPattern11(this, "total_size"), + vbytes: createDollarsPattern(this, "block_vbytes"), + weight: createDollarsPattern(this, ""), }, cointime: { activity: { - activityToVaultednessRatio: createMetricPattern1(this, 'activity_to_vaultedness_ratio'), - coinblocksCreated: createBlockCountPattern(this, 'coinblocks_created'), - coinblocksStored: createBlockCountPattern(this, 'coinblocks_stored'), - liveliness: createMetricPattern1(this, 'liveliness'), - vaultedness: createMetricPattern1(this, 'vaultedness') + activityToVaultednessRatio: createMetricPattern1( + this, + "activity_to_vaultedness_ratio", + ), + coinblocksCreated: createBlockCountPattern( + this, + "coinblocks_created", + ), + coinblocksStored: createBlockCountPattern(this, "coinblocks_stored"), + liveliness: createMetricPattern1(this, "liveliness"), + vaultedness: createMetricPattern1(this, "vaultedness"), }, adjusted: { - cointimeAdjInflationRate: createMetricPattern4(this, 'cointime_adj_inflation_rate'), - cointimeAdjTxBtcVelocity: createMetricPattern4(this, 'cointime_adj_tx_btc_velocity'), - cointimeAdjTxUsdVelocity: createMetricPattern4(this, 'cointime_adj_tx_usd_velocity') + cointimeAdjInflationRate: createMetricPattern4( + this, + "cointime_adj_inflation_rate", + ), + cointimeAdjTxBtcVelocity: createMetricPattern4( + this, + "cointime_adj_tx_btc_velocity", + ), + cointimeAdjTxUsdVelocity: createMetricPattern4( + this, + "cointime_adj_tx_usd_velocity", + ), }, cap: { - activeCap: createMetricPattern1(this, 'active_cap'), - cointimeCap: createMetricPattern1(this, 'cointime_cap'), - investorCap: createMetricPattern1(this, 'investor_cap'), - thermoCap: createMetricPattern1(this, 'thermo_cap'), - vaultedCap: createMetricPattern1(this, 'vaulted_cap') + activeCap: createMetricPattern1(this, "active_cap"), + cointimeCap: createMetricPattern1(this, "cointime_cap"), + investorCap: createMetricPattern1(this, "investor_cap"), + thermoCap: createMetricPattern1(this, "thermo_cap"), + vaultedCap: createMetricPattern1(this, "vaulted_cap"), }, pricing: { - activePrice: createMetricPattern1(this, 'active_price'), - activePriceRatio: createActivePriceRatioPattern(this, 'active_price_ratio'), - cointimePrice: createMetricPattern1(this, 'cointime_price'), - cointimePriceRatio: createActivePriceRatioPattern(this, 'cointime_price_ratio'), - trueMarketMean: createMetricPattern1(this, 'true_market_mean'), - trueMarketMeanRatio: createActivePriceRatioPattern(this, 'true_market_mean_ratio'), - vaultedPrice: createMetricPattern1(this, 'vaulted_price'), - vaultedPriceRatio: createActivePriceRatioPattern(this, 'vaulted_price_ratio') + activePrice: createMetricPattern1(this, "active_price"), + activePriceRatio: createActivePriceRatioPattern( + this, + "active_price_ratio", + ), + cointimePrice: createMetricPattern1(this, "cointime_price"), + cointimePriceRatio: createActivePriceRatioPattern( + this, + "cointime_price_ratio", + ), + trueMarketMean: createMetricPattern1(this, "true_market_mean"), + trueMarketMeanRatio: createActivePriceRatioPattern( + this, + "true_market_mean_ratio", + ), + vaultedPrice: createMetricPattern1(this, "vaulted_price"), + vaultedPriceRatio: createActivePriceRatioPattern( + this, + "vaulted_price_ratio", + ), }, supply: { - activeSupply: create_24hCoinbaseSumPattern(this, 'active_supply'), - vaultedSupply: create_24hCoinbaseSumPattern(this, 'vaulted_supply') + activeSupply: createActiveSupplyPattern(this, "active_supply"), + vaultedSupply: createActiveSupplyPattern(this, "vaulted_supply"), }, value: { - cointimeValueCreated: createBlockCountPattern(this, 'cointime_value_created'), - cointimeValueDestroyed: createBlockCountPattern(this, 'cointime_value_destroyed'), - cointimeValueStored: createBlockCountPattern(this, 'cointime_value_stored') - } + cointimeValueCreated: createBlockCountPattern( + this, + "cointime_value_created", + ), + cointimeValueDestroyed: createBlockCountPattern( + this, + "cointime_value_destroyed", + ), + cointimeValueStored: createBlockCountPattern( + this, + "cointime_value_stored", + ), + }, }, constants: { - constant0: createMetricPattern1(this, 'constant_0'), - constant1: createMetricPattern1(this, 'constant_1'), - constant100: createMetricPattern1(this, 'constant_100'), - constant2: createMetricPattern1(this, 'constant_2'), - constant20: createMetricPattern1(this, 'constant_20'), - constant3: createMetricPattern1(this, 'constant_3'), - constant30: createMetricPattern1(this, 'constant_30'), - constant382: createMetricPattern1(this, 'constant_38_2'), - constant4: createMetricPattern1(this, 'constant_4'), - constant50: createMetricPattern1(this, 'constant_50'), - constant600: createMetricPattern1(this, 'constant_600'), - constant618: createMetricPattern1(this, 'constant_61_8'), - constant70: createMetricPattern1(this, 'constant_70'), - constant80: createMetricPattern1(this, 'constant_80'), - constantMinus1: createMetricPattern1(this, 'constant_minus_1'), - constantMinus2: createMetricPattern1(this, 'constant_minus_2'), - constantMinus3: createMetricPattern1(this, 'constant_minus_3'), - constantMinus4: createMetricPattern1(this, 'constant_minus_4') + constant0: createMetricPattern1(this, "constant_0"), + constant1: createMetricPattern1(this, "constant_1"), + constant100: createMetricPattern1(this, "constant_100"), + constant2: createMetricPattern1(this, "constant_2"), + constant20: createMetricPattern1(this, "constant_20"), + constant3: createMetricPattern1(this, "constant_3"), + constant30: createMetricPattern1(this, "constant_30"), + constant382: createMetricPattern1(this, "constant_38_2"), + constant4: createMetricPattern1(this, "constant_4"), + constant50: createMetricPattern1(this, "constant_50"), + constant600: createMetricPattern1(this, "constant_600"), + constant618: createMetricPattern1(this, "constant_61_8"), + constant70: createMetricPattern1(this, "constant_70"), + constant80: createMetricPattern1(this, "constant_80"), + constantMinus1: createMetricPattern1(this, "constant_minus_1"), + constantMinus2: createMetricPattern1(this, "constant_minus_2"), + constantMinus3: createMetricPattern1(this, "constant_minus_3"), + constantMinus4: createMetricPattern1(this, "constant_minus_4"), }, distribution: { - addrCount: createAddrCountPattern(this, 'addr_count'), + addrCount: { + all: createMetricPattern1(this, "addr_count"), + p2a: createMetricPattern1(this, "p2a_addr_count"), + p2pk33: createMetricPattern1(this, "p2pk33_addr_count"), + p2pk65: createMetricPattern1(this, "p2pk65_addr_count"), + p2pkh: createMetricPattern1(this, "p2pkh_addr_count"), + p2sh: createMetricPattern1(this, "p2sh_addr_count"), + p2tr: createMetricPattern1(this, "p2tr_addr_count"), + p2wpkh: createMetricPattern1(this, "p2wpkh_addr_count"), + p2wsh: createMetricPattern1(this, "p2wsh_addr_count"), + }, addressCohorts: { amountRange: { - _0sats: create_0satsPattern(this, 'addrs_with_0sats'), - _100btcTo1kBtc: create_0satsPattern(this, 'addrs_above_100btc_under_1k_btc'), - _100kBtcOrMore: create_0satsPattern(this, 'addrs_above_100k_btc'), - _100kSatsTo1mSats: create_0satsPattern(this, 'addrs_above_100k_sats_under_1m_sats'), - _100satsTo1kSats: create_0satsPattern(this, 'addrs_above_100sats_under_1k_sats'), - _10btcTo100btc: create_0satsPattern(this, 'addrs_above_10btc_under_100btc'), - _10kBtcTo100kBtc: create_0satsPattern(this, 'addrs_above_10k_btc_under_100k_btc'), - _10kSatsTo100kSats: create_0satsPattern(this, 'addrs_above_10k_sats_under_100k_sats'), - _10mSatsTo1btc: create_0satsPattern(this, 'addrs_above_10m_sats_under_1btc'), - _10satsTo100sats: create_0satsPattern(this, 'addrs_above_10sats_under_100sats'), - _1btcTo10btc: create_0satsPattern(this, 'addrs_above_1btc_under_10btc'), - _1kBtcTo10kBtc: create_0satsPattern(this, 'addrs_above_1k_btc_under_10k_btc'), - _1kSatsTo10kSats: create_0satsPattern(this, 'addrs_above_1k_sats_under_10k_sats'), - _1mSatsTo10mSats: create_0satsPattern(this, 'addrs_above_1m_sats_under_10m_sats'), - _1satTo10sats: create_0satsPattern(this, 'addrs_above_1sat_under_10sats') + _0sats: create_0satsPattern(this, "addrs_with_0sats"), + _100btcTo1kBtc: create_0satsPattern( + this, + "addrs_above_100btc_under_1k_btc", + ), + _100kBtcOrMore: create_0satsPattern(this, "addrs_above_100k_btc"), + _100kSatsTo1mSats: create_0satsPattern( + this, + "addrs_above_100k_sats_under_1m_sats", + ), + _100satsTo1kSats: create_0satsPattern( + this, + "addrs_above_100sats_under_1k_sats", + ), + _10btcTo100btc: create_0satsPattern( + this, + "addrs_above_10btc_under_100btc", + ), + _10kBtcTo100kBtc: create_0satsPattern( + this, + "addrs_above_10k_btc_under_100k_btc", + ), + _10kSatsTo100kSats: create_0satsPattern( + this, + "addrs_above_10k_sats_under_100k_sats", + ), + _10mSatsTo1btc: create_0satsPattern( + this, + "addrs_above_10m_sats_under_1btc", + ), + _10satsTo100sats: create_0satsPattern( + this, + "addrs_above_10sats_under_100sats", + ), + _1btcTo10btc: create_0satsPattern( + this, + "addrs_above_1btc_under_10btc", + ), + _1kBtcTo10kBtc: create_0satsPattern( + this, + "addrs_above_1k_btc_under_10k_btc", + ), + _1kSatsTo10kSats: create_0satsPattern( + this, + "addrs_above_1k_sats_under_10k_sats", + ), + _1mSatsTo10mSats: create_0satsPattern( + this, + "addrs_above_1m_sats_under_10m_sats", + ), + _1satTo10sats: create_0satsPattern( + this, + "addrs_above_1sat_under_10sats", + ), }, geAmount: { - _100btc: create_0satsPattern(this, 'addrs_above_100btc'), - _100kSats: create_0satsPattern(this, 'addrs_above_100k_sats'), - _100sats: create_0satsPattern(this, 'addrs_above_100sats'), - _10btc: create_0satsPattern(this, 'addrs_above_10btc'), - _10kBtc: create_0satsPattern(this, 'addrs_above_10k_btc'), - _10kSats: create_0satsPattern(this, 'addrs_above_10k_sats'), - _10mSats: create_0satsPattern(this, 'addrs_above_10m_sats'), - _10sats: create_0satsPattern(this, 'addrs_above_10sats'), - _1btc: create_0satsPattern(this, 'addrs_above_1btc'), - _1kBtc: create_0satsPattern(this, 'addrs_above_1k_btc'), - _1kSats: create_0satsPattern(this, 'addrs_above_1k_sats'), - _1mSats: create_0satsPattern(this, 'addrs_above_1m_sats'), - _1sat: create_0satsPattern(this, 'addrs_above_1sat') + _100btc: create_0satsPattern(this, "addrs_above_100btc"), + _100kSats: create_0satsPattern(this, "addrs_above_100k_sats"), + _100sats: create_0satsPattern(this, "addrs_above_100sats"), + _10btc: create_0satsPattern(this, "addrs_above_10btc"), + _10kBtc: create_0satsPattern(this, "addrs_above_10k_btc"), + _10kSats: create_0satsPattern(this, "addrs_above_10k_sats"), + _10mSats: create_0satsPattern(this, "addrs_above_10m_sats"), + _10sats: create_0satsPattern(this, "addrs_above_10sats"), + _1btc: create_0satsPattern(this, "addrs_above_1btc"), + _1kBtc: create_0satsPattern(this, "addrs_above_1k_btc"), + _1kSats: create_0satsPattern(this, "addrs_above_1k_sats"), + _1mSats: create_0satsPattern(this, "addrs_above_1m_sats"), + _1sat: create_0satsPattern(this, "addrs_above_1sat"), }, ltAmount: { - _100btc: create_0satsPattern(this, 'addrs_under_100btc'), - _100kBtc: create_0satsPattern(this, 'addrs_under_100k_btc'), - _100kSats: create_0satsPattern(this, 'addrs_under_100k_sats'), - _100sats: create_0satsPattern(this, 'addrs_under_100sats'), - _10btc: create_0satsPattern(this, 'addrs_under_10btc'), - _10kBtc: create_0satsPattern(this, 'addrs_under_10k_btc'), - _10kSats: create_0satsPattern(this, 'addrs_under_10k_sats'), - _10mSats: create_0satsPattern(this, 'addrs_under_10m_sats'), - _10sats: create_0satsPattern(this, 'addrs_under_10sats'), - _1btc: create_0satsPattern(this, 'addrs_under_1btc'), - _1kBtc: create_0satsPattern(this, 'addrs_under_1k_btc'), - _1kSats: create_0satsPattern(this, 'addrs_under_1k_sats'), - _1mSats: create_0satsPattern(this, 'addrs_under_1m_sats') - } + _100btc: create_0satsPattern(this, "addrs_under_100btc"), + _100kBtc: create_0satsPattern(this, "addrs_under_100k_btc"), + _100kSats: create_0satsPattern(this, "addrs_under_100k_sats"), + _100sats: create_0satsPattern(this, "addrs_under_100sats"), + _10btc: create_0satsPattern(this, "addrs_under_10btc"), + _10kBtc: create_0satsPattern(this, "addrs_under_10k_btc"), + _10kSats: create_0satsPattern(this, "addrs_under_10k_sats"), + _10mSats: create_0satsPattern(this, "addrs_under_10m_sats"), + _10sats: create_0satsPattern(this, "addrs_under_10sats"), + _1btc: create_0satsPattern(this, "addrs_under_1btc"), + _1kBtc: create_0satsPattern(this, "addrs_under_1k_btc"), + _1kSats: create_0satsPattern(this, "addrs_under_1k_sats"), + _1mSats: create_0satsPattern(this, "addrs_under_1m_sats"), + }, }, addressesData: { - empty: createMetricPattern32(this, 'emptyaddressdata'), - loaded: createMetricPattern31(this, 'loadedaddressdata') + empty: createMetricPattern32(this, "emptyaddressdata"), + loaded: createMetricPattern31(this, "loadedaddressdata"), }, anyAddressIndexes: { - p2a: createMetricPattern16(this, 'anyaddressindex'), - p2pk33: createMetricPattern18(this, 'anyaddressindex'), - p2pk65: createMetricPattern19(this, 'anyaddressindex'), - p2pkh: createMetricPattern20(this, 'anyaddressindex'), - p2sh: createMetricPattern21(this, 'anyaddressindex'), - p2tr: createMetricPattern22(this, 'anyaddressindex'), - p2wpkh: createMetricPattern23(this, 'anyaddressindex'), - p2wsh: createMetricPattern24(this, 'anyaddressindex') + p2a: createMetricPattern16(this, "anyaddressindex"), + p2pk33: createMetricPattern18(this, "anyaddressindex"), + p2pk65: createMetricPattern19(this, "anyaddressindex"), + p2pkh: createMetricPattern20(this, "anyaddressindex"), + p2sh: createMetricPattern21(this, "anyaddressindex"), + p2tr: createMetricPattern22(this, "anyaddressindex"), + p2wpkh: createMetricPattern23(this, "anyaddressindex"), + p2wsh: createMetricPattern24(this, "anyaddressindex"), }, - chainState: createMetricPattern11(this, 'chain'), - emptyAddrCount: createAddrCountPattern(this, 'empty_addr_count'), - emptyaddressindex: createMetricPattern32(this, 'emptyaddressindex'), - loadedaddressindex: createMetricPattern31(this, 'loadedaddressindex'), + chainState: createMetricPattern11(this, "chain"), + emptyAddrCount: { + all: createMetricPattern1(this, "empty_addr_count"), + p2a: createMetricPattern1(this, "p2a_empty_addr_count"), + p2pk33: createMetricPattern1(this, "p2pk33_empty_addr_count"), + p2pk65: createMetricPattern1(this, "p2pk65_empty_addr_count"), + p2pkh: createMetricPattern1(this, "p2pkh_empty_addr_count"), + p2sh: createMetricPattern1(this, "p2sh_empty_addr_count"), + p2tr: createMetricPattern1(this, "p2tr_empty_addr_count"), + p2wpkh: createMetricPattern1(this, "p2wpkh_empty_addr_count"), + p2wsh: createMetricPattern1(this, "p2wsh_empty_addr_count"), + }, + emptyaddressindex: createMetricPattern32(this, "emptyaddressindex"), + loadedaddressindex: createMetricPattern31(this, "loadedaddressindex"), utxoCohorts: { ageRange: { - _10yTo12y: create_10yTo12yPattern(this, 'utxos_at_least_10y_up_to_12y_old'), - _12yTo15y: create_10yTo12yPattern(this, 'utxos_at_least_12y_up_to_15y_old'), - _1dTo1w: create_10yTo12yPattern(this, 'utxos_at_least_1d_up_to_1w_old'), - _1hTo1d: create_10yTo12yPattern(this, 'utxos_at_least_1h_up_to_1d_old'), - _1mTo2m: create_10yTo12yPattern(this, 'utxos_at_least_1m_up_to_2m_old'), - _1wTo1m: create_10yTo12yPattern(this, 'utxos_at_least_1w_up_to_1m_old'), - _1yTo2y: create_10yTo12yPattern(this, 'utxos_at_least_1y_up_to_2y_old'), - _2mTo3m: create_10yTo12yPattern(this, 'utxos_at_least_2m_up_to_3m_old'), - _2yTo3y: create_10yTo12yPattern(this, 'utxos_at_least_2y_up_to_3y_old'), - _3mTo4m: create_10yTo12yPattern(this, 'utxos_at_least_3m_up_to_4m_old'), - _3yTo4y: create_10yTo12yPattern(this, 'utxos_at_least_3y_up_to_4y_old'), - _4mTo5m: create_10yTo12yPattern(this, 'utxos_at_least_4m_up_to_5m_old'), - _4yTo5y: create_10yTo12yPattern(this, 'utxos_at_least_4y_up_to_5y_old'), - _5mTo6m: create_10yTo12yPattern(this, 'utxos_at_least_5m_up_to_6m_old'), - _5yTo6y: create_10yTo12yPattern(this, 'utxos_at_least_5y_up_to_6y_old'), - _6mTo1y: create_10yTo12yPattern(this, 'utxos_at_least_6m_up_to_1y_old'), - _6yTo7y: create_10yTo12yPattern(this, 'utxos_at_least_6y_up_to_7y_old'), - _7yTo8y: create_10yTo12yPattern(this, 'utxos_at_least_7y_up_to_8y_old'), - _8yTo10y: create_10yTo12yPattern(this, 'utxos_at_least_8y_up_to_10y_old'), - from15y: create_10yTo12yPattern(this, 'utxos_at_least_15y_old'), - upTo1h: create_10yTo12yPattern(this, 'utxos_up_to_1h_old') + _10yTo12y: create_10yTo12yPattern( + this, + "utxos_at_least_10y_up_to_12y_old", + ), + _12yTo15y: create_10yTo12yPattern( + this, + "utxos_at_least_12y_up_to_15y_old", + ), + _1dTo1w: create_10yTo12yPattern( + this, + "utxos_at_least_1d_up_to_1w_old", + ), + _1hTo1d: create_10yTo12yPattern( + this, + "utxos_at_least_1h_up_to_1d_old", + ), + _1mTo2m: create_10yTo12yPattern( + this, + "utxos_at_least_1m_up_to_2m_old", + ), + _1wTo1m: create_10yTo12yPattern( + this, + "utxos_at_least_1w_up_to_1m_old", + ), + _1yTo2y: create_10yTo12yPattern( + this, + "utxos_at_least_1y_up_to_2y_old", + ), + _2mTo3m: create_10yTo12yPattern( + this, + "utxos_at_least_2m_up_to_3m_old", + ), + _2yTo3y: create_10yTo12yPattern( + this, + "utxos_at_least_2y_up_to_3y_old", + ), + _3mTo4m: create_10yTo12yPattern( + this, + "utxos_at_least_3m_up_to_4m_old", + ), + _3yTo4y: create_10yTo12yPattern( + this, + "utxos_at_least_3y_up_to_4y_old", + ), + _4mTo5m: create_10yTo12yPattern( + this, + "utxos_at_least_4m_up_to_5m_old", + ), + _4yTo5y: create_10yTo12yPattern( + this, + "utxos_at_least_4y_up_to_5y_old", + ), + _5mTo6m: create_10yTo12yPattern( + this, + "utxos_at_least_5m_up_to_6m_old", + ), + _5yTo6y: create_10yTo12yPattern( + this, + "utxos_at_least_5y_up_to_6y_old", + ), + _6mTo1y: create_10yTo12yPattern( + this, + "utxos_at_least_6m_up_to_1y_old", + ), + _6yTo7y: create_10yTo12yPattern( + this, + "utxos_at_least_6y_up_to_7y_old", + ), + _7yTo8y: create_10yTo12yPattern( + this, + "utxos_at_least_7y_up_to_8y_old", + ), + _8yTo10y: create_10yTo12yPattern( + this, + "utxos_at_least_8y_up_to_10y_old", + ), + from15y: create_10yTo12yPattern(this, "utxos_at_least_15y_old"), + upTo1h: create_10yTo12yPattern(this, "utxos_up_to_1h_old"), }, all: { - activity: createActivityPattern2(this, ''), - costBasis: createCostBasisPattern2(this, ''), - outputs: createOutputsPattern(this, 'utxo_count'), - realized: createRealizedPattern3(this, ''), - relative: { - negUnrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1(this, 'neg_unrealized_loss_rel_to_own_total_unrealized_pnl'), - netUnrealizedPnlRelToOwnTotalUnrealizedPnl: createMetricPattern1(this, 'net_unrealized_pnl_rel_to_own_total_unrealized_pnl'), - supplyInLossRelToOwnSupply: createMetricPattern1(this, 'supply_in_loss_rel_to_own_supply'), - supplyInProfitRelToOwnSupply: createMetricPattern1(this, 'supply_in_profit_rel_to_own_supply'), - unrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1(this, 'unrealized_loss_rel_to_own_total_unrealized_pnl'), - unrealizedProfitRelToOwnTotalUnrealizedPnl: createMetricPattern1(this, 'unrealized_profit_rel_to_own_total_unrealized_pnl') + activity: createActivityPattern2(this, ""), + costBasis: { + max: createMetricPattern1(this, "max_cost_basis"), + min: createMetricPattern1(this, "min_cost_basis"), + percentiles: createPercentilesPattern(this, "cost_basis"), }, - supply: createSupplyPattern2(this, 'supply'), - unrealized: createUnrealizedPattern(this, '') + outputs: createOutputsPattern(this, "utxo_count"), + realized: createRealizedPattern3(this, ""), + relative: { + negUnrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1( + this, + "neg_unrealized_loss_rel_to_own_total_unrealized_pnl", + ), + netUnrealizedPnlRelToOwnTotalUnrealizedPnl: createMetricPattern1( + this, + "net_unrealized_pnl_rel_to_own_total_unrealized_pnl", + ), + supplyInLossRelToOwnSupply: createMetricPattern1( + this, + "supply_in_loss_rel_to_own_supply", + ), + supplyInProfitRelToOwnSupply: createMetricPattern1( + this, + "supply_in_profit_rel_to_own_supply", + ), + unrealizedLossRelToOwnTotalUnrealizedPnl: createMetricPattern1( + this, + "unrealized_loss_rel_to_own_total_unrealized_pnl", + ), + unrealizedProfitRelToOwnTotalUnrealizedPnl: createMetricPattern1( + this, + "unrealized_profit_rel_to_own_total_unrealized_pnl", + ), + }, + supply: createSupplyPattern2(this, "supply"), + unrealized: createUnrealizedPattern(this, ""), }, amountRange: { - _0sats: create_0satsPattern2(this, 'utxos_with_0sats'), - _100btcTo1kBtc: create_0satsPattern2(this, 'utxos_above_100btc_under_1k_btc'), - _100kBtcOrMore: create_0satsPattern2(this, 'utxos_above_100k_btc'), - _100kSatsTo1mSats: create_0satsPattern2(this, 'utxos_above_100k_sats_under_1m_sats'), - _100satsTo1kSats: create_0satsPattern2(this, 'utxos_above_100sats_under_1k_sats'), - _10btcTo100btc: create_0satsPattern2(this, 'utxos_above_10btc_under_100btc'), - _10kBtcTo100kBtc: create_0satsPattern2(this, 'utxos_above_10k_btc_under_100k_btc'), - _10kSatsTo100kSats: create_0satsPattern2(this, 'utxos_above_10k_sats_under_100k_sats'), - _10mSatsTo1btc: create_0satsPattern2(this, 'utxos_above_10m_sats_under_1btc'), - _10satsTo100sats: create_0satsPattern2(this, 'utxos_above_10sats_under_100sats'), - _1btcTo10btc: create_0satsPattern2(this, 'utxos_above_1btc_under_10btc'), - _1kBtcTo10kBtc: create_0satsPattern2(this, 'utxos_above_1k_btc_under_10k_btc'), - _1kSatsTo10kSats: create_0satsPattern2(this, 'utxos_above_1k_sats_under_10k_sats'), - _1mSatsTo10mSats: create_0satsPattern2(this, 'utxos_above_1m_sats_under_10m_sats'), - _1satTo10sats: create_0satsPattern2(this, 'utxos_above_1sat_under_10sats') + _0sats: create_0satsPattern2(this, "utxos_with_0sats"), + _100btcTo1kBtc: create_0satsPattern2( + this, + "utxos_above_100btc_under_1k_btc", + ), + _100kBtcOrMore: create_0satsPattern2(this, "utxos_above_100k_btc"), + _100kSatsTo1mSats: create_0satsPattern2( + this, + "utxos_above_100k_sats_under_1m_sats", + ), + _100satsTo1kSats: create_0satsPattern2( + this, + "utxos_above_100sats_under_1k_sats", + ), + _10btcTo100btc: create_0satsPattern2( + this, + "utxos_above_10btc_under_100btc", + ), + _10kBtcTo100kBtc: create_0satsPattern2( + this, + "utxos_above_10k_btc_under_100k_btc", + ), + _10kSatsTo100kSats: create_0satsPattern2( + this, + "utxos_above_10k_sats_under_100k_sats", + ), + _10mSatsTo1btc: create_0satsPattern2( + this, + "utxos_above_10m_sats_under_1btc", + ), + _10satsTo100sats: create_0satsPattern2( + this, + "utxos_above_10sats_under_100sats", + ), + _1btcTo10btc: create_0satsPattern2( + this, + "utxos_above_1btc_under_10btc", + ), + _1kBtcTo10kBtc: create_0satsPattern2( + this, + "utxos_above_1k_btc_under_10k_btc", + ), + _1kSatsTo10kSats: create_0satsPattern2( + this, + "utxos_above_1k_sats_under_10k_sats", + ), + _1mSatsTo10mSats: create_0satsPattern2( + this, + "utxos_above_1m_sats_under_10m_sats", + ), + _1satTo10sats: create_0satsPattern2( + this, + "utxos_above_1sat_under_10sats", + ), }, epoch: { - _0: create_0satsPattern2(this, 'epoch_0'), - _1: create_0satsPattern2(this, 'epoch_1'), - _2: create_0satsPattern2(this, 'epoch_2'), - _3: create_0satsPattern2(this, 'epoch_3'), - _4: create_0satsPattern2(this, 'epoch_4') + _0: create_0satsPattern2(this, "epoch_0"), + _1: create_0satsPattern2(this, "epoch_1"), + _2: create_0satsPattern2(this, "epoch_2"), + _3: create_0satsPattern2(this, "epoch_3"), + _4: create_0satsPattern2(this, "epoch_4"), }, geAmount: { - _100btc: create_100btcPattern(this, 'utxos_above_100btc'), - _100kSats: create_100btcPattern(this, 'utxos_above_100k_sats'), - _100sats: create_100btcPattern(this, 'utxos_above_100sats'), - _10btc: create_100btcPattern(this, 'utxos_above_10btc'), - _10kBtc: create_100btcPattern(this, 'utxos_above_10k_btc'), - _10kSats: create_100btcPattern(this, 'utxos_above_10k_sats'), - _10mSats: create_100btcPattern(this, 'utxos_above_10m_sats'), - _10sats: create_100btcPattern(this, 'utxos_above_10sats'), - _1btc: create_100btcPattern(this, 'utxos_above_1btc'), - _1kBtc: create_100btcPattern(this, 'utxos_above_1k_btc'), - _1kSats: create_100btcPattern(this, 'utxos_above_1k_sats'), - _1mSats: create_100btcPattern(this, 'utxos_above_1m_sats'), - _1sat: create_100btcPattern(this, 'utxos_above_1sat') + _100btc: create_100btcPattern(this, "utxos_above_100btc"), + _100kSats: create_100btcPattern(this, "utxos_above_100k_sats"), + _100sats: create_100btcPattern(this, "utxos_above_100sats"), + _10btc: create_100btcPattern(this, "utxos_above_10btc"), + _10kBtc: create_100btcPattern(this, "utxos_above_10k_btc"), + _10kSats: create_100btcPattern(this, "utxos_above_10k_sats"), + _10mSats: create_100btcPattern(this, "utxos_above_10m_sats"), + _10sats: create_100btcPattern(this, "utxos_above_10sats"), + _1btc: create_100btcPattern(this, "utxos_above_1btc"), + _1kBtc: create_100btcPattern(this, "utxos_above_1k_btc"), + _1kSats: create_100btcPattern(this, "utxos_above_1k_sats"), + _1mSats: create_100btcPattern(this, "utxos_above_1m_sats"), + _1sat: create_100btcPattern(this, "utxos_above_1sat"), }, ltAmount: { - _100btc: create_100btcPattern(this, 'utxos_under_100btc'), - _100kBtc: create_100btcPattern(this, 'utxos_under_100k_btc'), - _100kSats: create_100btcPattern(this, 'utxos_under_100k_sats'), - _100sats: create_100btcPattern(this, 'utxos_under_100sats'), - _10btc: create_100btcPattern(this, 'utxos_under_10btc'), - _10kBtc: create_100btcPattern(this, 'utxos_under_10k_btc'), - _10kSats: create_100btcPattern(this, 'utxos_under_10k_sats'), - _10mSats: create_100btcPattern(this, 'utxos_under_10m_sats'), - _10sats: create_100btcPattern(this, 'utxos_under_10sats'), - _1btc: create_100btcPattern(this, 'utxos_under_1btc'), - _1kBtc: create_100btcPattern(this, 'utxos_under_1k_btc'), - _1kSats: create_100btcPattern(this, 'utxos_under_1k_sats'), - _1mSats: create_100btcPattern(this, 'utxos_under_1m_sats') + _100btc: create_100btcPattern(this, "utxos_under_100btc"), + _100kBtc: create_100btcPattern(this, "utxos_under_100k_btc"), + _100kSats: create_100btcPattern(this, "utxos_under_100k_sats"), + _100sats: create_100btcPattern(this, "utxos_under_100sats"), + _10btc: create_100btcPattern(this, "utxos_under_10btc"), + _10kBtc: create_100btcPattern(this, "utxos_under_10k_btc"), + _10kSats: create_100btcPattern(this, "utxos_under_10k_sats"), + _10mSats: create_100btcPattern(this, "utxos_under_10m_sats"), + _10sats: create_100btcPattern(this, "utxos_under_10sats"), + _1btc: create_100btcPattern(this, "utxos_under_1btc"), + _1kBtc: create_100btcPattern(this, "utxos_under_1k_btc"), + _1kSats: create_100btcPattern(this, "utxos_under_1k_sats"), + _1mSats: create_100btcPattern(this, "utxos_under_1m_sats"), }, maxAge: { - _10y: create_10yPattern(this, 'utxos_up_to_10y_old'), - _12y: create_10yPattern(this, 'utxos_up_to_12y_old'), - _15y: create_10yPattern(this, 'utxos_up_to_15y_old'), - _1m: create_10yPattern(this, 'utxos_up_to_1m_old'), - _1w: create_10yPattern(this, 'utxos_up_to_1w_old'), - _1y: create_10yPattern(this, 'utxos_up_to_1y_old'), - _2m: create_10yPattern(this, 'utxos_up_to_2m_old'), - _2y: create_10yPattern(this, 'utxos_up_to_2y_old'), - _3m: create_10yPattern(this, 'utxos_up_to_3m_old'), - _3y: create_10yPattern(this, 'utxos_up_to_3y_old'), - _4m: create_10yPattern(this, 'utxos_up_to_4m_old'), - _4y: create_10yPattern(this, 'utxos_up_to_4y_old'), - _5m: create_10yPattern(this, 'utxos_up_to_5m_old'), - _5y: create_10yPattern(this, 'utxos_up_to_5y_old'), - _6m: create_10yPattern(this, 'utxos_up_to_6m_old'), - _6y: create_10yPattern(this, 'utxos_up_to_6y_old'), - _7y: create_10yPattern(this, 'utxos_up_to_7y_old'), - _8y: create_10yPattern(this, 'utxos_up_to_8y_old') + _10y: create_10yPattern(this, "utxos_up_to_10y_old"), + _12y: create_10yPattern(this, "utxos_up_to_12y_old"), + _15y: create_10yPattern(this, "utxos_up_to_15y_old"), + _1m: create_10yPattern(this, "utxos_up_to_1m_old"), + _1w: create_10yPattern(this, "utxos_up_to_1w_old"), + _1y: create_10yPattern(this, "utxos_up_to_1y_old"), + _2m: create_10yPattern(this, "utxos_up_to_2m_old"), + _2y: create_10yPattern(this, "utxos_up_to_2y_old"), + _3m: create_10yPattern(this, "utxos_up_to_3m_old"), + _3y: create_10yPattern(this, "utxos_up_to_3y_old"), + _4m: create_10yPattern(this, "utxos_up_to_4m_old"), + _4y: create_10yPattern(this, "utxos_up_to_4y_old"), + _5m: create_10yPattern(this, "utxos_up_to_5m_old"), + _5y: create_10yPattern(this, "utxos_up_to_5y_old"), + _6m: create_10yPattern(this, "utxos_up_to_6m_old"), + _6y: create_10yPattern(this, "utxos_up_to_6y_old"), + _7y: create_10yPattern(this, "utxos_up_to_7y_old"), + _8y: create_10yPattern(this, "utxos_up_to_8y_old"), }, minAge: { - _10y: create_100btcPattern(this, 'utxos_at_least_10y_old'), - _12y: create_100btcPattern(this, 'utxos_at_least_12y_old'), - _1d: create_100btcPattern(this, 'utxos_at_least_1d_old'), - _1m: create_100btcPattern(this, 'utxos_at_least_1m_old'), - _1w: create_100btcPattern(this, 'utxos_at_least_1w_old'), - _1y: create_100btcPattern(this, 'utxos_at_least_1y_old'), - _2m: create_100btcPattern(this, 'utxos_at_least_2m_old'), - _2y: create_100btcPattern(this, 'utxos_at_least_2y_old'), - _3m: create_100btcPattern(this, 'utxos_at_least_3m_old'), - _3y: create_100btcPattern(this, 'utxos_at_least_3y_old'), - _4m: create_100btcPattern(this, 'utxos_at_least_4m_old'), - _4y: create_100btcPattern(this, 'utxos_at_least_4y_old'), - _5m: create_100btcPattern(this, 'utxos_at_least_5m_old'), - _5y: create_100btcPattern(this, 'utxos_at_least_5y_old'), - _6m: create_100btcPattern(this, 'utxos_at_least_6m_old'), - _6y: create_100btcPattern(this, 'utxos_at_least_6y_old'), - _7y: create_100btcPattern(this, 'utxos_at_least_7y_old'), - _8y: create_100btcPattern(this, 'utxos_at_least_8y_old') + _10y: create_100btcPattern(this, "utxos_at_least_10y_old"), + _12y: create_100btcPattern(this, "utxos_at_least_12y_old"), + _1d: create_100btcPattern(this, "utxos_at_least_1d_old"), + _1m: create_100btcPattern(this, "utxos_at_least_1m_old"), + _1w: create_100btcPattern(this, "utxos_at_least_1w_old"), + _1y: create_100btcPattern(this, "utxos_at_least_1y_old"), + _2m: create_100btcPattern(this, "utxos_at_least_2m_old"), + _2y: create_100btcPattern(this, "utxos_at_least_2y_old"), + _3m: create_100btcPattern(this, "utxos_at_least_3m_old"), + _3y: create_100btcPattern(this, "utxos_at_least_3y_old"), + _4m: create_100btcPattern(this, "utxos_at_least_4m_old"), + _4y: create_100btcPattern(this, "utxos_at_least_4y_old"), + _5m: create_100btcPattern(this, "utxos_at_least_5m_old"), + _5y: create_100btcPattern(this, "utxos_at_least_5y_old"), + _6m: create_100btcPattern(this, "utxos_at_least_6m_old"), + _6y: create_100btcPattern(this, "utxos_at_least_6y_old"), + _7y: create_100btcPattern(this, "utxos_at_least_7y_old"), + _8y: create_100btcPattern(this, "utxos_at_least_8y_old"), }, term: { long: { - activity: createActivityPattern2(this, 'lth'), - costBasis: createCostBasisPattern2(this, 'lth'), - outputs: createOutputsPattern(this, 'lth_utxo_count'), - realized: createRealizedPattern2(this, 'lth'), - relative: createRelativePattern5(this, 'lth'), - supply: createSupplyPattern2(this, 'lth_supply'), - unrealized: createUnrealizedPattern(this, 'lth') + activity: createActivityPattern2(this, "lth"), + costBasis: { + max: createMetricPattern1(this, "lth_max_cost_basis"), + min: createMetricPattern1(this, "lth_min_cost_basis"), + percentiles: createPercentilesPattern(this, "lth_cost_basis"), + }, + outputs: createOutputsPattern(this, "lth_utxo_count"), + realized: createRealizedPattern2(this, "lth"), + relative: createRelativePattern5(this, "lth"), + supply: createSupplyPattern2(this, "lth_supply"), + unrealized: createUnrealizedPattern(this, "lth"), }, short: { - activity: createActivityPattern2(this, 'sth'), - costBasis: createCostBasisPattern2(this, 'sth'), - outputs: createOutputsPattern(this, 'sth_utxo_count'), - realized: createRealizedPattern3(this, 'sth'), - relative: createRelativePattern5(this, 'sth'), - supply: createSupplyPattern2(this, 'sth_supply'), - unrealized: createUnrealizedPattern(this, 'sth') - } + activity: createActivityPattern2(this, "sth"), + costBasis: { + max: createMetricPattern1(this, "sth_max_cost_basis"), + min: createMetricPattern1(this, "sth_min_cost_basis"), + percentiles: createPercentilesPattern(this, "sth_cost_basis"), + }, + outputs: createOutputsPattern(this, "sth_utxo_count"), + realized: createRealizedPattern3(this, "sth"), + relative: createRelativePattern5(this, "sth"), + supply: createSupplyPattern2(this, "sth_supply"), + unrealized: createUnrealizedPattern(this, "sth"), + }, }, type: { - empty: create_0satsPattern2(this, 'empty_outputs'), - p2a: create_0satsPattern2(this, 'p2a'), - p2ms: create_0satsPattern2(this, 'p2ms'), - p2pk33: create_0satsPattern2(this, 'p2pk33'), - p2pk65: create_0satsPattern2(this, 'p2pk65'), - p2pkh: create_0satsPattern2(this, 'p2pkh'), - p2sh: create_0satsPattern2(this, 'p2sh'), - p2tr: create_0satsPattern2(this, 'p2tr'), - p2wpkh: create_0satsPattern2(this, 'p2wpkh'), - p2wsh: create_0satsPattern2(this, 'p2wsh'), - unknown: create_0satsPattern2(this, 'unknown_outputs') + empty: create_0satsPattern2(this, "empty_outputs"), + p2a: create_0satsPattern2(this, "p2a"), + p2ms: create_0satsPattern2(this, "p2ms"), + p2pk33: create_0satsPattern2(this, "p2pk33"), + p2pk65: create_0satsPattern2(this, "p2pk65"), + p2pkh: create_0satsPattern2(this, "p2pkh"), + p2sh: create_0satsPattern2(this, "p2sh"), + p2tr: create_0satsPattern2(this, "p2tr"), + p2wpkh: create_0satsPattern2(this, "p2wpkh"), + p2wsh: create_0satsPattern2(this, "p2wsh"), + unknown: create_0satsPattern2(this, "unknown_outputs"), }, year: { - _2009: create_0satsPattern2(this, 'year_2009'), - _2010: create_0satsPattern2(this, 'year_2010'), - _2011: create_0satsPattern2(this, 'year_2011'), - _2012: create_0satsPattern2(this, 'year_2012'), - _2013: create_0satsPattern2(this, 'year_2013'), - _2014: create_0satsPattern2(this, 'year_2014'), - _2015: create_0satsPattern2(this, 'year_2015'), - _2016: create_0satsPattern2(this, 'year_2016'), - _2017: create_0satsPattern2(this, 'year_2017'), - _2018: create_0satsPattern2(this, 'year_2018'), - _2019: create_0satsPattern2(this, 'year_2019'), - _2020: create_0satsPattern2(this, 'year_2020'), - _2021: create_0satsPattern2(this, 'year_2021'), - _2022: create_0satsPattern2(this, 'year_2022'), - _2023: create_0satsPattern2(this, 'year_2023'), - _2024: create_0satsPattern2(this, 'year_2024'), - _2025: create_0satsPattern2(this, 'year_2025'), - _2026: create_0satsPattern2(this, 'year_2026') - } - } + _2009: create_0satsPattern2(this, "year_2009"), + _2010: create_0satsPattern2(this, "year_2010"), + _2011: create_0satsPattern2(this, "year_2011"), + _2012: create_0satsPattern2(this, "year_2012"), + _2013: create_0satsPattern2(this, "year_2013"), + _2014: create_0satsPattern2(this, "year_2014"), + _2015: create_0satsPattern2(this, "year_2015"), + _2016: create_0satsPattern2(this, "year_2016"), + _2017: create_0satsPattern2(this, "year_2017"), + _2018: create_0satsPattern2(this, "year_2018"), + _2019: create_0satsPattern2(this, "year_2019"), + _2020: create_0satsPattern2(this, "year_2020"), + _2021: create_0satsPattern2(this, "year_2021"), + _2022: create_0satsPattern2(this, "year_2022"), + _2023: create_0satsPattern2(this, "year_2023"), + _2024: create_0satsPattern2(this, "year_2024"), + _2025: create_0satsPattern2(this, "year_2025"), + _2026: create_0satsPattern2(this, "year_2026"), + }, + }, }, indexes: { address: { - empty: createEmptyPattern(this, 'emptyoutputindex'), - opreturn: createEmptyPattern(this, 'opreturnindex'), - p2a: createEmptyPattern(this, 'p2aaddressindex'), - p2ms: createEmptyPattern(this, 'p2msoutputindex'), - p2pk33: createEmptyPattern(this, 'p2pk33addressindex'), - p2pk65: createEmptyPattern(this, 'p2pk65addressindex'), - p2pkh: createEmptyPattern(this, 'p2pkhaddressindex'), - p2sh: createEmptyPattern(this, 'p2shaddressindex'), - p2tr: createEmptyPattern(this, 'p2traddressindex'), - p2wpkh: createEmptyPattern(this, 'p2wpkhaddressindex'), - p2wsh: createEmptyPattern(this, 'p2wshaddressindex'), - unknown: createEmptyPattern(this, 'unknownoutputindex') + empty: { + identity: createMetricPattern9(this, "emptyoutputindex"), + }, + opreturn: { + identity: createMetricPattern14(this, "opreturnindex"), + }, + p2a: { + identity: createMetricPattern16(this, "p2aaddressindex"), + }, + p2ms: { + identity: createMetricPattern17(this, "p2msoutputindex"), + }, + p2pk33: { + identity: createMetricPattern18(this, "p2pk33addressindex"), + }, + p2pk65: { + identity: createMetricPattern19(this, "p2pk65addressindex"), + }, + p2pkh: { + identity: createMetricPattern20(this, "p2pkhaddressindex"), + }, + p2sh: { + identity: createMetricPattern21(this, "p2shaddressindex"), + }, + p2tr: { + identity: createMetricPattern22(this, "p2traddressindex"), + }, + p2wpkh: { + identity: createMetricPattern23(this, "p2wpkhaddressindex"), + }, + p2wsh: { + identity: createMetricPattern24(this, "p2wshaddressindex"), + }, + unknown: { + identity: createMetricPattern28(this, "unknownoutputindex"), + }, }, dateindex: { - date: createMetricPattern6(this, 'dateindex_date'), - firstHeight: createMetricPattern6(this, 'dateindex_first_height'), - heightCount: createMetricPattern6(this, 'dateindex_height_count'), - identity: createMetricPattern6(this, 'dateindex'), - monthindex: createMetricPattern6(this, 'dateindex_monthindex'), - weekindex: createMetricPattern6(this, 'dateindex_weekindex') + date: createMetricPattern6(this, "dateindex_date"), + firstHeight: createMetricPattern6(this, "dateindex_first_height"), + heightCount: createMetricPattern6(this, "dateindex_height_count"), + identity: createMetricPattern6(this, "dateindex"), + monthindex: createMetricPattern6(this, "dateindex_monthindex"), + weekindex: createMetricPattern6(this, "dateindex_weekindex"), }, decadeindex: { - firstYearindex: createMetricPattern7(this, 'decadeindex_first_yearindex'), - identity: createMetricPattern7(this, 'decadeindex'), - yearindexCount: createMetricPattern7(this, 'decadeindex_yearindex_count') + firstYearindex: createMetricPattern7( + this, + "decadeindex_first_yearindex", + ), + identity: createMetricPattern7(this, "decadeindex"), + yearindexCount: createMetricPattern7( + this, + "decadeindex_yearindex_count", + ), }, difficultyepoch: { - firstHeight: createMetricPattern8(this, 'difficultyepoch_first_height'), - heightCount: createMetricPattern8(this, 'difficultyepoch_height_count'), - identity: createMetricPattern8(this, 'difficultyepoch') + firstHeight: createMetricPattern8( + this, + "difficultyepoch_first_height", + ), + heightCount: createMetricPattern8( + this, + "difficultyepoch_height_count", + ), + identity: createMetricPattern8(this, "difficultyepoch"), }, halvingepoch: { - firstHeight: createMetricPattern10(this, 'halvingepoch_first_height'), - identity: createMetricPattern10(this, 'halvingepoch') + firstHeight: createMetricPattern10(this, "halvingepoch_first_height"), + identity: createMetricPattern10(this, "halvingepoch"), }, height: { - dateindex: createMetricPattern11(this, 'height_dateindex'), - difficultyepoch: createMetricPattern11(this, 'height_difficultyepoch'), - halvingepoch: createMetricPattern11(this, 'height_halvingepoch'), - identity: createMetricPattern11(this, 'height'), - txindexCount: createMetricPattern11(this, 'height_txindex_count') + dateindex: createMetricPattern11(this, "height_dateindex"), + difficultyepoch: createMetricPattern11( + this, + "height_difficultyepoch", + ), + halvingepoch: createMetricPattern11(this, "height_halvingepoch"), + identity: createMetricPattern11(this, "height"), + txindexCount: createMetricPattern11(this, "height_txindex_count"), }, monthindex: { - dateindexCount: createMetricPattern13(this, 'monthindex_dateindex_count'), - firstDateindex: createMetricPattern13(this, 'monthindex_first_dateindex'), - identity: createMetricPattern13(this, 'monthindex'), - quarterindex: createMetricPattern13(this, 'monthindex_quarterindex'), - semesterindex: createMetricPattern13(this, 'monthindex_semesterindex'), - yearindex: createMetricPattern13(this, 'monthindex_yearindex') + dateindexCount: createMetricPattern13( + this, + "monthindex_dateindex_count", + ), + firstDateindex: createMetricPattern13( + this, + "monthindex_first_dateindex", + ), + identity: createMetricPattern13(this, "monthindex"), + quarterindex: createMetricPattern13(this, "monthindex_quarterindex"), + semesterindex: createMetricPattern13( + this, + "monthindex_semesterindex", + ), + yearindex: createMetricPattern13(this, "monthindex_yearindex"), }, quarterindex: { - firstMonthindex: createMetricPattern25(this, 'quarterindex_first_monthindex'), - identity: createMetricPattern25(this, 'quarterindex'), - monthindexCount: createMetricPattern25(this, 'quarterindex_monthindex_count') + firstMonthindex: createMetricPattern25( + this, + "quarterindex_first_monthindex", + ), + identity: createMetricPattern25(this, "quarterindex"), + monthindexCount: createMetricPattern25( + this, + "quarterindex_monthindex_count", + ), }, semesterindex: { - firstMonthindex: createMetricPattern26(this, 'semesterindex_first_monthindex'), - identity: createMetricPattern26(this, 'semesterindex'), - monthindexCount: createMetricPattern26(this, 'semesterindex_monthindex_count') + firstMonthindex: createMetricPattern26( + this, + "semesterindex_first_monthindex", + ), + identity: createMetricPattern26(this, "semesterindex"), + monthindexCount: createMetricPattern26( + this, + "semesterindex_monthindex_count", + ), }, txindex: { - identity: createMetricPattern27(this, 'txindex'), - inputCount: createMetricPattern27(this, 'txindex_input_count'), - outputCount: createMetricPattern27(this, 'txindex_output_count') + identity: createMetricPattern27(this, "txindex"), + inputCount: createMetricPattern27(this, "txindex_input_count"), + outputCount: createMetricPattern27(this, "txindex_output_count"), + }, + txinindex: { + identity: createMetricPattern12(this, "txinindex"), + }, + txoutindex: { + identity: createMetricPattern15(this, "txoutindex"), }, - txinindex: createEmptyPattern(this, 'txinindex'), - txoutindex: createEmptyPattern(this, 'txoutindex'), weekindex: { - dateindexCount: createMetricPattern29(this, 'weekindex_dateindex_count'), - firstDateindex: createMetricPattern29(this, 'weekindex_first_dateindex'), - identity: createMetricPattern29(this, 'weekindex') + dateindexCount: createMetricPattern29( + this, + "weekindex_dateindex_count", + ), + firstDateindex: createMetricPattern29( + this, + "weekindex_first_dateindex", + ), + identity: createMetricPattern29(this, "weekindex"), }, yearindex: { - decadeindex: createMetricPattern30(this, 'yearindex_decadeindex'), - firstMonthindex: createMetricPattern30(this, 'yearindex_first_monthindex'), - identity: createMetricPattern30(this, 'yearindex'), - monthindexCount: createMetricPattern30(this, 'yearindex_monthindex_count') - } + decadeindex: createMetricPattern30(this, "yearindex_decadeindex"), + firstMonthindex: createMetricPattern30( + this, + "yearindex_first_monthindex", + ), + identity: createMetricPattern30(this, "yearindex"), + monthindexCount: createMetricPattern30( + this, + "yearindex_monthindex_count", + ), + }, }, inputs: { - count: createSizePattern(this, 'input_count'), - firstTxinindex: createMetricPattern11(this, 'first_txinindex'), - outpoint: createMetricPattern12(this, 'outpoint'), - outputtype: createMetricPattern12(this, 'outputtype'), + count: createCountPattern2(this, "input_count"), + firstTxinindex: createMetricPattern11(this, "first_txinindex"), + outpoint: createMetricPattern12(this, "outpoint"), + outputtype: createMetricPattern12(this, "outputtype"), spent: { - txoutindex: createMetricPattern12(this, 'txoutindex'), - value: createMetricPattern12(this, 'value') + txoutindex: createMetricPattern12(this, "txoutindex"), + value: createMetricPattern12(this, "value"), }, - txindex: createMetricPattern12(this, 'txindex'), - typeindex: createMetricPattern12(this, 'typeindex'), - witnessSize: createMetricPattern12(this, 'witness_size') + txindex: createMetricPattern12(this, "txindex"), + typeindex: createMetricPattern12(this, "typeindex"), + witnessSize: createMetricPattern12(this, "witness_size"), }, market: { ath: { - daysSincePriceAth: createMetricPattern4(this, 'days_since_price_ath'), - maxDaysBetweenPriceAths: createMetricPattern4(this, 'max_days_between_price_aths'), - maxYearsBetweenPriceAths: createMetricPattern4(this, 'max_years_between_price_aths'), - priceAth: createMetricPattern1(this, 'price_ath'), - priceDrawdown: createMetricPattern3(this, 'price_drawdown'), - yearsSincePriceAth: createMetricPattern4(this, 'years_since_price_ath') + daysSincePriceAth: createMetricPattern4(this, "days_since_price_ath"), + maxDaysBetweenPriceAths: createMetricPattern4( + this, + "max_days_between_price_aths", + ), + maxYearsBetweenPriceAths: createMetricPattern4( + this, + "max_years_between_price_aths", + ), + priceAth: createMetricPattern1(this, "price_ath"), + priceDrawdown: createMetricPattern3(this, "price_drawdown"), + yearsSincePriceAth: createMetricPattern4( + this, + "years_since_price_ath", + ), }, dca: { - classAveragePrice: createClassAveragePricePattern(this, 'dca_class'), - classReturns: createClassAveragePricePattern(this, 'dca_class'), - classStack: { - _2015: create_24hCoinbaseSumPattern(this, 'dca_class_2015_stack'), - _2016: create_24hCoinbaseSumPattern(this, 'dca_class_2016_stack'), - _2017: create_24hCoinbaseSumPattern(this, 'dca_class_2017_stack'), - _2018: create_24hCoinbaseSumPattern(this, 'dca_class_2018_stack'), - _2019: create_24hCoinbaseSumPattern(this, 'dca_class_2019_stack'), - _2020: create_24hCoinbaseSumPattern(this, 'dca_class_2020_stack'), - _2021: create_24hCoinbaseSumPattern(this, 'dca_class_2021_stack'), - _2022: create_24hCoinbaseSumPattern(this, 'dca_class_2022_stack'), - _2023: create_24hCoinbaseSumPattern(this, 'dca_class_2023_stack'), - _2024: create_24hCoinbaseSumPattern(this, 'dca_class_2024_stack'), - _2025: create_24hCoinbaseSumPattern(this, 'dca_class_2025_stack') + classAveragePrice: { + _2015: createMetricPattern4(this, "dca_class_2015_average_price"), + _2016: createMetricPattern4(this, "dca_class_2016_average_price"), + _2017: createMetricPattern4(this, "dca_class_2017_average_price"), + _2018: createMetricPattern4(this, "dca_class_2018_average_price"), + _2019: createMetricPattern4(this, "dca_class_2019_average_price"), + _2020: createMetricPattern4(this, "dca_class_2020_average_price"), + _2021: createMetricPattern4(this, "dca_class_2021_average_price"), + _2022: createMetricPattern4(this, "dca_class_2022_average_price"), + _2023: createMetricPattern4(this, "dca_class_2023_average_price"), + _2024: createMetricPattern4(this, "dca_class_2024_average_price"), + _2025: createMetricPattern4(this, "dca_class_2025_average_price"), }, - periodAveragePrice: createPeriodAveragePricePattern(this, 'dca_average_price'), - periodCagr: createPeriodCagrPattern(this, 'dca_cagr'), - periodLumpSumStack: createPeriodLumpSumStackPattern(this, ''), - periodReturns: createPeriodAveragePricePattern(this, 'dca_returns'), - periodStack: createPeriodLumpSumStackPattern(this, '') + classReturns: { + _2015: createMetricPattern4(this, "dca_class_2015_returns"), + _2016: createMetricPattern4(this, "dca_class_2016_returns"), + _2017: createMetricPattern4(this, "dca_class_2017_returns"), + _2018: createMetricPattern4(this, "dca_class_2018_returns"), + _2019: createMetricPattern4(this, "dca_class_2019_returns"), + _2020: createMetricPattern4(this, "dca_class_2020_returns"), + _2021: createMetricPattern4(this, "dca_class_2021_returns"), + _2022: createMetricPattern4(this, "dca_class_2022_returns"), + _2023: createMetricPattern4(this, "dca_class_2023_returns"), + _2024: createMetricPattern4(this, "dca_class_2024_returns"), + _2025: createMetricPattern4(this, "dca_class_2025_returns"), + }, + classStack: { + _2015: create_2015Pattern(this, "dca_class_2015_stack"), + _2016: create_2015Pattern(this, "dca_class_2016_stack"), + _2017: create_2015Pattern(this, "dca_class_2017_stack"), + _2018: create_2015Pattern(this, "dca_class_2018_stack"), + _2019: create_2015Pattern(this, "dca_class_2019_stack"), + _2020: create_2015Pattern(this, "dca_class_2020_stack"), + _2021: create_2015Pattern(this, "dca_class_2021_stack"), + _2022: create_2015Pattern(this, "dca_class_2022_stack"), + _2023: create_2015Pattern(this, "dca_class_2023_stack"), + _2024: create_2015Pattern(this, "dca_class_2024_stack"), + _2025: create_2015Pattern(this, "dca_class_2025_stack"), + }, + periodAveragePrice: createPeriodAveragePricePattern( + this, + "dca_average_price", + ), + periodCagr: createPeriodCagrPattern(this, "dca_cagr"), + periodLumpSumStack: createPeriodLumpSumStackPattern( + this, + "lump_sum_stack", + ), + periodReturns: createPeriodAveragePricePattern(this, "dca_returns"), + periodStack: createPeriodLumpSumStackPattern(this, "dca_stack"), }, indicators: { - gini: createMetricPattern6(this, 'gini'), - macdHistogram: createMetricPattern6(this, 'macd_histogram'), - macdLine: createMetricPattern6(this, 'macd_line'), - macdSignal: createMetricPattern6(this, 'macd_signal'), - nvt: createMetricPattern4(this, 'nvt'), - piCycle: createMetricPattern6(this, 'pi_cycle'), - puellMultiple: createMetricPattern4(this, 'puell_multiple'), - rsi14d: createMetricPattern6(this, 'rsi_14d'), - rsi14dMax: createMetricPattern6(this, 'rsi_14d_max'), - rsi14dMin: createMetricPattern6(this, 'rsi_14d_min'), - rsiAverageGain14d: createMetricPattern6(this, 'rsi_average_gain_14d'), - rsiAverageLoss14d: createMetricPattern6(this, 'rsi_average_loss_14d'), - rsiGains: createMetricPattern6(this, 'rsi_gains'), - rsiLosses: createMetricPattern6(this, 'rsi_losses'), - stochD: createMetricPattern6(this, 'stoch_d'), - stochK: createMetricPattern6(this, 'stoch_k'), - stochRsi: createMetricPattern6(this, 'stoch_rsi'), - stochRsiD: createMetricPattern6(this, 'stoch_rsi_d'), - stochRsiK: createMetricPattern6(this, 'stoch_rsi_k') + gini: createMetricPattern6(this, "gini"), + macdHistogram: createMetricPattern6(this, "macd_histogram"), + macdLine: createMetricPattern6(this, "macd_line"), + macdSignal: createMetricPattern6(this, "macd_signal"), + nvt: createMetricPattern4(this, "nvt"), + piCycle: createMetricPattern6(this, "pi_cycle"), + puellMultiple: createMetricPattern4(this, "puell_multiple"), + rsi14d: createMetricPattern6(this, "rsi_14d"), + rsi14dMax: createMetricPattern6(this, "rsi_14d_max"), + rsi14dMin: createMetricPattern6(this, "rsi_14d_min"), + rsiAverageGain14d: createMetricPattern6(this, "rsi_average_gain_14d"), + rsiAverageLoss14d: createMetricPattern6(this, "rsi_average_loss_14d"), + rsiGains: createMetricPattern6(this, "rsi_gains"), + rsiLosses: createMetricPattern6(this, "rsi_losses"), + stochD: createMetricPattern6(this, "stoch_d"), + stochK: createMetricPattern6(this, "stoch_k"), + stochRsi: createMetricPattern6(this, "stoch_rsi"), + stochRsiD: createMetricPattern6(this, "stoch_rsi_d"), + stochRsiK: createMetricPattern6(this, "stoch_rsi_k"), }, lookback: { - priceAgo: createPriceAgoPattern(this, 'price') + priceAgo: { + _10y: createMetricPattern4(this, "price_10y_ago"), + _1d: createMetricPattern4(this, "price_1d_ago"), + _1m: createMetricPattern4(this, "price_1m_ago"), + _1w: createMetricPattern4(this, "price_1w_ago"), + _1y: createMetricPattern4(this, "price_1y_ago"), + _2y: createMetricPattern4(this, "price_2y_ago"), + _3m: createMetricPattern4(this, "price_3m_ago"), + _3y: createMetricPattern4(this, "price_3y_ago"), + _4y: createMetricPattern4(this, "price_4y_ago"), + _5y: createMetricPattern4(this, "price_5y_ago"), + _6m: createMetricPattern4(this, "price_6m_ago"), + _6y: createMetricPattern4(this, "price_6y_ago"), + _8y: createMetricPattern4(this, "price_8y_ago"), + }, }, movingAverage: { - price111dSma: createPrice111dSmaPattern(this, 'price_111d_sma'), - price12dEma: createPrice111dSmaPattern(this, 'price_12d_ema'), - price13dEma: createPrice111dSmaPattern(this, 'price_13d_ema'), - price13dSma: createPrice111dSmaPattern(this, 'price_13d_sma'), - price144dEma: createPrice111dSmaPattern(this, 'price_144d_ema'), - price144dSma: createPrice111dSmaPattern(this, 'price_144d_sma'), - price1mEma: createPrice111dSmaPattern(this, 'price_1m_ema'), - price1mSma: createPrice111dSmaPattern(this, 'price_1m_sma'), - price1wEma: createPrice111dSmaPattern(this, 'price_1w_ema'), - price1wSma: createPrice111dSmaPattern(this, 'price_1w_sma'), - price1yEma: createPrice111dSmaPattern(this, 'price_1y_ema'), - price1ySma: createPrice111dSmaPattern(this, 'price_1y_sma'), - price200dEma: createPrice111dSmaPattern(this, 'price_200d_ema'), - price200dSma: createPrice111dSmaPattern(this, 'price_200d_sma'), - price200dSmaX08: createMetricPattern4(this, 'price_200d_sma_x0_8'), - price200dSmaX24: createMetricPattern4(this, 'price_200d_sma_x2_4'), - price200wEma: createPrice111dSmaPattern(this, 'price_200w_ema'), - price200wSma: createPrice111dSmaPattern(this, 'price_200w_sma'), - price21dEma: createPrice111dSmaPattern(this, 'price_21d_ema'), - price21dSma: createPrice111dSmaPattern(this, 'price_21d_sma'), - price26dEma: createPrice111dSmaPattern(this, 'price_26d_ema'), - price2yEma: createPrice111dSmaPattern(this, 'price_2y_ema'), - price2ySma: createPrice111dSmaPattern(this, 'price_2y_sma'), - price34dEma: createPrice111dSmaPattern(this, 'price_34d_ema'), - price34dSma: createPrice111dSmaPattern(this, 'price_34d_sma'), - price350dSma: createPrice111dSmaPattern(this, 'price_350d_sma'), - price350dSmaX2: createMetricPattern4(this, 'price_350d_sma_x2'), - price4yEma: createPrice111dSmaPattern(this, 'price_4y_ema'), - price4ySma: createPrice111dSmaPattern(this, 'price_4y_sma'), - price55dEma: createPrice111dSmaPattern(this, 'price_55d_ema'), - price55dSma: createPrice111dSmaPattern(this, 'price_55d_sma'), - price89dEma: createPrice111dSmaPattern(this, 'price_89d_ema'), - price89dSma: createPrice111dSmaPattern(this, 'price_89d_sma'), - price8dEma: createPrice111dSmaPattern(this, 'price_8d_ema'), - price8dSma: createPrice111dSmaPattern(this, 'price_8d_sma') + price111dSma: createPrice111dSmaPattern(this, "price_111d_sma"), + price12dEma: createPrice111dSmaPattern(this, "price_12d_ema"), + price13dEma: createPrice111dSmaPattern(this, "price_13d_ema"), + price13dSma: createPrice111dSmaPattern(this, "price_13d_sma"), + price144dEma: createPrice111dSmaPattern(this, "price_144d_ema"), + price144dSma: createPrice111dSmaPattern(this, "price_144d_sma"), + price1mEma: createPrice111dSmaPattern(this, "price_1m_ema"), + price1mSma: createPrice111dSmaPattern(this, "price_1m_sma"), + price1wEma: createPrice111dSmaPattern(this, "price_1w_ema"), + price1wSma: createPrice111dSmaPattern(this, "price_1w_sma"), + price1yEma: createPrice111dSmaPattern(this, "price_1y_ema"), + price1ySma: createPrice111dSmaPattern(this, "price_1y_sma"), + price200dEma: createPrice111dSmaPattern(this, "price_200d_ema"), + price200dSma: createPrice111dSmaPattern(this, "price_200d_sma"), + price200dSmaX08: createMetricPattern4(this, "price_200d_sma_x0_8"), + price200dSmaX24: createMetricPattern4(this, "price_200d_sma_x2_4"), + price200wEma: createPrice111dSmaPattern(this, "price_200w_ema"), + price200wSma: createPrice111dSmaPattern(this, "price_200w_sma"), + price21dEma: createPrice111dSmaPattern(this, "price_21d_ema"), + price21dSma: createPrice111dSmaPattern(this, "price_21d_sma"), + price26dEma: createPrice111dSmaPattern(this, "price_26d_ema"), + price2yEma: createPrice111dSmaPattern(this, "price_2y_ema"), + price2ySma: createPrice111dSmaPattern(this, "price_2y_sma"), + price34dEma: createPrice111dSmaPattern(this, "price_34d_ema"), + price34dSma: createPrice111dSmaPattern(this, "price_34d_sma"), + price350dSma: createPrice111dSmaPattern(this, "price_350d_sma"), + price350dSmaX2: createMetricPattern4(this, "price_350d_sma_x2"), + price4yEma: createPrice111dSmaPattern(this, "price_4y_ema"), + price4ySma: createPrice111dSmaPattern(this, "price_4y_sma"), + price55dEma: createPrice111dSmaPattern(this, "price_55d_ema"), + price55dSma: createPrice111dSmaPattern(this, "price_55d_sma"), + price89dEma: createPrice111dSmaPattern(this, "price_89d_ema"), + price89dSma: createPrice111dSmaPattern(this, "price_89d_sma"), + price8dEma: createPrice111dSmaPattern(this, "price_8d_ema"), + price8dSma: createPrice111dSmaPattern(this, "price_8d_sma"), }, range: { - price1mMax: createMetricPattern4(this, 'price_1m_max'), - price1mMin: createMetricPattern4(this, 'price_1m_min'), - price1wMax: createMetricPattern4(this, 'price_1w_max'), - price1wMin: createMetricPattern4(this, 'price_1w_min'), - price1yMax: createMetricPattern4(this, 'price_1y_max'), - price1yMin: createMetricPattern4(this, 'price_1y_min'), - price2wChoppinessIndex: createMetricPattern4(this, 'price_2w_choppiness_index'), - price2wMax: createMetricPattern4(this, 'price_2w_max'), - price2wMin: createMetricPattern4(this, 'price_2w_min'), - priceTrueRange: createMetricPattern6(this, 'price_true_range'), - priceTrueRange2wSum: createMetricPattern6(this, 'price_true_range_2w_sum') + price1mMax: createMetricPattern4(this, "price_1m_max"), + price1mMin: createMetricPattern4(this, "price_1m_min"), + price1wMax: createMetricPattern4(this, "price_1w_max"), + price1wMin: createMetricPattern4(this, "price_1w_min"), + price1yMax: createMetricPattern4(this, "price_1y_max"), + price1yMin: createMetricPattern4(this, "price_1y_min"), + price2wChoppinessIndex: createMetricPattern4( + this, + "price_2w_choppiness_index", + ), + price2wMax: createMetricPattern4(this, "price_2w_max"), + price2wMin: createMetricPattern4(this, "price_2w_min"), + priceTrueRange: createMetricPattern6(this, "price_true_range"), + priceTrueRange2wSum: createMetricPattern6( + this, + "price_true_range_2w_sum", + ), }, returns: { - _1dReturns1mSd: create_1dReturns1mSdPattern(this, '1d_returns_1m_sd'), - _1dReturns1wSd: create_1dReturns1mSdPattern(this, '1d_returns_1w_sd'), - _1dReturns1ySd: create_1dReturns1mSdPattern(this, '1d_returns_1y_sd'), - cagr: createPeriodCagrPattern(this, 'cagr'), - downside1mSd: create_1dReturns1mSdPattern(this, 'downside_1m_sd'), - downside1wSd: create_1dReturns1mSdPattern(this, 'downside_1w_sd'), - downside1ySd: create_1dReturns1mSdPattern(this, 'downside_1y_sd'), - downsideReturns: createMetricPattern6(this, 'downside_returns'), - priceReturns: createPriceAgoPattern(this, 'price_returns') + _1dReturns1mSd: create_1dReturns1mSdPattern(this, "1d_returns_1m_sd"), + _1dReturns1wSd: create_1dReturns1mSdPattern(this, "1d_returns_1w_sd"), + _1dReturns1ySd: create_1dReturns1mSdPattern(this, "1d_returns_1y_sd"), + cagr: createPeriodCagrPattern(this, "cagr"), + downside1mSd: create_1dReturns1mSdPattern(this, "downside_1m_sd"), + downside1wSd: create_1dReturns1mSdPattern(this, "downside_1w_sd"), + downside1ySd: create_1dReturns1mSdPattern(this, "downside_1y_sd"), + downsideReturns: createMetricPattern6(this, "downside_returns"), + priceReturns: { + _10y: createMetricPattern4(this, "10y_price_returns"), + _1d: createMetricPattern4(this, "1d_price_returns"), + _1m: createMetricPattern4(this, "1m_price_returns"), + _1w: createMetricPattern4(this, "1w_price_returns"), + _1y: createMetricPattern4(this, "1y_price_returns"), + _2y: createMetricPattern4(this, "2y_price_returns"), + _3m: createMetricPattern4(this, "3m_price_returns"), + _3y: createMetricPattern4(this, "3y_price_returns"), + _4y: createMetricPattern4(this, "4y_price_returns"), + _5y: createMetricPattern4(this, "5y_price_returns"), + _6m: createMetricPattern4(this, "6m_price_returns"), + _6y: createMetricPattern4(this, "6y_price_returns"), + _8y: createMetricPattern4(this, "8y_price_returns"), + }, }, volatility: { - price1mVolatility: createMetricPattern4(this, 'price_1m_volatility'), - price1wVolatility: createMetricPattern4(this, 'price_1w_volatility'), - price1yVolatility: createMetricPattern4(this, 'price_1y_volatility'), - sharpe1m: createMetricPattern6(this, 'sharpe_1m'), - sharpe1w: createMetricPattern6(this, 'sharpe_1w'), - sharpe1y: createMetricPattern6(this, 'sharpe_1y'), - sortino1m: createMetricPattern6(this, 'sortino_1m'), - sortino1w: createMetricPattern6(this, 'sortino_1w'), - sortino1y: createMetricPattern6(this, 'sortino_1y') - } + price1mVolatility: createMetricPattern4(this, "price_1m_volatility"), + price1wVolatility: createMetricPattern4(this, "price_1w_volatility"), + price1yVolatility: createMetricPattern4(this, "price_1y_volatility"), + sharpe1m: createMetricPattern6(this, "sharpe_1m"), + sharpe1w: createMetricPattern6(this, "sharpe_1w"), + sharpe1y: createMetricPattern6(this, "sharpe_1y"), + sortino1m: createMetricPattern6(this, "sortino_1m"), + sortino1w: createMetricPattern6(this, "sortino_1w"), + sortino1y: createMetricPattern6(this, "sortino_1y"), + }, }, outputs: { count: { - totalCount: createSizePattern(this, 'output_count'), - utxoCount: createFullnessPattern(this, 'exact_utxo_count') + totalCount: createCountPattern2(this, "output_count"), + utxoCount: createMetricPattern1(this, "exact_utxo_count"), }, - firstTxoutindex: createMetricPattern11(this, 'first_txoutindex'), - outputtype: createMetricPattern15(this, 'outputtype'), + firstTxoutindex: createMetricPattern11(this, "first_txoutindex"), + outputtype: createMetricPattern15(this, "outputtype"), spent: { - txinindex: createMetricPattern15(this, 'txinindex') + txinindex: createMetricPattern15(this, "txinindex"), }, - txindex: createMetricPattern15(this, 'txindex'), - typeindex: createMetricPattern15(this, 'typeindex'), - value: createMetricPattern15(this, 'value') + txindex: createMetricPattern15(this, "txindex"), + typeindex: createMetricPattern15(this, "typeindex"), + value: createMetricPattern15(this, "value"), }, pools: { - heightToPool: createMetricPattern11(this, 'pool'), + heightToPool: createMetricPattern11(this, "pool"), vecs: { - aaopool: createAaopoolPattern(this, 'aaopool'), - antpool: createAaopoolPattern(this, 'antpool'), - arkpool: createAaopoolPattern(this, 'arkpool'), - asicminer: createAaopoolPattern(this, 'asicminer'), - axbt: createAaopoolPattern(this, 'axbt'), - batpool: createAaopoolPattern(this, 'batpool'), - bcmonster: createAaopoolPattern(this, 'bcmonster'), - bcpoolio: createAaopoolPattern(this, 'bcpoolio'), - binancepool: createAaopoolPattern(this, 'binancepool'), - bitalo: createAaopoolPattern(this, 'bitalo'), - bitclub: createAaopoolPattern(this, 'bitclub'), - bitcoinaffiliatenetwork: createAaopoolPattern(this, 'bitcoinaffiliatenetwork'), - bitcoincom: createAaopoolPattern(this, 'bitcoincom'), - bitcoinindia: createAaopoolPattern(this, 'bitcoinindia'), - bitcoinrussia: createAaopoolPattern(this, 'bitcoinrussia'), - bitcoinukraine: createAaopoolPattern(this, 'bitcoinukraine'), - bitfarms: createAaopoolPattern(this, 'bitfarms'), - bitfufupool: createAaopoolPattern(this, 'bitfufupool'), - bitfury: createAaopoolPattern(this, 'bitfury'), - bitminter: createAaopoolPattern(this, 'bitminter'), - bitparking: createAaopoolPattern(this, 'bitparking'), - bitsolo: createAaopoolPattern(this, 'bitsolo'), - bixin: createAaopoolPattern(this, 'bixin'), - blockfills: createAaopoolPattern(this, 'blockfills'), - braiinspool: createAaopoolPattern(this, 'braiinspool'), - bravomining: createAaopoolPattern(this, 'bravomining'), - btcc: createAaopoolPattern(this, 'btcc'), - btccom: createAaopoolPattern(this, 'btccom'), - btcdig: createAaopoolPattern(this, 'btcdig'), - btcguild: createAaopoolPattern(this, 'btcguild'), - btclab: createAaopoolPattern(this, 'btclab'), - btcmp: createAaopoolPattern(this, 'btcmp'), - btcnuggets: createAaopoolPattern(this, 'btcnuggets'), - btcpoolparty: createAaopoolPattern(this, 'btcpoolparty'), - btcserv: createAaopoolPattern(this, 'btcserv'), - btctop: createAaopoolPattern(this, 'btctop'), - btpool: createAaopoolPattern(this, 'btpool'), - bwpool: createAaopoolPattern(this, 'bwpool'), - bytepool: createAaopoolPattern(this, 'bytepool'), - canoe: createAaopoolPattern(this, 'canoe'), - canoepool: createAaopoolPattern(this, 'canoepool'), - carbonnegative: createAaopoolPattern(this, 'carbonnegative'), - ckpool: createAaopoolPattern(this, 'ckpool'), - cloudhashing: createAaopoolPattern(this, 'cloudhashing'), - coinlab: createAaopoolPattern(this, 'coinlab'), - cointerra: createAaopoolPattern(this, 'cointerra'), - connectbtc: createAaopoolPattern(this, 'connectbtc'), - dcex: createAaopoolPattern(this, 'dcex'), - dcexploration: createAaopoolPattern(this, 'dcexploration'), - digitalbtc: createAaopoolPattern(this, 'digitalbtc'), - digitalxmintsy: createAaopoolPattern(this, 'digitalxmintsy'), - dpool: createAaopoolPattern(this, 'dpool'), - eclipsemc: createAaopoolPattern(this, 'eclipsemc'), - eightbaochi: createAaopoolPattern(this, 'eightbaochi'), - ekanembtc: createAaopoolPattern(this, 'ekanembtc'), - eligius: createAaopoolPattern(this, 'eligius'), - emcdpool: createAaopoolPattern(this, 'emcdpool'), - entrustcharitypool: createAaopoolPattern(this, 'entrustcharitypool'), - eobot: createAaopoolPattern(this, 'eobot'), - exxbw: createAaopoolPattern(this, 'exxbw'), - f2pool: createAaopoolPattern(this, 'f2pool'), - fiftyeightcoin: createAaopoolPattern(this, 'fiftyeightcoin'), - foundryusa: createAaopoolPattern(this, 'foundryusa'), - futurebitapollosolo: createAaopoolPattern(this, 'futurebitapollosolo'), - gbminers: createAaopoolPattern(this, 'gbminers'), - ghashio: createAaopoolPattern(this, 'ghashio'), - givemecoins: createAaopoolPattern(this, 'givemecoins'), - gogreenlight: createAaopoolPattern(this, 'gogreenlight'), - haominer: createAaopoolPattern(this, 'haominer'), - haozhuzhu: createAaopoolPattern(this, 'haozhuzhu'), - hashbx: createAaopoolPattern(this, 'hashbx'), - hashpool: createAaopoolPattern(this, 'hashpool'), - helix: createAaopoolPattern(this, 'helix'), - hhtt: createAaopoolPattern(this, 'hhtt'), - hotpool: createAaopoolPattern(this, 'hotpool'), - hummerpool: createAaopoolPattern(this, 'hummerpool'), - huobipool: createAaopoolPattern(this, 'huobipool'), - innopolistech: createAaopoolPattern(this, 'innopolistech'), - kanopool: createAaopoolPattern(this, 'kanopool'), - kncminer: createAaopoolPattern(this, 'kncminer'), - kucoinpool: createAaopoolPattern(this, 'kucoinpool'), - lubiancom: createAaopoolPattern(this, 'lubiancom'), - luckypool: createAaopoolPattern(this, 'luckypool'), - luxor: createAaopoolPattern(this, 'luxor'), - marapool: createAaopoolPattern(this, 'marapool'), - maxbtc: createAaopoolPattern(this, 'maxbtc'), - maxipool: createAaopoolPattern(this, 'maxipool'), - megabigpower: createAaopoolPattern(this, 'megabigpower'), - minerium: createAaopoolPattern(this, 'minerium'), - miningcity: createAaopoolPattern(this, 'miningcity'), - miningdutch: createAaopoolPattern(this, 'miningdutch'), - miningkings: createAaopoolPattern(this, 'miningkings'), - miningsquared: createAaopoolPattern(this, 'miningsquared'), - mmpool: createAaopoolPattern(this, 'mmpool'), - mtred: createAaopoolPattern(this, 'mtred'), - multicoinco: createAaopoolPattern(this, 'multicoinco'), - multipool: createAaopoolPattern(this, 'multipool'), - mybtccoinpool: createAaopoolPattern(this, 'mybtccoinpool'), - neopool: createAaopoolPattern(this, 'neopool'), - nexious: createAaopoolPattern(this, 'nexious'), - nicehash: createAaopoolPattern(this, 'nicehash'), - nmcbit: createAaopoolPattern(this, 'nmcbit'), - novablock: createAaopoolPattern(this, 'novablock'), - ocean: createAaopoolPattern(this, 'ocean'), - okexpool: createAaopoolPattern(this, 'okexpool'), - okkong: createAaopoolPattern(this, 'okkong'), - okminer: createAaopoolPattern(this, 'okminer'), - okpooltop: createAaopoolPattern(this, 'okpooltop'), - onehash: createAaopoolPattern(this, 'onehash'), - onem1x: createAaopoolPattern(this, 'onem1x'), - onethash: createAaopoolPattern(this, 'onethash'), - ozcoin: createAaopoolPattern(this, 'ozcoin'), - parasite: createAaopoolPattern(this, 'parasite'), - patels: createAaopoolPattern(this, 'patels'), - pegapool: createAaopoolPattern(this, 'pegapool'), - phashio: createAaopoolPattern(this, 'phashio'), - phoenix: createAaopoolPattern(this, 'phoenix'), - polmine: createAaopoolPattern(this, 'polmine'), - pool175btc: createAaopoolPattern(this, 'pool175btc'), - pool50btc: createAaopoolPattern(this, 'pool50btc'), - poolin: createAaopoolPattern(this, 'poolin'), - portlandhodl: createAaopoolPattern(this, 'portlandhodl'), - publicpool: createAaopoolPattern(this, 'publicpool'), - purebtccom: createAaopoolPattern(this, 'purebtccom'), - rawpool: createAaopoolPattern(this, 'rawpool'), - rigpool: createAaopoolPattern(this, 'rigpool'), - sbicrypto: createAaopoolPattern(this, 'sbicrypto'), - secpool: createAaopoolPattern(this, 'secpool'), - secretsuperstar: createAaopoolPattern(this, 'secretsuperstar'), - sevenpool: createAaopoolPattern(this, 'sevenpool'), - shawnp0wers: createAaopoolPattern(this, 'shawnp0wers'), - sigmapoolcom: createAaopoolPattern(this, 'sigmapoolcom'), - simplecoinus: createAaopoolPattern(this, 'simplecoinus'), - solock: createAaopoolPattern(this, 'solock'), - spiderpool: createAaopoolPattern(this, 'spiderpool'), - stminingcorp: createAaopoolPattern(this, 'stminingcorp'), - tangpool: createAaopoolPattern(this, 'tangpool'), - tatmaspool: createAaopoolPattern(this, 'tatmaspool'), - tbdice: createAaopoolPattern(this, 'tbdice'), - telco214: createAaopoolPattern(this, 'telco214'), - terrapool: createAaopoolPattern(this, 'terrapool'), - tiger: createAaopoolPattern(this, 'tiger'), - tigerpoolnet: createAaopoolPattern(this, 'tigerpoolnet'), - titan: createAaopoolPattern(this, 'titan'), - transactioncoinmining: createAaopoolPattern(this, 'transactioncoinmining'), - trickysbtcpool: createAaopoolPattern(this, 'trickysbtcpool'), - triplemining: createAaopoolPattern(this, 'triplemining'), - twentyoneinc: createAaopoolPattern(this, 'twentyoneinc'), - ultimuspool: createAaopoolPattern(this, 'ultimuspool'), - unknown: createAaopoolPattern(this, 'unknown'), - unomp: createAaopoolPattern(this, 'unomp'), - viabtc: createAaopoolPattern(this, 'viabtc'), - waterhole: createAaopoolPattern(this, 'waterhole'), - wayicn: createAaopoolPattern(this, 'wayicn'), - whitepool: createAaopoolPattern(this, 'whitepool'), - wk057: createAaopoolPattern(this, 'wk057'), - yourbtcnet: createAaopoolPattern(this, 'yourbtcnet'), - zulupool: createAaopoolPattern(this, 'zulupool') - } + aaopool: createAaopoolPattern(this, "aaopool"), + antpool: createAaopoolPattern(this, "antpool"), + arkpool: createAaopoolPattern(this, "arkpool"), + asicminer: createAaopoolPattern(this, "asicminer"), + axbt: createAaopoolPattern(this, "axbt"), + batpool: createAaopoolPattern(this, "batpool"), + bcmonster: createAaopoolPattern(this, "bcmonster"), + bcpoolio: createAaopoolPattern(this, "bcpoolio"), + binancepool: createAaopoolPattern(this, "binancepool"), + bitalo: createAaopoolPattern(this, "bitalo"), + bitclub: createAaopoolPattern(this, "bitclub"), + bitcoinaffiliatenetwork: createAaopoolPattern( + this, + "bitcoinaffiliatenetwork", + ), + bitcoincom: createAaopoolPattern(this, "bitcoincom"), + bitcoinindia: createAaopoolPattern(this, "bitcoinindia"), + bitcoinrussia: createAaopoolPattern(this, "bitcoinrussia"), + bitcoinukraine: createAaopoolPattern(this, "bitcoinukraine"), + bitfarms: createAaopoolPattern(this, "bitfarms"), + bitfufupool: createAaopoolPattern(this, "bitfufupool"), + bitfury: createAaopoolPattern(this, "bitfury"), + bitminter: createAaopoolPattern(this, "bitminter"), + bitparking: createAaopoolPattern(this, "bitparking"), + bitsolo: createAaopoolPattern(this, "bitsolo"), + bixin: createAaopoolPattern(this, "bixin"), + blockfills: createAaopoolPattern(this, "blockfills"), + braiinspool: createAaopoolPattern(this, "braiinspool"), + bravomining: createAaopoolPattern(this, "bravomining"), + btcc: createAaopoolPattern(this, "btcc"), + btccom: createAaopoolPattern(this, "btccom"), + btcdig: createAaopoolPattern(this, "btcdig"), + btcguild: createAaopoolPattern(this, "btcguild"), + btclab: createAaopoolPattern(this, "btclab"), + btcmp: createAaopoolPattern(this, "btcmp"), + btcnuggets: createAaopoolPattern(this, "btcnuggets"), + btcpoolparty: createAaopoolPattern(this, "btcpoolparty"), + btcserv: createAaopoolPattern(this, "btcserv"), + btctop: createAaopoolPattern(this, "btctop"), + btpool: createAaopoolPattern(this, "btpool"), + bwpool: createAaopoolPattern(this, "bwpool"), + bytepool: createAaopoolPattern(this, "bytepool"), + canoe: createAaopoolPattern(this, "canoe"), + canoepool: createAaopoolPattern(this, "canoepool"), + carbonnegative: createAaopoolPattern(this, "carbonnegative"), + ckpool: createAaopoolPattern(this, "ckpool"), + cloudhashing: createAaopoolPattern(this, "cloudhashing"), + coinlab: createAaopoolPattern(this, "coinlab"), + cointerra: createAaopoolPattern(this, "cointerra"), + connectbtc: createAaopoolPattern(this, "connectbtc"), + dcex: createAaopoolPattern(this, "dcex"), + dcexploration: createAaopoolPattern(this, "dcexploration"), + digitalbtc: createAaopoolPattern(this, "digitalbtc"), + digitalxmintsy: createAaopoolPattern(this, "digitalxmintsy"), + dpool: createAaopoolPattern(this, "dpool"), + eclipsemc: createAaopoolPattern(this, "eclipsemc"), + eightbaochi: createAaopoolPattern(this, "eightbaochi"), + ekanembtc: createAaopoolPattern(this, "ekanembtc"), + eligius: createAaopoolPattern(this, "eligius"), + emcdpool: createAaopoolPattern(this, "emcdpool"), + entrustcharitypool: createAaopoolPattern(this, "entrustcharitypool"), + eobot: createAaopoolPattern(this, "eobot"), + exxbw: createAaopoolPattern(this, "exxbw"), + f2pool: createAaopoolPattern(this, "f2pool"), + fiftyeightcoin: createAaopoolPattern(this, "fiftyeightcoin"), + foundryusa: createAaopoolPattern(this, "foundryusa"), + futurebitapollosolo: createAaopoolPattern( + this, + "futurebitapollosolo", + ), + gbminers: createAaopoolPattern(this, "gbminers"), + ghashio: createAaopoolPattern(this, "ghashio"), + givemecoins: createAaopoolPattern(this, "givemecoins"), + gogreenlight: createAaopoolPattern(this, "gogreenlight"), + haominer: createAaopoolPattern(this, "haominer"), + haozhuzhu: createAaopoolPattern(this, "haozhuzhu"), + hashbx: createAaopoolPattern(this, "hashbx"), + hashpool: createAaopoolPattern(this, "hashpool"), + helix: createAaopoolPattern(this, "helix"), + hhtt: createAaopoolPattern(this, "hhtt"), + hotpool: createAaopoolPattern(this, "hotpool"), + hummerpool: createAaopoolPattern(this, "hummerpool"), + huobipool: createAaopoolPattern(this, "huobipool"), + innopolistech: createAaopoolPattern(this, "innopolistech"), + kanopool: createAaopoolPattern(this, "kanopool"), + kncminer: createAaopoolPattern(this, "kncminer"), + kucoinpool: createAaopoolPattern(this, "kucoinpool"), + lubiancom: createAaopoolPattern(this, "lubiancom"), + luckypool: createAaopoolPattern(this, "luckypool"), + luxor: createAaopoolPattern(this, "luxor"), + marapool: createAaopoolPattern(this, "marapool"), + maxbtc: createAaopoolPattern(this, "maxbtc"), + maxipool: createAaopoolPattern(this, "maxipool"), + megabigpower: createAaopoolPattern(this, "megabigpower"), + minerium: createAaopoolPattern(this, "minerium"), + miningcity: createAaopoolPattern(this, "miningcity"), + miningdutch: createAaopoolPattern(this, "miningdutch"), + miningkings: createAaopoolPattern(this, "miningkings"), + miningsquared: createAaopoolPattern(this, "miningsquared"), + mmpool: createAaopoolPattern(this, "mmpool"), + mtred: createAaopoolPattern(this, "mtred"), + multicoinco: createAaopoolPattern(this, "multicoinco"), + multipool: createAaopoolPattern(this, "multipool"), + mybtccoinpool: createAaopoolPattern(this, "mybtccoinpool"), + neopool: createAaopoolPattern(this, "neopool"), + nexious: createAaopoolPattern(this, "nexious"), + nicehash: createAaopoolPattern(this, "nicehash"), + nmcbit: createAaopoolPattern(this, "nmcbit"), + novablock: createAaopoolPattern(this, "novablock"), + ocean: createAaopoolPattern(this, "ocean"), + okexpool: createAaopoolPattern(this, "okexpool"), + okkong: createAaopoolPattern(this, "okkong"), + okminer: createAaopoolPattern(this, "okminer"), + okpooltop: createAaopoolPattern(this, "okpooltop"), + onehash: createAaopoolPattern(this, "onehash"), + onem1x: createAaopoolPattern(this, "onem1x"), + onethash: createAaopoolPattern(this, "onethash"), + ozcoin: createAaopoolPattern(this, "ozcoin"), + parasite: createAaopoolPattern(this, "parasite"), + patels: createAaopoolPattern(this, "patels"), + pegapool: createAaopoolPattern(this, "pegapool"), + phashio: createAaopoolPattern(this, "phashio"), + phoenix: createAaopoolPattern(this, "phoenix"), + polmine: createAaopoolPattern(this, "polmine"), + pool175btc: createAaopoolPattern(this, "pool175btc"), + pool50btc: createAaopoolPattern(this, "pool50btc"), + poolin: createAaopoolPattern(this, "poolin"), + portlandhodl: createAaopoolPattern(this, "portlandhodl"), + publicpool: createAaopoolPattern(this, "publicpool"), + purebtccom: createAaopoolPattern(this, "purebtccom"), + rawpool: createAaopoolPattern(this, "rawpool"), + rigpool: createAaopoolPattern(this, "rigpool"), + sbicrypto: createAaopoolPattern(this, "sbicrypto"), + secpool: createAaopoolPattern(this, "secpool"), + secretsuperstar: createAaopoolPattern(this, "secretsuperstar"), + sevenpool: createAaopoolPattern(this, "sevenpool"), + shawnp0wers: createAaopoolPattern(this, "shawnp0wers"), + sigmapoolcom: createAaopoolPattern(this, "sigmapoolcom"), + simplecoinus: createAaopoolPattern(this, "simplecoinus"), + solock: createAaopoolPattern(this, "solock"), + spiderpool: createAaopoolPattern(this, "spiderpool"), + stminingcorp: createAaopoolPattern(this, "stminingcorp"), + tangpool: createAaopoolPattern(this, "tangpool"), + tatmaspool: createAaopoolPattern(this, "tatmaspool"), + tbdice: createAaopoolPattern(this, "tbdice"), + telco214: createAaopoolPattern(this, "telco214"), + terrapool: createAaopoolPattern(this, "terrapool"), + tiger: createAaopoolPattern(this, "tiger"), + tigerpoolnet: createAaopoolPattern(this, "tigerpoolnet"), + titan: createAaopoolPattern(this, "titan"), + transactioncoinmining: createAaopoolPattern( + this, + "transactioncoinmining", + ), + trickysbtcpool: createAaopoolPattern(this, "trickysbtcpool"), + triplemining: createAaopoolPattern(this, "triplemining"), + twentyoneinc: createAaopoolPattern(this, "twentyoneinc"), + ultimuspool: createAaopoolPattern(this, "ultimuspool"), + unknown: createAaopoolPattern(this, "unknown"), + unomp: createAaopoolPattern(this, "unomp"), + viabtc: createAaopoolPattern(this, "viabtc"), + waterhole: createAaopoolPattern(this, "waterhole"), + wayicn: createAaopoolPattern(this, "wayicn"), + whitepool: createAaopoolPattern(this, "whitepool"), + wk057: createAaopoolPattern(this, "wk057"), + yourbtcnet: createAaopoolPattern(this, "yourbtcnet"), + zulupool: createAaopoolPattern(this, "zulupool"), + }, }, positions: { - blockPosition: createMetricPattern11(this, 'position'), - txPosition: createMetricPattern27(this, 'position') + blockPosition: createMetricPattern11(this, "position"), + txPosition: createMetricPattern27(this, "position"), }, price: { - cents: createCentsPattern(this, 'cents'), - sats: createSatsPricePattern(this), - usd: createUsdPricePattern(this) + cents: { + ohlc: createMetricPattern5(this, "ohlc_cents"), + split: { + close: createMetricPattern5(this, "price_close_cents"), + high: createMetricPattern5(this, "price_high_cents"), + low: createMetricPattern5(this, "price_low_cents"), + open: createMetricPattern5(this, "price_open_cents"), + }, + }, + sats: { + ohlc: createMetricPattern1(this, "price_ohlc_sats"), + split: createSplitPattern2(this, "price_sats"), + }, + usd: { + ohlc: createMetricPattern1(this, "price_ohlc"), + split: createSplitPattern2(this, "price"), + }, }, scripts: { count: { - emptyoutput: createFullnessPattern(this, 'emptyoutput_count'), - opreturn: createFullnessPattern(this, 'opreturn_count'), - p2a: createFullnessPattern(this, 'p2a_count'), - p2ms: createFullnessPattern(this, 'p2ms_count'), - p2pk33: createFullnessPattern(this, 'p2pk33_count'), - p2pk65: createFullnessPattern(this, 'p2pk65_count'), - p2pkh: createFullnessPattern(this, 'p2pkh_count'), - p2sh: createFullnessPattern(this, 'p2sh_count'), - p2tr: createFullnessPattern(this, 'p2tr_count'), - p2wpkh: createFullnessPattern(this, 'p2wpkh_count'), - p2wsh: createFullnessPattern(this, 'p2wsh_count'), - segwit: createFullnessPattern(this, 'segwit_count'), - segwitAdoption: createSegwitAdoptionPattern(this, 'segwit_adoption'), - taprootAdoption: createSegwitAdoptionPattern(this, 'taproot_adoption'), - unknownoutput: createFullnessPattern(this, 'unknownoutput_count') + emptyoutput: createDollarsPattern(this, "emptyoutput_count"), + opreturn: createDollarsPattern(this, "opreturn_count"), + p2a: createDollarsPattern(this, "p2a_count"), + p2ms: createDollarsPattern(this, "p2ms_count"), + p2pk33: createDollarsPattern(this, "p2pk33_count"), + p2pk65: createDollarsPattern(this, "p2pk65_count"), + p2pkh: createDollarsPattern(this, "p2pkh_count"), + p2sh: createDollarsPattern(this, "p2sh_count"), + p2tr: createDollarsPattern(this, "p2tr_count"), + p2wpkh: createDollarsPattern(this, "p2wpkh_count"), + p2wsh: createDollarsPattern(this, "p2wsh_count"), + segwit: createDollarsPattern(this, "segwit_count"), + segwitAdoption: createSegwitAdoptionPattern(this, "segwit_adoption"), + taprootAdoption: createSegwitAdoptionPattern( + this, + "taproot_adoption", + ), + unknownoutput: createDollarsPattern(this, "unknownoutput_count"), }, - emptyToTxindex: createMetricPattern9(this, 'txindex'), - firstEmptyoutputindex: createMetricPattern11(this, 'first_emptyoutputindex'), - firstOpreturnindex: createMetricPattern11(this, 'first_opreturnindex'), - firstP2msoutputindex: createMetricPattern11(this, 'first_p2msoutputindex'), - firstUnknownoutputindex: createMetricPattern11(this, 'first_unknownoutputindex'), - opreturnToTxindex: createMetricPattern14(this, 'txindex'), - p2msToTxindex: createMetricPattern17(this, 'txindex'), - unknownToTxindex: createMetricPattern28(this, 'txindex'), + emptyToTxindex: createMetricPattern9(this, "txindex"), + firstEmptyoutputindex: createMetricPattern11( + this, + "first_emptyoutputindex", + ), + firstOpreturnindex: createMetricPattern11(this, "first_opreturnindex"), + firstP2msoutputindex: createMetricPattern11( + this, + "first_p2msoutputindex", + ), + firstUnknownoutputindex: createMetricPattern11( + this, + "first_unknownoutputindex", + ), + opreturnToTxindex: createMetricPattern14(this, "txindex"), + p2msToTxindex: createMetricPattern17(this, "txindex"), + unknownToTxindex: createMetricPattern28(this, "txindex"), value: { - opreturn: createCoinbasePattern(this, 'opreturn_value') - } + opreturn: createCoinbasePattern(this, "opreturn_value"), + }, }, supply: { burned: { - opreturn: createUnclaimedRewardsPattern(this, 'opreturn_supply'), - unspendable: createUnclaimedRewardsPattern(this, 'unspendable_supply') + opreturn: createUnclaimedRewardsPattern(this, "opreturn_supply"), + unspendable: createUnclaimedRewardsPattern( + this, + "unspendable_supply", + ), }, - circulating: create_24hCoinbaseSumPattern(this, 'circulating_supply'), - inflation: createMetricPattern4(this, 'inflation_rate'), - marketCap: createMetricPattern1(this, 'market_cap'), + circulating: { + bitcoin: createMetricPattern3(this, "circulating_supply_btc"), + dollars: createMetricPattern3(this, "circulating_supply_usd"), + sats: createMetricPattern3(this, "circulating_supply"), + }, + inflation: createMetricPattern4(this, "inflation_rate"), + marketCap: createMetricPattern1(this, "market_cap"), velocity: { - btc: createMetricPattern4(this, 'btc_velocity'), - usd: createMetricPattern4(this, 'usd_velocity') - } + btc: createMetricPattern4(this, "btc_velocity"), + usd: createMetricPattern4(this, "usd_velocity"), + }, }, transactions: { - baseSize: createMetricPattern27(this, 'base_size'), + baseSize: createMetricPattern27(this, "base_size"), count: { - isCoinbase: createMetricPattern27(this, 'is_coinbase'), - txCount: createFullnessPattern(this, 'tx_count') + isCoinbase: createMetricPattern27(this, "is_coinbase"), + txCount: createDollarsPattern(this, "tx_count"), }, fees: { fee: { - bitcoin: createSizePattern(this, 'fee_btc'), + bitcoin: createCountPattern2(this, "fee_btc"), dollars: { - average: createMetricPattern1(this, 'fee_usd_average'), - cumulative: createMetricPattern2(this, 'fee_usd_cumulative'), - heightCumulative: createMetricPattern11(this, 'fee_usd_cumulative'), - max: createMetricPattern1(this, 'fee_usd_max'), - median: createMetricPattern11(this, 'fee_usd_median'), - min: createMetricPattern1(this, 'fee_usd_min'), - pct10: createMetricPattern11(this, 'fee_usd_pct10'), - pct25: createMetricPattern11(this, 'fee_usd_pct25'), - pct75: createMetricPattern11(this, 'fee_usd_pct75'), - pct90: createMetricPattern11(this, 'fee_usd_pct90'), - sum: createMetricPattern1(this, 'fee_usd_sum') + average: createMetricPattern1(this, "fee_usd_average"), + cumulative: createMetricPattern2(this, "fee_usd_cumulative"), + heightCumulative: createMetricPattern11( + this, + "fee_usd_cumulative", + ), + max: createMetricPattern1(this, "fee_usd_max"), + median: createMetricPattern11(this, "fee_usd_median"), + min: createMetricPattern1(this, "fee_usd_min"), + pct10: createMetricPattern11(this, "fee_usd_pct10"), + pct25: createMetricPattern11(this, "fee_usd_pct25"), + pct75: createMetricPattern11(this, "fee_usd_pct75"), + pct90: createMetricPattern11(this, "fee_usd_pct90"), + sum: createMetricPattern1(this, "fee_usd_sum"), }, - sats: createSizePattern(this, 'fee'), - txindex: createMetricPattern27(this, 'fee') + sats: createCountPattern2(this, "fee"), + txindex: createMetricPattern27(this, "fee"), }, - feeRate: createFeeRatePattern(this, 'fee_rate'), - inputValue: createMetricPattern27(this, 'input_value'), - outputValue: createMetricPattern27(this, 'output_value') + feeRate: createFeeRatePattern(this, "fee_rate"), + inputValue: createMetricPattern27(this, "input_value"), + outputValue: createMetricPattern27(this, "output_value"), }, - firstTxindex: createMetricPattern11(this, 'first_txindex'), - firstTxinindex: createMetricPattern27(this, 'first_txinindex'), - firstTxoutindex: createMetricPattern27(this, 'first_txoutindex'), - height: createMetricPattern27(this, 'height'), - isExplicitlyRbf: createMetricPattern27(this, 'is_explicitly_rbf'), - rawlocktime: createMetricPattern27(this, 'rawlocktime'), + firstTxindex: createMetricPattern11(this, "first_txindex"), + firstTxinindex: createMetricPattern27(this, "first_txinindex"), + firstTxoutindex: createMetricPattern27(this, "first_txoutindex"), + height: createMetricPattern27(this, "height"), + isExplicitlyRbf: createMetricPattern27(this, "is_explicitly_rbf"), + rawlocktime: createMetricPattern27(this, "rawlocktime"), size: { - vsize: createFeeRatePattern(this, ''), - weight: createFeeRatePattern(this, '') + vsize: createFeeRatePattern(this, ""), + weight: createFeeRatePattern(this, ""), }, - totalSize: createMetricPattern27(this, 'total_size'), - txid: createMetricPattern27(this, 'txid'), - txversion: createMetricPattern27(this, 'txversion'), + totalSize: createMetricPattern27(this, "total_size"), + txid: createMetricPattern27(this, "txid"), + txversion: createMetricPattern27(this, "txversion"), versions: { - v1: createBlockCountPattern(this, 'tx_v1'), - v2: createBlockCountPattern(this, 'tx_v2'), - v3: createBlockCountPattern(this, 'tx_v3') + v1: createBlockCountPattern(this, "tx_v1"), + v2: createBlockCountPattern(this, "tx_v2"), + v3: createBlockCountPattern(this, "tx_v3"), }, volume: { - annualizedVolume: create_24hCoinbaseSumPattern(this, 'annualized_volume'), - inputsPerSec: createMetricPattern4(this, 'inputs_per_sec'), - outputsPerSec: createMetricPattern4(this, 'outputs_per_sec'), - sentSum: create_24hCoinbaseSumPattern(this, 'sent_sum'), - txPerSec: createMetricPattern4(this, 'tx_per_sec') - } - } + annualizedVolume: create_2015Pattern(this, "annualized_volume"), + inputsPerSec: createMetricPattern4(this, "inputs_per_sec"), + outputsPerSec: createMetricPattern4(this, "outputs_per_sec"), + sentSum: createActiveSupplyPattern(this, "sent_sum"), + txPerSec: createMetricPattern4(this, "tx_per_sec"), + }, + }, }; } /** * Address information - * @description Retrieve comprehensive information about a Bitcoin address including balance, transaction history, UTXOs, and estimated investment metrics. Supports all standard Bitcoin address types (P2PKH, P2SH, P2WPKH, P2WSH, P2TR, etc.). - * @param {Address} address + * + * Retrieve comprehensive information about a Bitcoin address including balance, transaction history, UTXOs, and estimated investment metrics. Supports all standard Bitcoin address types (P2PKH, P2SH, P2WPKH, P2WSH, P2TR, etc.). + * + * @param {Address} address * @returns {Promise} */ async getAddress(address) { @@ -6228,40 +7704,48 @@ class BrkClient extends BrkClientBase { /** * Address transaction IDs - * @description Get transaction IDs for an address, newest first. Use after_txid for pagination. - * @param {Address} address - * @param {string=} [after_txid] Txid to paginate from (return transactions before this one) - * @param {number=} [limit] Maximum number of results to return. Defaults to 25 if not specified. + * + * Get transaction IDs for an address, newest first. Use after_txid for pagination. + * + * @param {Address} address + * @param {string=} [after_txid] - Txid to paginate from (return transactions before this one) + * @param {number=} [limit] - Maximum number of results to return. Defaults to 25 if not specified. * @returns {Promise} */ async getAddressTxs(address, after_txid, limit) { const params = new URLSearchParams(); - if (after_txid !== undefined) params.set('after_txid', String(after_txid)); - if (limit !== undefined) params.set('limit', String(limit)); + if (after_txid !== undefined) params.set("after_txid", String(after_txid)); + if (limit !== undefined) params.set("limit", String(limit)); const query = params.toString(); - return this.get(`/api/address/${address}/txs${query ? '?' + query : ''}`); + return this.get(`/api/address/${address}/txs${query ? "?" + query : ""}`); } /** * Address confirmed transactions - * @description Get confirmed transaction IDs for an address, 25 per page. Use ?after_txid= for pagination. - * @param {Address} address - * @param {string=} [after_txid] Txid to paginate from (return transactions before this one) - * @param {number=} [limit] Maximum number of results to return. Defaults to 25 if not specified. + * + * Get confirmed transaction IDs for an address, 25 per page. Use ?after_txid= for pagination. + * + * @param {Address} address + * @param {string=} [after_txid] - Txid to paginate from (return transactions before this one) + * @param {number=} [limit] - Maximum number of results to return. Defaults to 25 if not specified. * @returns {Promise} */ async getAddressTxsChain(address, after_txid, limit) { const params = new URLSearchParams(); - if (after_txid !== undefined) params.set('after_txid', String(after_txid)); - if (limit !== undefined) params.set('limit', String(limit)); + if (after_txid !== undefined) params.set("after_txid", String(after_txid)); + if (limit !== undefined) params.set("limit", String(limit)); const query = params.toString(); - return this.get(`/api/address/${address}/txs/chain${query ? '?' + query : ''}`); + return this.get( + `/api/address/${address}/txs/chain${query ? "?" + query : ""}`, + ); } /** * Address mempool transactions - * @description Get unconfirmed transaction IDs for an address from the mempool (up to 50). - * @param {Address} address + * + * Get unconfirmed transaction IDs for an address from the mempool (up to 50). + * + * @param {Address} address * @returns {Promise} */ async getAddressTxsMempool(address) { @@ -6270,8 +7754,10 @@ class BrkClient extends BrkClientBase { /** * Address UTXOs - * @description Get unspent transaction outputs for an address. - * @param {Address} address + * + * Get unspent transaction outputs for an address. + * + * @param {Address} address * @returns {Promise} */ async getAddressUtxo(address) { @@ -6280,8 +7766,10 @@ class BrkClient extends BrkClientBase { /** * Block by height - * @description Retrieve block information by block height. Returns block metadata including hash, timestamp, difficulty, size, weight, and transaction count. - * @param {Height} height + * + * Retrieve block information by block height. Returns block metadata including hash, timestamp, difficulty, size, weight, and transaction count. + * + * @param {Height} height * @returns {Promise} */ async getBlockHeight(height) { @@ -6290,8 +7778,10 @@ class BrkClient extends BrkClientBase { /** * Block information - * @description Retrieve block information by block hash. Returns block metadata including height, timestamp, difficulty, size, weight, and transaction count. - * @param {BlockHash} hash + * + * Retrieve block information by block hash. Returns block metadata including height, timestamp, difficulty, size, weight, and transaction count. + * + * @param {BlockHash} hash * @returns {Promise} */ async getBlockByHash(hash) { @@ -6300,8 +7790,10 @@ class BrkClient extends BrkClientBase { /** * Raw block - * @description Returns the raw block data in binary format. - * @param {BlockHash} hash + * + * Returns the raw block data in binary format. + * + * @param {BlockHash} hash * @returns {Promise} */ async getBlockByHashRaw(hash) { @@ -6310,8 +7802,10 @@ class BrkClient extends BrkClientBase { /** * Block status - * @description Retrieve the status of a block. Returns whether the block is in the best chain and, if so, its height and the hash of the next block. - * @param {BlockHash} hash + * + * Retrieve the status of a block. Returns whether the block is in the best chain and, if so, its height and the hash of the next block. + * + * @param {BlockHash} hash * @returns {Promise} */ async getBlockByHashStatus(hash) { @@ -6320,9 +7814,11 @@ class BrkClient extends BrkClientBase { /** * Transaction ID at index - * @description Retrieve a single transaction ID at a specific index within a block. Returns plain text txid. - * @param {BlockHash} hash Bitcoin block hash - * @param {TxIndex} index Transaction index within the block (0-based) + * + * Retrieve a single transaction ID at a specific index within a block. Returns plain text txid. + * + * @param {BlockHash} hash - Bitcoin block hash + * @param {TxIndex} index - Transaction index within the block (0-based) * @returns {Promise} */ async getBlockByHashTxidByIndex(hash, index) { @@ -6331,8 +7827,10 @@ class BrkClient extends BrkClientBase { /** * Block transaction IDs - * @description Retrieve all transaction IDs in a block by block hash. - * @param {BlockHash} hash + * + * Retrieve all transaction IDs in a block by block hash. + * + * @param {BlockHash} hash * @returns {Promise} */ async getBlockByHashTxids(hash) { @@ -6341,9 +7839,11 @@ class BrkClient extends BrkClientBase { /** * Block transactions (paginated) - * @description Retrieve transactions in a block by block hash, starting from the specified index. Returns up to 25 transactions at a time. - * @param {BlockHash} hash Bitcoin block hash - * @param {TxIndex} start_index Starting transaction index within the block (0-based) + * + * Retrieve transactions in a block by block hash, starting from the specified index. Returns up to 25 transactions at a time. + * + * @param {BlockHash} hash - Bitcoin block hash + * @param {TxIndex} start_index - Starting transaction index within the block (0-based) * @returns {Promise} */ async getBlockByHashTxsByStartIndex(hash, start_index) { @@ -6352,7 +7852,8 @@ class BrkClient extends BrkClientBase { /** * Recent blocks - * @description Retrieve the last 10 blocks. Returns block metadata for each block. + * + * Retrieve the last 10 blocks. Returns block metadata for each block. * @returns {Promise} */ async getBlocks() { @@ -6361,8 +7862,10 @@ class BrkClient extends BrkClientBase { /** * Blocks from height - * @description Retrieve up to 10 blocks going backwards from the given height. For example, height=100 returns blocks 100, 99, 98, ..., 91. Height=0 returns only block 0. - * @param {Height} height + * + * Retrieve up to 10 blocks going backwards from the given height. For example, height=100 returns blocks 100, 99, 98, ..., 91. Height=0 returns only block 0. + * + * @param {Height} height * @returns {Promise} */ async getBlocksByHeight(height) { @@ -6371,7 +7874,8 @@ class BrkClient extends BrkClientBase { /** * Mempool statistics - * @description Get current mempool statistics including transaction count, total vsize, and total fees. + * + * Get current mempool statistics including transaction count, total vsize, and total fees. * @returns {Promise} */ async getMempoolInfo() { @@ -6380,7 +7884,8 @@ class BrkClient extends BrkClientBase { /** * Mempool transaction IDs - * @description Get all transaction IDs currently in the mempool. + * + * Get all transaction IDs currently in the mempool. * @returns {Promise} */ async getMempoolTxids() { @@ -6389,8 +7894,10 @@ class BrkClient extends BrkClientBase { /** * Get supported indexes for a metric - * @description Returns the list of indexes are supported by the specified metric. For example, `realized_price` might be available on dateindex, weekindex, and monthindex. - * @param {Metric} metric + * + * Returns the list of indexes are supported by the specified metric. For example, `realized_price` might be available on dateindex, weekindex, and monthindex. + * + * @param {Metric} metric * @returns {Promise} */ async getMetric(metric) { @@ -6399,51 +7906,58 @@ class BrkClient extends BrkClientBase { /** * Get metric data - * @description Fetch data for a specific metric at the given index. Use query parameters to filter by date range and format (json/csv). - * @param {Index} index Aggregation index - * @param {Metric} metric Metric name - * @param {*=} [count] Number of values to return (ignored if `to` is set) - * @param {Format=} [format] Format of the output - * @param {*=} [from] Inclusive starting index, if negative counts from end - * @param {*=} [to] Exclusive ending index, if negative counts from end + * + * Fetch data for a specific metric at the given index. Use query parameters to filter by date range and format (json/csv). + * + * @param {Index} index - Aggregation index + * @param {Metric} metric - Metric name + * @param {*=} [count] - Number of values to return (ignored if `to` is set) + * @param {Format=} [format] - Format of the output + * @param {*=} [from] - Inclusive starting index, if negative counts from end + * @param {*=} [to] - Exclusive ending index, if negative counts from end * @returns {Promise} */ async getMetricByIndex(index, metric, count, format, from, to) { const params = new URLSearchParams(); - if (count !== undefined) params.set('count', String(count)); - if (format !== undefined) params.set('format', String(format)); - if (from !== undefined) params.set('from', String(from)); - if (to !== undefined) params.set('to', String(to)); + if (count !== undefined) params.set("count", String(count)); + if (format !== undefined) params.set("format", String(format)); + if (from !== undefined) params.set("from", String(from)); + if (to !== undefined) params.set("to", String(to)); const query = params.toString(); - return this.get(`/api/metric/${metric}/${index}${query ? '?' + query : ''}`); + return this.get( + `/api/metric/${metric}/${index}${query ? "?" + query : ""}`, + ); } /** * Bulk metric data - * @description Fetch multiple metrics in a single request. Supports filtering by index and date range. Returns an array of MetricData objects. - * @param {*=} [count] Number of values to return (ignored if `to` is set) - * @param {Format=} [format] Format of the output - * @param {*=} [from] Inclusive starting index, if negative counts from end - * @param {Index} [index] Index to query - * @param {Metrics} [metrics] Requested metrics - * @param {*=} [to] Exclusive ending index, if negative counts from end + * + * Fetch multiple metrics in a single request. Supports filtering by index and date range. Returns an array of MetricData objects. + * + * @param {*=} [count] - Number of values to return (ignored if `to` is set) + * @param {Format=} [format] - Format of the output + * @param {*=} [from] - Inclusive starting index, if negative counts from end + * @param {Index} [index] - Index to query + * @param {Metrics} [metrics] - Requested metrics + * @param {*=} [to] - Exclusive ending index, if negative counts from end * @returns {Promise} */ async getMetricsBulk(count, format, from, index, metrics, to) { const params = new URLSearchParams(); - if (count !== undefined) params.set('count', String(count)); - if (format !== undefined) params.set('format', String(format)); - if (from !== undefined) params.set('from', String(from)); - params.set('index', String(index)); - params.set('metrics', String(metrics)); - if (to !== undefined) params.set('to', String(to)); + if (count !== undefined) params.set("count", String(count)); + if (format !== undefined) params.set("format", String(format)); + if (from !== undefined) params.set("from", String(from)); + params.set("index", String(index)); + params.set("metrics", String(metrics)); + if (to !== undefined) params.set("to", String(to)); const query = params.toString(); - return this.get(`/api/metrics/bulk${query ? '?' + query : ''}`); + return this.get(`/api/metrics/bulk${query ? "?" + query : ""}`); } /** * Metrics catalog - * @description Returns the complete hierarchical catalog of available metrics organized as a tree structure. Metrics are grouped by categories and subcategories. Best viewed in an interactive JSON viewer (e.g., Firefox's built-in JSON viewer) for easy navigation of the nested structure. + * + * Returns the complete hierarchical catalog of available metrics organized as a tree structure. Metrics are grouped by categories and subcategories. Best viewed in an interactive JSON viewer (e.g., Firefox's built-in JSON viewer) for easy navigation of the nested structure. * @returns {Promise} */ async getMetricsCatalog() { @@ -6452,7 +7966,8 @@ class BrkClient extends BrkClientBase { /** * Metric count - * @description Current metric count + * + * Current metric count * @returns {Promise} */ async getMetricsCount() { @@ -6461,7 +7976,8 @@ class BrkClient extends BrkClientBase { /** * List available indexes - * @description Returns all available indexes with their accepted query aliases. Use any alias when querying metrics. + * + * Returns all available indexes with their accepted query aliases. Use any alias when querying metrics. * @returns {Promise} */ async getMetricsIndexes() { @@ -6470,35 +7986,41 @@ class BrkClient extends BrkClientBase { /** * Metrics list - * @description Paginated list of available metrics - * @param {*=} [page] Pagination index + * + * Paginated list of available metrics + * + * @param {*=} [page] - Pagination index * @returns {Promise} */ async getMetricsList(page) { const params = new URLSearchParams(); - if (page !== undefined) params.set('page', String(page)); + if (page !== undefined) params.set("page", String(page)); const query = params.toString(); - return this.get(`/api/metrics/list${query ? '?' + query : ''}`); + return this.get(`/api/metrics/list${query ? "?" + query : ""}`); } /** * Search metrics - * @description Fuzzy search for metrics by name. Supports partial matches and typos. - * @param {Metric} metric - * @param {Limit=} [limit] + * + * Fuzzy search for metrics by name. Supports partial matches and typos. + * + * @param {Metric} metric + * @param {Limit=} [limit] * @returns {Promise} */ async getMetricsSearchByMetric(metric, limit) { const params = new URLSearchParams(); - if (limit !== undefined) params.set('limit', String(limit)); + if (limit !== undefined) params.set("limit", String(limit)); const query = params.toString(); - return this.get(`/api/metrics/search/${metric}${query ? '?' + query : ''}`); + return this.get(`/api/metrics/search/${metric}${query ? "?" + query : ""}`); } /** * Transaction information - * @description Retrieve complete transaction data by transaction ID (txid). Returns the full transaction details including inputs, outputs, and metadata. The transaction data is read directly from the blockchain data files. - * @param {Txid} txid + * + * Retrieve complete transaction data by transaction ID (txid). Returns the full transaction details including inputs, outputs, and metadata. The transaction data is read directly from the blockchain data files. + * + * @param {Txid} txid * @returns {Promise} */ async getTxByTxid(txid) { @@ -6507,8 +8029,10 @@ class BrkClient extends BrkClientBase { /** * Transaction hex - * @description Retrieve the raw transaction as a hex-encoded string. Returns the serialized transaction in hexadecimal format. - * @param {Txid} txid + * + * Retrieve the raw transaction as a hex-encoded string. Returns the serialized transaction in hexadecimal format. + * + * @param {Txid} txid * @returns {Promise} */ async getTxByTxidHex(txid) { @@ -6517,9 +8041,11 @@ class BrkClient extends BrkClientBase { /** * Output spend status - * @description Get the spending status of a transaction output. Returns whether the output has been spent and, if so, the spending transaction details. - * @param {Txid} txid Transaction ID - * @param {Vout} vout Output index + * + * Get the spending status of a transaction output. Returns whether the output has been spent and, if so, the spending transaction details. + * + * @param {Txid} txid - Transaction ID + * @param {Vout} vout - Output index * @returns {Promise} */ async getTxByTxidOutspendByVout(txid, vout) { @@ -6528,8 +8054,10 @@ class BrkClient extends BrkClientBase { /** * All output spend statuses - * @description Get the spending status of all outputs in a transaction. Returns an array with the spend status for each output. - * @param {Txid} txid + * + * Get the spending status of all outputs in a transaction. Returns an array with the spend status for each output. + * + * @param {Txid} txid * @returns {Promise} */ async getTxByTxidOutspends(txid) { @@ -6538,8 +8066,10 @@ class BrkClient extends BrkClientBase { /** * Transaction status - * @description Retrieve the confirmation status of a transaction. Returns whether the transaction is confirmed and, if so, the block height, hash, and timestamp. - * @param {Txid} txid + * + * Retrieve the confirmation status of a transaction. Returns whether the transaction is confirmed and, if so, the block height, hash, and timestamp. + * + * @param {Txid} txid * @returns {Promise} */ async getTxByTxidStatus(txid) { @@ -6548,7 +8078,8 @@ class BrkClient extends BrkClientBase { /** * Difficulty adjustment - * @description Get current difficulty adjustment information including progress through the current epoch, estimated retarget date, and difficulty change prediction. + * + * Get current difficulty adjustment information including progress through the current epoch, estimated retarget date, and difficulty change prediction. * @returns {Promise} */ async getV1DifficultyAdjustment() { @@ -6557,7 +8088,8 @@ class BrkClient extends BrkClientBase { /** * Projected mempool blocks - * @description Get projected blocks from the mempool for fee estimation. Each block contains statistics about transactions that would be included if a block were mined now. + * + * Get projected blocks from the mempool for fee estimation. Each block contains statistics about transactions that would be included if a block were mined now. * @returns {Promise} */ async getV1FeesMempoolBlocks() { @@ -6566,7 +8098,8 @@ class BrkClient extends BrkClientBase { /** * Recommended fees - * @description Get recommended fee rates for different confirmation targets based on current mempool state. + * + * Get recommended fee rates for different confirmation targets based on current mempool state. * @returns {Promise} */ async getV1FeesRecommended() { @@ -6575,8 +8108,10 @@ class BrkClient extends BrkClientBase { /** * Block fees - * @description Get average block fees for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - * @param {TimePeriod} time_period + * + * Get average block fees for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + * + * @param {TimePeriod} time_period * @returns {Promise} */ async getV1MiningBlocksFeesByTimePeriod(time_period) { @@ -6585,8 +8120,10 @@ class BrkClient extends BrkClientBase { /** * Block rewards - * @description Get average block rewards (coinbase = subsidy + fees) for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - * @param {TimePeriod} time_period + * + * Get average block rewards (coinbase = subsidy + fees) for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + * + * @param {TimePeriod} time_period * @returns {Promise} */ async getV1MiningBlocksRewardsByTimePeriod(time_period) { @@ -6595,8 +8132,10 @@ class BrkClient extends BrkClientBase { /** * Block sizes and weights - * @description Get average block sizes and weights for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - * @param {TimePeriod} time_period + * + * Get average block sizes and weights for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + * + * @param {TimePeriod} time_period * @returns {Promise} */ async getV1MiningBlocksSizesWeightsByTimePeriod(time_period) { @@ -6605,8 +8144,10 @@ class BrkClient extends BrkClientBase { /** * Block by timestamp - * @description Find the block closest to a given UNIX timestamp. - * @param {Timestamp} timestamp + * + * Find the block closest to a given UNIX timestamp. + * + * @param {Timestamp} timestamp * @returns {Promise} */ async getV1MiningBlocksTimestamp(timestamp) { @@ -6615,7 +8156,8 @@ class BrkClient extends BrkClientBase { /** * Difficulty adjustments (all time) - * @description Get historical difficulty adjustments. Returns array of [timestamp, height, difficulty, change_percent]. + * + * Get historical difficulty adjustments. Returns array of [timestamp, height, difficulty, change_percent]. * @returns {Promise} */ async getV1MiningDifficultyAdjustments() { @@ -6624,8 +8166,10 @@ class BrkClient extends BrkClientBase { /** * Difficulty adjustments - * @description Get historical difficulty adjustments for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y. Returns array of [timestamp, height, difficulty, change_percent]. - * @param {TimePeriod} time_period + * + * Get historical difficulty adjustments for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y. Returns array of [timestamp, height, difficulty, change_percent]. + * + * @param {TimePeriod} time_period * @returns {Promise} */ async getV1MiningDifficultyAdjustmentsByTimePeriod(time_period) { @@ -6634,7 +8178,8 @@ class BrkClient extends BrkClientBase { /** * Network hashrate (all time) - * @description Get network hashrate and difficulty data for all time. + * + * Get network hashrate and difficulty data for all time. * @returns {Promise} */ async getV1MiningHashrate() { @@ -6643,8 +8188,10 @@ class BrkClient extends BrkClientBase { /** * Network hashrate - * @description Get network hashrate and difficulty data for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - * @param {TimePeriod} time_period + * + * Get network hashrate and difficulty data for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + * + * @param {TimePeriod} time_period * @returns {Promise} */ async getV1MiningHashrateByTimePeriod(time_period) { @@ -6653,8 +8200,10 @@ class BrkClient extends BrkClientBase { /** * Mining pool details - * @description Get detailed information about a specific mining pool including block counts and shares for different time periods. - * @param {PoolSlug} slug + * + * Get detailed information about a specific mining pool including block counts and shares for different time periods. + * + * @param {PoolSlug} slug * @returns {Promise} */ async getV1MiningPoolBySlug(slug) { @@ -6663,7 +8212,8 @@ class BrkClient extends BrkClientBase { /** * List all mining pools - * @description Get list of all known mining pools with their identifiers. + * + * Get list of all known mining pools with their identifiers. * @returns {Promise} */ async getV1MiningPools() { @@ -6672,8 +8222,10 @@ class BrkClient extends BrkClientBase { /** * Mining pool statistics - * @description Get mining pool statistics for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y - * @param {TimePeriod} time_period + * + * Get mining pool statistics for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + * + * @param {TimePeriod} time_period * @returns {Promise} */ async getV1MiningPoolsByTimePeriod(time_period) { @@ -6682,8 +8234,10 @@ class BrkClient extends BrkClientBase { /** * Mining reward statistics - * @description Get mining reward statistics for the last N blocks including total rewards, fees, and transaction count. - * @param {number} block_count Number of recent blocks to include + * + * Get mining reward statistics for the last N blocks including total rewards, fees, and transaction count. + * + * @param {number} block_count - Number of recent blocks to include * @returns {Promise} */ async getV1MiningRewardStatsByBlockCount(block_count) { @@ -6692,8 +8246,10 @@ class BrkClient extends BrkClientBase { /** * Validate address - * @description Validate a Bitcoin address and get information about its type and scriptPubKey. - * @param {string} address Bitcoin address to validate (can be any string) + * + * Validate a Bitcoin address and get information about its type and scriptPubKey. + * + * @param {string} address - Bitcoin address to validate (can be any string) * @returns {Promise} */ async getV1ValidateAddress(address) { @@ -6702,7 +8258,8 @@ class BrkClient extends BrkClientBase { /** * Health check - * @description Returns the health status of the API server + * + * Returns the health status of the API server * @returns {Promise} */ async getHealth() { @@ -6711,13 +8268,13 @@ class BrkClient extends BrkClientBase { /** * API version - * @description Returns the current version of the API server + * + * Returns the current version of the API server * @returns {Promise} */ async getVersion() { return this.get(`/version`); } - } export { BrkClient, BrkError }; diff --git a/modules/brk-client/package.json b/modules/brk-client/package.json index f93ced113..c32bf48fe 100644 --- a/modules/brk-client/package.json +++ b/modules/brk-client/package.json @@ -22,7 +22,7 @@ ], "license": "MIT", "main": "index.js", - "name": "@bitcoinresearchkit/client", + "name": "brk-client", "repository": { "directory": "modules/brk-client", "type": "git", diff --git a/modules/brk-client/scripts/docs.sh b/modules/brk-client/scripts/docs.sh new file mode 100755 index 000000000..54e4bd864 --- /dev/null +++ b/modules/brk-client/scripts/docs.sh @@ -0,0 +1 @@ +npx -p typedoc -p typedoc-plugin-markdown typedoc index.js --plugin typedoc-plugin-markdown --out docs --excludeNotDocumented diff --git a/modules/brk-client/tests/basic.js b/modules/brk-client/tests/basic.js new file mode 100644 index 000000000..970b4e963 --- /dev/null +++ b/modules/brk-client/tests/basic.js @@ -0,0 +1,5 @@ +import { BrkClient } from "../index.js"; + +let client = new BrkClient("http://localhost:3110"); + +let blocks = await client.getBlocks(); diff --git a/modules/brk-client/tests/tree.js b/modules/brk-client/tests/tree.js new file mode 100644 index 000000000..988d4c81c --- /dev/null +++ b/modules/brk-client/tests/tree.js @@ -0,0 +1,94 @@ +/** + * Comprehensive test that fetches all endpoints in the tree. + */ + +import { BrkClient } from "../index.js"; + +/** + * Recursively collect all metric patterns from the tree. + * @param {object} obj + * @param {string} path + * @returns {Array<{path: string, metric: object, indexes: string[]}>} + */ +function getAllMetrics(obj, path = "") { + const metrics = []; + + for (const key of Object.keys(obj)) { + if (key.startsWith("_")) continue; + + const attr = obj[key]; + if (!attr || typeof attr !== "object") continue; + + const currentPath = path ? `${path}.${key}` : key; + + // Check if this is a metric pattern (has 'by' property with index methods) + if (attr.by && typeof attr.by === "object") { + const indexes = Object.keys(attr.by).filter( + (k) => !k.startsWith("_") && typeof attr.by[k] === "function", + ); + if (indexes.length > 0) { + metrics.push({ path: currentPath, metric: attr, indexes }); + } + } + + // Recurse into nested tree nodes + if (typeof attr === "object" && !Array.isArray(attr)) { + metrics.push(...getAllMetrics(attr, currentPath)); + } + } + + return metrics; +} + +async function testAllEndpoints() { + const client = new BrkClient("http://localhost:3110"); + + const metrics = getAllMetrics(client.tree); + console.log(`\nFound ${metrics.length} metrics`); + + let success = 0; + let failed = 0; + const errors = []; + + for (const { path, metric, indexes } of metrics) { + for (const idxName of indexes) { + try { + const endpoint = metric.by[idxName](); + const res = await endpoint.range(-3); + const count = res.data.length; + if (count !== 3) { + failed++; + const errorMsg = `FAIL: ${path}.by.${idxName}() -> expected 3, got ${count}`; + errors.push(errorMsg); + console.log(errorMsg); + } else { + success++; + console.log(`OK: ${path}.by.${idxName}() -> ${count} items`); + } + } catch (e) { + failed++; + const errorMsg = `FAIL: ${path}.by.${idxName}() -> ${e.message}`; + errors.push(errorMsg); + console.log(errorMsg); + } + } + } + + console.log(`\n=== Results ===`); + console.log(`Success: ${success}`); + console.log(`Failed: ${failed}`); + + if (errors.length > 0) { + console.log(`\nErrors:`); + errors.slice(0, 10).forEach((err) => console.log(` ${err}`)); + if (errors.length > 10) { + console.log(` ... and ${errors.length - 10} more`); + } + } + + if (failed > 0) { + process.exit(1); + } +} + +testAllEndpoints(); diff --git a/packages/brk_client/.python-version b/packages/brk_client/.python-version index bd28b9c5c..e4fba2183 100644 --- a/packages/brk_client/.python-version +++ b/packages/brk_client/.python-version @@ -1 +1 @@ -3.9 +3.12 diff --git a/packages/brk_client/brk_client/__init__.py b/packages/brk_client/brk_client/__init__.py index e11e1355a..909565290 100644 --- a/packages/brk_client/brk_client/__init__.py +++ b/packages/brk_client/brk_client/__init__.py @@ -2,17 +2,48 @@ # Do not edit manually from __future__ import annotations -from typing import TypeVar, Generic, Any, Optional, List, Literal, TypedDict, Final, Union, Protocol + +from typing import ( + Any, + Generic, + List, + Literal, + Optional, + Protocol, + TypedDict, + TypeVar, + Union, +) + import httpx -T = TypeVar('T') +T = TypeVar("T") # Type definitions +# Bitcoin address string Address = str +# Satoshis Sats = int +# Index within its type (e.g., 0 for first P2WPKH address) TypeIndex = int + + class AddressChainStats(TypedDict): + """ + Address statistics on the blockchain (confirmed transactions only) + + Based on mempool.space's format with type_index extension. + + Attributes: + funded_txo_count: Total number of transaction outputs that funded this address + funded_txo_sum: Total amount in satoshis received by this address across all funded outputs + spent_txo_count: Total number of transaction outputs spent from this address + spent_txo_sum: Total amount in satoshis spent from this address + tx_count: Total number of confirmed transactions involving this address + type_index: Index of this address within its type on the blockchain + """ + funded_txo_count: int funded_txo_sum: Sats spent_txo_count: int @@ -20,27 +51,76 @@ class AddressChainStats(TypedDict): tx_count: int type_index: TypeIndex + class AddressMempoolStats(TypedDict): + """ + Address statistics in the mempool (unconfirmed transactions only) + + Based on mempool.space's format. + + Attributes: + funded_txo_count: Number of unconfirmed transaction outputs funding this address + funded_txo_sum: Total amount in satoshis being received in unconfirmed transactions + spent_txo_count: Number of unconfirmed transaction inputs spending from this address + spent_txo_sum: Total amount in satoshis being spent in unconfirmed transactions + tx_count: Number of unconfirmed transactions involving this address + """ + funded_txo_count: int funded_txo_sum: Sats spent_txo_count: int spent_txo_sum: Sats tx_count: int + class AddressParam(TypedDict): address: Address + class AddressStats(TypedDict): + """ + Address information compatible with mempool.space API format + + Attributes: + address: Bitcoin address string + chain_stats: Statistics for confirmed transactions on the blockchain + mempool_stats: Statistics for unconfirmed transactions in the mempool + """ + address: Address chain_stats: AddressChainStats mempool_stats: Union[AddressMempoolStats, None] + +# Transaction ID (hash) Txid = str + + class AddressTxidsParam(TypedDict): + """ + Attributes: + after_txid: Txid to paginate from (return transactions before this one) + limit: Maximum number of results to return. Defaults to 25 if not specified. + """ + after_txid: Union[Txid, None] limit: int + class AddressValidation(TypedDict): + """ + Address validation result + + Attributes: + address: The validated address + isscript: Whether this is a script address (P2SH) + isvalid: Whether the address is valid + iswitness: Whether this is a witness address + scriptPubKey: The scriptPubKey in hex + witness_program: Witness program in hex + witness_version: Witness version (0 for P2WPKH/P2WSH, 1 for P2TR) + """ + address: Optional[str] isscript: Optional[bool] isvalid: bool @@ -49,34 +129,91 @@ class AddressValidation(TypedDict): witness_program: Optional[str] witness_version: Optional[int] + +# Unified index for any address type (loaded or empty) AnyAddressIndex = TypeIndex +# Bitcoin amount as floating point (1 BTC = 100,000,000 satoshis) Bitcoin = float +# Position within a .blk file, encoding file index and byte offset BlkPosition = int + + class BlockCountParam(TypedDict): + """ + Attributes: + block_count: Number of recent blocks to include + """ + block_count: int + +# Block height Height = int +# UNIX timestamp in seconds Timestamp = int + + class BlockFeesEntry(TypedDict): + """ + A single block fees data point. + """ + avgFees: Sats avgHeight: Height timestamp: Timestamp + +# Block hash BlockHash = str + + class BlockHashParam(TypedDict): hash: BlockHash + TxIndex = int + + class BlockHashStartIndex(TypedDict): + """ + Attributes: + hash: Bitcoin block hash + start_index: Starting transaction index within the block (0-based) + """ + hash: BlockHash start_index: TxIndex + class BlockHashTxIndex(TypedDict): + """ + Attributes: + hash: Bitcoin block hash + index: Transaction index within the block (0-based) + """ + hash: BlockHash index: TxIndex + +# Transaction or block weight in weight units (WU) Weight = int + + class BlockInfo(TypedDict): + """ + Block information returned by the API + + Attributes: + difficulty: Block difficulty as a floating point number + height: Block height + id: Block hash + size: Block size in bytes + timestamp: Block timestamp (Unix time) + tx_count: Number of transactions in the block + weight: Block weight in weight units + """ + difficulty: float height: Height id: BlockHash @@ -85,48 +222,123 @@ class BlockInfo(TypedDict): tx_count: int weight: Weight + class BlockRewardsEntry(TypedDict): + """ + A single block rewards data point. + """ + avgHeight: int avgRewards: int timestamp: int + class BlockSizeEntry(TypedDict): + """ + A single block size data point. + """ + avgHeight: int avgSize: int timestamp: int + class BlockWeightEntry(TypedDict): + """ + A single block weight data point. + """ + avgHeight: int avgWeight: int timestamp: int + class BlockSizesWeights(TypedDict): + """ + Combined block sizes and weights response. + """ + sizes: List[BlockSizeEntry] weights: List[BlockWeightEntry] + class BlockStatus(TypedDict): + """ + Block status indicating whether block is in the best chain + + Attributes: + height: Block height (only if in best chain) + in_best_chain: Whether this block is in the best chain + next_best: Hash of the next block in the best chain (only if in best chain and not tip) + """ + height: Union[Height, None] in_best_chain: bool next_best: Union[BlockHash, None] + class BlockTimestamp(TypedDict): + """ + Block information returned for timestamp queries + + Attributes: + hash: Block hash + height: Block height + timestamp: Block timestamp in ISO 8601 format + """ + hash: BlockHash height: Height timestamp: str + Cents = int +# Closing price value for a time period Close = Cents +# Output format for API responses Format = Literal["json", "csv"] + + class DataRangeFormat(TypedDict): + """ + Data range with output format for API query parameters + + Attributes: + count: Number of values to return (ignored if `to` is set) + format: Format of the output + from_: Inclusive starting index, if negative counts from end + to: Exclusive ending index, if negative counts from end + """ + count: Optional[int] format: Format from_: Optional[int] to: Optional[int] + +# Date in YYYYMMDD format stored as u32 Date = int DateIndex = int DecadeIndex = int + + class DifficultyAdjustment(TypedDict): + """ + Difficulty adjustment information. + + Attributes: + adjustedTimeAvg: Time-adjusted average (accounting for timestamp manipulation) + difficultyChange: Estimated difficulty change at next retarget (%) + estimatedRetargetDate: Estimated Unix timestamp of next retarget + nextRetargetHeight: Height of next retarget + previousRetarget: Previous difficulty adjustment (%) + progressPercent: Progress through current difficulty epoch (0-100%) + remainingBlocks: Blocks remaining until retarget + remainingTime: Estimated seconds until retarget + timeAvg: Average block time in current epoch (seconds) + timeOffset: Time offset from expected schedule (seconds) + """ + adjustedTimeAvg: int difficultyChange: float estimatedRetargetDate: int @@ -138,57 +350,145 @@ class DifficultyAdjustment(TypedDict): timeAvg: int timeOffset: int + class DifficultyAdjustmentEntry(TypedDict): + """ + A single difficulty adjustment entry. + Serializes as array: [timestamp, height, difficulty, change_percent] + """ + change_percent: float difficulty: float height: Height timestamp: Timestamp + class DifficultyEntry(TypedDict): + """ + A single difficulty data point. + + Attributes: + difficulty: Difficulty value. + height: Block height of the adjustment. + timestamp: Unix timestamp of the difficulty adjustment. + """ + difficulty: float height: Height timestamp: Timestamp + DifficultyEpoch = int +# US Dollar amount as floating point Dollars = float + + class EmptyAddressData(TypedDict): + """ + Data of an empty address + + Attributes: + funded_txo_count: Total funded/spent transaction output count (equal since address is empty) + transfered: Total satoshis transferred + tx_count: Total transaction count + """ + funded_txo_count: int transfered: Sats tx_count: int + EmptyAddressIndex = TypeIndex EmptyOutputIndex = TypeIndex +# Fee rate in sats/vB FeeRate = float HalvingEpoch = int + + class HashrateEntry(TypedDict): + """ + A single hashrate data point. + + Attributes: + avgHashrate: Average hashrate (H/s). + timestamp: Unix timestamp. + """ + avgHashrate: int timestamp: Timestamp + class HashrateSummary(TypedDict): + """ + Summary of network hashrate and difficulty data. + + Attributes: + currentDifficulty: Current network difficulty. + currentHashrate: Current network hashrate (H/s). + difficulty: Historical difficulty adjustments. + hashrates: Historical hashrate data points. + """ + currentDifficulty: float currentHashrate: int difficulty: List[DifficultyEntry] hashrates: List[HashrateEntry] + class Health(TypedDict): + """ + Server health status + """ + service: str status: str timestamp: str + class HeightParam(TypedDict): height: Height + +# Hex-encoded string Hex = str +# Highest price value for a time period High = Cents + + class IndexInfo(TypedDict): + """ + Information about an available index and its query aliases + + Attributes: + aliases: All Accepted query aliases + index: The canonical index name + """ + aliases: List[str] index: Index + +# Maximum number of results to return. Defaults to 100 if not specified. Limit = int + + class LimitParam(TypedDict): limit: Limit + class LoadedAddressData(TypedDict): + """ + Data for a loaded (non-empty) address with current balance + + Attributes: + funded_txo_count: Number of transaction outputs funded to this address + realized_cap: The realized capitalization of this address + received: Satoshis received by this address + sent: Satoshis sent by this address + spent_txo_count: Number of transaction outputs spent by this address + tx_count: Total transaction count + """ + funded_txo_count: int realized_cap: Dollars received: Sats @@ -196,9 +496,25 @@ class LoadedAddressData(TypedDict): spent_txo_count: int tx_count: int + LoadedAddressIndex = TypeIndex +# Lowest price value for a time period Low = Cents + + class MempoolBlock(TypedDict): + """ + Block info in a mempool.space like format for fee estimation. + + Attributes: + blockSize: Total block size in weight units + blockVSize: Total block virtual size in vbytes + feeRange: Fee rate range: [min, 10%, 25%, 50%, 75%, 90%, max] + medianFee: Median fee rate in sat/vB + nTx: Number of transactions in the projected block + totalFees: Total fees in satoshis + """ + blockSize: int blockVSize: float feeRange: List[FeeRate] @@ -206,24 +522,68 @@ class MempoolBlock(TypedDict): nTx: int totalFees: Sats + +# Virtual size in vbytes (weight / 4, rounded up) VSize = int + + class MempoolInfo(TypedDict): + """ + Mempool statistics + + Attributes: + count: Number of transactions in the mempool + total_fee: Total fees of all transactions in the mempool (satoshis) + vsize: Total virtual size of all transactions in the mempool (vbytes) + """ + count: int total_fee: Sats vsize: VSize + +# Metric name Metric = str + + class MetricCount(TypedDict): + """ + Metric count statistics - distinct metrics and total metric-index combinations + + Attributes: + distinct_metrics: Number of unique metrics available (e.g., realized_price, market_cap) + lazy_endpoints: Number of lazy (computed on-the-fly) metric-index combinations + stored_endpoints: Number of eager (stored on disk) metric-index combinations + total_endpoints: Total number of metric-index combinations across all timeframes + """ + distinct_metrics: int lazy_endpoints: int stored_endpoints: int total_endpoints: int + class MetricParam(TypedDict): metric: Metric + +# Comma-separated list of metric names Metrics = str + + class MetricSelection(TypedDict): + """ + Selection of metrics to query + + Attributes: + count: Number of values to return (ignored if `to` is set) + format: Format of the output + from_: Inclusive starting index, if negative counts from end + index: Index to query + metrics: Requested metrics + to: Exclusive ending index, if negative counts from end + """ + count: Optional[int] format: Format from_: Optional[int] @@ -231,7 +591,18 @@ class MetricSelection(TypedDict): metrics: Metrics to: Optional[int] + class MetricSelectionLegacy(TypedDict): + """ + Legacy metric selection parameters (deprecated) + + Attributes: + count: Number of values to return (ignored if `to` is set) + format: Format of the output + from_: Inclusive starting index, if negative counts from end + to: Exclusive ending index, if negative counts from end + """ + count: Optional[int] format: Format from_: Optional[int] @@ -239,33 +610,73 @@ class MetricSelectionLegacy(TypedDict): index: Index to: Optional[int] + class MetricWithIndex(TypedDict): + """ + Attributes: + index: Aggregation index + metric: Metric name + """ + index: Index metric: Metric + MonthIndex = int +# Opening price value for a time period Open = Cents + + class OHLCCents(TypedDict): + """ + OHLC (Open, High, Low, Close) data in cents + """ + close: Close high: High low: Low open: Open + class OHLCDollars(TypedDict): + """ + OHLC (Open, High, Low, Close) data in dollars + """ + close: Close high: High low: Low open: Open + class OHLCSats(TypedDict): + """ + OHLC (Open, High, Low, Close) data in satoshis + """ + close: Close high: High low: Low open: Open + OpReturnIndex = TypeIndex OutPoint = int -OutputType = Literal["p2pk65", "p2pk33", "p2pkh", "p2ms", "p2sh", "opreturn", "p2wpkh", "p2wsh", "p2tr", "p2a", "empty", "unknown"] +# Type (P2PKH, P2WPKH, P2SH, P2TR, etc.) +OutputType = Literal[ + "p2pk65", + "p2pk33", + "p2pkh", + "p2ms", + "p2sh", + "opreturn", + "p2wpkh", + "p2wsh", + "p2tr", + "p2a", + "empty", + "unknown", +] P2AAddressIndex = TypeIndex U8x2 = List[int] P2ABytes = U8x2 @@ -288,26 +699,239 @@ P2WPKHAddressIndex = TypeIndex P2WPKHBytes = U8x20 P2WSHAddressIndex = TypeIndex P2WSHBytes = U8x32 + + class PaginatedMetrics(TypedDict): + """ + A paginated list of available metric names (1000 per page) + + Attributes: + current_page: Current page number (0-indexed) + max_page: Maximum valid page index (0-indexed) + metrics: List of metric names (max 1000 per page) + """ + current_page: int max_page: int metrics: List[str] + class Pagination(TypedDict): + """ + Pagination parameters for paginated API endpoints + + Attributes: + page: Pagination index + """ + page: Optional[int] + class PoolBlockCounts(TypedDict): + """ + Block counts for different time periods + + Attributes: + _1w: Blocks mined in last week + _24h: Blocks mined in last 24 hours + all: Total blocks mined (all time) + """ + _1w: int _24h: int all: int + class PoolBlockShares(TypedDict): + """ + Pool's share of total blocks for different time periods + + Attributes: + _1w: Share of blocks in last week + _24h: Share of blocks in last 24 hours + all: Share of all blocks (0.0 - 1.0) + """ + _1w: float _24h: float all: float -PoolSlug = Literal["unknown", "blockfills", "ultimuspool", "terrapool", "luxor", "onethash", "btccom", "bitfarms", "huobipool", "wayicn", "canoepool", "btctop", "bitcoincom", "pool175btc", "gbminers", "axbt", "asicminer", "bitminter", "bitcoinrussia", "btcserv", "simplecoinus", "btcguild", "eligius", "ozcoin", "eclipsemc", "maxbtc", "triplemining", "coinlab", "pool50btc", "ghashio", "stminingcorp", "bitparking", "mmpool", "polmine", "kncminer", "bitalo", "f2pool", "hhtt", "megabigpower", "mtred", "nmcbit", "yourbtcnet", "givemecoins", "braiinspool", "antpool", "multicoinco", "bcpoolio", "cointerra", "kanopool", "solock", "ckpool", "nicehash", "bitclub", "bitcoinaffiliatenetwork", "btcc", "bwpool", "exxbw", "bitsolo", "bitfury", "twentyoneinc", "digitalbtc", "eightbaochi", "mybtccoinpool", "tbdice", "hashpool", "nexious", "bravomining", "hotpool", "okexpool", "bcmonster", "onehash", "bixin", "tatmaspool", "viabtc", "connectbtc", "batpool", "waterhole", "dcexploration", "dcex", "btpool", "fiftyeightcoin", "bitcoinindia", "shawnp0wers", "phashio", "rigpool", "haozhuzhu", "sevenpool", "miningkings", "hashbx", "dpool", "rawpool", "haominer", "helix", "bitcoinukraine", "poolin", "secretsuperstar", "tigerpoolnet", "sigmapoolcom", "okpooltop", "hummerpool", "tangpool", "bytepool", "spiderpool", "novablock", "miningcity", "binancepool", "minerium", "lubiancom", "okkong", "aaopool", "emcdpool", "foundryusa", "sbicrypto", "arkpool", "purebtccom", "marapool", "kucoinpool", "entrustcharitypool", "okminer", "titan", "pegapool", "btcnuggets", "cloudhashing", "digitalxmintsy", "telco214", "btcpoolparty", "multipool", "transactioncoinmining", "btcdig", "trickysbtcpool", "btcmp", "eobot", "unomp", "patels", "gogreenlight", "ekanembtc", "canoe", "tiger", "onem1x", "zulupool", "secpool", "ocean", "whitepool", "wk057", "futurebitapollosolo", "carbonnegative", "portlandhodl", "phoenix", "neopool", "maxipool", "bitfufupool", "luckypool", "miningdutch", "publicpool", "miningsquared", "innopolistech", "btclab", "parasite"] + +PoolSlug = Literal[ + "unknown", + "blockfills", + "ultimuspool", + "terrapool", + "luxor", + "onethash", + "btccom", + "bitfarms", + "huobipool", + "wayicn", + "canoepool", + "btctop", + "bitcoincom", + "pool175btc", + "gbminers", + "axbt", + "asicminer", + "bitminter", + "bitcoinrussia", + "btcserv", + "simplecoinus", + "btcguild", + "eligius", + "ozcoin", + "eclipsemc", + "maxbtc", + "triplemining", + "coinlab", + "pool50btc", + "ghashio", + "stminingcorp", + "bitparking", + "mmpool", + "polmine", + "kncminer", + "bitalo", + "f2pool", + "hhtt", + "megabigpower", + "mtred", + "nmcbit", + "yourbtcnet", + "givemecoins", + "braiinspool", + "antpool", + "multicoinco", + "bcpoolio", + "cointerra", + "kanopool", + "solock", + "ckpool", + "nicehash", + "bitclub", + "bitcoinaffiliatenetwork", + "btcc", + "bwpool", + "exxbw", + "bitsolo", + "bitfury", + "twentyoneinc", + "digitalbtc", + "eightbaochi", + "mybtccoinpool", + "tbdice", + "hashpool", + "nexious", + "bravomining", + "hotpool", + "okexpool", + "bcmonster", + "onehash", + "bixin", + "tatmaspool", + "viabtc", + "connectbtc", + "batpool", + "waterhole", + "dcexploration", + "dcex", + "btpool", + "fiftyeightcoin", + "bitcoinindia", + "shawnp0wers", + "phashio", + "rigpool", + "haozhuzhu", + "sevenpool", + "miningkings", + "hashbx", + "dpool", + "rawpool", + "haominer", + "helix", + "bitcoinukraine", + "poolin", + "secretsuperstar", + "tigerpoolnet", + "sigmapoolcom", + "okpooltop", + "hummerpool", + "tangpool", + "bytepool", + "spiderpool", + "novablock", + "miningcity", + "binancepool", + "minerium", + "lubiancom", + "okkong", + "aaopool", + "emcdpool", + "foundryusa", + "sbicrypto", + "arkpool", + "purebtccom", + "marapool", + "kucoinpool", + "entrustcharitypool", + "okminer", + "titan", + "pegapool", + "btcnuggets", + "cloudhashing", + "digitalxmintsy", + "telco214", + "btcpoolparty", + "multipool", + "transactioncoinmining", + "btcdig", + "trickysbtcpool", + "btcmp", + "eobot", + "unomp", + "patels", + "gogreenlight", + "ekanembtc", + "canoe", + "tiger", + "onem1x", + "zulupool", + "secpool", + "ocean", + "whitepool", + "wk057", + "futurebitapollosolo", + "carbonnegative", + "portlandhodl", + "phoenix", + "neopool", + "maxipool", + "bitfufupool", + "luckypool", + "miningdutch", + "publicpool", + "miningsquared", + "innopolistech", + "btclab", + "parasite", +] + + class PoolDetailInfo(TypedDict): + """ + Pool information for detail view + + Attributes: + addresses: Known payout addresses + id: Unique pool identifier + link: Pool website URL + name: Pool name + regexes: Coinbase tag patterns (regexes) + slug: URL-friendly pool identifier + """ + addresses: List[str] id: int link: str @@ -315,22 +939,60 @@ class PoolDetailInfo(TypedDict): regexes: List[str] slug: PoolSlug + class PoolDetail(TypedDict): + """ + Detailed pool information with statistics across time periods + + Attributes: + blockCount: Block counts for different time periods + blockShare: Pool's share of total blocks for different time periods + estimatedHashrate: Estimated hashrate based on blocks mined + pool: Pool information + reportedHashrate: Self-reported hashrate (if available) + """ + blockCount: PoolBlockCounts blockShare: PoolBlockShares estimatedHashrate: int pool: PoolDetailInfo reportedHashrate: Optional[int] + class PoolInfo(TypedDict): + """ + Basic pool information for listing all pools + + Attributes: + name: Pool name + slug: URL-friendly pool identifier + unique_id: Unique numeric pool identifier + """ + name: str slug: PoolSlug unique_id: int + class PoolSlugParam(TypedDict): slug: PoolSlug + class PoolStats(TypedDict): + """ + Mining pool with block statistics for a time period + + Attributes: + blockCount: Number of blocks mined in the time period + emptyBlocks: Number of empty blocks mined + link: Pool website URL + name: Pool name + poolId: Unique pool identifier + rank: Pool ranking by block count (1 = most blocks) + share: Pool's share of total blocks (0.0 - 1.0) + slug: URL-friendly pool identifier + """ + blockCount: int emptyBlocks: int link: str @@ -340,52 +1002,136 @@ class PoolStats(TypedDict): share: float slug: PoolSlug + class PoolsSummary(TypedDict): + """ + Mining pools response for a time period + + Attributes: + blockCount: Total blocks in the time period + lastEstimatedHashrate: Estimated network hashrate (hashes per second) + pools: List of pools sorted by block count descending + """ + blockCount: int lastEstimatedHashrate: int pools: List[PoolStats] + QuarterIndex = int +# Transaction locktime RawLockTime = int + + class RecommendedFees(TypedDict): + """ + Recommended fee rates in sat/vB + + Attributes: + economyFee: Fee rate for economical confirmation + fastestFee: Fee rate for fastest confirmation (next block) + halfHourFee: Fee rate for confirmation within ~30 minutes (3 blocks) + hourFee: Fee rate for confirmation within ~1 hour (6 blocks) + minimumFee: Minimum relay fee rate + """ + economyFee: FeeRate fastestFee: FeeRate halfHourFee: FeeRate hourFee: FeeRate minimumFee: FeeRate + class RewardStats(TypedDict): + """ + Block reward statistics over a range of blocks + + Attributes: + endBlock: Last block in the range + startBlock: First block in the range + """ + endBlock: Height startBlock: Height totalFee: Sats totalReward: Sats totalTx: int + SemesterIndex = int +# Fixed-size boolean value optimized for on-disk storage (stored as u16) StoredBool = int +# Stored 32-bit floating point value StoredF32 = float +# Fixed-size 64-bit floating point value optimized for on-disk storage StoredF64 = float StoredI16 = int StoredU16 = int +# Fixed-size 32-bit unsigned integer optimized for on-disk storage StoredU32 = int +# Fixed-size 64-bit unsigned integer optimized for on-disk storage StoredU64 = int + + class SupplyState(TypedDict): + """ + Current supply state tracking UTXO count and total value + + Attributes: + utxo_count: Number of unspent transaction outputs + value: Total value in satoshis + """ + utxo_count: int value: Sats + +# Time period for mining statistics. +# +# Used to specify the lookback window for pool statistics, hashrate calculations, +# and other time-based mining metrics. TimePeriod = Literal["24h", "3d", "1w", "1m", "3m", "6m", "1y", "2y", "3y"] + + class TimePeriodParam(TypedDict): time_period: TimePeriod + class TimestampParam(TypedDict): timestamp: Timestamp + class TxOut(TypedDict): + """ + Transaction output + + Attributes: + scriptpubkey: Script pubkey (locking script) + value: Value of the output in satoshis + """ + scriptpubkey: str value: Sats + +# Index of the output being spent in the previous transaction Vout = int + + class TxIn(TypedDict): + """ + Transaction input + + Attributes: + inner_redeemscript_asm: Inner redeemscript in assembly format (for P2SH-wrapped SegWit) + is_coinbase: Whether this input is a coinbase (block reward) input + prevout: Information about the previous output being spent + scriptsig: Signature script (for non-SegWit inputs) + scriptsig_asm: Signature script in assembly format + sequence: Input sequence number + txid: Transaction ID of the output being spent + """ + inner_redeemscript_asm: Optional[str] is_coinbase: bool prevout: Union[TxOut, None] @@ -395,14 +1141,41 @@ class TxIn(TypedDict): txid: Txid vout: Vout + class TxStatus(TypedDict): + """ + Transaction confirmation status + + Attributes: + block_hash: Block hash (only present if confirmed) + block_height: Block height (only present if confirmed) + block_time: Block timestamp (only present if confirmed) + confirmed: Whether the transaction is confirmed + """ + block_hash: Union[BlockHash, None] block_height: Union[Height, None] block_time: Union[Timestamp, None] confirmed: bool + +# Transaction version number TxVersion = int + + class Transaction(TypedDict): + """ + Transaction information compatible with mempool.space API format + + Attributes: + fee: Transaction fee in satoshis + sigops: Number of signature operations + size: Transaction size in bytes + vin: Transaction inputs + vout: Transaction outputs + weight: Transaction weight + """ + fee: Sats index: Union[TxIndex, None] locktime: RawLockTime @@ -415,43 +1188,126 @@ class Transaction(TypedDict): vout: List[TxOut] weight: Weight + TxInIndex = int TxOutIndex = int +# Input index in the spending transaction Vin = int + + class TxOutspend(TypedDict): + """ + Status of an output indicating whether it has been spent + + Attributes: + spent: Whether the output has been spent + status: Status of the spending transaction (only present if spent) + txid: Transaction ID of the spending transaction (only present if spent) + vin: Input index in the spending transaction (only present if spent) + """ + spent: bool status: Union[TxStatus, None] txid: Union[Txid, None] vin: Union[Vin, None] + class TxidParam(TypedDict): txid: Txid + class TxidVout(TypedDict): + """ + Transaction output reference (txid + output index) + + Attributes: + txid: Transaction ID + vout: Output index + """ + txid: Txid vout: Vout + UnknownOutputIndex = TypeIndex + + class Utxo(TypedDict): + """ + Unspent transaction output + """ + status: TxStatus txid: Txid value: Sats vout: Vout + class ValidateAddressParam(TypedDict): + """ + Attributes: + address: Bitcoin address to validate (can be any string) + """ + address: str + WeekIndex = int YearIndex = int -Index = Literal["dateindex", "decadeindex", "difficultyepoch", "emptyoutputindex", "halvingepoch", "height", "txinindex", "monthindex", "opreturnindex", "txoutindex", "p2aaddressindex", "p2msoutputindex", "p2pk33addressindex", "p2pk65addressindex", "p2pkhaddressindex", "p2shaddressindex", "p2traddressindex", "p2wpkhaddressindex", "p2wshaddressindex", "quarterindex", "semesterindex", "txindex", "unknownoutputindex", "weekindex", "yearindex", "loadedaddressindex", "emptyaddressindex"] +# Aggregation dimension for querying metrics. Includes time-based (date, week, month, year), +# block-based (height, txindex), and address/output type indexes. +Index = Literal[ + "dateindex", + "decadeindex", + "difficultyepoch", + "emptyoutputindex", + "halvingepoch", + "height", + "txinindex", + "monthindex", + "opreturnindex", + "txoutindex", + "p2aaddressindex", + "p2msoutputindex", + "p2pk33addressindex", + "p2pk65addressindex", + "p2pkhaddressindex", + "p2shaddressindex", + "p2traddressindex", + "p2wpkhaddressindex", + "p2wshaddressindex", + "quarterindex", + "semesterindex", + "txindex", + "unknownoutputindex", + "weekindex", + "yearindex", + "loadedaddressindex", + "emptyaddressindex", +] + + class MetricLeafWithSchema(TypedDict): + """ + MetricLeaf with JSON Schema for client generation + + Attributes: + indexes: Available indexes for this metric + kind: The Rust type (e.g., "Sats", "StoredF64") + name: The metric name/identifier + type: JSON Schema type (e.g., "integer", "number", "string", "boolean", "array", "object") + """ + indexes: List[Index] kind: str name: str type: str + +# Hierarchical tree node for organizing metrics into categories TreeNode = Union[dict[str, "TreeNode"], MetricLeafWithSchema] + class BrkError(Exception): """Custom error class for BRK client errors.""" @@ -471,12 +1327,14 @@ class BrkClientBase: def get(self, path: str) -> Any: """Make a GET request.""" try: - base = self.base_url.rstrip('/') + base = self.base_url.rstrip("/") response = self._client.get(f"{base}{path}") response.raise_for_status() return response.json() except httpx.HTTPStatusError as e: - raise BrkError(f"HTTP error: {e.response.status_code}", e.response.status_code) + raise BrkError( + f"HTTP error: {e.response.status_code}", e.response.status_code + ) except httpx.RequestError as e: raise BrkError(str(e)) @@ -498,6 +1356,7 @@ def _m(acc: str, s: str) -> str: class MetricData(TypedDict, Generic[T]): """Metric data with range information.""" + total: int from_: int # 'from' is reserved in Python to: int @@ -520,7 +1379,9 @@ class MetricEndpoint(Generic[T]): """Fetch all data points for this metric/index.""" return self._client.get(self.path()) - def range(self, from_val: Optional[int] = None, to_val: Optional[int] = None) -> MetricData[T]: + def range( + self, from_val: Optional[int] = None, to_val: Optional[int] = None + ) -> MetricData[T]: """Fetch data points within a range.""" params = [] if from_val is not None: @@ -559,43 +1420,45 @@ class MetricPattern(Protocol[T]): # Index accessor classes + class _MetricPattern1By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_dateindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'dateindex') + def dateindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "dateindex") - def by_decadeindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'decadeindex') + def decadeindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "decadeindex") - def by_difficultyepoch(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'difficultyepoch') + def difficultyepoch(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "difficultyepoch") - def by_height(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'height') + def height(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "height") - def by_monthindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'monthindex') + def monthindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "monthindex") - def by_quarterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'quarterindex') + def quarterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "quarterindex") - def by_semesterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'semesterindex') + def semesterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "semesterindex") - def by_weekindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'weekindex') + def weekindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "weekindex") + + def yearindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "yearindex") - def by_yearindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'yearindex') class MetricPattern1(Generic[T]): """Index accessor for metrics with 9 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -608,55 +1471,76 @@ class MetricPattern1(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['dateindex', 'decadeindex', 'difficultyepoch', 'height', 'monthindex', 'quarterindex', 'semesterindex', 'weekindex', 'yearindex'] + return [ + "dateindex", + "decadeindex", + "difficultyepoch", + "height", + "monthindex", + "quarterindex", + "semesterindex", + "weekindex", + "yearindex", + ] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'dateindex': return self.by.by_dateindex() - elif index == 'decadeindex': return self.by.by_decadeindex() - elif index == 'difficultyepoch': return self.by.by_difficultyepoch() - elif index == 'height': return self.by.by_height() - elif index == 'monthindex': return self.by.by_monthindex() - elif index == 'quarterindex': return self.by.by_quarterindex() - elif index == 'semesterindex': return self.by.by_semesterindex() - elif index == 'weekindex': return self.by.by_weekindex() - elif index == 'yearindex': return self.by.by_yearindex() + if index == "dateindex": + return self.by.dateindex() + elif index == "decadeindex": + return self.by.decadeindex() + elif index == "difficultyepoch": + return self.by.difficultyepoch() + elif index == "height": + return self.by.height() + elif index == "monthindex": + return self.by.monthindex() + elif index == "quarterindex": + return self.by.quarterindex() + elif index == "semesterindex": + return self.by.semesterindex() + elif index == "weekindex": + return self.by.weekindex() + elif index == "yearindex": + return self.by.yearindex() return None + class _MetricPattern2By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_dateindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'dateindex') + def dateindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "dateindex") - def by_decadeindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'decadeindex') + def decadeindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "decadeindex") - def by_difficultyepoch(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'difficultyepoch') + def difficultyepoch(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "difficultyepoch") - def by_monthindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'monthindex') + def monthindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "monthindex") - def by_quarterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'quarterindex') + def quarterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "quarterindex") - def by_semesterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'semesterindex') + def semesterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "semesterindex") - def by_weekindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'weekindex') + def weekindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "weekindex") + + def yearindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "yearindex") - def by_yearindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'yearindex') class MetricPattern2(Generic[T]): """Index accessor for metrics with 8 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -669,54 +1553,73 @@ class MetricPattern2(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['dateindex', 'decadeindex', 'difficultyepoch', 'monthindex', 'quarterindex', 'semesterindex', 'weekindex', 'yearindex'] + return [ + "dateindex", + "decadeindex", + "difficultyepoch", + "monthindex", + "quarterindex", + "semesterindex", + "weekindex", + "yearindex", + ] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'dateindex': return self.by.by_dateindex() - elif index == 'decadeindex': return self.by.by_decadeindex() - elif index == 'difficultyepoch': return self.by.by_difficultyepoch() - elif index == 'monthindex': return self.by.by_monthindex() - elif index == 'quarterindex': return self.by.by_quarterindex() - elif index == 'semesterindex': return self.by.by_semesterindex() - elif index == 'weekindex': return self.by.by_weekindex() - elif index == 'yearindex': return self.by.by_yearindex() + if index == "dateindex": + return self.by.dateindex() + elif index == "decadeindex": + return self.by.decadeindex() + elif index == "difficultyepoch": + return self.by.difficultyepoch() + elif index == "monthindex": + return self.by.monthindex() + elif index == "quarterindex": + return self.by.quarterindex() + elif index == "semesterindex": + return self.by.semesterindex() + elif index == "weekindex": + return self.by.weekindex() + elif index == "yearindex": + return self.by.yearindex() return None + class _MetricPattern3By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_dateindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'dateindex') + def dateindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "dateindex") - def by_decadeindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'decadeindex') + def decadeindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "decadeindex") - def by_height(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'height') + def height(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "height") - def by_monthindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'monthindex') + def monthindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "monthindex") - def by_quarterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'quarterindex') + def quarterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "quarterindex") - def by_semesterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'semesterindex') + def semesterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "semesterindex") - def by_weekindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'weekindex') + def weekindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "weekindex") + + def yearindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "yearindex") - def by_yearindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'yearindex') class MetricPattern3(Generic[T]): """Index accessor for metrics with 8 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -729,51 +1632,70 @@ class MetricPattern3(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['dateindex', 'decadeindex', 'height', 'monthindex', 'quarterindex', 'semesterindex', 'weekindex', 'yearindex'] + return [ + "dateindex", + "decadeindex", + "height", + "monthindex", + "quarterindex", + "semesterindex", + "weekindex", + "yearindex", + ] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'dateindex': return self.by.by_dateindex() - elif index == 'decadeindex': return self.by.by_decadeindex() - elif index == 'height': return self.by.by_height() - elif index == 'monthindex': return self.by.by_monthindex() - elif index == 'quarterindex': return self.by.by_quarterindex() - elif index == 'semesterindex': return self.by.by_semesterindex() - elif index == 'weekindex': return self.by.by_weekindex() - elif index == 'yearindex': return self.by.by_yearindex() + if index == "dateindex": + return self.by.dateindex() + elif index == "decadeindex": + return self.by.decadeindex() + elif index == "height": + return self.by.height() + elif index == "monthindex": + return self.by.monthindex() + elif index == "quarterindex": + return self.by.quarterindex() + elif index == "semesterindex": + return self.by.semesterindex() + elif index == "weekindex": + return self.by.weekindex() + elif index == "yearindex": + return self.by.yearindex() return None + class _MetricPattern4By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_dateindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'dateindex') + def dateindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "dateindex") - def by_decadeindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'decadeindex') + def decadeindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "decadeindex") - def by_monthindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'monthindex') + def monthindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "monthindex") - def by_quarterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'quarterindex') + def quarterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "quarterindex") - def by_semesterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'semesterindex') + def semesterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "semesterindex") - def by_weekindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'weekindex') + def weekindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "weekindex") + + def yearindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "yearindex") - def by_yearindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'yearindex') class MetricPattern4(Generic[T]): """Index accessor for metrics with 7 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -786,35 +1708,52 @@ class MetricPattern4(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['dateindex', 'decadeindex', 'monthindex', 'quarterindex', 'semesterindex', 'weekindex', 'yearindex'] + return [ + "dateindex", + "decadeindex", + "monthindex", + "quarterindex", + "semesterindex", + "weekindex", + "yearindex", + ] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'dateindex': return self.by.by_dateindex() - elif index == 'decadeindex': return self.by.by_decadeindex() - elif index == 'monthindex': return self.by.by_monthindex() - elif index == 'quarterindex': return self.by.by_quarterindex() - elif index == 'semesterindex': return self.by.by_semesterindex() - elif index == 'weekindex': return self.by.by_weekindex() - elif index == 'yearindex': return self.by.by_yearindex() + if index == "dateindex": + return self.by.dateindex() + elif index == "decadeindex": + return self.by.decadeindex() + elif index == "monthindex": + return self.by.monthindex() + elif index == "quarterindex": + return self.by.quarterindex() + elif index == "semesterindex": + return self.by.semesterindex() + elif index == "weekindex": + return self.by.weekindex() + elif index == "yearindex": + return self.by.yearindex() return None + class _MetricPattern5By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_dateindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'dateindex') + def dateindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "dateindex") + + def height(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "height") - def by_height(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'height') class MetricPattern5(Generic[T]): """Index accessor for metrics with 2 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -827,27 +1766,31 @@ class MetricPattern5(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['dateindex', 'height'] + return ["dateindex", "height"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'dateindex': return self.by.by_dateindex() - elif index == 'height': return self.by.by_height() + if index == "dateindex": + return self.by.dateindex() + elif index == "height": + return self.by.height() return None + class _MetricPattern6By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_dateindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'dateindex') + def dateindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "dateindex") + class MetricPattern6(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -860,26 +1803,29 @@ class MetricPattern6(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['dateindex'] + return ["dateindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'dateindex': return self.by.by_dateindex() + if index == "dateindex": + return self.by.dateindex() return None + class _MetricPattern7By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_decadeindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'decadeindex') + def decadeindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "decadeindex") + class MetricPattern7(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -892,26 +1838,29 @@ class MetricPattern7(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['decadeindex'] + return ["decadeindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'decadeindex': return self.by.by_decadeindex() + if index == "decadeindex": + return self.by.decadeindex() return None + class _MetricPattern8By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_difficultyepoch(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'difficultyepoch') + def difficultyepoch(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "difficultyepoch") + class MetricPattern8(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -924,26 +1873,29 @@ class MetricPattern8(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['difficultyepoch'] + return ["difficultyepoch"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'difficultyepoch': return self.by.by_difficultyepoch() + if index == "difficultyepoch": + return self.by.difficultyepoch() return None + class _MetricPattern9By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_emptyoutputindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'emptyoutputindex') + def emptyoutputindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "emptyoutputindex") + class MetricPattern9(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -956,26 +1908,29 @@ class MetricPattern9(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['emptyoutputindex'] + return ["emptyoutputindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'emptyoutputindex': return self.by.by_emptyoutputindex() + if index == "emptyoutputindex": + return self.by.emptyoutputindex() return None + class _MetricPattern10By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_halvingepoch(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'halvingepoch') + def halvingepoch(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "halvingepoch") + class MetricPattern10(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -988,26 +1943,29 @@ class MetricPattern10(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['halvingepoch'] + return ["halvingepoch"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'halvingepoch': return self.by.by_halvingepoch() + if index == "halvingepoch": + return self.by.halvingepoch() return None + class _MetricPattern11By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_height(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'height') + def height(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "height") + class MetricPattern11(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1020,26 +1978,29 @@ class MetricPattern11(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['height'] + return ["height"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'height': return self.by.by_height() + if index == "height": + return self.by.height() return None + class _MetricPattern12By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_txinindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'txinindex') + def txinindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "txinindex") + class MetricPattern12(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1052,26 +2013,29 @@ class MetricPattern12(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['txinindex'] + return ["txinindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'txinindex': return self.by.by_txinindex() + if index == "txinindex": + return self.by.txinindex() return None + class _MetricPattern13By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_monthindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'monthindex') + def monthindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "monthindex") + class MetricPattern13(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1084,26 +2048,29 @@ class MetricPattern13(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['monthindex'] + return ["monthindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'monthindex': return self.by.by_monthindex() + if index == "monthindex": + return self.by.monthindex() return None + class _MetricPattern14By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_opreturnindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'opreturnindex') + def opreturnindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "opreturnindex") + class MetricPattern14(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1116,26 +2083,29 @@ class MetricPattern14(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['opreturnindex'] + return ["opreturnindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'opreturnindex': return self.by.by_opreturnindex() + if index == "opreturnindex": + return self.by.opreturnindex() return None + class _MetricPattern15By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_txoutindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'txoutindex') + def txoutindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "txoutindex") + class MetricPattern15(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1148,26 +2118,29 @@ class MetricPattern15(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['txoutindex'] + return ["txoutindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'txoutindex': return self.by.by_txoutindex() + if index == "txoutindex": + return self.by.txoutindex() return None + class _MetricPattern16By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2aaddressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2aaddressindex') + def p2aaddressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2aaddressindex") + class MetricPattern16(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1180,26 +2153,29 @@ class MetricPattern16(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2aaddressindex'] + return ["p2aaddressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2aaddressindex': return self.by.by_p2aaddressindex() + if index == "p2aaddressindex": + return self.by.p2aaddressindex() return None + class _MetricPattern17By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2msoutputindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2msoutputindex') + def p2msoutputindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2msoutputindex") + class MetricPattern17(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1212,26 +2188,29 @@ class MetricPattern17(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2msoutputindex'] + return ["p2msoutputindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2msoutputindex': return self.by.by_p2msoutputindex() + if index == "p2msoutputindex": + return self.by.p2msoutputindex() return None + class _MetricPattern18By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2pk33addressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2pk33addressindex') + def p2pk33addressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2pk33addressindex") + class MetricPattern18(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1244,26 +2223,29 @@ class MetricPattern18(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2pk33addressindex'] + return ["p2pk33addressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2pk33addressindex': return self.by.by_p2pk33addressindex() + if index == "p2pk33addressindex": + return self.by.p2pk33addressindex() return None + class _MetricPattern19By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2pk65addressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2pk65addressindex') + def p2pk65addressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2pk65addressindex") + class MetricPattern19(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1276,26 +2258,29 @@ class MetricPattern19(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2pk65addressindex'] + return ["p2pk65addressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2pk65addressindex': return self.by.by_p2pk65addressindex() + if index == "p2pk65addressindex": + return self.by.p2pk65addressindex() return None + class _MetricPattern20By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2pkhaddressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2pkhaddressindex') + def p2pkhaddressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2pkhaddressindex") + class MetricPattern20(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1308,26 +2293,29 @@ class MetricPattern20(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2pkhaddressindex'] + return ["p2pkhaddressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2pkhaddressindex': return self.by.by_p2pkhaddressindex() + if index == "p2pkhaddressindex": + return self.by.p2pkhaddressindex() return None + class _MetricPattern21By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2shaddressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2shaddressindex') + def p2shaddressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2shaddressindex") + class MetricPattern21(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1340,26 +2328,29 @@ class MetricPattern21(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2shaddressindex'] + return ["p2shaddressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2shaddressindex': return self.by.by_p2shaddressindex() + if index == "p2shaddressindex": + return self.by.p2shaddressindex() return None + class _MetricPattern22By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2traddressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2traddressindex') + def p2traddressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2traddressindex") + class MetricPattern22(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1372,26 +2363,29 @@ class MetricPattern22(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2traddressindex'] + return ["p2traddressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2traddressindex': return self.by.by_p2traddressindex() + if index == "p2traddressindex": + return self.by.p2traddressindex() return None + class _MetricPattern23By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2wpkhaddressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2wpkhaddressindex') + def p2wpkhaddressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2wpkhaddressindex") + class MetricPattern23(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1404,26 +2398,29 @@ class MetricPattern23(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2wpkhaddressindex'] + return ["p2wpkhaddressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2wpkhaddressindex': return self.by.by_p2wpkhaddressindex() + if index == "p2wpkhaddressindex": + return self.by.p2wpkhaddressindex() return None + class _MetricPattern24By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_p2wshaddressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'p2wshaddressindex') + def p2wshaddressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "p2wshaddressindex") + class MetricPattern24(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1436,26 +2433,29 @@ class MetricPattern24(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['p2wshaddressindex'] + return ["p2wshaddressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'p2wshaddressindex': return self.by.by_p2wshaddressindex() + if index == "p2wshaddressindex": + return self.by.p2wshaddressindex() return None + class _MetricPattern25By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_quarterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'quarterindex') + def quarterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "quarterindex") + class MetricPattern25(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1468,26 +2468,29 @@ class MetricPattern25(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['quarterindex'] + return ["quarterindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'quarterindex': return self.by.by_quarterindex() + if index == "quarterindex": + return self.by.quarterindex() return None + class _MetricPattern26By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_semesterindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'semesterindex') + def semesterindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "semesterindex") + class MetricPattern26(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1500,26 +2503,29 @@ class MetricPattern26(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['semesterindex'] + return ["semesterindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'semesterindex': return self.by.by_semesterindex() + if index == "semesterindex": + return self.by.semesterindex() return None + class _MetricPattern27By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_txindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'txindex') + def txindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "txindex") + class MetricPattern27(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1532,26 +2538,29 @@ class MetricPattern27(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['txindex'] + return ["txindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'txindex': return self.by.by_txindex() + if index == "txindex": + return self.by.txindex() return None + class _MetricPattern28By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_unknownoutputindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'unknownoutputindex') + def unknownoutputindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "unknownoutputindex") + class MetricPattern28(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1564,26 +2573,29 @@ class MetricPattern28(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['unknownoutputindex'] + return ["unknownoutputindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'unknownoutputindex': return self.by.by_unknownoutputindex() + if index == "unknownoutputindex": + return self.by.unknownoutputindex() return None + class _MetricPattern29By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_weekindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'weekindex') + def weekindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "weekindex") + class MetricPattern29(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1596,26 +2608,29 @@ class MetricPattern29(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['weekindex'] + return ["weekindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'weekindex': return self.by.by_weekindex() + if index == "weekindex": + return self.by.weekindex() return None + class _MetricPattern30By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_yearindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'yearindex') + def yearindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "yearindex") + class MetricPattern30(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1628,26 +2643,29 @@ class MetricPattern30(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['yearindex'] + return ["yearindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'yearindex': return self.by.by_yearindex() + if index == "yearindex": + return self.by.yearindex() return None + class _MetricPattern31By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_loadedaddressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'loadedaddressindex') + def loadedaddressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "loadedaddressindex") + class MetricPattern31(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1660,26 +2678,29 @@ class MetricPattern31(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['loadedaddressindex'] + return ["loadedaddressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'loadedaddressindex': return self.by.by_loadedaddressindex() + if index == "loadedaddressindex": + return self.by.loadedaddressindex() return None + class _MetricPattern32By(Generic[T]): """Index endpoint methods container.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name - def by_emptyaddressindex(self) -> MetricEndpoint[T]: - return MetricEndpoint(self._client, self._name, 'emptyaddressindex') + def emptyaddressindex(self) -> MetricEndpoint[T]: + return MetricEndpoint(self._client, self._name, "emptyaddressindex") + class MetricPattern32(Generic[T]): """Index accessor for metrics with 1 indexes.""" - + def __init__(self, client: BrkClientBase, name: str): self._client = client self._name = name @@ -1692,504 +2713,1090 @@ class MetricPattern32(Generic[T]): def indexes(self) -> List[str]: """Get the list of available indexes.""" - return ['emptyaddressindex'] + return ["emptyaddressindex"] def get(self, index: str) -> Optional[MetricEndpoint[T]]: """Get an endpoint for a specific index, if supported.""" - if index == 'emptyaddressindex': return self.by.by_emptyaddressindex() + if index == "emptyaddressindex": + return self.by.emptyaddressindex() return None + # Reusable structural pattern classes + class RealizedPattern3: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.adjusted_sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'adjusted_sopr')) - self.adjusted_sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'adjusted_sopr_30d_ema')) - self.adjusted_sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'adjusted_sopr_7d_ema')) - self.adjusted_value_created: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'adjusted_value_created')) - self.adjusted_value_destroyed: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'adjusted_value_destroyed')) - self.mvrv: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'mvrv')) - self.neg_realized_loss: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'neg_realized_loss')) - self.net_realized_pnl: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'net_realized_pnl')) - self.net_realized_pnl_cumulative_30d_delta: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta')) - self.net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_market_cap')) - self.net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap')) - self.net_realized_pnl_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'net_realized_pnl_rel_to_realized_cap')) - self.realized_cap: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_cap')) - self.realized_cap_30d_delta: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'realized_cap_30d_delta')) - self.realized_cap_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'realized_cap_rel_to_own_market_cap')) - self.realized_loss: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'realized_loss')) - self.realized_loss_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'realized_loss_rel_to_realized_cap')) - self.realized_price: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_price')) - self.realized_price_extra: ActivePriceRatioPattern = ActivePriceRatioPattern(client, _m(acc, 'realized_price_ratio')) - self.realized_profit: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'realized_profit')) - self.realized_profit_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'realized_profit_rel_to_realized_cap')) - self.realized_profit_to_loss_ratio: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'realized_profit_to_loss_ratio')) - self.realized_value: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_value')) - self.sell_side_risk_ratio: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio')) - self.sell_side_risk_ratio_30d_ema: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio_30d_ema')) - self.sell_side_risk_ratio_7d_ema: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio_7d_ema')) - self.sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr')) - self.sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr_30d_ema')) - self.sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr_7d_ema')) - self.total_realized_pnl: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'total_realized_pnl')) - self.value_created: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'value_created')) - self.value_destroyed: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'value_destroyed')) + self.adjusted_sopr: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "adjusted_sopr") + ) + self.adjusted_sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "adjusted_sopr_30d_ema") + ) + self.adjusted_sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "adjusted_sopr_7d_ema") + ) + self.adjusted_value_created: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "adjusted_value_created") + ) + self.adjusted_value_destroyed: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "adjusted_value_destroyed") + ) + self.mvrv: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "mvrv")) + self.neg_realized_loss: BitcoinPattern[Dollars] = BitcoinPattern( + client, _m(acc, "neg_realized_loss") + ) + self.net_realized_pnl: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "net_realized_pnl") + ) + self.net_realized_pnl_cumulative_30d_delta: MetricPattern4[Dollars] = ( + MetricPattern4(client, _m(acc, "net_realized_pnl_cumulative_30d_delta")) + ) + self.net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4[ + StoredF32 + ] = MetricPattern4( + client, _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap") + ) + self.net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4[ + StoredF32 + ] = MetricPattern4( + client, _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap") + ) + self.net_realized_pnl_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "net_realized_pnl_rel_to_realized_cap")) + ) + self.realized_cap: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_cap") + ) + self.realized_cap_30d_delta: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "realized_cap_30d_delta") + ) + self.realized_cap_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "realized_cap_rel_to_own_market_cap")) + ) + self.realized_loss: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "realized_loss") + ) + self.realized_loss_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "realized_loss_rel_to_realized_cap")) + ) + self.realized_price: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_price") + ) + self.realized_price_extra: ActivePriceRatioPattern = ActivePriceRatioPattern( + client, _m(acc, "realized_price_ratio") + ) + self.realized_profit: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "realized_profit") + ) + self.realized_profit_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "realized_profit_rel_to_realized_cap")) + ) + self.realized_profit_to_loss_ratio: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "realized_profit_to_loss_ratio") + ) + self.realized_value: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_value") + ) + self.sell_side_risk_ratio: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio") + ) + self.sell_side_risk_ratio_30d_ema: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio_30d_ema") + ) + self.sell_side_risk_ratio_7d_ema: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio_7d_ema") + ) + self.sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, "sopr")) + self.sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "sopr_30d_ema") + ) + self.sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "sopr_7d_ema") + ) + self.total_realized_pnl: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "total_realized_pnl") + ) + self.value_created: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "value_created") + ) + self.value_destroyed: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "value_destroyed") + ) + class RealizedPattern4: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.adjusted_sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'adjusted_sopr')) - self.adjusted_sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'adjusted_sopr_30d_ema')) - self.adjusted_sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'adjusted_sopr_7d_ema')) - self.adjusted_value_created: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'adjusted_value_created')) - self.adjusted_value_destroyed: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'adjusted_value_destroyed')) - self.mvrv: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'mvrv')) - self.neg_realized_loss: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'neg_realized_loss')) - self.net_realized_pnl: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'net_realized_pnl')) - self.net_realized_pnl_cumulative_30d_delta: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta')) - self.net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_market_cap')) - self.net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap')) - self.net_realized_pnl_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'net_realized_pnl_rel_to_realized_cap')) - self.realized_cap: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_cap')) - self.realized_cap_30d_delta: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'realized_cap_30d_delta')) - self.realized_loss: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'realized_loss')) - self.realized_loss_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'realized_loss_rel_to_realized_cap')) - self.realized_price: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_price')) - self.realized_price_extra: RealizedPriceExtraPattern = RealizedPriceExtraPattern(client, _m(acc, 'realized_price')) - self.realized_profit: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'realized_profit')) - self.realized_profit_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'realized_profit_rel_to_realized_cap')) - self.realized_value: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_value')) - self.sell_side_risk_ratio: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio')) - self.sell_side_risk_ratio_30d_ema: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio_30d_ema')) - self.sell_side_risk_ratio_7d_ema: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio_7d_ema')) - self.sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr')) - self.sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr_30d_ema')) - self.sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr_7d_ema')) - self.total_realized_pnl: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'total_realized_pnl')) - self.value_created: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'value_created')) - self.value_destroyed: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'value_destroyed')) + self.adjusted_sopr: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "adjusted_sopr") + ) + self.adjusted_sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "adjusted_sopr_30d_ema") + ) + self.adjusted_sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "adjusted_sopr_7d_ema") + ) + self.adjusted_value_created: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "adjusted_value_created") + ) + self.adjusted_value_destroyed: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "adjusted_value_destroyed") + ) + self.mvrv: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "mvrv")) + self.neg_realized_loss: BitcoinPattern[Dollars] = BitcoinPattern( + client, _m(acc, "neg_realized_loss") + ) + self.net_realized_pnl: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "net_realized_pnl") + ) + self.net_realized_pnl_cumulative_30d_delta: MetricPattern4[Dollars] = ( + MetricPattern4(client, _m(acc, "net_realized_pnl_cumulative_30d_delta")) + ) + self.net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4[ + StoredF32 + ] = MetricPattern4( + client, _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap") + ) + self.net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4[ + StoredF32 + ] = MetricPattern4( + client, _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap") + ) + self.net_realized_pnl_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "net_realized_pnl_rel_to_realized_cap")) + ) + self.realized_cap: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_cap") + ) + self.realized_cap_30d_delta: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "realized_cap_30d_delta") + ) + self.realized_loss: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "realized_loss") + ) + self.realized_loss_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "realized_loss_rel_to_realized_cap")) + ) + self.realized_price: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_price") + ) + self.realized_price_extra: RealizedPriceExtraPattern = ( + RealizedPriceExtraPattern(client, _m(acc, "realized_price")) + ) + self.realized_profit: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "realized_profit") + ) + self.realized_profit_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "realized_profit_rel_to_realized_cap")) + ) + self.realized_value: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_value") + ) + self.sell_side_risk_ratio: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio") + ) + self.sell_side_risk_ratio_30d_ema: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio_30d_ema") + ) + self.sell_side_risk_ratio_7d_ema: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio_7d_ema") + ) + self.sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, "sopr")) + self.sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "sopr_30d_ema") + ) + self.sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "sopr_7d_ema") + ) + self.total_realized_pnl: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "total_realized_pnl") + ) + self.value_created: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "value_created") + ) + self.value_destroyed: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "value_destroyed") + ) + class Ratio1ySdPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self._0sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, '0sd_usd')) - self.m0_5sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'm0_5sd')) - self.m0_5sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'm0_5sd_usd')) - self.m1_5sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'm1_5sd')) - self.m1_5sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'm1_5sd_usd')) - self.m1sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'm1sd')) - self.m1sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'm1sd_usd')) - self.m2_5sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'm2_5sd')) - self.m2_5sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'm2_5sd_usd')) - self.m2sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'm2sd')) - self.m2sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'm2sd_usd')) - self.m3sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'm3sd')) - self.m3sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'm3sd_usd')) - self.p0_5sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'p0_5sd')) - self.p0_5sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'p0_5sd_usd')) - self.p1_5sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'p1_5sd')) - self.p1_5sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'p1_5sd_usd')) - self.p1sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'p1sd')) - self.p1sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'p1sd_usd')) - self.p2_5sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'p2_5sd')) - self.p2_5sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'p2_5sd_usd')) - self.p2sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'p2sd')) - self.p2sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'p2sd_usd')) - self.p3sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'p3sd')) - self.p3sd_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'p3sd_usd')) - self.sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'sd')) - self.sma: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'sma')) - self.zscore: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'zscore')) + self._0sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "0sd_usd") + ) + self.m0_5sd: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "m0_5sd") + ) + self.m0_5sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "m0_5sd_usd") + ) + self.m1_5sd: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "m1_5sd") + ) + self.m1_5sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "m1_5sd_usd") + ) + self.m1sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "m1sd")) + self.m1sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "m1sd_usd") + ) + self.m2_5sd: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "m2_5sd") + ) + self.m2_5sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "m2_5sd_usd") + ) + self.m2sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "m2sd")) + self.m2sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "m2sd_usd") + ) + self.m3sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "m3sd")) + self.m3sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "m3sd_usd") + ) + self.p0_5sd: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "p0_5sd") + ) + self.p0_5sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "p0_5sd_usd") + ) + self.p1_5sd: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "p1_5sd") + ) + self.p1_5sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "p1_5sd_usd") + ) + self.p1sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "p1sd")) + self.p1sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "p1sd_usd") + ) + self.p2_5sd: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "p2_5sd") + ) + self.p2_5sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "p2_5sd_usd") + ) + self.p2sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "p2sd")) + self.p2sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "p2sd_usd") + ) + self.p3sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "p3sd")) + self.p3sd_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "p3sd_usd") + ) + self.sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "sd")) + self.sma: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "sma")) + self.zscore: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "zscore") + ) + class RealizedPattern2: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.mvrv: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'mvrv')) - self.neg_realized_loss: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'neg_realized_loss')) - self.net_realized_pnl: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'net_realized_pnl')) - self.net_realized_pnl_cumulative_30d_delta: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta')) - self.net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_market_cap')) - self.net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap')) - self.net_realized_pnl_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'net_realized_pnl_rel_to_realized_cap')) - self.realized_cap: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_cap')) - self.realized_cap_30d_delta: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'realized_cap_30d_delta')) - self.realized_cap_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'realized_cap_rel_to_own_market_cap')) - self.realized_loss: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'realized_loss')) - self.realized_loss_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'realized_loss_rel_to_realized_cap')) - self.realized_price: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_price')) - self.realized_price_extra: ActivePriceRatioPattern = ActivePriceRatioPattern(client, _m(acc, 'realized_price_ratio')) - self.realized_profit: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'realized_profit')) - self.realized_profit_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'realized_profit_rel_to_realized_cap')) - self.realized_profit_to_loss_ratio: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'realized_profit_to_loss_ratio')) - self.realized_value: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_value')) - self.sell_side_risk_ratio: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio')) - self.sell_side_risk_ratio_30d_ema: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio_30d_ema')) - self.sell_side_risk_ratio_7d_ema: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio_7d_ema')) - self.sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr')) - self.sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr_30d_ema')) - self.sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr_7d_ema')) - self.total_realized_pnl: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'total_realized_pnl')) - self.value_created: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'value_created')) - self.value_destroyed: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'value_destroyed')) + self.mvrv: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "mvrv")) + self.neg_realized_loss: BitcoinPattern[Dollars] = BitcoinPattern( + client, _m(acc, "neg_realized_loss") + ) + self.net_realized_pnl: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "net_realized_pnl") + ) + self.net_realized_pnl_cumulative_30d_delta: MetricPattern4[Dollars] = ( + MetricPattern4(client, _m(acc, "net_realized_pnl_cumulative_30d_delta")) + ) + self.net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4[ + StoredF32 + ] = MetricPattern4( + client, _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap") + ) + self.net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4[ + StoredF32 + ] = MetricPattern4( + client, _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap") + ) + self.net_realized_pnl_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "net_realized_pnl_rel_to_realized_cap")) + ) + self.realized_cap: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_cap") + ) + self.realized_cap_30d_delta: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "realized_cap_30d_delta") + ) + self.realized_cap_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "realized_cap_rel_to_own_market_cap")) + ) + self.realized_loss: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "realized_loss") + ) + self.realized_loss_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "realized_loss_rel_to_realized_cap")) + ) + self.realized_price: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_price") + ) + self.realized_price_extra: ActivePriceRatioPattern = ActivePriceRatioPattern( + client, _m(acc, "realized_price_ratio") + ) + self.realized_profit: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "realized_profit") + ) + self.realized_profit_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "realized_profit_rel_to_realized_cap")) + ) + self.realized_profit_to_loss_ratio: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "realized_profit_to_loss_ratio") + ) + self.realized_value: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_value") + ) + self.sell_side_risk_ratio: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio") + ) + self.sell_side_risk_ratio_30d_ema: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio_30d_ema") + ) + self.sell_side_risk_ratio_7d_ema: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio_7d_ema") + ) + self.sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, "sopr")) + self.sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "sopr_30d_ema") + ) + self.sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "sopr_7d_ema") + ) + self.total_realized_pnl: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "total_realized_pnl") + ) + self.value_created: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "value_created") + ) + self.value_destroyed: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "value_destroyed") + ) + class RealizedPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.mvrv: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'mvrv')) - self.neg_realized_loss: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'neg_realized_loss')) - self.net_realized_pnl: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'net_realized_pnl')) - self.net_realized_pnl_cumulative_30d_delta: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta')) - self.net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_market_cap')) - self.net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap')) - self.net_realized_pnl_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'net_realized_pnl_rel_to_realized_cap')) - self.realized_cap: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_cap')) - self.realized_cap_30d_delta: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'realized_cap_30d_delta')) - self.realized_loss: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'realized_loss')) - self.realized_loss_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'realized_loss_rel_to_realized_cap')) - self.realized_price: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_price')) - self.realized_price_extra: RealizedPriceExtraPattern = RealizedPriceExtraPattern(client, _m(acc, 'realized_price')) - self.realized_profit: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'realized_profit')) - self.realized_profit_rel_to_realized_cap: BlockCountPattern[StoredF32] = BlockCountPattern(client, _m(acc, 'realized_profit_rel_to_realized_cap')) - self.realized_value: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'realized_value')) - self.sell_side_risk_ratio: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio')) - self.sell_side_risk_ratio_30d_ema: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio_30d_ema')) - self.sell_side_risk_ratio_7d_ema: MetricPattern6[StoredF32] = MetricPattern6(client, _m(acc, 'sell_side_risk_ratio_7d_ema')) - self.sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr')) - self.sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr_30d_ema')) - self.sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, 'sopr_7d_ema')) - self.total_realized_pnl: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'total_realized_pnl')) - self.value_created: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'value_created')) - self.value_destroyed: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'value_destroyed')) + self.mvrv: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "mvrv")) + self.neg_realized_loss: BitcoinPattern[Dollars] = BitcoinPattern( + client, _m(acc, "neg_realized_loss") + ) + self.net_realized_pnl: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "net_realized_pnl") + ) + self.net_realized_pnl_cumulative_30d_delta: MetricPattern4[Dollars] = ( + MetricPattern4(client, _m(acc, "net_realized_pnl_cumulative_30d_delta")) + ) + self.net_realized_pnl_cumulative_30d_delta_rel_to_market_cap: MetricPattern4[ + StoredF32 + ] = MetricPattern4( + client, _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_market_cap") + ) + self.net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap: MetricPattern4[ + StoredF32 + ] = MetricPattern4( + client, _m(acc, "net_realized_pnl_cumulative_30d_delta_rel_to_realized_cap") + ) + self.net_realized_pnl_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "net_realized_pnl_rel_to_realized_cap")) + ) + self.realized_cap: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_cap") + ) + self.realized_cap_30d_delta: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "realized_cap_30d_delta") + ) + self.realized_loss: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "realized_loss") + ) + self.realized_loss_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "realized_loss_rel_to_realized_cap")) + ) + self.realized_price: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_price") + ) + self.realized_price_extra: RealizedPriceExtraPattern = ( + RealizedPriceExtraPattern(client, _m(acc, "realized_price")) + ) + self.realized_profit: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "realized_profit") + ) + self.realized_profit_rel_to_realized_cap: BlockCountPattern[StoredF32] = ( + BlockCountPattern(client, _m(acc, "realized_profit_rel_to_realized_cap")) + ) + self.realized_value: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "realized_value") + ) + self.sell_side_risk_ratio: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio") + ) + self.sell_side_risk_ratio_30d_ema: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio_30d_ema") + ) + self.sell_side_risk_ratio_7d_ema: MetricPattern6[StoredF32] = MetricPattern6( + client, _m(acc, "sell_side_risk_ratio_7d_ema") + ) + self.sopr: MetricPattern6[StoredF64] = MetricPattern6(client, _m(acc, "sopr")) + self.sopr_30d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "sopr_30d_ema") + ) + self.sopr_7d_ema: MetricPattern6[StoredF64] = MetricPattern6( + client, _m(acc, "sopr_7d_ema") + ) + self.total_realized_pnl: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "total_realized_pnl") + ) + self.value_created: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "value_created") + ) + self.value_destroyed: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "value_destroyed") + ) + class Price111dSmaPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" self.price: MetricPattern4[Dollars] = MetricPattern4(client, acc) - self.ratio: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio')) - self.ratio_1m_sma: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio_1m_sma')) - self.ratio_1w_sma: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio_1w_sma')) - self.ratio_1y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, 'ratio_1y')) - self.ratio_2y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, 'ratio_2y')) - self.ratio_4y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, 'ratio_4y')) - self.ratio_pct1: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio_pct1')) - self.ratio_pct1_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'ratio_pct1_usd')) - self.ratio_pct2: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio_pct2')) - self.ratio_pct2_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'ratio_pct2_usd')) - self.ratio_pct5: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio_pct5')) - self.ratio_pct5_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'ratio_pct5_usd')) - self.ratio_pct95: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio_pct95')) - self.ratio_pct95_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'ratio_pct95_usd')) - self.ratio_pct98: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio_pct98')) - self.ratio_pct98_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'ratio_pct98_usd')) - self.ratio_pct99: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio_pct99')) - self.ratio_pct99_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'ratio_pct99_usd')) - self.ratio_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, 'ratio')) + self.ratio: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "ratio")) + self.ratio_1m_sma: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "ratio_1m_sma") + ) + self.ratio_1w_sma: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "ratio_1w_sma") + ) + self.ratio_1y_sd: Ratio1ySdPattern = Ratio1ySdPattern( + client, _m(acc, "ratio_1y") + ) + self.ratio_2y_sd: Ratio1ySdPattern = Ratio1ySdPattern( + client, _m(acc, "ratio_2y") + ) + self.ratio_4y_sd: Ratio1ySdPattern = Ratio1ySdPattern( + client, _m(acc, "ratio_4y") + ) + self.ratio_pct1: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "ratio_pct1") + ) + self.ratio_pct1_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "ratio_pct1_usd") + ) + self.ratio_pct2: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "ratio_pct2") + ) + self.ratio_pct2_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "ratio_pct2_usd") + ) + self.ratio_pct5: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "ratio_pct5") + ) + self.ratio_pct5_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "ratio_pct5_usd") + ) + self.ratio_pct95: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "ratio_pct95") + ) + self.ratio_pct95_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "ratio_pct95_usd") + ) + self.ratio_pct98: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "ratio_pct98") + ) + self.ratio_pct98_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "ratio_pct98_usd") + ) + self.ratio_pct99: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "ratio_pct99") + ) + self.ratio_pct99_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "ratio_pct99_usd") + ) + self.ratio_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, "ratio")) + class PercentilesPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.cost_basis_pct05: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct05')) - self.cost_basis_pct10: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct10')) - self.cost_basis_pct15: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct15')) - self.cost_basis_pct20: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct20')) - self.cost_basis_pct25: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct25')) - self.cost_basis_pct30: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct30')) - self.cost_basis_pct35: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct35')) - self.cost_basis_pct40: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct40')) - self.cost_basis_pct45: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct45')) - self.cost_basis_pct50: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct50')) - self.cost_basis_pct55: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct55')) - self.cost_basis_pct60: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct60')) - self.cost_basis_pct65: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct65')) - self.cost_basis_pct70: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct70')) - self.cost_basis_pct75: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct75')) - self.cost_basis_pct80: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct80')) - self.cost_basis_pct85: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct85')) - self.cost_basis_pct90: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct90')) - self.cost_basis_pct95: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct95')) + self.cost_basis_pct05: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct05") + ) + self.cost_basis_pct10: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct10") + ) + self.cost_basis_pct15: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct15") + ) + self.cost_basis_pct20: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct20") + ) + self.cost_basis_pct25: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct25") + ) + self.cost_basis_pct30: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct30") + ) + self.cost_basis_pct35: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct35") + ) + self.cost_basis_pct40: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct40") + ) + self.cost_basis_pct45: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct45") + ) + self.cost_basis_pct50: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct50") + ) + self.cost_basis_pct55: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct55") + ) + self.cost_basis_pct60: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct60") + ) + self.cost_basis_pct65: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct65") + ) + self.cost_basis_pct70: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct70") + ) + self.cost_basis_pct75: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct75") + ) + self.cost_basis_pct80: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct80") + ) + self.cost_basis_pct85: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct85") + ) + self.cost_basis_pct90: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct90") + ) + self.cost_basis_pct95: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct95") + ) + class ActivePriceRatioPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" self.ratio: MetricPattern4[StoredF32] = MetricPattern4(client, acc) - self.ratio_1m_sma: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, '1m_sma')) - self.ratio_1w_sma: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, '1w_sma')) - self.ratio_1y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, '1y')) - self.ratio_2y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, '2y')) - self.ratio_4y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, '4y')) - self.ratio_pct1: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'pct1')) - self.ratio_pct1_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct1_usd')) - self.ratio_pct2: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'pct2')) - self.ratio_pct2_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct2_usd')) - self.ratio_pct5: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'pct5')) - self.ratio_pct5_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct5_usd')) - self.ratio_pct95: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'pct95')) - self.ratio_pct95_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct95_usd')) - self.ratio_pct98: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'pct98')) - self.ratio_pct98_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct98_usd')) - self.ratio_pct99: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'pct99')) - self.ratio_pct99_usd: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, 'pct99_usd')) + self.ratio_1m_sma: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "1m_sma") + ) + self.ratio_1w_sma: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "1w_sma") + ) + self.ratio_1y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, "1y")) + self.ratio_2y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, "2y")) + self.ratio_4y_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, _m(acc, "4y")) + self.ratio_pct1: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "pct1") + ) + self.ratio_pct1_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct1_usd") + ) + self.ratio_pct2: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "pct2") + ) + self.ratio_pct2_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct2_usd") + ) + self.ratio_pct5: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "pct5") + ) + self.ratio_pct5_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct5_usd") + ) + self.ratio_pct95: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "pct95") + ) + self.ratio_pct95_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct95_usd") + ) + self.ratio_pct98: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "pct98") + ) + self.ratio_pct98_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct98_usd") + ) + self.ratio_pct99: MetricPattern4[StoredF32] = MetricPattern4( + client, _m(acc, "pct99") + ) + self.ratio_pct99_usd: MetricPattern4[Dollars] = MetricPattern4( + client, _m(acc, "pct99_usd") + ) self.ratio_sd: Ratio1ySdPattern = Ratio1ySdPattern(client, acc) + class RelativePattern5: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.neg_unrealized_loss_rel_to_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_market_cap')) - self.neg_unrealized_loss_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_own_market_cap')) - self.neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_own_total_unrealized_pnl')) - self.net_unrealized_pnl_rel_to_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_market_cap')) - self.net_unrealized_pnl_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_own_market_cap')) - self.net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_own_total_unrealized_pnl')) - self.nupl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'nupl')) - self.supply_in_loss_rel_to_circulating_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_circulating_supply')) - self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_own_supply')) - self.supply_in_profit_rel_to_circulating_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_circulating_supply')) - self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_own_supply')) - self.supply_rel_to_circulating_supply: MetricPattern4[StoredF64] = MetricPattern4(client, _m(acc, 'supply_rel_to_circulating_supply')) - self.unrealized_loss_rel_to_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_market_cap')) - self.unrealized_loss_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_own_market_cap')) - self.unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_own_total_unrealized_pnl')) - self.unrealized_profit_rel_to_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_market_cap')) - self.unrealized_profit_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_own_market_cap')) - self.unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_own_total_unrealized_pnl')) + self.neg_unrealized_loss_rel_to_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "neg_unrealized_loss_rel_to_market_cap")) + ) + self.neg_unrealized_loss_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "neg_unrealized_loss_rel_to_own_market_cap")) + ) + self.neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, _m(acc, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl") + ) + self.net_unrealized_pnl_rel_to_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "net_unrealized_pnl_rel_to_market_cap")) + ) + self.net_unrealized_pnl_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "net_unrealized_pnl_rel_to_own_market_cap")) + ) + self.net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, _m(acc, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl") + ) + self.nupl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, "nupl")) + self.supply_in_loss_rel_to_circulating_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "supply_in_loss_rel_to_circulating_supply")) + ) + self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "supply_in_loss_rel_to_own_supply")) + ) + self.supply_in_profit_rel_to_circulating_supply: MetricPattern1[StoredF64] = ( + MetricPattern1( + client, _m(acc, "supply_in_profit_rel_to_circulating_supply") + ) + ) + self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "supply_in_profit_rel_to_own_supply")) + ) + self.supply_rel_to_circulating_supply: MetricPattern4[StoredF64] = ( + MetricPattern4(client, _m(acc, "supply_rel_to_circulating_supply")) + ) + self.unrealized_loss_rel_to_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "unrealized_loss_rel_to_market_cap")) + ) + self.unrealized_loss_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "unrealized_loss_rel_to_own_market_cap")) + ) + self.unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, _m(acc, "unrealized_loss_rel_to_own_total_unrealized_pnl") + ) + self.unrealized_profit_rel_to_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "unrealized_profit_rel_to_market_cap")) + ) + self.unrealized_profit_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "unrealized_profit_rel_to_own_market_cap")) + ) + self.unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, _m(acc, "unrealized_profit_rel_to_own_total_unrealized_pnl") + ) + class AaopoolPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self._1m_blocks_mined: MetricPattern1[StoredU32] = MetricPattern1(client, _m(acc, '1m_blocks_mined')) - self._1m_dominance: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, '1m_dominance')) - self._1w_blocks_mined: MetricPattern1[StoredU32] = MetricPattern1(client, _m(acc, '1w_blocks_mined')) - self._1w_dominance: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, '1w_dominance')) - self._1y_blocks_mined: MetricPattern1[StoredU32] = MetricPattern1(client, _m(acc, '1y_blocks_mined')) - self._1y_dominance: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, '1y_dominance')) - self._24h_blocks_mined: MetricPattern1[StoredU32] = MetricPattern1(client, _m(acc, '24h_blocks_mined')) - self._24h_dominance: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, '24h_dominance')) - self.blocks_mined: BlockCountPattern[StoredU32] = BlockCountPattern(client, _m(acc, 'blocks_mined')) - self.coinbase: UnclaimedRewardsPattern = UnclaimedRewardsPattern(client, _m(acc, 'coinbase')) - self.days_since_block: MetricPattern4[StoredU16] = MetricPattern4(client, _m(acc, 'days_since_block')) - self.dominance: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'dominance')) - self.fee: UnclaimedRewardsPattern = UnclaimedRewardsPattern(client, _m(acc, 'fee')) - self.subsidy: UnclaimedRewardsPattern = UnclaimedRewardsPattern(client, _m(acc, 'subsidy')) + self._1m_blocks_mined: MetricPattern1[StoredU32] = MetricPattern1( + client, _m(acc, "1m_blocks_mined") + ) + self._1m_dominance: MetricPattern1[StoredF32] = MetricPattern1( + client, _m(acc, "1m_dominance") + ) + self._1w_blocks_mined: MetricPattern1[StoredU32] = MetricPattern1( + client, _m(acc, "1w_blocks_mined") + ) + self._1w_dominance: MetricPattern1[StoredF32] = MetricPattern1( + client, _m(acc, "1w_dominance") + ) + self._1y_blocks_mined: MetricPattern1[StoredU32] = MetricPattern1( + client, _m(acc, "1y_blocks_mined") + ) + self._1y_dominance: MetricPattern1[StoredF32] = MetricPattern1( + client, _m(acc, "1y_dominance") + ) + self._24h_blocks_mined: MetricPattern1[StoredU32] = MetricPattern1( + client, _m(acc, "24h_blocks_mined") + ) + self._24h_dominance: MetricPattern1[StoredF32] = MetricPattern1( + client, _m(acc, "24h_dominance") + ) + self.blocks_mined: BlockCountPattern[StoredU32] = BlockCountPattern( + client, _m(acc, "blocks_mined") + ) + self.coinbase: CoinbasePattern2 = CoinbasePattern2(client, _m(acc, "coinbase")) + self.days_since_block: MetricPattern4[StoredU16] = MetricPattern4( + client, _m(acc, "days_since_block") + ) + self.dominance: MetricPattern1[StoredF32] = MetricPattern1( + client, _m(acc, "dominance") + ) + self.fee: UnclaimedRewardsPattern = UnclaimedRewardsPattern( + client, _m(acc, "fee") + ) + self.subsidy: UnclaimedRewardsPattern = UnclaimedRewardsPattern( + client, _m(acc, "subsidy") + ) + class PriceAgoPattern(Generic[T]): """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self._10y: MetricPattern4[T] = MetricPattern4(client, _m(acc, '10y_ago')) - self._1d: MetricPattern4[T] = MetricPattern4(client, _m(acc, '1d_ago')) - self._1m: MetricPattern4[T] = MetricPattern4(client, _m(acc, '1m_ago')) - self._1w: MetricPattern4[T] = MetricPattern4(client, _m(acc, '1w_ago')) - self._1y: MetricPattern4[T] = MetricPattern4(client, _m(acc, '1y_ago')) - self._2y: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2y_ago')) - self._3m: MetricPattern4[T] = MetricPattern4(client, _m(acc, '3m_ago')) - self._3y: MetricPattern4[T] = MetricPattern4(client, _m(acc, '3y_ago')) - self._4y: MetricPattern4[T] = MetricPattern4(client, _m(acc, '4y_ago')) - self._5y: MetricPattern4[T] = MetricPattern4(client, _m(acc, '5y_ago')) - self._6m: MetricPattern4[T] = MetricPattern4(client, _m(acc, '6m_ago')) - self._6y: MetricPattern4[T] = MetricPattern4(client, _m(acc, '6y_ago')) - self._8y: MetricPattern4[T] = MetricPattern4(client, _m(acc, '8y_ago')) + + def __init__(self, client: BrkClientBase, base_path: str): + self._10y: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_10y") + self._1d: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_1d") + self._1m: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_1m") + self._1w: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_1w") + self._1y: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_1y") + self._2y: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2y") + self._3m: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_3m") + self._3y: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_3y") + self._4y: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_4y") + self._5y: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_5y") + self._6m: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_6m") + self._6y: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_6y") + self._8y: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_8y") + class PeriodLumpSumStackPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self._10y: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'10y_{{acc}}' if acc else '10y')) - self._1m: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'1m_{{acc}}' if acc else '1m')) - self._1w: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'1w_{{acc}}' if acc else '1w')) - self._1y: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'1y_{{acc}}' if acc else '1y')) - self._2y: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'2y_{{acc}}' if acc else '2y')) - self._3m: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'3m_{{acc}}' if acc else '3m')) - self._3y: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'3y_{{acc}}' if acc else '3y')) - self._4y: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'4y_{{acc}}' if acc else '4y')) - self._5y: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'5y_{{acc}}' if acc else '5y')) - self._6m: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'6m_{{acc}}' if acc else '6m')) - self._6y: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'6y_{{acc}}' if acc else '6y')) - self._8y: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, (f'8y_{{acc}}' if acc else '8y')) + self._10y: _2015Pattern = _2015Pattern(client, (f"10y_{acc}" if acc else "10y")) + self._1m: _2015Pattern = _2015Pattern(client, (f"1m_{acc}" if acc else "1m")) + self._1w: _2015Pattern = _2015Pattern(client, (f"1w_{acc}" if acc else "1w")) + self._1y: _2015Pattern = _2015Pattern(client, (f"1y_{acc}" if acc else "1y")) + self._2y: _2015Pattern = _2015Pattern(client, (f"2y_{acc}" if acc else "2y")) + self._3m: _2015Pattern = _2015Pattern(client, (f"3m_{acc}" if acc else "3m")) + self._3y: _2015Pattern = _2015Pattern(client, (f"3y_{acc}" if acc else "3y")) + self._4y: _2015Pattern = _2015Pattern(client, (f"4y_{acc}" if acc else "4y")) + self._5y: _2015Pattern = _2015Pattern(client, (f"5y_{acc}" if acc else "5y")) + self._6m: _2015Pattern = _2015Pattern(client, (f"6m_{acc}" if acc else "6m")) + self._6y: _2015Pattern = _2015Pattern(client, (f"6y_{acc}" if acc else "6y")) + self._8y: _2015Pattern = _2015Pattern(client, (f"8y_{acc}" if acc else "8y")) + class PeriodAveragePricePattern(Generic[T]): """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self._10y: MetricPattern4[T] = MetricPattern4(client, (f'10y_{{acc}}' if acc else '10y')) - self._1m: MetricPattern4[T] = MetricPattern4(client, (f'1m_{{acc}}' if acc else '1m')) - self._1w: MetricPattern4[T] = MetricPattern4(client, (f'1w_{{acc}}' if acc else '1w')) - self._1y: MetricPattern4[T] = MetricPattern4(client, (f'1y_{{acc}}' if acc else '1y')) - self._2y: MetricPattern4[T] = MetricPattern4(client, (f'2y_{{acc}}' if acc else '2y')) - self._3m: MetricPattern4[T] = MetricPattern4(client, (f'3m_{{acc}}' if acc else '3m')) - self._3y: MetricPattern4[T] = MetricPattern4(client, (f'3y_{{acc}}' if acc else '3y')) - self._4y: MetricPattern4[T] = MetricPattern4(client, (f'4y_{{acc}}' if acc else '4y')) - self._5y: MetricPattern4[T] = MetricPattern4(client, (f'5y_{{acc}}' if acc else '5y')) - self._6m: MetricPattern4[T] = MetricPattern4(client, (f'6m_{{acc}}' if acc else '6m')) - self._6y: MetricPattern4[T] = MetricPattern4(client, (f'6y_{{acc}}' if acc else '6y')) - self._8y: MetricPattern4[T] = MetricPattern4(client, (f'8y_{{acc}}' if acc else '8y')) + self._10y: MetricPattern4[T] = MetricPattern4( + client, (f"10y_{acc}" if acc else "10y") + ) + self._1m: MetricPattern4[T] = MetricPattern4( + client, (f"1m_{acc}" if acc else "1m") + ) + self._1w: MetricPattern4[T] = MetricPattern4( + client, (f"1w_{acc}" if acc else "1w") + ) + self._1y: MetricPattern4[T] = MetricPattern4( + client, (f"1y_{acc}" if acc else "1y") + ) + self._2y: MetricPattern4[T] = MetricPattern4( + client, (f"2y_{acc}" if acc else "2y") + ) + self._3m: MetricPattern4[T] = MetricPattern4( + client, (f"3m_{acc}" if acc else "3m") + ) + self._3y: MetricPattern4[T] = MetricPattern4( + client, (f"3y_{acc}" if acc else "3y") + ) + self._4y: MetricPattern4[T] = MetricPattern4( + client, (f"4y_{acc}" if acc else "4y") + ) + self._5y: MetricPattern4[T] = MetricPattern4( + client, (f"5y_{acc}" if acc else "5y") + ) + self._6m: MetricPattern4[T] = MetricPattern4( + client, (f"6m_{acc}" if acc else "6m") + ) + self._6y: MetricPattern4[T] = MetricPattern4( + client, (f"6y_{acc}" if acc else "6y") + ) + self._8y: MetricPattern4[T] = MetricPattern4( + client, (f"8y_{acc}" if acc else "8y") + ) + + +class DollarsPattern(Generic[T]): + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.average: MetricPattern2[T] = MetricPattern2(client, _m(acc, "average")) + self.base: MetricPattern11[T] = MetricPattern11(client, acc) + self.cumulative: MetricPattern1[T] = MetricPattern1( + client, _m(acc, "cumulative") + ) + self.max: MetricPattern2[T] = MetricPattern2(client, _m(acc, "max")) + self.median: MetricPattern6[T] = MetricPattern6(client, _m(acc, "median")) + self.min: MetricPattern2[T] = MetricPattern2(client, _m(acc, "min")) + self.pct10: MetricPattern6[T] = MetricPattern6(client, _m(acc, "pct10")) + self.pct25: MetricPattern6[T] = MetricPattern6(client, _m(acc, "pct25")) + self.pct75: MetricPattern6[T] = MetricPattern6(client, _m(acc, "pct75")) + self.pct90: MetricPattern6[T] = MetricPattern6(client, _m(acc, "pct90")) + self.sum: MetricPattern2[T] = MetricPattern2(client, _m(acc, "sum")) + class ClassAveragePricePattern(Generic[T]): """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self._2015: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2015_average_price')) - self._2016: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2016_average_price')) - self._2017: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2017_average_price')) - self._2018: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2018_average_price')) - self._2019: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2019_average_price')) - self._2020: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2020_average_price')) - self._2021: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2021_average_price')) - self._2022: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2022_average_price')) - self._2023: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2023_average_price')) - self._2024: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2024_average_price')) - self._2025: MetricPattern4[T] = MetricPattern4(client, _m(acc, '2025_average_price')) + + def __init__(self, client: BrkClientBase, base_path: str): + self._2015: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2015") + self._2016: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2016") + self._2017: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2017") + self._2018: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2018") + self._2019: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2019") + self._2020: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2020") + self._2021: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2021") + self._2022: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2022") + self._2023: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2023") + self._2024: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2024") + self._2025: MetricPattern4[T] = MetricPattern4(client, f"{base_path}_2025") + class FullnessPattern(Generic[T]): """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.average: MetricPattern2[T] = MetricPattern2(client, _m(acc, 'average')) + self.average: MetricPattern2[T] = MetricPattern2(client, _m(acc, "average")) self.base: MetricPattern11[T] = MetricPattern11(client, acc) - self.cumulative: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'cumulative')) - self.max: MetricPattern2[T] = MetricPattern2(client, _m(acc, 'max')) - self.median: MetricPattern6[T] = MetricPattern6(client, _m(acc, 'median')) - self.min: MetricPattern2[T] = MetricPattern2(client, _m(acc, 'min')) - self.pct10: MetricPattern6[T] = MetricPattern6(client, _m(acc, 'pct10')) - self.pct25: MetricPattern6[T] = MetricPattern6(client, _m(acc, 'pct25')) - self.pct75: MetricPattern6[T] = MetricPattern6(client, _m(acc, 'pct75')) - self.pct90: MetricPattern6[T] = MetricPattern6(client, _m(acc, 'pct90')) - self.sum: MetricPattern2[T] = MetricPattern2(client, _m(acc, 'sum')) + self.cumulative: MetricPattern2[T] = MetricPattern2( + client, _m(acc, "cumulative") + ) + self.max: MetricPattern2[T] = MetricPattern2(client, _m(acc, "max")) + self.median: MetricPattern6[T] = MetricPattern6(client, _m(acc, "median")) + self.min: MetricPattern2[T] = MetricPattern2(client, _m(acc, "min")) + self.pct10: MetricPattern6[T] = MetricPattern6(client, _m(acc, "pct10")) + self.pct25: MetricPattern6[T] = MetricPattern6(client, _m(acc, "pct25")) + self.pct75: MetricPattern6[T] = MetricPattern6(client, _m(acc, "pct75")) + self.pct90: MetricPattern6[T] = MetricPattern6(client, _m(acc, "pct90")) + self.sum: MetricPattern2[T] = MetricPattern2(client, _m(acc, "sum")) + class RelativePattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.neg_unrealized_loss_rel_to_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_market_cap')) - self.net_unrealized_pnl_rel_to_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_market_cap')) - self.nupl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'nupl')) - self.supply_in_loss_rel_to_circulating_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_circulating_supply')) - self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_own_supply')) - self.supply_in_profit_rel_to_circulating_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_circulating_supply')) - self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_own_supply')) - self.supply_rel_to_circulating_supply: MetricPattern4[StoredF64] = MetricPattern4(client, _m(acc, 'supply_rel_to_circulating_supply')) - self.unrealized_loss_rel_to_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_market_cap')) - self.unrealized_profit_rel_to_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_market_cap')) + self.neg_unrealized_loss_rel_to_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "neg_unrealized_loss_rel_to_market_cap")) + ) + self.net_unrealized_pnl_rel_to_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "net_unrealized_pnl_rel_to_market_cap")) + ) + self.nupl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, "nupl")) + self.supply_in_loss_rel_to_circulating_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "supply_in_loss_rel_to_circulating_supply")) + ) + self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "supply_in_loss_rel_to_own_supply")) + ) + self.supply_in_profit_rel_to_circulating_supply: MetricPattern1[StoredF64] = ( + MetricPattern1( + client, _m(acc, "supply_in_profit_rel_to_circulating_supply") + ) + ) + self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "supply_in_profit_rel_to_own_supply")) + ) + self.supply_rel_to_circulating_supply: MetricPattern4[StoredF64] = ( + MetricPattern4(client, _m(acc, "supply_rel_to_circulating_supply")) + ) + self.unrealized_loss_rel_to_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "unrealized_loss_rel_to_market_cap")) + ) + self.unrealized_profit_rel_to_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "unrealized_profit_rel_to_market_cap")) + ) + class RelativePattern2: """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.neg_unrealized_loss_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_own_market_cap')) - self.neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'neg_unrealized_loss_rel_to_own_total_unrealized_pnl')) - self.net_unrealized_pnl_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_own_market_cap')) - self.net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'net_unrealized_pnl_rel_to_own_total_unrealized_pnl')) - self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_loss_rel_to_own_supply')) - self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'supply_in_profit_rel_to_own_supply')) - self.unrealized_loss_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_own_market_cap')) - self.unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_loss_rel_to_own_total_unrealized_pnl')) - self.unrealized_profit_rel_to_own_market_cap: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_own_market_cap')) - self.unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, _m(acc, 'unrealized_profit_rel_to_own_total_unrealized_pnl')) -class SizePattern(Generic[T]): - """Pattern struct for repeated tree structure.""" - def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.average: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'average')) - self.cumulative: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'cumulative')) - self.max: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'max')) - self.median: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'median')) - self.min: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'min')) - self.pct10: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'pct10')) - self.pct25: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'pct25')) - self.pct75: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'pct75')) - self.pct90: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'pct90')) - self.sum: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'sum')) + self.neg_unrealized_loss_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "neg_unrealized_loss_rel_to_own_market_cap")) + ) + self.neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, _m(acc, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl") + ) + self.net_unrealized_pnl_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "net_unrealized_pnl_rel_to_own_market_cap")) + ) + self.net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, _m(acc, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl") + ) + self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "supply_in_loss_rel_to_own_supply")) + ) + self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "supply_in_profit_rel_to_own_supply")) + ) + self.unrealized_loss_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "unrealized_loss_rel_to_own_market_cap")) + ) + self.unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, _m(acc, "unrealized_loss_rel_to_own_total_unrealized_pnl") + ) + self.unrealized_profit_rel_to_own_market_cap: MetricPattern1[StoredF32] = ( + MetricPattern1(client, _m(acc, "unrealized_profit_rel_to_own_market_cap")) + ) + self.unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, _m(acc, "unrealized_profit_rel_to_own_total_unrealized_pnl") + ) + + +class CountPattern2(Generic[T]): + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.average: MetricPattern1[T] = MetricPattern1(client, _m(acc, "average")) + self.cumulative: MetricPattern1[T] = MetricPattern1( + client, _m(acc, "cumulative") + ) + self.max: MetricPattern1[T] = MetricPattern1(client, _m(acc, "max")) + self.median: MetricPattern11[T] = MetricPattern11(client, _m(acc, "median")) + self.min: MetricPattern1[T] = MetricPattern1(client, _m(acc, "min")) + self.pct10: MetricPattern11[T] = MetricPattern11(client, _m(acc, "pct10")) + self.pct25: MetricPattern11[T] = MetricPattern11(client, _m(acc, "pct25")) + self.pct75: MetricPattern11[T] = MetricPattern11(client, _m(acc, "pct75")) + self.pct90: MetricPattern11[T] = MetricPattern11(client, _m(acc, "pct90")) + self.sum: MetricPattern1[T] = MetricPattern1(client, _m(acc, "sum")) + class AddrCountPattern: """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.all: MetricPattern1[StoredU64] = MetricPattern1(client, (f'addr_{{acc}}' if acc else 'addr')) - self.p2a: MetricPattern1[StoredU64] = MetricPattern1(client, (f'p2a_addr_{{acc}}' if acc else 'p2a_addr')) - self.p2pk33: MetricPattern1[StoredU64] = MetricPattern1(client, (f'p2pk33_addr_{{acc}}' if acc else 'p2pk33_addr')) - self.p2pk65: MetricPattern1[StoredU64] = MetricPattern1(client, (f'p2pk65_addr_{{acc}}' if acc else 'p2pk65_addr')) - self.p2pkh: MetricPattern1[StoredU64] = MetricPattern1(client, (f'p2pkh_addr_{{acc}}' if acc else 'p2pkh_addr')) - self.p2sh: MetricPattern1[StoredU64] = MetricPattern1(client, (f'p2sh_addr_{{acc}}' if acc else 'p2sh_addr')) - self.p2tr: MetricPattern1[StoredU64] = MetricPattern1(client, (f'p2tr_addr_{{acc}}' if acc else 'p2tr_addr')) - self.p2wpkh: MetricPattern1[StoredU64] = MetricPattern1(client, (f'p2wpkh_addr_{{acc}}' if acc else 'p2wpkh_addr')) - self.p2wsh: MetricPattern1[StoredU64] = MetricPattern1(client, (f'p2wsh_addr_{{acc}}' if acc else 'p2wsh_addr')) + + def __init__(self, client: BrkClientBase, base_path: str): + self.all: MetricPattern1[StoredU64] = MetricPattern1(client, f"{base_path}_all") + self.p2a: MetricPattern1[StoredU64] = MetricPattern1(client, f"{base_path}_p2a") + self.p2pk33: MetricPattern1[StoredU64] = MetricPattern1( + client, f"{base_path}_p2pk33" + ) + self.p2pk65: MetricPattern1[StoredU64] = MetricPattern1( + client, f"{base_path}_p2pk65" + ) + self.p2pkh: MetricPattern1[StoredU64] = MetricPattern1( + client, f"{base_path}_p2pkh" + ) + self.p2sh: MetricPattern1[StoredU64] = MetricPattern1( + client, f"{base_path}_p2sh" + ) + self.p2tr: MetricPattern1[StoredU64] = MetricPattern1( + client, f"{base_path}_p2tr" + ) + self.p2wpkh: MetricPattern1[StoredU64] = MetricPattern1( + client, f"{base_path}_p2wpkh" + ) + self.p2wsh: MetricPattern1[StoredU64] = MetricPattern1( + client, f"{base_path}_p2wsh" + ) + class FeeRatePattern(Generic[T]): """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.average: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'average')) - self.max: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'max')) - self.median: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'median')) - self.min: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'min')) - self.pct10: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'pct10')) - self.pct25: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'pct25')) - self.pct75: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'pct75')) - self.pct90: MetricPattern11[T] = MetricPattern11(client, _m(acc, 'pct90')) + self.average: MetricPattern1[T] = MetricPattern1(client, _m(acc, "average")) + self.max: MetricPattern1[T] = MetricPattern1(client, _m(acc, "max")) + self.median: MetricPattern11[T] = MetricPattern11(client, _m(acc, "median")) + self.min: MetricPattern1[T] = MetricPattern1(client, _m(acc, "min")) + self.pct10: MetricPattern11[T] = MetricPattern11(client, _m(acc, "pct10")) + self.pct25: MetricPattern11[T] = MetricPattern11(client, _m(acc, "pct25")) + self.pct75: MetricPattern11[T] = MetricPattern11(client, _m(acc, "pct75")) + self.pct90: MetricPattern11[T] = MetricPattern11(client, _m(acc, "pct90")) self.txindex: MetricPattern27[T] = MetricPattern27(client, acc) + class _0satsPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" self.activity: ActivityPattern2 = ActivityPattern2(client, acc) - self.addr_count: MetricPattern1[StoredU64] = MetricPattern1(client, _m(acc, 'addr_count')) + self.addr_count: MetricPattern1[StoredU64] = MetricPattern1( + client, _m(acc, "addr_count") + ) self.cost_basis: CostBasisPattern = CostBasisPattern(client, acc) self.outputs: OutputsPattern = OutputsPattern(client, acc) self.realized: RealizedPattern = RealizedPattern(client, acc) self.relative: RelativePattern = RelativePattern(client, acc) - self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, 'supply')) + self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, "supply")) self.unrealized: UnrealizedPattern = UnrealizedPattern(client, acc) -class _0satsPattern2: + +class _100btcPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" self.activity: ActivityPattern2 = ActivityPattern2(client, acc) self.cost_basis: CostBasisPattern = CostBasisPattern(client, acc) self.outputs: OutputsPattern = OutputsPattern(client, acc) self.realized: RealizedPattern = RealizedPattern(client, acc) - self.relative: RelativePattern4 = RelativePattern4(client, _m(acc, 'supply_in')) - self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, 'supply')) + self.relative: RelativePattern = RelativePattern(client, acc) + self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, "supply")) self.unrealized: UnrealizedPattern = UnrealizedPattern(client, acc) + +class _0satsPattern2: + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.activity: ActivityPattern2 = ActivityPattern2(client, acc) + self.cost_basis: CostBasisPattern = CostBasisPattern(client, acc) + self.outputs: OutputsPattern = OutputsPattern(client, acc) + self.realized: RealizedPattern = RealizedPattern(client, acc) + self.relative: RelativePattern4 = RelativePattern4(client, _m(acc, "supply_in")) + self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, "supply")) + self.unrealized: UnrealizedPattern = UnrealizedPattern(client, acc) + + class _10yTo12yPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" self.activity: ActivityPattern2 = ActivityPattern2(client, acc) @@ -2197,12 +3804,69 @@ class _10yTo12yPattern: self.outputs: OutputsPattern = OutputsPattern(client, acc) self.realized: RealizedPattern2 = RealizedPattern2(client, acc) self.relative: RelativePattern2 = RelativePattern2(client, acc) - self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, 'supply')) + self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, "supply")) self.unrealized: UnrealizedPattern = UnrealizedPattern(client, acc) + +class UnrealizedPattern: + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.neg_unrealized_loss: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "neg_unrealized_loss") + ) + self.net_unrealized_pnl: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "net_unrealized_pnl") + ) + self.supply_in_loss: ActiveSupplyPattern = ActiveSupplyPattern( + client, _m(acc, "supply_in_loss") + ) + self.supply_in_profit: ActiveSupplyPattern = ActiveSupplyPattern( + client, _m(acc, "supply_in_profit") + ) + self.total_unrealized_pnl: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "total_unrealized_pnl") + ) + self.unrealized_loss: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "unrealized_loss") + ) + self.unrealized_profit: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "unrealized_profit") + ) + + +class PeriodCagrPattern: + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self._10y: MetricPattern4[StoredF32] = MetricPattern4( + client, (f"10y_{acc}" if acc else "10y") + ) + self._2y: MetricPattern4[StoredF32] = MetricPattern4( + client, (f"2y_{acc}" if acc else "2y") + ) + self._3y: MetricPattern4[StoredF32] = MetricPattern4( + client, (f"3y_{acc}" if acc else "3y") + ) + self._4y: MetricPattern4[StoredF32] = MetricPattern4( + client, (f"4y_{acc}" if acc else "4y") + ) + self._5y: MetricPattern4[StoredF32] = MetricPattern4( + client, (f"5y_{acc}" if acc else "5y") + ) + self._6y: MetricPattern4[StoredF32] = MetricPattern4( + client, (f"6y_{acc}" if acc else "6y") + ) + self._8y: MetricPattern4[StoredF32] = MetricPattern4( + client, (f"8y_{acc}" if acc else "8y") + ) + + class _10yPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" self.activity: ActivityPattern2 = ActivityPattern2(client, acc) @@ -2210,1447 +3874,2792 @@ class _10yPattern: self.outputs: OutputsPattern = OutputsPattern(client, acc) self.realized: RealizedPattern4 = RealizedPattern4(client, acc) self.relative: RelativePattern = RelativePattern(client, acc) - self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, 'supply')) + self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, "supply")) self.unrealized: UnrealizedPattern = UnrealizedPattern(client, acc) -class _100btcPattern: - """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.activity: ActivityPattern2 = ActivityPattern2(client, acc) - self.cost_basis: CostBasisPattern = CostBasisPattern(client, acc) - self.outputs: OutputsPattern = OutputsPattern(client, acc) - self.realized: RealizedPattern = RealizedPattern(client, acc) - self.relative: RelativePattern = RelativePattern(client, acc) - self.supply: SupplyPattern2 = SupplyPattern2(client, _m(acc, 'supply')) - self.unrealized: UnrealizedPattern = UnrealizedPattern(client, acc) - -class UnrealizedPattern: - """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.neg_unrealized_loss: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'neg_unrealized_loss')) - self.net_unrealized_pnl: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'net_unrealized_pnl')) - self.supply_in_loss: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, _m(acc, 'supply_in_loss')) - self.supply_in_profit: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, _m(acc, 'supply_in_profit')) - self.total_unrealized_pnl: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'total_unrealized_pnl')) - self.unrealized_loss: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'unrealized_loss')) - self.unrealized_profit: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'unrealized_profit')) - -class PeriodCagrPattern: - """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self._10y: MetricPattern4[StoredF32] = MetricPattern4(client, (f'10y_{{acc}}' if acc else '10y')) - self._2y: MetricPattern4[StoredF32] = MetricPattern4(client, (f'2y_{{acc}}' if acc else '2y')) - self._3y: MetricPattern4[StoredF32] = MetricPattern4(client, (f'3y_{{acc}}' if acc else '3y')) - self._4y: MetricPattern4[StoredF32] = MetricPattern4(client, (f'4y_{{acc}}' if acc else '4y')) - self._5y: MetricPattern4[StoredF32] = MetricPattern4(client, (f'5y_{{acc}}' if acc else '5y')) - self._6y: MetricPattern4[StoredF32] = MetricPattern4(client, (f'6y_{{acc}}' if acc else '6y')) - self._8y: MetricPattern4[StoredF32] = MetricPattern4(client, (f'8y_{{acc}}' if acc else '8y')) class ActivityPattern2: """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.coinblocks_destroyed: BlockCountPattern[StoredF64] = BlockCountPattern(client, _m(acc, 'coinblocks_destroyed')) - self.coindays_destroyed: BlockCountPattern[StoredF64] = BlockCountPattern(client, _m(acc, 'coindays_destroyed')) - self.satblocks_destroyed: MetricPattern11[Sats] = MetricPattern11(client, _m(acc, 'satblocks_destroyed')) - self.satdays_destroyed: MetricPattern11[Sats] = MetricPattern11(client, _m(acc, 'satdays_destroyed')) - self.sent: UnclaimedRewardsPattern = UnclaimedRewardsPattern(client, _m(acc, 'sent')) -class SplitPattern(Generic[T]): - """Pattern struct for repeated tree structure.""" - def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.close: MetricPattern5[T] = MetricPattern5(client, _m(acc, 'close_cents')) - self.high: MetricPattern5[T] = MetricPattern5(client, _m(acc, 'high_cents')) - self.low: MetricPattern5[T] = MetricPattern5(client, _m(acc, 'low_cents')) - self.open: MetricPattern5[T] = MetricPattern5(client, _m(acc, 'open_cents')) + self.coinblocks_destroyed: BlockCountPattern[StoredF64] = BlockCountPattern( + client, _m(acc, "coinblocks_destroyed") + ) + self.coindays_destroyed: BlockCountPattern[StoredF64] = BlockCountPattern( + client, _m(acc, "coindays_destroyed") + ) + self.satblocks_destroyed: MetricPattern11[Sats] = MetricPattern11( + client, _m(acc, "satblocks_destroyed") + ) + self.satdays_destroyed: MetricPattern11[Sats] = MetricPattern11( + client, _m(acc, "satdays_destroyed") + ) + self.sent: UnclaimedRewardsPattern = UnclaimedRewardsPattern( + client, _m(acc, "sent") + ) + + +class SplitPattern2(Generic[T]): + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.close: MetricPattern1[T] = MetricPattern1(client, _m(acc, "close")) + self.high: MetricPattern1[T] = MetricPattern1(client, _m(acc, "high")) + self.low: MetricPattern1[T] = MetricPattern1(client, _m(acc, "low")) + self.open: MetricPattern1[T] = MetricPattern1(client, _m(acc, "open")) + class CoinbasePattern: """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.bitcoin: FullnessPattern[Bitcoin] = FullnessPattern(client, _m(acc, 'btc')) - self.dollars: FullnessPattern[Dollars] = FullnessPattern(client, _m(acc, 'usd')) - self.sats: FullnessPattern[Sats] = FullnessPattern(client, acc) -class SegwitAdoptionPattern: - """Pattern struct for repeated tree structure.""" - def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.base: MetricPattern11[StoredF32] = MetricPattern11(client, acc) - self.cumulative: MetricPattern2[StoredF32] = MetricPattern2(client, _m(acc, 'cumulative')) - self.sum: MetricPattern2[StoredF32] = MetricPattern2(client, _m(acc, 'sum')) + self.bitcoin: FullnessPattern[Bitcoin] = FullnessPattern(client, _m(acc, "btc")) + self.dollars: DollarsPattern[Dollars] = DollarsPattern(client, _m(acc, "usd")) + self.sats: DollarsPattern[Sats] = DollarsPattern(client, acc) -class _24hCoinbaseSumPattern: - """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.bitcoin: MetricPattern11[Bitcoin] = MetricPattern11(client, _m(acc, 'btc')) - self.dollars: MetricPattern11[Dollars] = MetricPattern11(client, _m(acc, 'usd')) - self.sats: MetricPattern11[Sats] = MetricPattern11(client, acc) -class CostBasisPattern2: +class CoinbasePattern2: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.max: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'max_cost_basis')) - self.min: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'min_cost_basis')) - self.percentiles: PercentilesPattern = PercentilesPattern(client, _m(acc, 'cost_basis')) + self.bitcoin: BlockCountPattern[Bitcoin] = BlockCountPattern( + client, _m(acc, "btc") + ) + self.dollars: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "usd") + ) + self.sats: BlockCountPattern[Sats] = BlockCountPattern(client, acc) + + +class ActiveSupplyPattern: + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.bitcoin: MetricPattern1[Bitcoin] = MetricPattern1(client, _m(acc, "btc")) + self.dollars: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, "usd")) + self.sats: MetricPattern1[Sats] = MetricPattern1(client, acc) + class UnclaimedRewardsPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.bitcoin: BlockCountPattern[Bitcoin] = BlockCountPattern(client, _m(acc, 'btc')) - self.dollars: BlockCountPattern[Dollars] = BlockCountPattern(client, _m(acc, 'usd')) + self.bitcoin: BitcoinPattern[Bitcoin] = BitcoinPattern(client, _m(acc, "btc")) + self.dollars: BlockCountPattern[Dollars] = BlockCountPattern( + client, _m(acc, "usd") + ) self.sats: BlockCountPattern[Sats] = BlockCountPattern(client, acc) + +class _2015Pattern: + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.bitcoin: MetricPattern4[Bitcoin] = MetricPattern4(client, _m(acc, "btc")) + self.dollars: MetricPattern4[Dollars] = MetricPattern4(client, _m(acc, "usd")) + self.sats: MetricPattern4[Sats] = MetricPattern4(client, acc) + + +class CostBasisPattern2: + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, base_path: str): + self.max: MetricPattern1[Dollars] = MetricPattern1(client, f"{base_path}_max") + self.min: MetricPattern1[Dollars] = MetricPattern1(client, f"{base_path}_min") + self.percentiles: PercentilesPattern = PercentilesPattern( + client, f"{base_path}_percentiles" + ) + + +class SegwitAdoptionPattern: + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.base: MetricPattern11[StoredF32] = MetricPattern11(client, acc) + self.cumulative: MetricPattern2[StoredF32] = MetricPattern2( + client, _m(acc, "cumulative") + ) + self.sum: MetricPattern2[StoredF32] = MetricPattern2(client, _m(acc, "sum")) + + class RelativePattern4: """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'loss_rel_to_own_supply')) - self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, _m(acc, 'profit_rel_to_own_supply')) -class CostBasisPattern: - """Pattern struct for repeated tree structure.""" - def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.max: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'max_cost_basis')) - self.min: MetricPattern1[Dollars] = MetricPattern1(client, _m(acc, 'min_cost_basis')) + self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "loss_rel_to_own_supply")) + ) + self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, _m(acc, "profit_rel_to_own_supply")) + ) + class SupplyPattern2: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.halved: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, _m(acc, 'half')) - self.total: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, acc) + self.halved: ActiveSupplyPattern = ActiveSupplyPattern(client, _m(acc, "half")) + self.total: ActiveSupplyPattern = ActiveSupplyPattern(client, acc) + + +class CostBasisPattern: + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.max: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "max_cost_basis") + ) + self.min: MetricPattern1[Dollars] = MetricPattern1( + client, _m(acc, "min_cost_basis") + ) + class _1dReturns1mSdPattern: """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'sd')) - self.sma: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'sma')) -class CentsPattern(Generic[T]): - """Pattern struct for repeated tree structure.""" - def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.ohlc: MetricPattern5[T] = MetricPattern5(client, _m(acc, 'ohlc_sats')) - self.split: SplitPattern[T] = SplitPattern(client, _m(acc, 'sats')) + self.sd: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "sd")) + self.sma: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "sma")) + class BlockCountPattern(Generic[T]): """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.cumulative: MetricPattern1[T] = MetricPattern1(client, _m(acc, 'cumulative')) + self.cumulative: MetricPattern1[T] = MetricPattern1( + client, _m(acc, "cumulative") + ) self.sum: MetricPattern1[T] = MetricPattern1(client, acc) + +class BitcoinPattern(Generic[T]): + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, acc: str): + """Create pattern node with accumulated metric name.""" + self.cumulative: MetricPattern2[T] = MetricPattern2( + client, _m(acc, "cumulative") + ) + self.sum: MetricPattern1[T] = MetricPattern1(client, acc) + + +class SatsPattern(Generic[T]): + """Pattern struct for repeated tree structure.""" + + def __init__(self, client: BrkClientBase, base_path: str): + self.ohlc: MetricPattern1[T] = MetricPattern1(client, f"{base_path}_ohlc") + self.split: SplitPattern2[Any] = SplitPattern2(client, f"{base_path}_split") + + class RealizedPriceExtraPattern: """Pattern struct for repeated tree structure.""" - + def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.ratio: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, 'ratio')) + self.ratio: MetricPattern4[StoredF32] = MetricPattern4(client, _m(acc, "ratio")) + class OutputsPattern: """Pattern struct for repeated tree structure.""" - - def __init__(self, client: BrkClientBase, acc: str): - """Create pattern node with accumulated metric name.""" - self.utxo_count: MetricPattern1[StoredU64] = MetricPattern1(client, _m(acc, 'utxo_count')) -class EmptyPattern(Generic[T]): - """Pattern struct for repeated tree structure.""" - def __init__(self, client: BrkClientBase, acc: str): """Create pattern node with accumulated metric name.""" - self.identity: MetricPattern23[T] = MetricPattern23(client, acc) + self.utxo_count: MetricPattern1[StoredU64] = MetricPattern1( + client, _m(acc, "utxo_count") + ) + # Catalog tree classes + class CatalogTree: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.addresses: CatalogTree_Addresses = CatalogTree_Addresses(client, f'{base_path}_addresses') - self.blocks: CatalogTree_Blocks = CatalogTree_Blocks(client, f'{base_path}_blocks') - self.cointime: CatalogTree_Cointime = CatalogTree_Cointime(client, f'{base_path}_cointime') - self.constants: CatalogTree_Constants = CatalogTree_Constants(client, f'{base_path}_constants') - self.distribution: CatalogTree_Distribution = CatalogTree_Distribution(client, f'{base_path}_distribution') - self.indexes: CatalogTree_Indexes = CatalogTree_Indexes(client, f'{base_path}_indexes') - self.inputs: CatalogTree_Inputs = CatalogTree_Inputs(client, f'{base_path}_inputs') - self.market: CatalogTree_Market = CatalogTree_Market(client, f'{base_path}_market') - self.outputs: CatalogTree_Outputs = CatalogTree_Outputs(client, f'{base_path}_outputs') - self.pools: CatalogTree_Pools = CatalogTree_Pools(client, f'{base_path}_pools') - self.positions: CatalogTree_Positions = CatalogTree_Positions(client, f'{base_path}_positions') - self.price: CatalogTree_Price = CatalogTree_Price(client, f'{base_path}_price') - self.scripts: CatalogTree_Scripts = CatalogTree_Scripts(client, f'{base_path}_scripts') - self.supply: CatalogTree_Supply = CatalogTree_Supply(client, f'{base_path}_supply') - self.transactions: CatalogTree_Transactions = CatalogTree_Transactions(client, f'{base_path}_transactions') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.addresses: CatalogTree_Addresses = CatalogTree_Addresses(client) + self.blocks: CatalogTree_Blocks = CatalogTree_Blocks(client) + self.cointime: CatalogTree_Cointime = CatalogTree_Cointime(client) + self.constants: CatalogTree_Constants = CatalogTree_Constants(client) + self.distribution: CatalogTree_Distribution = CatalogTree_Distribution(client) + self.indexes: CatalogTree_Indexes = CatalogTree_Indexes(client) + self.inputs: CatalogTree_Inputs = CatalogTree_Inputs(client) + self.market: CatalogTree_Market = CatalogTree_Market(client) + self.outputs: CatalogTree_Outputs = CatalogTree_Outputs(client) + self.pools: CatalogTree_Pools = CatalogTree_Pools(client) + self.positions: CatalogTree_Positions = CatalogTree_Positions(client) + self.price: CatalogTree_Price = CatalogTree_Price(client) + self.scripts: CatalogTree_Scripts = CatalogTree_Scripts(client) + self.supply: CatalogTree_Supply = CatalogTree_Supply(client) + self.transactions: CatalogTree_Transactions = CatalogTree_Transactions(client) + class CatalogTree_Addresses: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.first_p2aaddressindex: MetricPattern11[P2AAddressIndex] = MetricPattern11(client, f'{base_path}_first_p2aaddressindex') - self.first_p2pk33addressindex: MetricPattern11[P2PK33AddressIndex] = MetricPattern11(client, f'{base_path}_first_p2pk33addressindex') - self.first_p2pk65addressindex: MetricPattern11[P2PK65AddressIndex] = MetricPattern11(client, f'{base_path}_first_p2pk65addressindex') - self.first_p2pkhaddressindex: MetricPattern11[P2PKHAddressIndex] = MetricPattern11(client, f'{base_path}_first_p2pkhaddressindex') - self.first_p2shaddressindex: MetricPattern11[P2SHAddressIndex] = MetricPattern11(client, f'{base_path}_first_p2shaddressindex') - self.first_p2traddressindex: MetricPattern11[P2TRAddressIndex] = MetricPattern11(client, f'{base_path}_first_p2traddressindex') - self.first_p2wpkhaddressindex: MetricPattern11[P2WPKHAddressIndex] = MetricPattern11(client, f'{base_path}_first_p2wpkhaddressindex') - self.first_p2wshaddressindex: MetricPattern11[P2WSHAddressIndex] = MetricPattern11(client, f'{base_path}_first_p2wshaddressindex') - self.p2abytes: MetricPattern16[P2ABytes] = MetricPattern16(client, f'{base_path}_p2abytes') - self.p2pk33bytes: MetricPattern18[P2PK33Bytes] = MetricPattern18(client, f'{base_path}_p2pk33bytes') - self.p2pk65bytes: MetricPattern19[P2PK65Bytes] = MetricPattern19(client, f'{base_path}_p2pk65bytes') - self.p2pkhbytes: MetricPattern20[P2PKHBytes] = MetricPattern20(client, f'{base_path}_p2pkhbytes') - self.p2shbytes: MetricPattern21[P2SHBytes] = MetricPattern21(client, f'{base_path}_p2shbytes') - self.p2trbytes: MetricPattern22[P2TRBytes] = MetricPattern22(client, f'{base_path}_p2trbytes') - self.p2wpkhbytes: MetricPattern23[P2WPKHBytes] = MetricPattern23(client, f'{base_path}_p2wpkhbytes') - self.p2wshbytes: MetricPattern24[P2WSHBytes] = MetricPattern24(client, f'{base_path}_p2wshbytes') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.first_p2aaddressindex: MetricPattern11[P2AAddressIndex] = MetricPattern11( + client, "first_p2aaddressindex" + ) + self.first_p2pk33addressindex: MetricPattern11[P2PK33AddressIndex] = ( + MetricPattern11(client, "first_p2pk33addressindex") + ) + self.first_p2pk65addressindex: MetricPattern11[P2PK65AddressIndex] = ( + MetricPattern11(client, "first_p2pk65addressindex") + ) + self.first_p2pkhaddressindex: MetricPattern11[P2PKHAddressIndex] = ( + MetricPattern11(client, "first_p2pkhaddressindex") + ) + self.first_p2shaddressindex: MetricPattern11[P2SHAddressIndex] = ( + MetricPattern11(client, "first_p2shaddressindex") + ) + self.first_p2traddressindex: MetricPattern11[P2TRAddressIndex] = ( + MetricPattern11(client, "first_p2traddressindex") + ) + self.first_p2wpkhaddressindex: MetricPattern11[P2WPKHAddressIndex] = ( + MetricPattern11(client, "first_p2wpkhaddressindex") + ) + self.first_p2wshaddressindex: MetricPattern11[P2WSHAddressIndex] = ( + MetricPattern11(client, "first_p2wshaddressindex") + ) + self.p2abytes: MetricPattern16[P2ABytes] = MetricPattern16(client, "p2abytes") + self.p2pk33bytes: MetricPattern18[P2PK33Bytes] = MetricPattern18( + client, "p2pk33bytes" + ) + self.p2pk65bytes: MetricPattern19[P2PK65Bytes] = MetricPattern19( + client, "p2pk65bytes" + ) + self.p2pkhbytes: MetricPattern20[P2PKHBytes] = MetricPattern20( + client, "p2pkhbytes" + ) + self.p2shbytes: MetricPattern21[P2SHBytes] = MetricPattern21( + client, "p2shbytes" + ) + self.p2trbytes: MetricPattern22[P2TRBytes] = MetricPattern22( + client, "p2trbytes" + ) + self.p2wpkhbytes: MetricPattern23[P2WPKHBytes] = MetricPattern23( + client, "p2wpkhbytes" + ) + self.p2wshbytes: MetricPattern24[P2WSHBytes] = MetricPattern24( + client, "p2wshbytes" + ) + class CatalogTree_Blocks: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.blockhash: MetricPattern11[BlockHash] = MetricPattern11(client, f'{base_path}_blockhash') - self.count: CatalogTree_Blocks_Count = CatalogTree_Blocks_Count(client, f'{base_path}_count') - self.difficulty: CatalogTree_Blocks_Difficulty = CatalogTree_Blocks_Difficulty(client, f'{base_path}_difficulty') - self.fullness: FullnessPattern[StoredF32] = FullnessPattern(client, 'block_fullness') - self.halving: CatalogTree_Blocks_Halving = CatalogTree_Blocks_Halving(client, f'{base_path}_halving') - self.interval: CatalogTree_Blocks_Interval = CatalogTree_Blocks_Interval(client, f'{base_path}_interval') - self.mining: CatalogTree_Blocks_Mining = CatalogTree_Blocks_Mining(client, f'{base_path}_mining') - self.rewards: CatalogTree_Blocks_Rewards = CatalogTree_Blocks_Rewards(client, f'{base_path}_rewards') - self.size: SizePattern[StoredU64] = SizePattern(client, 'block_size') - self.time: CatalogTree_Blocks_Time = CatalogTree_Blocks_Time(client, f'{base_path}_time') - self.total_size: MetricPattern11[StoredU64] = MetricPattern11(client, f'{base_path}_total_size') - self.vbytes: FullnessPattern[StoredU64] = FullnessPattern(client, 'block_vbytes') - self.weight: FullnessPattern[Weight] = FullnessPattern(client, '') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.blockhash: MetricPattern11[BlockHash] = MetricPattern11( + client, "blockhash" + ) + self.count: CatalogTree_Blocks_Count = CatalogTree_Blocks_Count(client) + self.difficulty: CatalogTree_Blocks_Difficulty = CatalogTree_Blocks_Difficulty( + client + ) + self.fullness: FullnessPattern[StoredF32] = FullnessPattern( + client, "block_fullness" + ) + self.halving: CatalogTree_Blocks_Halving = CatalogTree_Blocks_Halving(client) + self.interval: CatalogTree_Blocks_Interval = CatalogTree_Blocks_Interval(client) + self.mining: CatalogTree_Blocks_Mining = CatalogTree_Blocks_Mining(client) + self.rewards: CatalogTree_Blocks_Rewards = CatalogTree_Blocks_Rewards(client) + self.size: CatalogTree_Blocks_Size = CatalogTree_Blocks_Size(client) + self.time: CatalogTree_Blocks_Time = CatalogTree_Blocks_Time(client) + self.total_size: MetricPattern11[StoredU64] = MetricPattern11( + client, "total_size" + ) + self.vbytes: DollarsPattern[StoredU64] = DollarsPattern(client, "block_vbytes") + self.weight: DollarsPattern[Weight] = DollarsPattern(client, "") + class CatalogTree_Blocks_Count: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._1m_block_count: MetricPattern1[StoredU32] = MetricPattern1(client, f'{base_path}__1m_block_count') - self._1m_start: MetricPattern11[Height] = MetricPattern11(client, f'{base_path}__1m_start') - self._1w_block_count: MetricPattern1[StoredU32] = MetricPattern1(client, f'{base_path}__1w_block_count') - self._1w_start: MetricPattern11[Height] = MetricPattern11(client, f'{base_path}__1w_start') - self._1y_block_count: MetricPattern1[StoredU32] = MetricPattern1(client, f'{base_path}__1y_block_count') - self._1y_start: MetricPattern11[Height] = MetricPattern11(client, f'{base_path}__1y_start') - self._24h_block_count: MetricPattern1[StoredU32] = MetricPattern1(client, f'{base_path}__24h_block_count') - self._24h_start: MetricPattern11[Height] = MetricPattern11(client, f'{base_path}__24h_start') - self.block_count: BlockCountPattern[StoredU32] = BlockCountPattern(client, 'block_count') - self.block_count_target: MetricPattern4[StoredU64] = MetricPattern4(client, f'{base_path}_block_count_target') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._1m_block_count: MetricPattern1[StoredU32] = MetricPattern1( + client, "1m_block_count" + ) + self._1m_start: MetricPattern11[Height] = MetricPattern11(client, "1m_start") + self._1w_block_count: MetricPattern1[StoredU32] = MetricPattern1( + client, "1w_block_count" + ) + self._1w_start: MetricPattern11[Height] = MetricPattern11(client, "1w_start") + self._1y_block_count: MetricPattern1[StoredU32] = MetricPattern1( + client, "1y_block_count" + ) + self._1y_start: MetricPattern11[Height] = MetricPattern11(client, "1y_start") + self._24h_block_count: MetricPattern1[StoredU32] = MetricPattern1( + client, "24h_block_count" + ) + self._24h_start: MetricPattern11[Height] = MetricPattern11(client, "24h_start") + self.block_count: BlockCountPattern[StoredU32] = BlockCountPattern( + client, "block_count" + ) + self.block_count_target: MetricPattern4[StoredU64] = MetricPattern4( + client, "block_count_target" + ) + class CatalogTree_Blocks_Difficulty: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.adjustment: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_adjustment') - self.as_hash: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_as_hash') - self.blocks_before_next_adjustment: MetricPattern1[StoredU32] = MetricPattern1(client, f'{base_path}_blocks_before_next_adjustment') - self.days_before_next_adjustment: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_days_before_next_adjustment') - self.epoch: MetricPattern4[DifficultyEpoch] = MetricPattern4(client, f'{base_path}_epoch') - self.raw: MetricPattern1[StoredF64] = MetricPattern1(client, f'{base_path}_raw') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.adjustment: MetricPattern1[StoredF32] = MetricPattern1( + client, "difficulty_adjustment" + ) + self.as_hash: MetricPattern1[StoredF32] = MetricPattern1( + client, "difficulty_as_hash" + ) + self.blocks_before_next_adjustment: MetricPattern1[StoredU32] = MetricPattern1( + client, "blocks_before_next_difficulty_adjustment" + ) + self.days_before_next_adjustment: MetricPattern1[StoredF32] = MetricPattern1( + client, "days_before_next_difficulty_adjustment" + ) + self.epoch: MetricPattern4[DifficultyEpoch] = MetricPattern4( + client, "difficultyepoch" + ) + self.raw: MetricPattern1[StoredF64] = MetricPattern1(client, "difficulty") + class CatalogTree_Blocks_Halving: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.blocks_before_next_halving: MetricPattern1[StoredU32] = MetricPattern1(client, f'{base_path}_blocks_before_next_halving') - self.days_before_next_halving: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_days_before_next_halving') - self.epoch: MetricPattern4[HalvingEpoch] = MetricPattern4(client, f'{base_path}_epoch') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.blocks_before_next_halving: MetricPattern1[StoredU32] = MetricPattern1( + client, "blocks_before_next_halving" + ) + self.days_before_next_halving: MetricPattern1[StoredF32] = MetricPattern1( + client, "days_before_next_halving" + ) + self.epoch: MetricPattern4[HalvingEpoch] = MetricPattern4( + client, "halvingepoch" + ) + class CatalogTree_Blocks_Interval: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.average: MetricPattern2[Timestamp] = MetricPattern2(client, f'{base_path}_average') - self.base: MetricPattern11[Timestamp] = MetricPattern11(client, f'{base_path}_base') - self.max: MetricPattern2[Timestamp] = MetricPattern2(client, f'{base_path}_max') - self.median: MetricPattern6[Timestamp] = MetricPattern6(client, f'{base_path}_median') - self.min: MetricPattern2[Timestamp] = MetricPattern2(client, f'{base_path}_min') - self.pct10: MetricPattern6[Timestamp] = MetricPattern6(client, f'{base_path}_pct10') - self.pct25: MetricPattern6[Timestamp] = MetricPattern6(client, f'{base_path}_pct25') - self.pct75: MetricPattern6[Timestamp] = MetricPattern6(client, f'{base_path}_pct75') - self.pct90: MetricPattern6[Timestamp] = MetricPattern6(client, f'{base_path}_pct90') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.average: MetricPattern2[Timestamp] = MetricPattern2( + client, "block_interval_average" + ) + self.base: MetricPattern11[Timestamp] = MetricPattern11( + client, "block_interval" + ) + self.max: MetricPattern2[Timestamp] = MetricPattern2( + client, "block_interval_max" + ) + self.median: MetricPattern6[Timestamp] = MetricPattern6( + client, "block_interval_median" + ) + self.min: MetricPattern2[Timestamp] = MetricPattern2( + client, "block_interval_min" + ) + self.pct10: MetricPattern6[Timestamp] = MetricPattern6( + client, "block_interval_pct10" + ) + self.pct25: MetricPattern6[Timestamp] = MetricPattern6( + client, "block_interval_pct25" + ) + self.pct75: MetricPattern6[Timestamp] = MetricPattern6( + client, "block_interval_pct75" + ) + self.pct90: MetricPattern6[Timestamp] = MetricPattern6( + client, "block_interval_pct90" + ) + class CatalogTree_Blocks_Mining: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.hash_price_phs: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_price_phs') - self.hash_price_phs_min: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_price_phs_min') - self.hash_price_rebound: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_price_rebound') - self.hash_price_ths: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_price_ths') - self.hash_price_ths_min: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_price_ths_min') - self.hash_rate: MetricPattern1[StoredF64] = MetricPattern1(client, f'{base_path}_hash_rate') - self.hash_rate_1m_sma: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_hash_rate_1m_sma') - self.hash_rate_1w_sma: MetricPattern4[StoredF64] = MetricPattern4(client, f'{base_path}_hash_rate_1w_sma') - self.hash_rate_1y_sma: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_hash_rate_1y_sma') - self.hash_rate_2m_sma: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_hash_rate_2m_sma') - self.hash_value_phs: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_value_phs') - self.hash_value_phs_min: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_value_phs_min') - self.hash_value_rebound: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_value_rebound') - self.hash_value_ths: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_value_ths') - self.hash_value_ths_min: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_hash_value_ths_min') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.hash_price_phs: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_price_phs" + ) + self.hash_price_phs_min: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_price_phs_min" + ) + self.hash_price_rebound: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_price_rebound" + ) + self.hash_price_ths: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_price_ths" + ) + self.hash_price_ths_min: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_price_ths_min" + ) + self.hash_rate: MetricPattern1[StoredF64] = MetricPattern1(client, "hash_rate") + self.hash_rate_1m_sma: MetricPattern4[StoredF32] = MetricPattern4( + client, "hash_rate_1m_sma" + ) + self.hash_rate_1w_sma: MetricPattern4[StoredF64] = MetricPattern4( + client, "hash_rate_1w_sma" + ) + self.hash_rate_1y_sma: MetricPattern4[StoredF32] = MetricPattern4( + client, "hash_rate_1y_sma" + ) + self.hash_rate_2m_sma: MetricPattern4[StoredF32] = MetricPattern4( + client, "hash_rate_2m_sma" + ) + self.hash_value_phs: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_value_phs" + ) + self.hash_value_phs_min: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_value_phs_min" + ) + self.hash_value_rebound: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_value_rebound" + ) + self.hash_value_ths: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_value_ths" + ) + self.hash_value_ths_min: MetricPattern1[StoredF32] = MetricPattern1( + client, "hash_value_ths_min" + ) + class CatalogTree_Blocks_Rewards: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._24h_coinbase_sum: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, '24h_coinbase_sum') - self.coinbase: CoinbasePattern = CoinbasePattern(client, 'coinbase') - self.fee_dominance: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_fee_dominance') - self.subsidy: CoinbasePattern = CoinbasePattern(client, 'subsidy') - self.subsidy_dominance: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_subsidy_dominance') - self.subsidy_usd_1y_sma: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_subsidy_usd_1y_sma') - self.unclaimed_rewards: UnclaimedRewardsPattern = UnclaimedRewardsPattern(client, 'unclaimed_rewards') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._24h_coinbase_sum: CatalogTree_Blocks_Rewards_24hCoinbaseSum = ( + CatalogTree_Blocks_Rewards_24hCoinbaseSum(client) + ) + self.coinbase: CoinbasePattern = CoinbasePattern(client, "coinbase") + self.fee_dominance: MetricPattern6[StoredF32] = MetricPattern6( + client, "fee_dominance" + ) + self.subsidy: CoinbasePattern = CoinbasePattern(client, "subsidy") + self.subsidy_dominance: MetricPattern6[StoredF32] = MetricPattern6( + client, "subsidy_dominance" + ) + self.subsidy_usd_1y_sma: MetricPattern4[Dollars] = MetricPattern4( + client, "subsidy_usd_1y_sma" + ) + self.unclaimed_rewards: UnclaimedRewardsPattern = UnclaimedRewardsPattern( + client, "unclaimed_rewards" + ) + + +class CatalogTree_Blocks_Rewards_24hCoinbaseSum: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.bitcoin: MetricPattern11[Bitcoin] = MetricPattern11( + client, "24h_coinbase_sum_btc" + ) + self.dollars: MetricPattern11[Dollars] = MetricPattern11( + client, "24h_coinbase_sum_usd" + ) + self.sats: MetricPattern11[Sats] = MetricPattern11(client, "24h_coinbase_sum") + + +class CatalogTree_Blocks_Size: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.average: MetricPattern2[StoredU64] = MetricPattern2( + client, "block_size_average" + ) + self.cumulative: MetricPattern1[StoredU64] = MetricPattern1( + client, "block_size_cumulative" + ) + self.max: MetricPattern2[StoredU64] = MetricPattern2(client, "block_size_max") + self.median: MetricPattern6[StoredU64] = MetricPattern6( + client, "block_size_median" + ) + self.min: MetricPattern2[StoredU64] = MetricPattern2(client, "block_size_min") + self.pct10: MetricPattern6[StoredU64] = MetricPattern6( + client, "block_size_pct10" + ) + self.pct25: MetricPattern6[StoredU64] = MetricPattern6( + client, "block_size_pct25" + ) + self.pct75: MetricPattern6[StoredU64] = MetricPattern6( + client, "block_size_pct75" + ) + self.pct90: MetricPattern6[StoredU64] = MetricPattern6( + client, "block_size_pct90" + ) + self.sum: MetricPattern2[StoredU64] = MetricPattern2(client, "block_size_sum") + class CatalogTree_Blocks_Time: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.date: MetricPattern11[Date] = MetricPattern11(client, f'{base_path}_date') - self.date_fixed: MetricPattern11[Date] = MetricPattern11(client, f'{base_path}_date_fixed') - self.timestamp: MetricPattern1[Timestamp] = MetricPattern1(client, f'{base_path}_timestamp') - self.timestamp_fixed: MetricPattern11[Timestamp] = MetricPattern11(client, f'{base_path}_timestamp_fixed') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.date: MetricPattern11[Date] = MetricPattern11(client, "date") + self.date_fixed: MetricPattern11[Date] = MetricPattern11(client, "date_fixed") + self.timestamp: MetricPattern1[Timestamp] = MetricPattern1(client, "timestamp") + self.timestamp_fixed: MetricPattern11[Timestamp] = MetricPattern11( + client, "timestamp_fixed" + ) + class CatalogTree_Cointime: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.activity: CatalogTree_Cointime_Activity = CatalogTree_Cointime_Activity(client, f'{base_path}_activity') - self.adjusted: CatalogTree_Cointime_Adjusted = CatalogTree_Cointime_Adjusted(client, f'{base_path}_adjusted') - self.cap: CatalogTree_Cointime_Cap = CatalogTree_Cointime_Cap(client, f'{base_path}_cap') - self.pricing: CatalogTree_Cointime_Pricing = CatalogTree_Cointime_Pricing(client, f'{base_path}_pricing') - self.supply: CatalogTree_Cointime_Supply = CatalogTree_Cointime_Supply(client, f'{base_path}_supply') - self.value: CatalogTree_Cointime_Value = CatalogTree_Cointime_Value(client, f'{base_path}_value') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.activity: CatalogTree_Cointime_Activity = CatalogTree_Cointime_Activity( + client + ) + self.adjusted: CatalogTree_Cointime_Adjusted = CatalogTree_Cointime_Adjusted( + client + ) + self.cap: CatalogTree_Cointime_Cap = CatalogTree_Cointime_Cap(client) + self.pricing: CatalogTree_Cointime_Pricing = CatalogTree_Cointime_Pricing( + client + ) + self.supply: CatalogTree_Cointime_Supply = CatalogTree_Cointime_Supply(client) + self.value: CatalogTree_Cointime_Value = CatalogTree_Cointime_Value(client) + class CatalogTree_Cointime_Activity: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.activity_to_vaultedness_ratio: MetricPattern1[StoredF64] = MetricPattern1(client, f'{base_path}_activity_to_vaultedness_ratio') - self.coinblocks_created: BlockCountPattern[StoredF64] = BlockCountPattern(client, 'coinblocks_created') - self.coinblocks_stored: BlockCountPattern[StoredF64] = BlockCountPattern(client, 'coinblocks_stored') - self.liveliness: MetricPattern1[StoredF64] = MetricPattern1(client, f'{base_path}_liveliness') - self.vaultedness: MetricPattern1[StoredF64] = MetricPattern1(client, f'{base_path}_vaultedness') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.activity_to_vaultedness_ratio: MetricPattern1[StoredF64] = MetricPattern1( + client, "activity_to_vaultedness_ratio" + ) + self.coinblocks_created: BlockCountPattern[StoredF64] = BlockCountPattern( + client, "coinblocks_created" + ) + self.coinblocks_stored: BlockCountPattern[StoredF64] = BlockCountPattern( + client, "coinblocks_stored" + ) + self.liveliness: MetricPattern1[StoredF64] = MetricPattern1( + client, "liveliness" + ) + self.vaultedness: MetricPattern1[StoredF64] = MetricPattern1( + client, "vaultedness" + ) + class CatalogTree_Cointime_Adjusted: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.cointime_adj_inflation_rate: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_cointime_adj_inflation_rate') - self.cointime_adj_tx_btc_velocity: MetricPattern4[StoredF64] = MetricPattern4(client, f'{base_path}_cointime_adj_tx_btc_velocity') - self.cointime_adj_tx_usd_velocity: MetricPattern4[StoredF64] = MetricPattern4(client, f'{base_path}_cointime_adj_tx_usd_velocity') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.cointime_adj_inflation_rate: MetricPattern4[StoredF32] = MetricPattern4( + client, "cointime_adj_inflation_rate" + ) + self.cointime_adj_tx_btc_velocity: MetricPattern4[StoredF64] = MetricPattern4( + client, "cointime_adj_tx_btc_velocity" + ) + self.cointime_adj_tx_usd_velocity: MetricPattern4[StoredF64] = MetricPattern4( + client, "cointime_adj_tx_usd_velocity" + ) + class CatalogTree_Cointime_Cap: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.active_cap: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_active_cap') - self.cointime_cap: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_cointime_cap') - self.investor_cap: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_investor_cap') - self.thermo_cap: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_thermo_cap') - self.vaulted_cap: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_vaulted_cap') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.active_cap: MetricPattern1[Dollars] = MetricPattern1(client, "active_cap") + self.cointime_cap: MetricPattern1[Dollars] = MetricPattern1( + client, "cointime_cap" + ) + self.investor_cap: MetricPattern1[Dollars] = MetricPattern1( + client, "investor_cap" + ) + self.thermo_cap: MetricPattern1[Dollars] = MetricPattern1(client, "thermo_cap") + self.vaulted_cap: MetricPattern1[Dollars] = MetricPattern1( + client, "vaulted_cap" + ) + class CatalogTree_Cointime_Pricing: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.active_price: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_active_price') - self.active_price_ratio: ActivePriceRatioPattern = ActivePriceRatioPattern(client, 'active_price_ratio') - self.cointime_price: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_cointime_price') - self.cointime_price_ratio: ActivePriceRatioPattern = ActivePriceRatioPattern(client, 'cointime_price_ratio') - self.true_market_mean: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_true_market_mean') - self.true_market_mean_ratio: ActivePriceRatioPattern = ActivePriceRatioPattern(client, 'true_market_mean_ratio') - self.vaulted_price: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_vaulted_price') - self.vaulted_price_ratio: ActivePriceRatioPattern = ActivePriceRatioPattern(client, 'vaulted_price_ratio') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.active_price: MetricPattern1[Dollars] = MetricPattern1( + client, "active_price" + ) + self.active_price_ratio: ActivePriceRatioPattern = ActivePriceRatioPattern( + client, "active_price_ratio" + ) + self.cointime_price: MetricPattern1[Dollars] = MetricPattern1( + client, "cointime_price" + ) + self.cointime_price_ratio: ActivePriceRatioPattern = ActivePriceRatioPattern( + client, "cointime_price_ratio" + ) + self.true_market_mean: MetricPattern1[Dollars] = MetricPattern1( + client, "true_market_mean" + ) + self.true_market_mean_ratio: ActivePriceRatioPattern = ActivePriceRatioPattern( + client, "true_market_mean_ratio" + ) + self.vaulted_price: MetricPattern1[Dollars] = MetricPattern1( + client, "vaulted_price" + ) + self.vaulted_price_ratio: ActivePriceRatioPattern = ActivePriceRatioPattern( + client, "vaulted_price_ratio" + ) + class CatalogTree_Cointime_Supply: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.active_supply: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'active_supply') - self.vaulted_supply: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'vaulted_supply') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.active_supply: ActiveSupplyPattern = ActiveSupplyPattern( + client, "active_supply" + ) + self.vaulted_supply: ActiveSupplyPattern = ActiveSupplyPattern( + client, "vaulted_supply" + ) + class CatalogTree_Cointime_Value: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.cointime_value_created: BlockCountPattern[StoredF64] = BlockCountPattern(client, 'cointime_value_created') - self.cointime_value_destroyed: BlockCountPattern[StoredF64] = BlockCountPattern(client, 'cointime_value_destroyed') - self.cointime_value_stored: BlockCountPattern[StoredF64] = BlockCountPattern(client, 'cointime_value_stored') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.cointime_value_created: BlockCountPattern[StoredF64] = BlockCountPattern( + client, "cointime_value_created" + ) + self.cointime_value_destroyed: BlockCountPattern[StoredF64] = BlockCountPattern( + client, "cointime_value_destroyed" + ) + self.cointime_value_stored: BlockCountPattern[StoredF64] = BlockCountPattern( + client, "cointime_value_stored" + ) + class CatalogTree_Constants: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.constant_0: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_0') - self.constant_1: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_1') - self.constant_100: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_100') - self.constant_2: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_2') - self.constant_20: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_20') - self.constant_3: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_3') - self.constant_30: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_30') - self.constant_38_2: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_constant_38_2') - self.constant_4: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_4') - self.constant_50: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_50') - self.constant_600: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_600') - self.constant_61_8: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_constant_61_8') - self.constant_70: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_70') - self.constant_80: MetricPattern1[StoredU16] = MetricPattern1(client, f'{base_path}_constant_80') - self.constant_minus_1: MetricPattern1[StoredI16] = MetricPattern1(client, f'{base_path}_constant_minus_1') - self.constant_minus_2: MetricPattern1[StoredI16] = MetricPattern1(client, f'{base_path}_constant_minus_2') - self.constant_minus_3: MetricPattern1[StoredI16] = MetricPattern1(client, f'{base_path}_constant_minus_3') - self.constant_minus_4: MetricPattern1[StoredI16] = MetricPattern1(client, f'{base_path}_constant_minus_4') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.constant_0: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_0" + ) + self.constant_1: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_1" + ) + self.constant_100: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_100" + ) + self.constant_2: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_2" + ) + self.constant_20: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_20" + ) + self.constant_3: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_3" + ) + self.constant_30: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_30" + ) + self.constant_38_2: MetricPattern1[StoredF32] = MetricPattern1( + client, "constant_38_2" + ) + self.constant_4: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_4" + ) + self.constant_50: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_50" + ) + self.constant_600: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_600" + ) + self.constant_61_8: MetricPattern1[StoredF32] = MetricPattern1( + client, "constant_61_8" + ) + self.constant_70: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_70" + ) + self.constant_80: MetricPattern1[StoredU16] = MetricPattern1( + client, "constant_80" + ) + self.constant_minus_1: MetricPattern1[StoredI16] = MetricPattern1( + client, "constant_minus_1" + ) + self.constant_minus_2: MetricPattern1[StoredI16] = MetricPattern1( + client, "constant_minus_2" + ) + self.constant_minus_3: MetricPattern1[StoredI16] = MetricPattern1( + client, "constant_minus_3" + ) + self.constant_minus_4: MetricPattern1[StoredI16] = MetricPattern1( + client, "constant_minus_4" + ) + class CatalogTree_Distribution: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.addr_count: AddrCountPattern = AddrCountPattern(client, 'addr_count') - self.address_cohorts: CatalogTree_Distribution_AddressCohorts = CatalogTree_Distribution_AddressCohorts(client, f'{base_path}_address_cohorts') - self.addresses_data: CatalogTree_Distribution_AddressesData = CatalogTree_Distribution_AddressesData(client, f'{base_path}_addresses_data') - self.any_address_indexes: CatalogTree_Distribution_AnyAddressIndexes = CatalogTree_Distribution_AnyAddressIndexes(client, f'{base_path}_any_address_indexes') - self.chain_state: MetricPattern11[SupplyState] = MetricPattern11(client, f'{base_path}_chain_state') - self.empty_addr_count: AddrCountPattern = AddrCountPattern(client, 'empty_addr_count') - self.emptyaddressindex: MetricPattern32[EmptyAddressIndex] = MetricPattern32(client, f'{base_path}_emptyaddressindex') - self.loadedaddressindex: MetricPattern31[LoadedAddressIndex] = MetricPattern31(client, f'{base_path}_loadedaddressindex') - self.utxo_cohorts: CatalogTree_Distribution_UtxoCohorts = CatalogTree_Distribution_UtxoCohorts(client, f'{base_path}_utxo_cohorts') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.addr_count: CatalogTree_Distribution_AddrCount = ( + CatalogTree_Distribution_AddrCount(client) + ) + self.address_cohorts: CatalogTree_Distribution_AddressCohorts = ( + CatalogTree_Distribution_AddressCohorts(client) + ) + self.addresses_data: CatalogTree_Distribution_AddressesData = ( + CatalogTree_Distribution_AddressesData(client) + ) + self.any_address_indexes: CatalogTree_Distribution_AnyAddressIndexes = ( + CatalogTree_Distribution_AnyAddressIndexes(client) + ) + self.chain_state: MetricPattern11[SupplyState] = MetricPattern11( + client, "chain" + ) + self.empty_addr_count: CatalogTree_Distribution_EmptyAddrCount = ( + CatalogTree_Distribution_EmptyAddrCount(client) + ) + self.emptyaddressindex: MetricPattern32[EmptyAddressIndex] = MetricPattern32( + client, "emptyaddressindex" + ) + self.loadedaddressindex: MetricPattern31[LoadedAddressIndex] = MetricPattern31( + client, "loadedaddressindex" + ) + self.utxo_cohorts: CatalogTree_Distribution_UtxoCohorts = ( + CatalogTree_Distribution_UtxoCohorts(client) + ) + + +class CatalogTree_Distribution_AddrCount: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.all: MetricPattern1[StoredU64] = MetricPattern1(client, "addr_count") + self.p2a: MetricPattern1[StoredU64] = MetricPattern1(client, "p2a_addr_count") + self.p2pk33: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2pk33_addr_count" + ) + self.p2pk65: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2pk65_addr_count" + ) + self.p2pkh: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2pkh_addr_count" + ) + self.p2sh: MetricPattern1[StoredU64] = MetricPattern1(client, "p2sh_addr_count") + self.p2tr: MetricPattern1[StoredU64] = MetricPattern1(client, "p2tr_addr_count") + self.p2wpkh: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2wpkh_addr_count" + ) + self.p2wsh: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2wsh_addr_count" + ) + class CatalogTree_Distribution_AddressCohorts: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.amount_range: CatalogTree_Distribution_AddressCohorts_AmountRange = CatalogTree_Distribution_AddressCohorts_AmountRange(client, f'{base_path}_amount_range') - self.ge_amount: CatalogTree_Distribution_AddressCohorts_GeAmount = CatalogTree_Distribution_AddressCohorts_GeAmount(client, f'{base_path}_ge_amount') - self.lt_amount: CatalogTree_Distribution_AddressCohorts_LtAmount = CatalogTree_Distribution_AddressCohorts_LtAmount(client, f'{base_path}_lt_amount') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.amount_range: CatalogTree_Distribution_AddressCohorts_AmountRange = ( + CatalogTree_Distribution_AddressCohorts_AmountRange(client) + ) + self.ge_amount: CatalogTree_Distribution_AddressCohorts_GeAmount = ( + CatalogTree_Distribution_AddressCohorts_GeAmount(client) + ) + self.lt_amount: CatalogTree_Distribution_AddressCohorts_LtAmount = ( + CatalogTree_Distribution_AddressCohorts_LtAmount(client) + ) + class CatalogTree_Distribution_AddressCohorts_AmountRange: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._0sats: _0satsPattern = _0satsPattern(client, 'addrs_with_0sats') - self._100btc_to_1k_btc: _0satsPattern = _0satsPattern(client, 'addrs_above_100btc_under_1k_btc') - self._100k_btc_or_more: _0satsPattern = _0satsPattern(client, 'addrs_above_100k_btc') - self._100k_sats_to_1m_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_100k_sats_under_1m_sats') - self._100sats_to_1k_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_100sats_under_1k_sats') - self._10btc_to_100btc: _0satsPattern = _0satsPattern(client, 'addrs_above_10btc_under_100btc') - self._10k_btc_to_100k_btc: _0satsPattern = _0satsPattern(client, 'addrs_above_10k_btc_under_100k_btc') - self._10k_sats_to_100k_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_10k_sats_under_100k_sats') - self._10m_sats_to_1btc: _0satsPattern = _0satsPattern(client, 'addrs_above_10m_sats_under_1btc') - self._10sats_to_100sats: _0satsPattern = _0satsPattern(client, 'addrs_above_10sats_under_100sats') - self._1btc_to_10btc: _0satsPattern = _0satsPattern(client, 'addrs_above_1btc_under_10btc') - self._1k_btc_to_10k_btc: _0satsPattern = _0satsPattern(client, 'addrs_above_1k_btc_under_10k_btc') - self._1k_sats_to_10k_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_1k_sats_under_10k_sats') - self._1m_sats_to_10m_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_1m_sats_under_10m_sats') - self._1sat_to_10sats: _0satsPattern = _0satsPattern(client, 'addrs_above_1sat_under_10sats') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._0sats: _0satsPattern = _0satsPattern(client, "addrs_with_0sats") + self._100btc_to_1k_btc: _0satsPattern = _0satsPattern( + client, "addrs_above_100btc_under_1k_btc" + ) + self._100k_btc_or_more: _0satsPattern = _0satsPattern( + client, "addrs_above_100k_btc" + ) + self._100k_sats_to_1m_sats: _0satsPattern = _0satsPattern( + client, "addrs_above_100k_sats_under_1m_sats" + ) + self._100sats_to_1k_sats: _0satsPattern = _0satsPattern( + client, "addrs_above_100sats_under_1k_sats" + ) + self._10btc_to_100btc: _0satsPattern = _0satsPattern( + client, "addrs_above_10btc_under_100btc" + ) + self._10k_btc_to_100k_btc: _0satsPattern = _0satsPattern( + client, "addrs_above_10k_btc_under_100k_btc" + ) + self._10k_sats_to_100k_sats: _0satsPattern = _0satsPattern( + client, "addrs_above_10k_sats_under_100k_sats" + ) + self._10m_sats_to_1btc: _0satsPattern = _0satsPattern( + client, "addrs_above_10m_sats_under_1btc" + ) + self._10sats_to_100sats: _0satsPattern = _0satsPattern( + client, "addrs_above_10sats_under_100sats" + ) + self._1btc_to_10btc: _0satsPattern = _0satsPattern( + client, "addrs_above_1btc_under_10btc" + ) + self._1k_btc_to_10k_btc: _0satsPattern = _0satsPattern( + client, "addrs_above_1k_btc_under_10k_btc" + ) + self._1k_sats_to_10k_sats: _0satsPattern = _0satsPattern( + client, "addrs_above_1k_sats_under_10k_sats" + ) + self._1m_sats_to_10m_sats: _0satsPattern = _0satsPattern( + client, "addrs_above_1m_sats_under_10m_sats" + ) + self._1sat_to_10sats: _0satsPattern = _0satsPattern( + client, "addrs_above_1sat_under_10sats" + ) + class CatalogTree_Distribution_AddressCohorts_GeAmount: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._100btc: _0satsPattern = _0satsPattern(client, 'addrs_above_100btc') - self._100k_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_100k_sats') - self._100sats: _0satsPattern = _0satsPattern(client, 'addrs_above_100sats') - self._10btc: _0satsPattern = _0satsPattern(client, 'addrs_above_10btc') - self._10k_btc: _0satsPattern = _0satsPattern(client, 'addrs_above_10k_btc') - self._10k_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_10k_sats') - self._10m_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_10m_sats') - self._10sats: _0satsPattern = _0satsPattern(client, 'addrs_above_10sats') - self._1btc: _0satsPattern = _0satsPattern(client, 'addrs_above_1btc') - self._1k_btc: _0satsPattern = _0satsPattern(client, 'addrs_above_1k_btc') - self._1k_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_1k_sats') - self._1m_sats: _0satsPattern = _0satsPattern(client, 'addrs_above_1m_sats') - self._1sat: _0satsPattern = _0satsPattern(client, 'addrs_above_1sat') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._100btc: _0satsPattern = _0satsPattern(client, "addrs_above_100btc") + self._100k_sats: _0satsPattern = _0satsPattern(client, "addrs_above_100k_sats") + self._100sats: _0satsPattern = _0satsPattern(client, "addrs_above_100sats") + self._10btc: _0satsPattern = _0satsPattern(client, "addrs_above_10btc") + self._10k_btc: _0satsPattern = _0satsPattern(client, "addrs_above_10k_btc") + self._10k_sats: _0satsPattern = _0satsPattern(client, "addrs_above_10k_sats") + self._10m_sats: _0satsPattern = _0satsPattern(client, "addrs_above_10m_sats") + self._10sats: _0satsPattern = _0satsPattern(client, "addrs_above_10sats") + self._1btc: _0satsPattern = _0satsPattern(client, "addrs_above_1btc") + self._1k_btc: _0satsPattern = _0satsPattern(client, "addrs_above_1k_btc") + self._1k_sats: _0satsPattern = _0satsPattern(client, "addrs_above_1k_sats") + self._1m_sats: _0satsPattern = _0satsPattern(client, "addrs_above_1m_sats") + self._1sat: _0satsPattern = _0satsPattern(client, "addrs_above_1sat") + class CatalogTree_Distribution_AddressCohorts_LtAmount: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._100btc: _0satsPattern = _0satsPattern(client, 'addrs_under_100btc') - self._100k_btc: _0satsPattern = _0satsPattern(client, 'addrs_under_100k_btc') - self._100k_sats: _0satsPattern = _0satsPattern(client, 'addrs_under_100k_sats') - self._100sats: _0satsPattern = _0satsPattern(client, 'addrs_under_100sats') - self._10btc: _0satsPattern = _0satsPattern(client, 'addrs_under_10btc') - self._10k_btc: _0satsPattern = _0satsPattern(client, 'addrs_under_10k_btc') - self._10k_sats: _0satsPattern = _0satsPattern(client, 'addrs_under_10k_sats') - self._10m_sats: _0satsPattern = _0satsPattern(client, 'addrs_under_10m_sats') - self._10sats: _0satsPattern = _0satsPattern(client, 'addrs_under_10sats') - self._1btc: _0satsPattern = _0satsPattern(client, 'addrs_under_1btc') - self._1k_btc: _0satsPattern = _0satsPattern(client, 'addrs_under_1k_btc') - self._1k_sats: _0satsPattern = _0satsPattern(client, 'addrs_under_1k_sats') - self._1m_sats: _0satsPattern = _0satsPattern(client, 'addrs_under_1m_sats') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._100btc: _0satsPattern = _0satsPattern(client, "addrs_under_100btc") + self._100k_btc: _0satsPattern = _0satsPattern(client, "addrs_under_100k_btc") + self._100k_sats: _0satsPattern = _0satsPattern(client, "addrs_under_100k_sats") + self._100sats: _0satsPattern = _0satsPattern(client, "addrs_under_100sats") + self._10btc: _0satsPattern = _0satsPattern(client, "addrs_under_10btc") + self._10k_btc: _0satsPattern = _0satsPattern(client, "addrs_under_10k_btc") + self._10k_sats: _0satsPattern = _0satsPattern(client, "addrs_under_10k_sats") + self._10m_sats: _0satsPattern = _0satsPattern(client, "addrs_under_10m_sats") + self._10sats: _0satsPattern = _0satsPattern(client, "addrs_under_10sats") + self._1btc: _0satsPattern = _0satsPattern(client, "addrs_under_1btc") + self._1k_btc: _0satsPattern = _0satsPattern(client, "addrs_under_1k_btc") + self._1k_sats: _0satsPattern = _0satsPattern(client, "addrs_under_1k_sats") + self._1m_sats: _0satsPattern = _0satsPattern(client, "addrs_under_1m_sats") + class CatalogTree_Distribution_AddressesData: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.empty: MetricPattern32[EmptyAddressData] = MetricPattern32(client, f'{base_path}_empty') - self.loaded: MetricPattern31[LoadedAddressData] = MetricPattern31(client, f'{base_path}_loaded') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.empty: MetricPattern32[EmptyAddressData] = MetricPattern32( + client, "emptyaddressdata" + ) + self.loaded: MetricPattern31[LoadedAddressData] = MetricPattern31( + client, "loadedaddressdata" + ) + class CatalogTree_Distribution_AnyAddressIndexes: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.p2a: MetricPattern16[AnyAddressIndex] = MetricPattern16(client, f'{base_path}_p2a') - self.p2pk33: MetricPattern18[AnyAddressIndex] = MetricPattern18(client, f'{base_path}_p2pk33') - self.p2pk65: MetricPattern19[AnyAddressIndex] = MetricPattern19(client, f'{base_path}_p2pk65') - self.p2pkh: MetricPattern20[AnyAddressIndex] = MetricPattern20(client, f'{base_path}_p2pkh') - self.p2sh: MetricPattern21[AnyAddressIndex] = MetricPattern21(client, f'{base_path}_p2sh') - self.p2tr: MetricPattern22[AnyAddressIndex] = MetricPattern22(client, f'{base_path}_p2tr') - self.p2wpkh: MetricPattern23[AnyAddressIndex] = MetricPattern23(client, f'{base_path}_p2wpkh') - self.p2wsh: MetricPattern24[AnyAddressIndex] = MetricPattern24(client, f'{base_path}_p2wsh') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.p2a: MetricPattern16[AnyAddressIndex] = MetricPattern16( + client, "anyaddressindex" + ) + self.p2pk33: MetricPattern18[AnyAddressIndex] = MetricPattern18( + client, "anyaddressindex" + ) + self.p2pk65: MetricPattern19[AnyAddressIndex] = MetricPattern19( + client, "anyaddressindex" + ) + self.p2pkh: MetricPattern20[AnyAddressIndex] = MetricPattern20( + client, "anyaddressindex" + ) + self.p2sh: MetricPattern21[AnyAddressIndex] = MetricPattern21( + client, "anyaddressindex" + ) + self.p2tr: MetricPattern22[AnyAddressIndex] = MetricPattern22( + client, "anyaddressindex" + ) + self.p2wpkh: MetricPattern23[AnyAddressIndex] = MetricPattern23( + client, "anyaddressindex" + ) + self.p2wsh: MetricPattern24[AnyAddressIndex] = MetricPattern24( + client, "anyaddressindex" + ) + + +class CatalogTree_Distribution_EmptyAddrCount: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.all: MetricPattern1[StoredU64] = MetricPattern1(client, "empty_addr_count") + self.p2a: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2a_empty_addr_count" + ) + self.p2pk33: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2pk33_empty_addr_count" + ) + self.p2pk65: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2pk65_empty_addr_count" + ) + self.p2pkh: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2pkh_empty_addr_count" + ) + self.p2sh: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2sh_empty_addr_count" + ) + self.p2tr: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2tr_empty_addr_count" + ) + self.p2wpkh: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2wpkh_empty_addr_count" + ) + self.p2wsh: MetricPattern1[StoredU64] = MetricPattern1( + client, "p2wsh_empty_addr_count" + ) + class CatalogTree_Distribution_UtxoCohorts: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.age_range: CatalogTree_Distribution_UtxoCohorts_AgeRange = CatalogTree_Distribution_UtxoCohorts_AgeRange(client, f'{base_path}_age_range') - self.all: CatalogTree_Distribution_UtxoCohorts_All = CatalogTree_Distribution_UtxoCohorts_All(client, f'{base_path}_all') - self.amount_range: CatalogTree_Distribution_UtxoCohorts_AmountRange = CatalogTree_Distribution_UtxoCohorts_AmountRange(client, f'{base_path}_amount_range') - self.epoch: CatalogTree_Distribution_UtxoCohorts_Epoch = CatalogTree_Distribution_UtxoCohorts_Epoch(client, f'{base_path}_epoch') - self.ge_amount: CatalogTree_Distribution_UtxoCohorts_GeAmount = CatalogTree_Distribution_UtxoCohorts_GeAmount(client, f'{base_path}_ge_amount') - self.lt_amount: CatalogTree_Distribution_UtxoCohorts_LtAmount = CatalogTree_Distribution_UtxoCohorts_LtAmount(client, f'{base_path}_lt_amount') - self.max_age: CatalogTree_Distribution_UtxoCohorts_MaxAge = CatalogTree_Distribution_UtxoCohorts_MaxAge(client, f'{base_path}_max_age') - self.min_age: CatalogTree_Distribution_UtxoCohorts_MinAge = CatalogTree_Distribution_UtxoCohorts_MinAge(client, f'{base_path}_min_age') - self.term: CatalogTree_Distribution_UtxoCohorts_Term = CatalogTree_Distribution_UtxoCohorts_Term(client, f'{base_path}_term') - self.type_: CatalogTree_Distribution_UtxoCohorts_Type = CatalogTree_Distribution_UtxoCohorts_Type(client, f'{base_path}_type_') - self.year: CatalogTree_Distribution_UtxoCohorts_Year = CatalogTree_Distribution_UtxoCohorts_Year(client, f'{base_path}_year') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.age_range: CatalogTree_Distribution_UtxoCohorts_AgeRange = ( + CatalogTree_Distribution_UtxoCohorts_AgeRange(client) + ) + self.all: CatalogTree_Distribution_UtxoCohorts_All = ( + CatalogTree_Distribution_UtxoCohorts_All(client) + ) + self.amount_range: CatalogTree_Distribution_UtxoCohorts_AmountRange = ( + CatalogTree_Distribution_UtxoCohorts_AmountRange(client) + ) + self.epoch: CatalogTree_Distribution_UtxoCohorts_Epoch = ( + CatalogTree_Distribution_UtxoCohorts_Epoch(client) + ) + self.ge_amount: CatalogTree_Distribution_UtxoCohorts_GeAmount = ( + CatalogTree_Distribution_UtxoCohorts_GeAmount(client) + ) + self.lt_amount: CatalogTree_Distribution_UtxoCohorts_LtAmount = ( + CatalogTree_Distribution_UtxoCohorts_LtAmount(client) + ) + self.max_age: CatalogTree_Distribution_UtxoCohorts_MaxAge = ( + CatalogTree_Distribution_UtxoCohorts_MaxAge(client) + ) + self.min_age: CatalogTree_Distribution_UtxoCohorts_MinAge = ( + CatalogTree_Distribution_UtxoCohorts_MinAge(client) + ) + self.term: CatalogTree_Distribution_UtxoCohorts_Term = ( + CatalogTree_Distribution_UtxoCohorts_Term(client) + ) + self.type_: CatalogTree_Distribution_UtxoCohorts_Type = ( + CatalogTree_Distribution_UtxoCohorts_Type(client) + ) + self.year: CatalogTree_Distribution_UtxoCohorts_Year = ( + CatalogTree_Distribution_UtxoCohorts_Year(client) + ) + class CatalogTree_Distribution_UtxoCohorts_AgeRange: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._10y_to_12y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_10y_up_to_12y_old') - self._12y_to_15y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_12y_up_to_15y_old') - self._1d_to_1w: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_1d_up_to_1w_old') - self._1h_to_1d: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_1h_up_to_1d_old') - self._1m_to_2m: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_1m_up_to_2m_old') - self._1w_to_1m: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_1w_up_to_1m_old') - self._1y_to_2y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_1y_up_to_2y_old') - self._2m_to_3m: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_2m_up_to_3m_old') - self._2y_to_3y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_2y_up_to_3y_old') - self._3m_to_4m: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_3m_up_to_4m_old') - self._3y_to_4y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_3y_up_to_4y_old') - self._4m_to_5m: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_4m_up_to_5m_old') - self._4y_to_5y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_4y_up_to_5y_old') - self._5m_to_6m: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_5m_up_to_6m_old') - self._5y_to_6y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_5y_up_to_6y_old') - self._6m_to_1y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_6m_up_to_1y_old') - self._6y_to_7y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_6y_up_to_7y_old') - self._7y_to_8y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_7y_up_to_8y_old') - self._8y_to_10y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_8y_up_to_10y_old') - self.from_15y: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_at_least_15y_old') - self.up_to_1h: _10yTo12yPattern = _10yTo12yPattern(client, 'utxos_up_to_1h_old') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._10y_to_12y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_10y_up_to_12y_old" + ) + self._12y_to_15y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_12y_up_to_15y_old" + ) + self._1d_to_1w: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_1d_up_to_1w_old" + ) + self._1h_to_1d: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_1h_up_to_1d_old" + ) + self._1m_to_2m: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_1m_up_to_2m_old" + ) + self._1w_to_1m: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_1w_up_to_1m_old" + ) + self._1y_to_2y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_1y_up_to_2y_old" + ) + self._2m_to_3m: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_2m_up_to_3m_old" + ) + self._2y_to_3y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_2y_up_to_3y_old" + ) + self._3m_to_4m: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_3m_up_to_4m_old" + ) + self._3y_to_4y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_3y_up_to_4y_old" + ) + self._4m_to_5m: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_4m_up_to_5m_old" + ) + self._4y_to_5y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_4y_up_to_5y_old" + ) + self._5m_to_6m: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_5m_up_to_6m_old" + ) + self._5y_to_6y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_5y_up_to_6y_old" + ) + self._6m_to_1y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_6m_up_to_1y_old" + ) + self._6y_to_7y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_6y_up_to_7y_old" + ) + self._7y_to_8y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_7y_up_to_8y_old" + ) + self._8y_to_10y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_8y_up_to_10y_old" + ) + self.from_15y: _10yTo12yPattern = _10yTo12yPattern( + client, "utxos_at_least_15y_old" + ) + self.up_to_1h: _10yTo12yPattern = _10yTo12yPattern(client, "utxos_up_to_1h_old") + class CatalogTree_Distribution_UtxoCohorts_All: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.activity: ActivityPattern2 = ActivityPattern2(client, '') - self.cost_basis: CostBasisPattern2 = CostBasisPattern2(client, '') - self.outputs: OutputsPattern = OutputsPattern(client, 'utxo_count') - self.realized: RealizedPattern3 = RealizedPattern3(client, '') - self.relative: CatalogTree_Distribution_UtxoCohorts_All_Relative = CatalogTree_Distribution_UtxoCohorts_All_Relative(client, f'{base_path}_relative') - self.supply: SupplyPattern2 = SupplyPattern2(client, 'supply') - self.unrealized: UnrealizedPattern = UnrealizedPattern(client, '') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.activity: ActivityPattern2 = ActivityPattern2(client, "") + self.cost_basis: CatalogTree_Distribution_UtxoCohorts_All_CostBasis = ( + CatalogTree_Distribution_UtxoCohorts_All_CostBasis(client) + ) + self.outputs: OutputsPattern = OutputsPattern(client, "utxo_count") + self.realized: RealizedPattern3 = RealizedPattern3(client, "") + self.relative: CatalogTree_Distribution_UtxoCohorts_All_Relative = ( + CatalogTree_Distribution_UtxoCohorts_All_Relative(client) + ) + self.supply: SupplyPattern2 = SupplyPattern2(client, "supply") + self.unrealized: UnrealizedPattern = UnrealizedPattern(client, "") + + +class CatalogTree_Distribution_UtxoCohorts_All_CostBasis: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.max: MetricPattern1[Dollars] = MetricPattern1(client, "max_cost_basis") + self.min: MetricPattern1[Dollars] = MetricPattern1(client, "min_cost_basis") + self.percentiles: PercentilesPattern = PercentilesPattern(client, "cost_basis") + class CatalogTree_Distribution_UtxoCohorts_All_Relative: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_neg_unrealized_loss_rel_to_own_total_unrealized_pnl') - self.net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_net_unrealized_pnl_rel_to_own_total_unrealized_pnl') - self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, f'{base_path}_supply_in_loss_rel_to_own_supply') - self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = MetricPattern1(client, f'{base_path}_supply_in_profit_rel_to_own_supply') - self.unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_unrealized_loss_rel_to_own_total_unrealized_pnl') - self.unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1[StoredF32] = MetricPattern1(client, f'{base_path}_unrealized_profit_rel_to_own_total_unrealized_pnl') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.neg_unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1( + client, "neg_unrealized_loss_rel_to_own_total_unrealized_pnl" + ) + self.net_unrealized_pnl_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1(client, "net_unrealized_pnl_rel_to_own_total_unrealized_pnl") + self.supply_in_loss_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, "supply_in_loss_rel_to_own_supply") + ) + self.supply_in_profit_rel_to_own_supply: MetricPattern1[StoredF64] = ( + MetricPattern1(client, "supply_in_profit_rel_to_own_supply") + ) + self.unrealized_loss_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1(client, "unrealized_loss_rel_to_own_total_unrealized_pnl") + self.unrealized_profit_rel_to_own_total_unrealized_pnl: MetricPattern1[ + StoredF32 + ] = MetricPattern1(client, "unrealized_profit_rel_to_own_total_unrealized_pnl") + class CatalogTree_Distribution_UtxoCohorts_AmountRange: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._0sats: _0satsPattern2 = _0satsPattern2(client, 'utxos_with_0sats') - self._100btc_to_1k_btc: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_100btc_under_1k_btc') - self._100k_btc_or_more: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_100k_btc') - self._100k_sats_to_1m_sats: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_100k_sats_under_1m_sats') - self._100sats_to_1k_sats: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_100sats_under_1k_sats') - self._10btc_to_100btc: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_10btc_under_100btc') - self._10k_btc_to_100k_btc: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_10k_btc_under_100k_btc') - self._10k_sats_to_100k_sats: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_10k_sats_under_100k_sats') - self._10m_sats_to_1btc: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_10m_sats_under_1btc') - self._10sats_to_100sats: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_10sats_under_100sats') - self._1btc_to_10btc: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_1btc_under_10btc') - self._1k_btc_to_10k_btc: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_1k_btc_under_10k_btc') - self._1k_sats_to_10k_sats: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_1k_sats_under_10k_sats') - self._1m_sats_to_10m_sats: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_1m_sats_under_10m_sats') - self._1sat_to_10sats: _0satsPattern2 = _0satsPattern2(client, 'utxos_above_1sat_under_10sats') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._0sats: _0satsPattern2 = _0satsPattern2(client, "utxos_with_0sats") + self._100btc_to_1k_btc: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_100btc_under_1k_btc" + ) + self._100k_btc_or_more: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_100k_btc" + ) + self._100k_sats_to_1m_sats: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_100k_sats_under_1m_sats" + ) + self._100sats_to_1k_sats: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_100sats_under_1k_sats" + ) + self._10btc_to_100btc: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_10btc_under_100btc" + ) + self._10k_btc_to_100k_btc: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_10k_btc_under_100k_btc" + ) + self._10k_sats_to_100k_sats: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_10k_sats_under_100k_sats" + ) + self._10m_sats_to_1btc: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_10m_sats_under_1btc" + ) + self._10sats_to_100sats: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_10sats_under_100sats" + ) + self._1btc_to_10btc: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_1btc_under_10btc" + ) + self._1k_btc_to_10k_btc: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_1k_btc_under_10k_btc" + ) + self._1k_sats_to_10k_sats: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_1k_sats_under_10k_sats" + ) + self._1m_sats_to_10m_sats: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_1m_sats_under_10m_sats" + ) + self._1sat_to_10sats: _0satsPattern2 = _0satsPattern2( + client, "utxos_above_1sat_under_10sats" + ) + class CatalogTree_Distribution_UtxoCohorts_Epoch: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._0: _0satsPattern2 = _0satsPattern2(client, 'epoch_0') - self._1: _0satsPattern2 = _0satsPattern2(client, 'epoch_1') - self._2: _0satsPattern2 = _0satsPattern2(client, 'epoch_2') - self._3: _0satsPattern2 = _0satsPattern2(client, 'epoch_3') - self._4: _0satsPattern2 = _0satsPattern2(client, 'epoch_4') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._0: _0satsPattern2 = _0satsPattern2(client, "epoch_0") + self._1: _0satsPattern2 = _0satsPattern2(client, "epoch_1") + self._2: _0satsPattern2 = _0satsPattern2(client, "epoch_2") + self._3: _0satsPattern2 = _0satsPattern2(client, "epoch_3") + self._4: _0satsPattern2 = _0satsPattern2(client, "epoch_4") + class CatalogTree_Distribution_UtxoCohorts_GeAmount: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._100btc: _100btcPattern = _100btcPattern(client, 'utxos_above_100btc') - self._100k_sats: _100btcPattern = _100btcPattern(client, 'utxos_above_100k_sats') - self._100sats: _100btcPattern = _100btcPattern(client, 'utxos_above_100sats') - self._10btc: _100btcPattern = _100btcPattern(client, 'utxos_above_10btc') - self._10k_btc: _100btcPattern = _100btcPattern(client, 'utxos_above_10k_btc') - self._10k_sats: _100btcPattern = _100btcPattern(client, 'utxos_above_10k_sats') - self._10m_sats: _100btcPattern = _100btcPattern(client, 'utxos_above_10m_sats') - self._10sats: _100btcPattern = _100btcPattern(client, 'utxos_above_10sats') - self._1btc: _100btcPattern = _100btcPattern(client, 'utxos_above_1btc') - self._1k_btc: _100btcPattern = _100btcPattern(client, 'utxos_above_1k_btc') - self._1k_sats: _100btcPattern = _100btcPattern(client, 'utxos_above_1k_sats') - self._1m_sats: _100btcPattern = _100btcPattern(client, 'utxos_above_1m_sats') - self._1sat: _100btcPattern = _100btcPattern(client, 'utxos_above_1sat') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._100btc: _100btcPattern = _100btcPattern(client, "utxos_above_100btc") + self._100k_sats: _100btcPattern = _100btcPattern( + client, "utxos_above_100k_sats" + ) + self._100sats: _100btcPattern = _100btcPattern(client, "utxos_above_100sats") + self._10btc: _100btcPattern = _100btcPattern(client, "utxos_above_10btc") + self._10k_btc: _100btcPattern = _100btcPattern(client, "utxos_above_10k_btc") + self._10k_sats: _100btcPattern = _100btcPattern(client, "utxos_above_10k_sats") + self._10m_sats: _100btcPattern = _100btcPattern(client, "utxos_above_10m_sats") + self._10sats: _100btcPattern = _100btcPattern(client, "utxos_above_10sats") + self._1btc: _100btcPattern = _100btcPattern(client, "utxos_above_1btc") + self._1k_btc: _100btcPattern = _100btcPattern(client, "utxos_above_1k_btc") + self._1k_sats: _100btcPattern = _100btcPattern(client, "utxos_above_1k_sats") + self._1m_sats: _100btcPattern = _100btcPattern(client, "utxos_above_1m_sats") + self._1sat: _100btcPattern = _100btcPattern(client, "utxos_above_1sat") + class CatalogTree_Distribution_UtxoCohorts_LtAmount: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._100btc: _100btcPattern = _100btcPattern(client, 'utxos_under_100btc') - self._100k_btc: _100btcPattern = _100btcPattern(client, 'utxos_under_100k_btc') - self._100k_sats: _100btcPattern = _100btcPattern(client, 'utxos_under_100k_sats') - self._100sats: _100btcPattern = _100btcPattern(client, 'utxos_under_100sats') - self._10btc: _100btcPattern = _100btcPattern(client, 'utxos_under_10btc') - self._10k_btc: _100btcPattern = _100btcPattern(client, 'utxos_under_10k_btc') - self._10k_sats: _100btcPattern = _100btcPattern(client, 'utxos_under_10k_sats') - self._10m_sats: _100btcPattern = _100btcPattern(client, 'utxos_under_10m_sats') - self._10sats: _100btcPattern = _100btcPattern(client, 'utxos_under_10sats') - self._1btc: _100btcPattern = _100btcPattern(client, 'utxos_under_1btc') - self._1k_btc: _100btcPattern = _100btcPattern(client, 'utxos_under_1k_btc') - self._1k_sats: _100btcPattern = _100btcPattern(client, 'utxos_under_1k_sats') - self._1m_sats: _100btcPattern = _100btcPattern(client, 'utxos_under_1m_sats') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._100btc: _100btcPattern = _100btcPattern(client, "utxos_under_100btc") + self._100k_btc: _100btcPattern = _100btcPattern(client, "utxos_under_100k_btc") + self._100k_sats: _100btcPattern = _100btcPattern( + client, "utxos_under_100k_sats" + ) + self._100sats: _100btcPattern = _100btcPattern(client, "utxos_under_100sats") + self._10btc: _100btcPattern = _100btcPattern(client, "utxos_under_10btc") + self._10k_btc: _100btcPattern = _100btcPattern(client, "utxos_under_10k_btc") + self._10k_sats: _100btcPattern = _100btcPattern(client, "utxos_under_10k_sats") + self._10m_sats: _100btcPattern = _100btcPattern(client, "utxos_under_10m_sats") + self._10sats: _100btcPattern = _100btcPattern(client, "utxos_under_10sats") + self._1btc: _100btcPattern = _100btcPattern(client, "utxos_under_1btc") + self._1k_btc: _100btcPattern = _100btcPattern(client, "utxos_under_1k_btc") + self._1k_sats: _100btcPattern = _100btcPattern(client, "utxos_under_1k_sats") + self._1m_sats: _100btcPattern = _100btcPattern(client, "utxos_under_1m_sats") + class CatalogTree_Distribution_UtxoCohorts_MaxAge: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._10y: _10yPattern = _10yPattern(client, 'utxos_up_to_10y_old') - self._12y: _10yPattern = _10yPattern(client, 'utxos_up_to_12y_old') - self._15y: _10yPattern = _10yPattern(client, 'utxos_up_to_15y_old') - self._1m: _10yPattern = _10yPattern(client, 'utxos_up_to_1m_old') - self._1w: _10yPattern = _10yPattern(client, 'utxos_up_to_1w_old') - self._1y: _10yPattern = _10yPattern(client, 'utxos_up_to_1y_old') - self._2m: _10yPattern = _10yPattern(client, 'utxos_up_to_2m_old') - self._2y: _10yPattern = _10yPattern(client, 'utxos_up_to_2y_old') - self._3m: _10yPattern = _10yPattern(client, 'utxos_up_to_3m_old') - self._3y: _10yPattern = _10yPattern(client, 'utxos_up_to_3y_old') - self._4m: _10yPattern = _10yPattern(client, 'utxos_up_to_4m_old') - self._4y: _10yPattern = _10yPattern(client, 'utxos_up_to_4y_old') - self._5m: _10yPattern = _10yPattern(client, 'utxos_up_to_5m_old') - self._5y: _10yPattern = _10yPattern(client, 'utxos_up_to_5y_old') - self._6m: _10yPattern = _10yPattern(client, 'utxos_up_to_6m_old') - self._6y: _10yPattern = _10yPattern(client, 'utxos_up_to_6y_old') - self._7y: _10yPattern = _10yPattern(client, 'utxos_up_to_7y_old') - self._8y: _10yPattern = _10yPattern(client, 'utxos_up_to_8y_old') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._10y: _10yPattern = _10yPattern(client, "utxos_up_to_10y_old") + self._12y: _10yPattern = _10yPattern(client, "utxos_up_to_12y_old") + self._15y: _10yPattern = _10yPattern(client, "utxos_up_to_15y_old") + self._1m: _10yPattern = _10yPattern(client, "utxos_up_to_1m_old") + self._1w: _10yPattern = _10yPattern(client, "utxos_up_to_1w_old") + self._1y: _10yPattern = _10yPattern(client, "utxos_up_to_1y_old") + self._2m: _10yPattern = _10yPattern(client, "utxos_up_to_2m_old") + self._2y: _10yPattern = _10yPattern(client, "utxos_up_to_2y_old") + self._3m: _10yPattern = _10yPattern(client, "utxos_up_to_3m_old") + self._3y: _10yPattern = _10yPattern(client, "utxos_up_to_3y_old") + self._4m: _10yPattern = _10yPattern(client, "utxos_up_to_4m_old") + self._4y: _10yPattern = _10yPattern(client, "utxos_up_to_4y_old") + self._5m: _10yPattern = _10yPattern(client, "utxos_up_to_5m_old") + self._5y: _10yPattern = _10yPattern(client, "utxos_up_to_5y_old") + self._6m: _10yPattern = _10yPattern(client, "utxos_up_to_6m_old") + self._6y: _10yPattern = _10yPattern(client, "utxos_up_to_6y_old") + self._7y: _10yPattern = _10yPattern(client, "utxos_up_to_7y_old") + self._8y: _10yPattern = _10yPattern(client, "utxos_up_to_8y_old") + class CatalogTree_Distribution_UtxoCohorts_MinAge: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._10y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_10y_old') - self._12y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_12y_old') - self._1d: _100btcPattern = _100btcPattern(client, 'utxos_at_least_1d_old') - self._1m: _100btcPattern = _100btcPattern(client, 'utxos_at_least_1m_old') - self._1w: _100btcPattern = _100btcPattern(client, 'utxos_at_least_1w_old') - self._1y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_1y_old') - self._2m: _100btcPattern = _100btcPattern(client, 'utxos_at_least_2m_old') - self._2y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_2y_old') - self._3m: _100btcPattern = _100btcPattern(client, 'utxos_at_least_3m_old') - self._3y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_3y_old') - self._4m: _100btcPattern = _100btcPattern(client, 'utxos_at_least_4m_old') - self._4y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_4y_old') - self._5m: _100btcPattern = _100btcPattern(client, 'utxos_at_least_5m_old') - self._5y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_5y_old') - self._6m: _100btcPattern = _100btcPattern(client, 'utxos_at_least_6m_old') - self._6y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_6y_old') - self._7y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_7y_old') - self._8y: _100btcPattern = _100btcPattern(client, 'utxos_at_least_8y_old') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._10y: _100btcPattern = _100btcPattern(client, "utxos_at_least_10y_old") + self._12y: _100btcPattern = _100btcPattern(client, "utxos_at_least_12y_old") + self._1d: _100btcPattern = _100btcPattern(client, "utxos_at_least_1d_old") + self._1m: _100btcPattern = _100btcPattern(client, "utxos_at_least_1m_old") + self._1w: _100btcPattern = _100btcPattern(client, "utxos_at_least_1w_old") + self._1y: _100btcPattern = _100btcPattern(client, "utxos_at_least_1y_old") + self._2m: _100btcPattern = _100btcPattern(client, "utxos_at_least_2m_old") + self._2y: _100btcPattern = _100btcPattern(client, "utxos_at_least_2y_old") + self._3m: _100btcPattern = _100btcPattern(client, "utxos_at_least_3m_old") + self._3y: _100btcPattern = _100btcPattern(client, "utxos_at_least_3y_old") + self._4m: _100btcPattern = _100btcPattern(client, "utxos_at_least_4m_old") + self._4y: _100btcPattern = _100btcPattern(client, "utxos_at_least_4y_old") + self._5m: _100btcPattern = _100btcPattern(client, "utxos_at_least_5m_old") + self._5y: _100btcPattern = _100btcPattern(client, "utxos_at_least_5y_old") + self._6m: _100btcPattern = _100btcPattern(client, "utxos_at_least_6m_old") + self._6y: _100btcPattern = _100btcPattern(client, "utxos_at_least_6y_old") + self._7y: _100btcPattern = _100btcPattern(client, "utxos_at_least_7y_old") + self._8y: _100btcPattern = _100btcPattern(client, "utxos_at_least_8y_old") + class CatalogTree_Distribution_UtxoCohorts_Term: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.long: CatalogTree_Distribution_UtxoCohorts_Term_Long = CatalogTree_Distribution_UtxoCohorts_Term_Long(client, f'{base_path}_long') - self.short: CatalogTree_Distribution_UtxoCohorts_Term_Short = CatalogTree_Distribution_UtxoCohorts_Term_Short(client, f'{base_path}_short') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.long: CatalogTree_Distribution_UtxoCohorts_Term_Long = ( + CatalogTree_Distribution_UtxoCohorts_Term_Long(client) + ) + self.short: CatalogTree_Distribution_UtxoCohorts_Term_Short = ( + CatalogTree_Distribution_UtxoCohorts_Term_Short(client) + ) + class CatalogTree_Distribution_UtxoCohorts_Term_Long: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.activity: ActivityPattern2 = ActivityPattern2(client, 'lth') - self.cost_basis: CostBasisPattern2 = CostBasisPattern2(client, 'lth') - self.outputs: OutputsPattern = OutputsPattern(client, 'lth_utxo_count') - self.realized: RealizedPattern2 = RealizedPattern2(client, 'lth') - self.relative: RelativePattern5 = RelativePattern5(client, 'lth') - self.supply: SupplyPattern2 = SupplyPattern2(client, 'lth_supply') - self.unrealized: UnrealizedPattern = UnrealizedPattern(client, 'lth') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.activity: ActivityPattern2 = ActivityPattern2(client, "lth") + self.cost_basis: CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis = ( + CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis(client) + ) + self.outputs: OutputsPattern = OutputsPattern(client, "lth_utxo_count") + self.realized: RealizedPattern2 = RealizedPattern2(client, "lth") + self.relative: RelativePattern5 = RelativePattern5(client, "lth") + self.supply: SupplyPattern2 = SupplyPattern2(client, "lth_supply") + self.unrealized: UnrealizedPattern = UnrealizedPattern(client, "lth") + + +class CatalogTree_Distribution_UtxoCohorts_Term_Long_CostBasis: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.max: MetricPattern1[Dollars] = MetricPattern1(client, "lth_max_cost_basis") + self.min: MetricPattern1[Dollars] = MetricPattern1(client, "lth_min_cost_basis") + self.percentiles: PercentilesPattern = PercentilesPattern( + client, "lth_cost_basis" + ) + class CatalogTree_Distribution_UtxoCohorts_Term_Short: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.activity: ActivityPattern2 = ActivityPattern2(client, 'sth') - self.cost_basis: CostBasisPattern2 = CostBasisPattern2(client, 'sth') - self.outputs: OutputsPattern = OutputsPattern(client, 'sth_utxo_count') - self.realized: RealizedPattern3 = RealizedPattern3(client, 'sth') - self.relative: RelativePattern5 = RelativePattern5(client, 'sth') - self.supply: SupplyPattern2 = SupplyPattern2(client, 'sth_supply') - self.unrealized: UnrealizedPattern = UnrealizedPattern(client, 'sth') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.activity: ActivityPattern2 = ActivityPattern2(client, "sth") + self.cost_basis: CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis = ( + CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis(client) + ) + self.outputs: OutputsPattern = OutputsPattern(client, "sth_utxo_count") + self.realized: RealizedPattern3 = RealizedPattern3(client, "sth") + self.relative: RelativePattern5 = RelativePattern5(client, "sth") + self.supply: SupplyPattern2 = SupplyPattern2(client, "sth_supply") + self.unrealized: UnrealizedPattern = UnrealizedPattern(client, "sth") + + +class CatalogTree_Distribution_UtxoCohorts_Term_Short_CostBasis: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.max: MetricPattern1[Dollars] = MetricPattern1(client, "sth_max_cost_basis") + self.min: MetricPattern1[Dollars] = MetricPattern1(client, "sth_min_cost_basis") + self.percentiles: PercentilesPattern = PercentilesPattern( + client, "sth_cost_basis" + ) + class CatalogTree_Distribution_UtxoCohorts_Type: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.empty: _0satsPattern2 = _0satsPattern2(client, 'empty_outputs') - self.p2a: _0satsPattern2 = _0satsPattern2(client, 'p2a') - self.p2ms: _0satsPattern2 = _0satsPattern2(client, 'p2ms') - self.p2pk33: _0satsPattern2 = _0satsPattern2(client, 'p2pk33') - self.p2pk65: _0satsPattern2 = _0satsPattern2(client, 'p2pk65') - self.p2pkh: _0satsPattern2 = _0satsPattern2(client, 'p2pkh') - self.p2sh: _0satsPattern2 = _0satsPattern2(client, 'p2sh') - self.p2tr: _0satsPattern2 = _0satsPattern2(client, 'p2tr') - self.p2wpkh: _0satsPattern2 = _0satsPattern2(client, 'p2wpkh') - self.p2wsh: _0satsPattern2 = _0satsPattern2(client, 'p2wsh') - self.unknown: _0satsPattern2 = _0satsPattern2(client, 'unknown_outputs') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.empty: _0satsPattern2 = _0satsPattern2(client, "empty_outputs") + self.p2a: _0satsPattern2 = _0satsPattern2(client, "p2a") + self.p2ms: _0satsPattern2 = _0satsPattern2(client, "p2ms") + self.p2pk33: _0satsPattern2 = _0satsPattern2(client, "p2pk33") + self.p2pk65: _0satsPattern2 = _0satsPattern2(client, "p2pk65") + self.p2pkh: _0satsPattern2 = _0satsPattern2(client, "p2pkh") + self.p2sh: _0satsPattern2 = _0satsPattern2(client, "p2sh") + self.p2tr: _0satsPattern2 = _0satsPattern2(client, "p2tr") + self.p2wpkh: _0satsPattern2 = _0satsPattern2(client, "p2wpkh") + self.p2wsh: _0satsPattern2 = _0satsPattern2(client, "p2wsh") + self.unknown: _0satsPattern2 = _0satsPattern2(client, "unknown_outputs") + class CatalogTree_Distribution_UtxoCohorts_Year: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._2009: _0satsPattern2 = _0satsPattern2(client, 'year_2009') - self._2010: _0satsPattern2 = _0satsPattern2(client, 'year_2010') - self._2011: _0satsPattern2 = _0satsPattern2(client, 'year_2011') - self._2012: _0satsPattern2 = _0satsPattern2(client, 'year_2012') - self._2013: _0satsPattern2 = _0satsPattern2(client, 'year_2013') - self._2014: _0satsPattern2 = _0satsPattern2(client, 'year_2014') - self._2015: _0satsPattern2 = _0satsPattern2(client, 'year_2015') - self._2016: _0satsPattern2 = _0satsPattern2(client, 'year_2016') - self._2017: _0satsPattern2 = _0satsPattern2(client, 'year_2017') - self._2018: _0satsPattern2 = _0satsPattern2(client, 'year_2018') - self._2019: _0satsPattern2 = _0satsPattern2(client, 'year_2019') - self._2020: _0satsPattern2 = _0satsPattern2(client, 'year_2020') - self._2021: _0satsPattern2 = _0satsPattern2(client, 'year_2021') - self._2022: _0satsPattern2 = _0satsPattern2(client, 'year_2022') - self._2023: _0satsPattern2 = _0satsPattern2(client, 'year_2023') - self._2024: _0satsPattern2 = _0satsPattern2(client, 'year_2024') - self._2025: _0satsPattern2 = _0satsPattern2(client, 'year_2025') - self._2026: _0satsPattern2 = _0satsPattern2(client, 'year_2026') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._2009: _0satsPattern2 = _0satsPattern2(client, "year_2009") + self._2010: _0satsPattern2 = _0satsPattern2(client, "year_2010") + self._2011: _0satsPattern2 = _0satsPattern2(client, "year_2011") + self._2012: _0satsPattern2 = _0satsPattern2(client, "year_2012") + self._2013: _0satsPattern2 = _0satsPattern2(client, "year_2013") + self._2014: _0satsPattern2 = _0satsPattern2(client, "year_2014") + self._2015: _0satsPattern2 = _0satsPattern2(client, "year_2015") + self._2016: _0satsPattern2 = _0satsPattern2(client, "year_2016") + self._2017: _0satsPattern2 = _0satsPattern2(client, "year_2017") + self._2018: _0satsPattern2 = _0satsPattern2(client, "year_2018") + self._2019: _0satsPattern2 = _0satsPattern2(client, "year_2019") + self._2020: _0satsPattern2 = _0satsPattern2(client, "year_2020") + self._2021: _0satsPattern2 = _0satsPattern2(client, "year_2021") + self._2022: _0satsPattern2 = _0satsPattern2(client, "year_2022") + self._2023: _0satsPattern2 = _0satsPattern2(client, "year_2023") + self._2024: _0satsPattern2 = _0satsPattern2(client, "year_2024") + self._2025: _0satsPattern2 = _0satsPattern2(client, "year_2025") + self._2026: _0satsPattern2 = _0satsPattern2(client, "year_2026") + class CatalogTree_Indexes: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.address: CatalogTree_Indexes_Address = CatalogTree_Indexes_Address(client, f'{base_path}_address') - self.dateindex: CatalogTree_Indexes_Dateindex = CatalogTree_Indexes_Dateindex(client, f'{base_path}_dateindex') - self.decadeindex: CatalogTree_Indexes_Decadeindex = CatalogTree_Indexes_Decadeindex(client, f'{base_path}_decadeindex') - self.difficultyepoch: CatalogTree_Indexes_Difficultyepoch = CatalogTree_Indexes_Difficultyepoch(client, f'{base_path}_difficultyepoch') - self.halvingepoch: CatalogTree_Indexes_Halvingepoch = CatalogTree_Indexes_Halvingepoch(client, f'{base_path}_halvingepoch') - self.height: CatalogTree_Indexes_Height = CatalogTree_Indexes_Height(client, f'{base_path}_height') - self.monthindex: CatalogTree_Indexes_Monthindex = CatalogTree_Indexes_Monthindex(client, f'{base_path}_monthindex') - self.quarterindex: CatalogTree_Indexes_Quarterindex = CatalogTree_Indexes_Quarterindex(client, f'{base_path}_quarterindex') - self.semesterindex: CatalogTree_Indexes_Semesterindex = CatalogTree_Indexes_Semesterindex(client, f'{base_path}_semesterindex') - self.txindex: CatalogTree_Indexes_Txindex = CatalogTree_Indexes_Txindex(client, f'{base_path}_txindex') - self.txinindex: EmptyPattern[TxInIndex] = EmptyPattern(client, 'txinindex') - self.txoutindex: EmptyPattern[TxOutIndex] = EmptyPattern(client, 'txoutindex') - self.weekindex: CatalogTree_Indexes_Weekindex = CatalogTree_Indexes_Weekindex(client, f'{base_path}_weekindex') - self.yearindex: CatalogTree_Indexes_Yearindex = CatalogTree_Indexes_Yearindex(client, f'{base_path}_yearindex') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.address: CatalogTree_Indexes_Address = CatalogTree_Indexes_Address(client) + self.dateindex: CatalogTree_Indexes_Dateindex = CatalogTree_Indexes_Dateindex( + client + ) + self.decadeindex: CatalogTree_Indexes_Decadeindex = ( + CatalogTree_Indexes_Decadeindex(client) + ) + self.difficultyepoch: CatalogTree_Indexes_Difficultyepoch = ( + CatalogTree_Indexes_Difficultyepoch(client) + ) + self.halvingepoch: CatalogTree_Indexes_Halvingepoch = ( + CatalogTree_Indexes_Halvingepoch(client) + ) + self.height: CatalogTree_Indexes_Height = CatalogTree_Indexes_Height(client) + self.monthindex: CatalogTree_Indexes_Monthindex = ( + CatalogTree_Indexes_Monthindex(client) + ) + self.quarterindex: CatalogTree_Indexes_Quarterindex = ( + CatalogTree_Indexes_Quarterindex(client) + ) + self.semesterindex: CatalogTree_Indexes_Semesterindex = ( + CatalogTree_Indexes_Semesterindex(client) + ) + self.txindex: CatalogTree_Indexes_Txindex = CatalogTree_Indexes_Txindex(client) + self.txinindex: CatalogTree_Indexes_Txinindex = CatalogTree_Indexes_Txinindex( + client + ) + self.txoutindex: CatalogTree_Indexes_Txoutindex = ( + CatalogTree_Indexes_Txoutindex(client) + ) + self.weekindex: CatalogTree_Indexes_Weekindex = CatalogTree_Indexes_Weekindex( + client + ) + self.yearindex: CatalogTree_Indexes_Yearindex = CatalogTree_Indexes_Yearindex( + client + ) + class CatalogTree_Indexes_Address: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.empty: EmptyPattern[EmptyOutputIndex] = EmptyPattern(client, 'emptyoutputindex') - self.opreturn: EmptyPattern[OpReturnIndex] = EmptyPattern(client, 'opreturnindex') - self.p2a: EmptyPattern[P2AAddressIndex] = EmptyPattern(client, 'p2aaddressindex') - self.p2ms: EmptyPattern[P2MSOutputIndex] = EmptyPattern(client, 'p2msoutputindex') - self.p2pk33: EmptyPattern[P2PK33AddressIndex] = EmptyPattern(client, 'p2pk33addressindex') - self.p2pk65: EmptyPattern[P2PK65AddressIndex] = EmptyPattern(client, 'p2pk65addressindex') - self.p2pkh: EmptyPattern[P2PKHAddressIndex] = EmptyPattern(client, 'p2pkhaddressindex') - self.p2sh: EmptyPattern[P2SHAddressIndex] = EmptyPattern(client, 'p2shaddressindex') - self.p2tr: EmptyPattern[P2TRAddressIndex] = EmptyPattern(client, 'p2traddressindex') - self.p2wpkh: EmptyPattern[P2WPKHAddressIndex] = EmptyPattern(client, 'p2wpkhaddressindex') - self.p2wsh: EmptyPattern[P2WSHAddressIndex] = EmptyPattern(client, 'p2wshaddressindex') - self.unknown: EmptyPattern[UnknownOutputIndex] = EmptyPattern(client, 'unknownoutputindex') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.empty: CatalogTree_Indexes_Address_Empty = ( + CatalogTree_Indexes_Address_Empty(client) + ) + self.opreturn: CatalogTree_Indexes_Address_Opreturn = ( + CatalogTree_Indexes_Address_Opreturn(client) + ) + self.p2a: CatalogTree_Indexes_Address_P2a = CatalogTree_Indexes_Address_P2a( + client + ) + self.p2ms: CatalogTree_Indexes_Address_P2ms = CatalogTree_Indexes_Address_P2ms( + client + ) + self.p2pk33: CatalogTree_Indexes_Address_P2pk33 = ( + CatalogTree_Indexes_Address_P2pk33(client) + ) + self.p2pk65: CatalogTree_Indexes_Address_P2pk65 = ( + CatalogTree_Indexes_Address_P2pk65(client) + ) + self.p2pkh: CatalogTree_Indexes_Address_P2pkh = ( + CatalogTree_Indexes_Address_P2pkh(client) + ) + self.p2sh: CatalogTree_Indexes_Address_P2sh = CatalogTree_Indexes_Address_P2sh( + client + ) + self.p2tr: CatalogTree_Indexes_Address_P2tr = CatalogTree_Indexes_Address_P2tr( + client + ) + self.p2wpkh: CatalogTree_Indexes_Address_P2wpkh = ( + CatalogTree_Indexes_Address_P2wpkh(client) + ) + self.p2wsh: CatalogTree_Indexes_Address_P2wsh = ( + CatalogTree_Indexes_Address_P2wsh(client) + ) + self.unknown: CatalogTree_Indexes_Address_Unknown = ( + CatalogTree_Indexes_Address_Unknown(client) + ) + + +class CatalogTree_Indexes_Address_Empty: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern9[EmptyOutputIndex] = MetricPattern9( + client, "emptyoutputindex" + ) + + +class CatalogTree_Indexes_Address_Opreturn: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern14[OpReturnIndex] = MetricPattern14( + client, "opreturnindex" + ) + + +class CatalogTree_Indexes_Address_P2a: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern16[P2AAddressIndex] = MetricPattern16( + client, "p2aaddressindex" + ) + + +class CatalogTree_Indexes_Address_P2ms: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern17[P2MSOutputIndex] = MetricPattern17( + client, "p2msoutputindex" + ) + + +class CatalogTree_Indexes_Address_P2pk33: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern18[P2PK33AddressIndex] = MetricPattern18( + client, "p2pk33addressindex" + ) + + +class CatalogTree_Indexes_Address_P2pk65: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern19[P2PK65AddressIndex] = MetricPattern19( + client, "p2pk65addressindex" + ) + + +class CatalogTree_Indexes_Address_P2pkh: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern20[P2PKHAddressIndex] = MetricPattern20( + client, "p2pkhaddressindex" + ) + + +class CatalogTree_Indexes_Address_P2sh: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern21[P2SHAddressIndex] = MetricPattern21( + client, "p2shaddressindex" + ) + + +class CatalogTree_Indexes_Address_P2tr: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern22[P2TRAddressIndex] = MetricPattern22( + client, "p2traddressindex" + ) + + +class CatalogTree_Indexes_Address_P2wpkh: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern23[P2WPKHAddressIndex] = MetricPattern23( + client, "p2wpkhaddressindex" + ) + + +class CatalogTree_Indexes_Address_P2wsh: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern24[P2WSHAddressIndex] = MetricPattern24( + client, "p2wshaddressindex" + ) + + +class CatalogTree_Indexes_Address_Unknown: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern28[UnknownOutputIndex] = MetricPattern28( + client, "unknownoutputindex" + ) + class CatalogTree_Indexes_Dateindex: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.date: MetricPattern6[Date] = MetricPattern6(client, f'{base_path}_date') - self.first_height: MetricPattern6[Height] = MetricPattern6(client, f'{base_path}_first_height') - self.height_count: MetricPattern6[StoredU64] = MetricPattern6(client, f'{base_path}_height_count') - self.identity: MetricPattern6[DateIndex] = MetricPattern6(client, f'{base_path}_identity') - self.monthindex: MetricPattern6[MonthIndex] = MetricPattern6(client, f'{base_path}_monthindex') - self.weekindex: MetricPattern6[WeekIndex] = MetricPattern6(client, f'{base_path}_weekindex') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.date: MetricPattern6[Date] = MetricPattern6(client, "dateindex_date") + self.first_height: MetricPattern6[Height] = MetricPattern6( + client, "dateindex_first_height" + ) + self.height_count: MetricPattern6[StoredU64] = MetricPattern6( + client, "dateindex_height_count" + ) + self.identity: MetricPattern6[DateIndex] = MetricPattern6(client, "dateindex") + self.monthindex: MetricPattern6[MonthIndex] = MetricPattern6( + client, "dateindex_monthindex" + ) + self.weekindex: MetricPattern6[WeekIndex] = MetricPattern6( + client, "dateindex_weekindex" + ) + class CatalogTree_Indexes_Decadeindex: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.first_yearindex: MetricPattern7[YearIndex] = MetricPattern7(client, f'{base_path}_first_yearindex') - self.identity: MetricPattern7[DecadeIndex] = MetricPattern7(client, f'{base_path}_identity') - self.yearindex_count: MetricPattern7[StoredU64] = MetricPattern7(client, f'{base_path}_yearindex_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.first_yearindex: MetricPattern7[YearIndex] = MetricPattern7( + client, "decadeindex_first_yearindex" + ) + self.identity: MetricPattern7[DecadeIndex] = MetricPattern7( + client, "decadeindex" + ) + self.yearindex_count: MetricPattern7[StoredU64] = MetricPattern7( + client, "decadeindex_yearindex_count" + ) + class CatalogTree_Indexes_Difficultyepoch: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.first_height: MetricPattern8[Height] = MetricPattern8(client, f'{base_path}_first_height') - self.height_count: MetricPattern8[StoredU64] = MetricPattern8(client, f'{base_path}_height_count') - self.identity: MetricPattern8[DifficultyEpoch] = MetricPattern8(client, f'{base_path}_identity') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.first_height: MetricPattern8[Height] = MetricPattern8( + client, "difficultyepoch_first_height" + ) + self.height_count: MetricPattern8[StoredU64] = MetricPattern8( + client, "difficultyepoch_height_count" + ) + self.identity: MetricPattern8[DifficultyEpoch] = MetricPattern8( + client, "difficultyepoch" + ) + class CatalogTree_Indexes_Halvingepoch: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.first_height: MetricPattern10[Height] = MetricPattern10(client, f'{base_path}_first_height') - self.identity: MetricPattern10[HalvingEpoch] = MetricPattern10(client, f'{base_path}_identity') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.first_height: MetricPattern10[Height] = MetricPattern10( + client, "halvingepoch_first_height" + ) + self.identity: MetricPattern10[HalvingEpoch] = MetricPattern10( + client, "halvingepoch" + ) + class CatalogTree_Indexes_Height: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.dateindex: MetricPattern11[DateIndex] = MetricPattern11(client, f'{base_path}_dateindex') - self.difficultyepoch: MetricPattern11[DifficultyEpoch] = MetricPattern11(client, f'{base_path}_difficultyepoch') - self.halvingepoch: MetricPattern11[HalvingEpoch] = MetricPattern11(client, f'{base_path}_halvingepoch') - self.identity: MetricPattern11[Height] = MetricPattern11(client, f'{base_path}_identity') - self.txindex_count: MetricPattern11[StoredU64] = MetricPattern11(client, f'{base_path}_txindex_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.dateindex: MetricPattern11[DateIndex] = MetricPattern11( + client, "height_dateindex" + ) + self.difficultyepoch: MetricPattern11[DifficultyEpoch] = MetricPattern11( + client, "height_difficultyepoch" + ) + self.halvingepoch: MetricPattern11[HalvingEpoch] = MetricPattern11( + client, "height_halvingepoch" + ) + self.identity: MetricPattern11[Height] = MetricPattern11(client, "height") + self.txindex_count: MetricPattern11[StoredU64] = MetricPattern11( + client, "height_txindex_count" + ) + class CatalogTree_Indexes_Monthindex: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.dateindex_count: MetricPattern13[StoredU64] = MetricPattern13(client, f'{base_path}_dateindex_count') - self.first_dateindex: MetricPattern13[DateIndex] = MetricPattern13(client, f'{base_path}_first_dateindex') - self.identity: MetricPattern13[MonthIndex] = MetricPattern13(client, f'{base_path}_identity') - self.quarterindex: MetricPattern13[QuarterIndex] = MetricPattern13(client, f'{base_path}_quarterindex') - self.semesterindex: MetricPattern13[SemesterIndex] = MetricPattern13(client, f'{base_path}_semesterindex') - self.yearindex: MetricPattern13[YearIndex] = MetricPattern13(client, f'{base_path}_yearindex') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.dateindex_count: MetricPattern13[StoredU64] = MetricPattern13( + client, "monthindex_dateindex_count" + ) + self.first_dateindex: MetricPattern13[DateIndex] = MetricPattern13( + client, "monthindex_first_dateindex" + ) + self.identity: MetricPattern13[MonthIndex] = MetricPattern13( + client, "monthindex" + ) + self.quarterindex: MetricPattern13[QuarterIndex] = MetricPattern13( + client, "monthindex_quarterindex" + ) + self.semesterindex: MetricPattern13[SemesterIndex] = MetricPattern13( + client, "monthindex_semesterindex" + ) + self.yearindex: MetricPattern13[YearIndex] = MetricPattern13( + client, "monthindex_yearindex" + ) + class CatalogTree_Indexes_Quarterindex: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.first_monthindex: MetricPattern25[MonthIndex] = MetricPattern25(client, f'{base_path}_first_monthindex') - self.identity: MetricPattern25[QuarterIndex] = MetricPattern25(client, f'{base_path}_identity') - self.monthindex_count: MetricPattern25[StoredU64] = MetricPattern25(client, f'{base_path}_monthindex_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.first_monthindex: MetricPattern25[MonthIndex] = MetricPattern25( + client, "quarterindex_first_monthindex" + ) + self.identity: MetricPattern25[QuarterIndex] = MetricPattern25( + client, "quarterindex" + ) + self.monthindex_count: MetricPattern25[StoredU64] = MetricPattern25( + client, "quarterindex_monthindex_count" + ) + class CatalogTree_Indexes_Semesterindex: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.first_monthindex: MetricPattern26[MonthIndex] = MetricPattern26(client, f'{base_path}_first_monthindex') - self.identity: MetricPattern26[SemesterIndex] = MetricPattern26(client, f'{base_path}_identity') - self.monthindex_count: MetricPattern26[StoredU64] = MetricPattern26(client, f'{base_path}_monthindex_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.first_monthindex: MetricPattern26[MonthIndex] = MetricPattern26( + client, "semesterindex_first_monthindex" + ) + self.identity: MetricPattern26[SemesterIndex] = MetricPattern26( + client, "semesterindex" + ) + self.monthindex_count: MetricPattern26[StoredU64] = MetricPattern26( + client, "semesterindex_monthindex_count" + ) + class CatalogTree_Indexes_Txindex: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.identity: MetricPattern27[TxIndex] = MetricPattern27(client, f'{base_path}_identity') - self.input_count: MetricPattern27[StoredU64] = MetricPattern27(client, f'{base_path}_input_count') - self.output_count: MetricPattern27[StoredU64] = MetricPattern27(client, f'{base_path}_output_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern27[TxIndex] = MetricPattern27(client, "txindex") + self.input_count: MetricPattern27[StoredU64] = MetricPattern27( + client, "txindex_input_count" + ) + self.output_count: MetricPattern27[StoredU64] = MetricPattern27( + client, "txindex_output_count" + ) + + +class CatalogTree_Indexes_Txinindex: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern12[TxInIndex] = MetricPattern12(client, "txinindex") + + +class CatalogTree_Indexes_Txoutindex: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.identity: MetricPattern15[TxOutIndex] = MetricPattern15( + client, "txoutindex" + ) + class CatalogTree_Indexes_Weekindex: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.dateindex_count: MetricPattern29[StoredU64] = MetricPattern29(client, f'{base_path}_dateindex_count') - self.first_dateindex: MetricPattern29[DateIndex] = MetricPattern29(client, f'{base_path}_first_dateindex') - self.identity: MetricPattern29[WeekIndex] = MetricPattern29(client, f'{base_path}_identity') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.dateindex_count: MetricPattern29[StoredU64] = MetricPattern29( + client, "weekindex_dateindex_count" + ) + self.first_dateindex: MetricPattern29[DateIndex] = MetricPattern29( + client, "weekindex_first_dateindex" + ) + self.identity: MetricPattern29[WeekIndex] = MetricPattern29(client, "weekindex") + class CatalogTree_Indexes_Yearindex: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.decadeindex: MetricPattern30[DecadeIndex] = MetricPattern30(client, f'{base_path}_decadeindex') - self.first_monthindex: MetricPattern30[MonthIndex] = MetricPattern30(client, f'{base_path}_first_monthindex') - self.identity: MetricPattern30[YearIndex] = MetricPattern30(client, f'{base_path}_identity') - self.monthindex_count: MetricPattern30[StoredU64] = MetricPattern30(client, f'{base_path}_monthindex_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.decadeindex: MetricPattern30[DecadeIndex] = MetricPattern30( + client, "yearindex_decadeindex" + ) + self.first_monthindex: MetricPattern30[MonthIndex] = MetricPattern30( + client, "yearindex_first_monthindex" + ) + self.identity: MetricPattern30[YearIndex] = MetricPattern30(client, "yearindex") + self.monthindex_count: MetricPattern30[StoredU64] = MetricPattern30( + client, "yearindex_monthindex_count" + ) + class CatalogTree_Inputs: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.count: SizePattern[StoredU64] = SizePattern(client, 'input_count') - self.first_txinindex: MetricPattern11[TxInIndex] = MetricPattern11(client, f'{base_path}_first_txinindex') - self.outpoint: MetricPattern12[OutPoint] = MetricPattern12(client, f'{base_path}_outpoint') - self.outputtype: MetricPattern12[OutputType] = MetricPattern12(client, f'{base_path}_outputtype') - self.spent: CatalogTree_Inputs_Spent = CatalogTree_Inputs_Spent(client, f'{base_path}_spent') - self.txindex: MetricPattern12[TxIndex] = MetricPattern12(client, f'{base_path}_txindex') - self.typeindex: MetricPattern12[TypeIndex] = MetricPattern12(client, f'{base_path}_typeindex') - self.witness_size: MetricPattern12[StoredU32] = MetricPattern12(client, f'{base_path}_witness_size') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.count: CountPattern2[StoredU64] = CountPattern2(client, "input_count") + self.first_txinindex: MetricPattern11[TxInIndex] = MetricPattern11( + client, "first_txinindex" + ) + self.outpoint: MetricPattern12[OutPoint] = MetricPattern12(client, "outpoint") + self.outputtype: MetricPattern12[OutputType] = MetricPattern12( + client, "outputtype" + ) + self.spent: CatalogTree_Inputs_Spent = CatalogTree_Inputs_Spent(client) + self.txindex: MetricPattern12[TxIndex] = MetricPattern12(client, "txindex") + self.typeindex: MetricPattern12[TypeIndex] = MetricPattern12( + client, "typeindex" + ) + self.witness_size: MetricPattern12[StoredU32] = MetricPattern12( + client, "witness_size" + ) + class CatalogTree_Inputs_Spent: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.txoutindex: MetricPattern12[TxOutIndex] = MetricPattern12(client, f'{base_path}_txoutindex') - self.value: MetricPattern12[Sats] = MetricPattern12(client, f'{base_path}_value') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.txoutindex: MetricPattern12[TxOutIndex] = MetricPattern12( + client, "txoutindex" + ) + self.value: MetricPattern12[Sats] = MetricPattern12(client, "value") + class CatalogTree_Market: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.ath: CatalogTree_Market_Ath = CatalogTree_Market_Ath(client, f'{base_path}_ath') - self.dca: CatalogTree_Market_Dca = CatalogTree_Market_Dca(client, f'{base_path}_dca') - self.indicators: CatalogTree_Market_Indicators = CatalogTree_Market_Indicators(client, f'{base_path}_indicators') - self.lookback: CatalogTree_Market_Lookback = CatalogTree_Market_Lookback(client, f'{base_path}_lookback') - self.moving_average: CatalogTree_Market_MovingAverage = CatalogTree_Market_MovingAverage(client, f'{base_path}_moving_average') - self.range: CatalogTree_Market_Range = CatalogTree_Market_Range(client, f'{base_path}_range') - self.returns: CatalogTree_Market_Returns = CatalogTree_Market_Returns(client, f'{base_path}_returns') - self.volatility: CatalogTree_Market_Volatility = CatalogTree_Market_Volatility(client, f'{base_path}_volatility') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.ath: CatalogTree_Market_Ath = CatalogTree_Market_Ath(client) + self.dca: CatalogTree_Market_Dca = CatalogTree_Market_Dca(client) + self.indicators: CatalogTree_Market_Indicators = CatalogTree_Market_Indicators( + client + ) + self.lookback: CatalogTree_Market_Lookback = CatalogTree_Market_Lookback(client) + self.moving_average: CatalogTree_Market_MovingAverage = ( + CatalogTree_Market_MovingAverage(client) + ) + self.range: CatalogTree_Market_Range = CatalogTree_Market_Range(client) + self.returns: CatalogTree_Market_Returns = CatalogTree_Market_Returns(client) + self.volatility: CatalogTree_Market_Volatility = CatalogTree_Market_Volatility( + client + ) + class CatalogTree_Market_Ath: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.days_since_price_ath: MetricPattern4[StoredU16] = MetricPattern4(client, f'{base_path}_days_since_price_ath') - self.max_days_between_price_aths: MetricPattern4[StoredU16] = MetricPattern4(client, f'{base_path}_max_days_between_price_aths') - self.max_years_between_price_aths: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_max_years_between_price_aths') - self.price_ath: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_price_ath') - self.price_drawdown: MetricPattern3[StoredF32] = MetricPattern3(client, f'{base_path}_price_drawdown') - self.years_since_price_ath: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_years_since_price_ath') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.days_since_price_ath: MetricPattern4[StoredU16] = MetricPattern4( + client, "days_since_price_ath" + ) + self.max_days_between_price_aths: MetricPattern4[StoredU16] = MetricPattern4( + client, "max_days_between_price_aths" + ) + self.max_years_between_price_aths: MetricPattern4[StoredF32] = MetricPattern4( + client, "max_years_between_price_aths" + ) + self.price_ath: MetricPattern1[Dollars] = MetricPattern1(client, "price_ath") + self.price_drawdown: MetricPattern3[StoredF32] = MetricPattern3( + client, "price_drawdown" + ) + self.years_since_price_ath: MetricPattern4[StoredF32] = MetricPattern4( + client, "years_since_price_ath" + ) + class CatalogTree_Market_Dca: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.class_average_price: ClassAveragePricePattern[Dollars] = ClassAveragePricePattern(client, 'dca_class') - self.class_returns: ClassAveragePricePattern[StoredF32] = ClassAveragePricePattern(client, 'dca_class') - self.class_stack: CatalogTree_Market_Dca_ClassStack = CatalogTree_Market_Dca_ClassStack(client, f'{base_path}_class_stack') - self.period_average_price: PeriodAveragePricePattern[Dollars] = PeriodAveragePricePattern(client, 'dca_average_price') - self.period_cagr: PeriodCagrPattern = PeriodCagrPattern(client, 'dca_cagr') - self.period_lump_sum_stack: PeriodLumpSumStackPattern = PeriodLumpSumStackPattern(client, '') - self.period_returns: PeriodAveragePricePattern[StoredF32] = PeriodAveragePricePattern(client, 'dca_returns') - self.period_stack: PeriodLumpSumStackPattern = PeriodLumpSumStackPattern(client, '') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.class_average_price: CatalogTree_Market_Dca_ClassAveragePrice = ( + CatalogTree_Market_Dca_ClassAveragePrice(client) + ) + self.class_returns: CatalogTree_Market_Dca_ClassReturns = ( + CatalogTree_Market_Dca_ClassReturns(client) + ) + self.class_stack: CatalogTree_Market_Dca_ClassStack = ( + CatalogTree_Market_Dca_ClassStack(client) + ) + self.period_average_price: PeriodAveragePricePattern[Dollars] = ( + PeriodAveragePricePattern(client, "dca_average_price") + ) + self.period_cagr: PeriodCagrPattern = PeriodCagrPattern(client, "dca_cagr") + self.period_lump_sum_stack: PeriodLumpSumStackPattern = ( + PeriodLumpSumStackPattern(client, "lump_sum_stack") + ) + self.period_returns: PeriodAveragePricePattern[StoredF32] = ( + PeriodAveragePricePattern(client, "dca_returns") + ) + self.period_stack: PeriodLumpSumStackPattern = PeriodLumpSumStackPattern( + client, "dca_stack" + ) + + +class CatalogTree_Market_Dca_ClassAveragePrice: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._2015: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2015_average_price" + ) + self._2016: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2016_average_price" + ) + self._2017: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2017_average_price" + ) + self._2018: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2018_average_price" + ) + self._2019: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2019_average_price" + ) + self._2020: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2020_average_price" + ) + self._2021: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2021_average_price" + ) + self._2022: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2022_average_price" + ) + self._2023: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2023_average_price" + ) + self._2024: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2024_average_price" + ) + self._2025: MetricPattern4[Dollars] = MetricPattern4( + client, "dca_class_2025_average_price" + ) + + +class CatalogTree_Market_Dca_ClassReturns: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._2015: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2015_returns" + ) + self._2016: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2016_returns" + ) + self._2017: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2017_returns" + ) + self._2018: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2018_returns" + ) + self._2019: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2019_returns" + ) + self._2020: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2020_returns" + ) + self._2021: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2021_returns" + ) + self._2022: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2022_returns" + ) + self._2023: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2023_returns" + ) + self._2024: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2024_returns" + ) + self._2025: MetricPattern4[StoredF32] = MetricPattern4( + client, "dca_class_2025_returns" + ) + class CatalogTree_Market_Dca_ClassStack: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._2015: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2015_stack') - self._2016: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2016_stack') - self._2017: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2017_stack') - self._2018: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2018_stack') - self._2019: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2019_stack') - self._2020: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2020_stack') - self._2021: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2021_stack') - self._2022: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2022_stack') - self._2023: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2023_stack') - self._2024: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2024_stack') - self._2025: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'dca_class_2025_stack') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._2015: _2015Pattern = _2015Pattern(client, "dca_class_2015_stack") + self._2016: _2015Pattern = _2015Pattern(client, "dca_class_2016_stack") + self._2017: _2015Pattern = _2015Pattern(client, "dca_class_2017_stack") + self._2018: _2015Pattern = _2015Pattern(client, "dca_class_2018_stack") + self._2019: _2015Pattern = _2015Pattern(client, "dca_class_2019_stack") + self._2020: _2015Pattern = _2015Pattern(client, "dca_class_2020_stack") + self._2021: _2015Pattern = _2015Pattern(client, "dca_class_2021_stack") + self._2022: _2015Pattern = _2015Pattern(client, "dca_class_2022_stack") + self._2023: _2015Pattern = _2015Pattern(client, "dca_class_2023_stack") + self._2024: _2015Pattern = _2015Pattern(client, "dca_class_2024_stack") + self._2025: _2015Pattern = _2015Pattern(client, "dca_class_2025_stack") + class CatalogTree_Market_Indicators: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.gini: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_gini') - self.macd_histogram: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_macd_histogram') - self.macd_line: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_macd_line') - self.macd_signal: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_macd_signal') - self.nvt: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_nvt') - self.pi_cycle: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_pi_cycle') - self.puell_multiple: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_puell_multiple') - self.rsi_14d: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_rsi_14d') - self.rsi_14d_max: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_rsi_14d_max') - self.rsi_14d_min: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_rsi_14d_min') - self.rsi_average_gain_14d: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_rsi_average_gain_14d') - self.rsi_average_loss_14d: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_rsi_average_loss_14d') - self.rsi_gains: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_rsi_gains') - self.rsi_losses: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_rsi_losses') - self.stoch_d: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_stoch_d') - self.stoch_k: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_stoch_k') - self.stoch_rsi: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_stoch_rsi') - self.stoch_rsi_d: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_stoch_rsi_d') - self.stoch_rsi_k: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_stoch_rsi_k') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.gini: MetricPattern6[StoredF32] = MetricPattern6(client, "gini") + self.macd_histogram: MetricPattern6[StoredF32] = MetricPattern6( + client, "macd_histogram" + ) + self.macd_line: MetricPattern6[StoredF32] = MetricPattern6(client, "macd_line") + self.macd_signal: MetricPattern6[StoredF32] = MetricPattern6( + client, "macd_signal" + ) + self.nvt: MetricPattern4[StoredF32] = MetricPattern4(client, "nvt") + self.pi_cycle: MetricPattern6[StoredF32] = MetricPattern6(client, "pi_cycle") + self.puell_multiple: MetricPattern4[StoredF32] = MetricPattern4( + client, "puell_multiple" + ) + self.rsi_14d: MetricPattern6[StoredF32] = MetricPattern6(client, "rsi_14d") + self.rsi_14d_max: MetricPattern6[StoredF32] = MetricPattern6( + client, "rsi_14d_max" + ) + self.rsi_14d_min: MetricPattern6[StoredF32] = MetricPattern6( + client, "rsi_14d_min" + ) + self.rsi_average_gain_14d: MetricPattern6[StoredF32] = MetricPattern6( + client, "rsi_average_gain_14d" + ) + self.rsi_average_loss_14d: MetricPattern6[StoredF32] = MetricPattern6( + client, "rsi_average_loss_14d" + ) + self.rsi_gains: MetricPattern6[StoredF32] = MetricPattern6(client, "rsi_gains") + self.rsi_losses: MetricPattern6[StoredF32] = MetricPattern6( + client, "rsi_losses" + ) + self.stoch_d: MetricPattern6[StoredF32] = MetricPattern6(client, "stoch_d") + self.stoch_k: MetricPattern6[StoredF32] = MetricPattern6(client, "stoch_k") + self.stoch_rsi: MetricPattern6[StoredF32] = MetricPattern6(client, "stoch_rsi") + self.stoch_rsi_d: MetricPattern6[StoredF32] = MetricPattern6( + client, "stoch_rsi_d" + ) + self.stoch_rsi_k: MetricPattern6[StoredF32] = MetricPattern6( + client, "stoch_rsi_k" + ) + class CatalogTree_Market_Lookback: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.price_ago: PriceAgoPattern[Dollars] = PriceAgoPattern(client, 'price') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.price_ago: CatalogTree_Market_Lookback_PriceAgo = ( + CatalogTree_Market_Lookback_PriceAgo(client) + ) + + +class CatalogTree_Market_Lookback_PriceAgo: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._10y: MetricPattern4[Dollars] = MetricPattern4(client, "price_10y_ago") + self._1d: MetricPattern4[Dollars] = MetricPattern4(client, "price_1d_ago") + self._1m: MetricPattern4[Dollars] = MetricPattern4(client, "price_1m_ago") + self._1w: MetricPattern4[Dollars] = MetricPattern4(client, "price_1w_ago") + self._1y: MetricPattern4[Dollars] = MetricPattern4(client, "price_1y_ago") + self._2y: MetricPattern4[Dollars] = MetricPattern4(client, "price_2y_ago") + self._3m: MetricPattern4[Dollars] = MetricPattern4(client, "price_3m_ago") + self._3y: MetricPattern4[Dollars] = MetricPattern4(client, "price_3y_ago") + self._4y: MetricPattern4[Dollars] = MetricPattern4(client, "price_4y_ago") + self._5y: MetricPattern4[Dollars] = MetricPattern4(client, "price_5y_ago") + self._6m: MetricPattern4[Dollars] = MetricPattern4(client, "price_6m_ago") + self._6y: MetricPattern4[Dollars] = MetricPattern4(client, "price_6y_ago") + self._8y: MetricPattern4[Dollars] = MetricPattern4(client, "price_8y_ago") + class CatalogTree_Market_MovingAverage: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.price_111d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_111d_sma') - self.price_12d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_12d_ema') - self.price_13d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_13d_ema') - self.price_13d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_13d_sma') - self.price_144d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_144d_ema') - self.price_144d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_144d_sma') - self.price_1m_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_1m_ema') - self.price_1m_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_1m_sma') - self.price_1w_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_1w_ema') - self.price_1w_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_1w_sma') - self.price_1y_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_1y_ema') - self.price_1y_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_1y_sma') - self.price_200d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_200d_ema') - self.price_200d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_200d_sma') - self.price_200d_sma_x0_8: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_200d_sma_x0_8') - self.price_200d_sma_x2_4: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_200d_sma_x2_4') - self.price_200w_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_200w_ema') - self.price_200w_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_200w_sma') - self.price_21d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_21d_ema') - self.price_21d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_21d_sma') - self.price_26d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_26d_ema') - self.price_2y_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_2y_ema') - self.price_2y_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_2y_sma') - self.price_34d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_34d_ema') - self.price_34d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_34d_sma') - self.price_350d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_350d_sma') - self.price_350d_sma_x2: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_350d_sma_x2') - self.price_4y_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_4y_ema') - self.price_4y_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_4y_sma') - self.price_55d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_55d_ema') - self.price_55d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_55d_sma') - self.price_89d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_89d_ema') - self.price_89d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_89d_sma') - self.price_8d_ema: Price111dSmaPattern = Price111dSmaPattern(client, 'price_8d_ema') - self.price_8d_sma: Price111dSmaPattern = Price111dSmaPattern(client, 'price_8d_sma') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.price_111d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_111d_sma" + ) + self.price_12d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_12d_ema" + ) + self.price_13d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_13d_ema" + ) + self.price_13d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_13d_sma" + ) + self.price_144d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_144d_ema" + ) + self.price_144d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_144d_sma" + ) + self.price_1m_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_1m_ema" + ) + self.price_1m_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_1m_sma" + ) + self.price_1w_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_1w_ema" + ) + self.price_1w_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_1w_sma" + ) + self.price_1y_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_1y_ema" + ) + self.price_1y_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_1y_sma" + ) + self.price_200d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_200d_ema" + ) + self.price_200d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_200d_sma" + ) + self.price_200d_sma_x0_8: MetricPattern4[Dollars] = MetricPattern4( + client, "price_200d_sma_x0_8" + ) + self.price_200d_sma_x2_4: MetricPattern4[Dollars] = MetricPattern4( + client, "price_200d_sma_x2_4" + ) + self.price_200w_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_200w_ema" + ) + self.price_200w_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_200w_sma" + ) + self.price_21d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_21d_ema" + ) + self.price_21d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_21d_sma" + ) + self.price_26d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_26d_ema" + ) + self.price_2y_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_2y_ema" + ) + self.price_2y_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_2y_sma" + ) + self.price_34d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_34d_ema" + ) + self.price_34d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_34d_sma" + ) + self.price_350d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_350d_sma" + ) + self.price_350d_sma_x2: MetricPattern4[Dollars] = MetricPattern4( + client, "price_350d_sma_x2" + ) + self.price_4y_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_4y_ema" + ) + self.price_4y_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_4y_sma" + ) + self.price_55d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_55d_ema" + ) + self.price_55d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_55d_sma" + ) + self.price_89d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_89d_ema" + ) + self.price_89d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_89d_sma" + ) + self.price_8d_ema: Price111dSmaPattern = Price111dSmaPattern( + client, "price_8d_ema" + ) + self.price_8d_sma: Price111dSmaPattern = Price111dSmaPattern( + client, "price_8d_sma" + ) + class CatalogTree_Market_Range: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.price_1m_max: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_1m_max') - self.price_1m_min: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_1m_min') - self.price_1w_max: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_1w_max') - self.price_1w_min: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_1w_min') - self.price_1y_max: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_1y_max') - self.price_1y_min: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_1y_min') - self.price_2w_choppiness_index: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_price_2w_choppiness_index') - self.price_2w_max: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_2w_max') - self.price_2w_min: MetricPattern4[Dollars] = MetricPattern4(client, f'{base_path}_price_2w_min') - self.price_true_range: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_price_true_range') - self.price_true_range_2w_sum: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_price_true_range_2w_sum') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.price_1m_max: MetricPattern4[Dollars] = MetricPattern4( + client, "price_1m_max" + ) + self.price_1m_min: MetricPattern4[Dollars] = MetricPattern4( + client, "price_1m_min" + ) + self.price_1w_max: MetricPattern4[Dollars] = MetricPattern4( + client, "price_1w_max" + ) + self.price_1w_min: MetricPattern4[Dollars] = MetricPattern4( + client, "price_1w_min" + ) + self.price_1y_max: MetricPattern4[Dollars] = MetricPattern4( + client, "price_1y_max" + ) + self.price_1y_min: MetricPattern4[Dollars] = MetricPattern4( + client, "price_1y_min" + ) + self.price_2w_choppiness_index: MetricPattern4[StoredF32] = MetricPattern4( + client, "price_2w_choppiness_index" + ) + self.price_2w_max: MetricPattern4[Dollars] = MetricPattern4( + client, "price_2w_max" + ) + self.price_2w_min: MetricPattern4[Dollars] = MetricPattern4( + client, "price_2w_min" + ) + self.price_true_range: MetricPattern6[StoredF32] = MetricPattern6( + client, "price_true_range" + ) + self.price_true_range_2w_sum: MetricPattern6[StoredF32] = MetricPattern6( + client, "price_true_range_2w_sum" + ) + class CatalogTree_Market_Returns: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self._1d_returns_1m_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern(client, '1d_returns_1m_sd') - self._1d_returns_1w_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern(client, '1d_returns_1w_sd') - self._1d_returns_1y_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern(client, '1d_returns_1y_sd') - self.cagr: PeriodCagrPattern = PeriodCagrPattern(client, 'cagr') - self.downside_1m_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern(client, 'downside_1m_sd') - self.downside_1w_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern(client, 'downside_1w_sd') - self.downside_1y_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern(client, 'downside_1y_sd') - self.downside_returns: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_downside_returns') - self.price_returns: PriceAgoPattern[StoredF32] = PriceAgoPattern(client, 'price_returns') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._1d_returns_1m_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern( + client, "1d_returns_1m_sd" + ) + self._1d_returns_1w_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern( + client, "1d_returns_1w_sd" + ) + self._1d_returns_1y_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern( + client, "1d_returns_1y_sd" + ) + self.cagr: PeriodCagrPattern = PeriodCagrPattern(client, "cagr") + self.downside_1m_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern( + client, "downside_1m_sd" + ) + self.downside_1w_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern( + client, "downside_1w_sd" + ) + self.downside_1y_sd: _1dReturns1mSdPattern = _1dReturns1mSdPattern( + client, "downside_1y_sd" + ) + self.downside_returns: MetricPattern6[StoredF32] = MetricPattern6( + client, "downside_returns" + ) + self.price_returns: CatalogTree_Market_Returns_PriceReturns = ( + CatalogTree_Market_Returns_PriceReturns(client) + ) + + +class CatalogTree_Market_Returns_PriceReturns: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self._10y: MetricPattern4[StoredF32] = MetricPattern4( + client, "10y_price_returns" + ) + self._1d: MetricPattern4[StoredF32] = MetricPattern4(client, "1d_price_returns") + self._1m: MetricPattern4[StoredF32] = MetricPattern4(client, "1m_price_returns") + self._1w: MetricPattern4[StoredF32] = MetricPattern4(client, "1w_price_returns") + self._1y: MetricPattern4[StoredF32] = MetricPattern4(client, "1y_price_returns") + self._2y: MetricPattern4[StoredF32] = MetricPattern4(client, "2y_price_returns") + self._3m: MetricPattern4[StoredF32] = MetricPattern4(client, "3m_price_returns") + self._3y: MetricPattern4[StoredF32] = MetricPattern4(client, "3y_price_returns") + self._4y: MetricPattern4[StoredF32] = MetricPattern4(client, "4y_price_returns") + self._5y: MetricPattern4[StoredF32] = MetricPattern4(client, "5y_price_returns") + self._6m: MetricPattern4[StoredF32] = MetricPattern4(client, "6m_price_returns") + self._6y: MetricPattern4[StoredF32] = MetricPattern4(client, "6y_price_returns") + self._8y: MetricPattern4[StoredF32] = MetricPattern4(client, "8y_price_returns") + class CatalogTree_Market_Volatility: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.price_1m_volatility: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_price_1m_volatility') - self.price_1w_volatility: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_price_1w_volatility') - self.price_1y_volatility: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_price_1y_volatility') - self.sharpe_1m: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_sharpe_1m') - self.sharpe_1w: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_sharpe_1w') - self.sharpe_1y: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_sharpe_1y') - self.sortino_1m: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_sortino_1m') - self.sortino_1w: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_sortino_1w') - self.sortino_1y: MetricPattern6[StoredF32] = MetricPattern6(client, f'{base_path}_sortino_1y') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.price_1m_volatility: MetricPattern4[StoredF32] = MetricPattern4( + client, "price_1m_volatility" + ) + self.price_1w_volatility: MetricPattern4[StoredF32] = MetricPattern4( + client, "price_1w_volatility" + ) + self.price_1y_volatility: MetricPattern4[StoredF32] = MetricPattern4( + client, "price_1y_volatility" + ) + self.sharpe_1m: MetricPattern6[StoredF32] = MetricPattern6(client, "sharpe_1m") + self.sharpe_1w: MetricPattern6[StoredF32] = MetricPattern6(client, "sharpe_1w") + self.sharpe_1y: MetricPattern6[StoredF32] = MetricPattern6(client, "sharpe_1y") + self.sortino_1m: MetricPattern6[StoredF32] = MetricPattern6( + client, "sortino_1m" + ) + self.sortino_1w: MetricPattern6[StoredF32] = MetricPattern6( + client, "sortino_1w" + ) + self.sortino_1y: MetricPattern6[StoredF32] = MetricPattern6( + client, "sortino_1y" + ) + class CatalogTree_Outputs: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.count: CatalogTree_Outputs_Count = CatalogTree_Outputs_Count(client, f'{base_path}_count') - self.first_txoutindex: MetricPattern11[TxOutIndex] = MetricPattern11(client, f'{base_path}_first_txoutindex') - self.outputtype: MetricPattern15[OutputType] = MetricPattern15(client, f'{base_path}_outputtype') - self.spent: CatalogTree_Outputs_Spent = CatalogTree_Outputs_Spent(client, f'{base_path}_spent') - self.txindex: MetricPattern15[TxIndex] = MetricPattern15(client, f'{base_path}_txindex') - self.typeindex: MetricPattern15[TypeIndex] = MetricPattern15(client, f'{base_path}_typeindex') - self.value: MetricPattern15[Sats] = MetricPattern15(client, f'{base_path}_value') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.count: CatalogTree_Outputs_Count = CatalogTree_Outputs_Count(client) + self.first_txoutindex: MetricPattern11[TxOutIndex] = MetricPattern11( + client, "first_txoutindex" + ) + self.outputtype: MetricPattern15[OutputType] = MetricPattern15( + client, "outputtype" + ) + self.spent: CatalogTree_Outputs_Spent = CatalogTree_Outputs_Spent(client) + self.txindex: MetricPattern15[TxIndex] = MetricPattern15(client, "txindex") + self.typeindex: MetricPattern15[TypeIndex] = MetricPattern15( + client, "typeindex" + ) + self.value: MetricPattern15[Sats] = MetricPattern15(client, "value") + class CatalogTree_Outputs_Count: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.total_count: SizePattern[StoredU64] = SizePattern(client, 'output_count') - self.utxo_count: FullnessPattern[StoredU64] = FullnessPattern(client, 'exact_utxo_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.total_count: CountPattern2[StoredU64] = CountPattern2( + client, "output_count" + ) + self.utxo_count: MetricPattern1[StoredU64] = MetricPattern1( + client, "exact_utxo_count" + ) + class CatalogTree_Outputs_Spent: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.txinindex: MetricPattern15[TxInIndex] = MetricPattern15(client, f'{base_path}_txinindex') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.txinindex: MetricPattern15[TxInIndex] = MetricPattern15( + client, "txinindex" + ) + class CatalogTree_Pools: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.height_to_pool: MetricPattern11[PoolSlug] = MetricPattern11(client, f'{base_path}_height_to_pool') - self.vecs: CatalogTree_Pools_Vecs = CatalogTree_Pools_Vecs(client, f'{base_path}_vecs') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.height_to_pool: MetricPattern11[PoolSlug] = MetricPattern11(client, "pool") + self.vecs: CatalogTree_Pools_Vecs = CatalogTree_Pools_Vecs(client) + class CatalogTree_Pools_Vecs: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.aaopool: AaopoolPattern = AaopoolPattern(client, 'aaopool') - self.antpool: AaopoolPattern = AaopoolPattern(client, 'antpool') - self.arkpool: AaopoolPattern = AaopoolPattern(client, 'arkpool') - self.asicminer: AaopoolPattern = AaopoolPattern(client, 'asicminer') - self.axbt: AaopoolPattern = AaopoolPattern(client, 'axbt') - self.batpool: AaopoolPattern = AaopoolPattern(client, 'batpool') - self.bcmonster: AaopoolPattern = AaopoolPattern(client, 'bcmonster') - self.bcpoolio: AaopoolPattern = AaopoolPattern(client, 'bcpoolio') - self.binancepool: AaopoolPattern = AaopoolPattern(client, 'binancepool') - self.bitalo: AaopoolPattern = AaopoolPattern(client, 'bitalo') - self.bitclub: AaopoolPattern = AaopoolPattern(client, 'bitclub') - self.bitcoinaffiliatenetwork: AaopoolPattern = AaopoolPattern(client, 'bitcoinaffiliatenetwork') - self.bitcoincom: AaopoolPattern = AaopoolPattern(client, 'bitcoincom') - self.bitcoinindia: AaopoolPattern = AaopoolPattern(client, 'bitcoinindia') - self.bitcoinrussia: AaopoolPattern = AaopoolPattern(client, 'bitcoinrussia') - self.bitcoinukraine: AaopoolPattern = AaopoolPattern(client, 'bitcoinukraine') - self.bitfarms: AaopoolPattern = AaopoolPattern(client, 'bitfarms') - self.bitfufupool: AaopoolPattern = AaopoolPattern(client, 'bitfufupool') - self.bitfury: AaopoolPattern = AaopoolPattern(client, 'bitfury') - self.bitminter: AaopoolPattern = AaopoolPattern(client, 'bitminter') - self.bitparking: AaopoolPattern = AaopoolPattern(client, 'bitparking') - self.bitsolo: AaopoolPattern = AaopoolPattern(client, 'bitsolo') - self.bixin: AaopoolPattern = AaopoolPattern(client, 'bixin') - self.blockfills: AaopoolPattern = AaopoolPattern(client, 'blockfills') - self.braiinspool: AaopoolPattern = AaopoolPattern(client, 'braiinspool') - self.bravomining: AaopoolPattern = AaopoolPattern(client, 'bravomining') - self.btcc: AaopoolPattern = AaopoolPattern(client, 'btcc') - self.btccom: AaopoolPattern = AaopoolPattern(client, 'btccom') - self.btcdig: AaopoolPattern = AaopoolPattern(client, 'btcdig') - self.btcguild: AaopoolPattern = AaopoolPattern(client, 'btcguild') - self.btclab: AaopoolPattern = AaopoolPattern(client, 'btclab') - self.btcmp: AaopoolPattern = AaopoolPattern(client, 'btcmp') - self.btcnuggets: AaopoolPattern = AaopoolPattern(client, 'btcnuggets') - self.btcpoolparty: AaopoolPattern = AaopoolPattern(client, 'btcpoolparty') - self.btcserv: AaopoolPattern = AaopoolPattern(client, 'btcserv') - self.btctop: AaopoolPattern = AaopoolPattern(client, 'btctop') - self.btpool: AaopoolPattern = AaopoolPattern(client, 'btpool') - self.bwpool: AaopoolPattern = AaopoolPattern(client, 'bwpool') - self.bytepool: AaopoolPattern = AaopoolPattern(client, 'bytepool') - self.canoe: AaopoolPattern = AaopoolPattern(client, 'canoe') - self.canoepool: AaopoolPattern = AaopoolPattern(client, 'canoepool') - self.carbonnegative: AaopoolPattern = AaopoolPattern(client, 'carbonnegative') - self.ckpool: AaopoolPattern = AaopoolPattern(client, 'ckpool') - self.cloudhashing: AaopoolPattern = AaopoolPattern(client, 'cloudhashing') - self.coinlab: AaopoolPattern = AaopoolPattern(client, 'coinlab') - self.cointerra: AaopoolPattern = AaopoolPattern(client, 'cointerra') - self.connectbtc: AaopoolPattern = AaopoolPattern(client, 'connectbtc') - self.dcex: AaopoolPattern = AaopoolPattern(client, 'dcex') - self.dcexploration: AaopoolPattern = AaopoolPattern(client, 'dcexploration') - self.digitalbtc: AaopoolPattern = AaopoolPattern(client, 'digitalbtc') - self.digitalxmintsy: AaopoolPattern = AaopoolPattern(client, 'digitalxmintsy') - self.dpool: AaopoolPattern = AaopoolPattern(client, 'dpool') - self.eclipsemc: AaopoolPattern = AaopoolPattern(client, 'eclipsemc') - self.eightbaochi: AaopoolPattern = AaopoolPattern(client, 'eightbaochi') - self.ekanembtc: AaopoolPattern = AaopoolPattern(client, 'ekanembtc') - self.eligius: AaopoolPattern = AaopoolPattern(client, 'eligius') - self.emcdpool: AaopoolPattern = AaopoolPattern(client, 'emcdpool') - self.entrustcharitypool: AaopoolPattern = AaopoolPattern(client, 'entrustcharitypool') - self.eobot: AaopoolPattern = AaopoolPattern(client, 'eobot') - self.exxbw: AaopoolPattern = AaopoolPattern(client, 'exxbw') - self.f2pool: AaopoolPattern = AaopoolPattern(client, 'f2pool') - self.fiftyeightcoin: AaopoolPattern = AaopoolPattern(client, 'fiftyeightcoin') - self.foundryusa: AaopoolPattern = AaopoolPattern(client, 'foundryusa') - self.futurebitapollosolo: AaopoolPattern = AaopoolPattern(client, 'futurebitapollosolo') - self.gbminers: AaopoolPattern = AaopoolPattern(client, 'gbminers') - self.ghashio: AaopoolPattern = AaopoolPattern(client, 'ghashio') - self.givemecoins: AaopoolPattern = AaopoolPattern(client, 'givemecoins') - self.gogreenlight: AaopoolPattern = AaopoolPattern(client, 'gogreenlight') - self.haominer: AaopoolPattern = AaopoolPattern(client, 'haominer') - self.haozhuzhu: AaopoolPattern = AaopoolPattern(client, 'haozhuzhu') - self.hashbx: AaopoolPattern = AaopoolPattern(client, 'hashbx') - self.hashpool: AaopoolPattern = AaopoolPattern(client, 'hashpool') - self.helix: AaopoolPattern = AaopoolPattern(client, 'helix') - self.hhtt: AaopoolPattern = AaopoolPattern(client, 'hhtt') - self.hotpool: AaopoolPattern = AaopoolPattern(client, 'hotpool') - self.hummerpool: AaopoolPattern = AaopoolPattern(client, 'hummerpool') - self.huobipool: AaopoolPattern = AaopoolPattern(client, 'huobipool') - self.innopolistech: AaopoolPattern = AaopoolPattern(client, 'innopolistech') - self.kanopool: AaopoolPattern = AaopoolPattern(client, 'kanopool') - self.kncminer: AaopoolPattern = AaopoolPattern(client, 'kncminer') - self.kucoinpool: AaopoolPattern = AaopoolPattern(client, 'kucoinpool') - self.lubiancom: AaopoolPattern = AaopoolPattern(client, 'lubiancom') - self.luckypool: AaopoolPattern = AaopoolPattern(client, 'luckypool') - self.luxor: AaopoolPattern = AaopoolPattern(client, 'luxor') - self.marapool: AaopoolPattern = AaopoolPattern(client, 'marapool') - self.maxbtc: AaopoolPattern = AaopoolPattern(client, 'maxbtc') - self.maxipool: AaopoolPattern = AaopoolPattern(client, 'maxipool') - self.megabigpower: AaopoolPattern = AaopoolPattern(client, 'megabigpower') - self.minerium: AaopoolPattern = AaopoolPattern(client, 'minerium') - self.miningcity: AaopoolPattern = AaopoolPattern(client, 'miningcity') - self.miningdutch: AaopoolPattern = AaopoolPattern(client, 'miningdutch') - self.miningkings: AaopoolPattern = AaopoolPattern(client, 'miningkings') - self.miningsquared: AaopoolPattern = AaopoolPattern(client, 'miningsquared') - self.mmpool: AaopoolPattern = AaopoolPattern(client, 'mmpool') - self.mtred: AaopoolPattern = AaopoolPattern(client, 'mtred') - self.multicoinco: AaopoolPattern = AaopoolPattern(client, 'multicoinco') - self.multipool: AaopoolPattern = AaopoolPattern(client, 'multipool') - self.mybtccoinpool: AaopoolPattern = AaopoolPattern(client, 'mybtccoinpool') - self.neopool: AaopoolPattern = AaopoolPattern(client, 'neopool') - self.nexious: AaopoolPattern = AaopoolPattern(client, 'nexious') - self.nicehash: AaopoolPattern = AaopoolPattern(client, 'nicehash') - self.nmcbit: AaopoolPattern = AaopoolPattern(client, 'nmcbit') - self.novablock: AaopoolPattern = AaopoolPattern(client, 'novablock') - self.ocean: AaopoolPattern = AaopoolPattern(client, 'ocean') - self.okexpool: AaopoolPattern = AaopoolPattern(client, 'okexpool') - self.okkong: AaopoolPattern = AaopoolPattern(client, 'okkong') - self.okminer: AaopoolPattern = AaopoolPattern(client, 'okminer') - self.okpooltop: AaopoolPattern = AaopoolPattern(client, 'okpooltop') - self.onehash: AaopoolPattern = AaopoolPattern(client, 'onehash') - self.onem1x: AaopoolPattern = AaopoolPattern(client, 'onem1x') - self.onethash: AaopoolPattern = AaopoolPattern(client, 'onethash') - self.ozcoin: AaopoolPattern = AaopoolPattern(client, 'ozcoin') - self.parasite: AaopoolPattern = AaopoolPattern(client, 'parasite') - self.patels: AaopoolPattern = AaopoolPattern(client, 'patels') - self.pegapool: AaopoolPattern = AaopoolPattern(client, 'pegapool') - self.phashio: AaopoolPattern = AaopoolPattern(client, 'phashio') - self.phoenix: AaopoolPattern = AaopoolPattern(client, 'phoenix') - self.polmine: AaopoolPattern = AaopoolPattern(client, 'polmine') - self.pool175btc: AaopoolPattern = AaopoolPattern(client, 'pool175btc') - self.pool50btc: AaopoolPattern = AaopoolPattern(client, 'pool50btc') - self.poolin: AaopoolPattern = AaopoolPattern(client, 'poolin') - self.portlandhodl: AaopoolPattern = AaopoolPattern(client, 'portlandhodl') - self.publicpool: AaopoolPattern = AaopoolPattern(client, 'publicpool') - self.purebtccom: AaopoolPattern = AaopoolPattern(client, 'purebtccom') - self.rawpool: AaopoolPattern = AaopoolPattern(client, 'rawpool') - self.rigpool: AaopoolPattern = AaopoolPattern(client, 'rigpool') - self.sbicrypto: AaopoolPattern = AaopoolPattern(client, 'sbicrypto') - self.secpool: AaopoolPattern = AaopoolPattern(client, 'secpool') - self.secretsuperstar: AaopoolPattern = AaopoolPattern(client, 'secretsuperstar') - self.sevenpool: AaopoolPattern = AaopoolPattern(client, 'sevenpool') - self.shawnp0wers: AaopoolPattern = AaopoolPattern(client, 'shawnp0wers') - self.sigmapoolcom: AaopoolPattern = AaopoolPattern(client, 'sigmapoolcom') - self.simplecoinus: AaopoolPattern = AaopoolPattern(client, 'simplecoinus') - self.solock: AaopoolPattern = AaopoolPattern(client, 'solock') - self.spiderpool: AaopoolPattern = AaopoolPattern(client, 'spiderpool') - self.stminingcorp: AaopoolPattern = AaopoolPattern(client, 'stminingcorp') - self.tangpool: AaopoolPattern = AaopoolPattern(client, 'tangpool') - self.tatmaspool: AaopoolPattern = AaopoolPattern(client, 'tatmaspool') - self.tbdice: AaopoolPattern = AaopoolPattern(client, 'tbdice') - self.telco214: AaopoolPattern = AaopoolPattern(client, 'telco214') - self.terrapool: AaopoolPattern = AaopoolPattern(client, 'terrapool') - self.tiger: AaopoolPattern = AaopoolPattern(client, 'tiger') - self.tigerpoolnet: AaopoolPattern = AaopoolPattern(client, 'tigerpoolnet') - self.titan: AaopoolPattern = AaopoolPattern(client, 'titan') - self.transactioncoinmining: AaopoolPattern = AaopoolPattern(client, 'transactioncoinmining') - self.trickysbtcpool: AaopoolPattern = AaopoolPattern(client, 'trickysbtcpool') - self.triplemining: AaopoolPattern = AaopoolPattern(client, 'triplemining') - self.twentyoneinc: AaopoolPattern = AaopoolPattern(client, 'twentyoneinc') - self.ultimuspool: AaopoolPattern = AaopoolPattern(client, 'ultimuspool') - self.unknown: AaopoolPattern = AaopoolPattern(client, 'unknown') - self.unomp: AaopoolPattern = AaopoolPattern(client, 'unomp') - self.viabtc: AaopoolPattern = AaopoolPattern(client, 'viabtc') - self.waterhole: AaopoolPattern = AaopoolPattern(client, 'waterhole') - self.wayicn: AaopoolPattern = AaopoolPattern(client, 'wayicn') - self.whitepool: AaopoolPattern = AaopoolPattern(client, 'whitepool') - self.wk057: AaopoolPattern = AaopoolPattern(client, 'wk057') - self.yourbtcnet: AaopoolPattern = AaopoolPattern(client, 'yourbtcnet') - self.zulupool: AaopoolPattern = AaopoolPattern(client, 'zulupool') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.aaopool: AaopoolPattern = AaopoolPattern(client, "aaopool") + self.antpool: AaopoolPattern = AaopoolPattern(client, "antpool") + self.arkpool: AaopoolPattern = AaopoolPattern(client, "arkpool") + self.asicminer: AaopoolPattern = AaopoolPattern(client, "asicminer") + self.axbt: AaopoolPattern = AaopoolPattern(client, "axbt") + self.batpool: AaopoolPattern = AaopoolPattern(client, "batpool") + self.bcmonster: AaopoolPattern = AaopoolPattern(client, "bcmonster") + self.bcpoolio: AaopoolPattern = AaopoolPattern(client, "bcpoolio") + self.binancepool: AaopoolPattern = AaopoolPattern(client, "binancepool") + self.bitalo: AaopoolPattern = AaopoolPattern(client, "bitalo") + self.bitclub: AaopoolPattern = AaopoolPattern(client, "bitclub") + self.bitcoinaffiliatenetwork: AaopoolPattern = AaopoolPattern( + client, "bitcoinaffiliatenetwork" + ) + self.bitcoincom: AaopoolPattern = AaopoolPattern(client, "bitcoincom") + self.bitcoinindia: AaopoolPattern = AaopoolPattern(client, "bitcoinindia") + self.bitcoinrussia: AaopoolPattern = AaopoolPattern(client, "bitcoinrussia") + self.bitcoinukraine: AaopoolPattern = AaopoolPattern(client, "bitcoinukraine") + self.bitfarms: AaopoolPattern = AaopoolPattern(client, "bitfarms") + self.bitfufupool: AaopoolPattern = AaopoolPattern(client, "bitfufupool") + self.bitfury: AaopoolPattern = AaopoolPattern(client, "bitfury") + self.bitminter: AaopoolPattern = AaopoolPattern(client, "bitminter") + self.bitparking: AaopoolPattern = AaopoolPattern(client, "bitparking") + self.bitsolo: AaopoolPattern = AaopoolPattern(client, "bitsolo") + self.bixin: AaopoolPattern = AaopoolPattern(client, "bixin") + self.blockfills: AaopoolPattern = AaopoolPattern(client, "blockfills") + self.braiinspool: AaopoolPattern = AaopoolPattern(client, "braiinspool") + self.bravomining: AaopoolPattern = AaopoolPattern(client, "bravomining") + self.btcc: AaopoolPattern = AaopoolPattern(client, "btcc") + self.btccom: AaopoolPattern = AaopoolPattern(client, "btccom") + self.btcdig: AaopoolPattern = AaopoolPattern(client, "btcdig") + self.btcguild: AaopoolPattern = AaopoolPattern(client, "btcguild") + self.btclab: AaopoolPattern = AaopoolPattern(client, "btclab") + self.btcmp: AaopoolPattern = AaopoolPattern(client, "btcmp") + self.btcnuggets: AaopoolPattern = AaopoolPattern(client, "btcnuggets") + self.btcpoolparty: AaopoolPattern = AaopoolPattern(client, "btcpoolparty") + self.btcserv: AaopoolPattern = AaopoolPattern(client, "btcserv") + self.btctop: AaopoolPattern = AaopoolPattern(client, "btctop") + self.btpool: AaopoolPattern = AaopoolPattern(client, "btpool") + self.bwpool: AaopoolPattern = AaopoolPattern(client, "bwpool") + self.bytepool: AaopoolPattern = AaopoolPattern(client, "bytepool") + self.canoe: AaopoolPattern = AaopoolPattern(client, "canoe") + self.canoepool: AaopoolPattern = AaopoolPattern(client, "canoepool") + self.carbonnegative: AaopoolPattern = AaopoolPattern(client, "carbonnegative") + self.ckpool: AaopoolPattern = AaopoolPattern(client, "ckpool") + self.cloudhashing: AaopoolPattern = AaopoolPattern(client, "cloudhashing") + self.coinlab: AaopoolPattern = AaopoolPattern(client, "coinlab") + self.cointerra: AaopoolPattern = AaopoolPattern(client, "cointerra") + self.connectbtc: AaopoolPattern = AaopoolPattern(client, "connectbtc") + self.dcex: AaopoolPattern = AaopoolPattern(client, "dcex") + self.dcexploration: AaopoolPattern = AaopoolPattern(client, "dcexploration") + self.digitalbtc: AaopoolPattern = AaopoolPattern(client, "digitalbtc") + self.digitalxmintsy: AaopoolPattern = AaopoolPattern(client, "digitalxmintsy") + self.dpool: AaopoolPattern = AaopoolPattern(client, "dpool") + self.eclipsemc: AaopoolPattern = AaopoolPattern(client, "eclipsemc") + self.eightbaochi: AaopoolPattern = AaopoolPattern(client, "eightbaochi") + self.ekanembtc: AaopoolPattern = AaopoolPattern(client, "ekanembtc") + self.eligius: AaopoolPattern = AaopoolPattern(client, "eligius") + self.emcdpool: AaopoolPattern = AaopoolPattern(client, "emcdpool") + self.entrustcharitypool: AaopoolPattern = AaopoolPattern( + client, "entrustcharitypool" + ) + self.eobot: AaopoolPattern = AaopoolPattern(client, "eobot") + self.exxbw: AaopoolPattern = AaopoolPattern(client, "exxbw") + self.f2pool: AaopoolPattern = AaopoolPattern(client, "f2pool") + self.fiftyeightcoin: AaopoolPattern = AaopoolPattern(client, "fiftyeightcoin") + self.foundryusa: AaopoolPattern = AaopoolPattern(client, "foundryusa") + self.futurebitapollosolo: AaopoolPattern = AaopoolPattern( + client, "futurebitapollosolo" + ) + self.gbminers: AaopoolPattern = AaopoolPattern(client, "gbminers") + self.ghashio: AaopoolPattern = AaopoolPattern(client, "ghashio") + self.givemecoins: AaopoolPattern = AaopoolPattern(client, "givemecoins") + self.gogreenlight: AaopoolPattern = AaopoolPattern(client, "gogreenlight") + self.haominer: AaopoolPattern = AaopoolPattern(client, "haominer") + self.haozhuzhu: AaopoolPattern = AaopoolPattern(client, "haozhuzhu") + self.hashbx: AaopoolPattern = AaopoolPattern(client, "hashbx") + self.hashpool: AaopoolPattern = AaopoolPattern(client, "hashpool") + self.helix: AaopoolPattern = AaopoolPattern(client, "helix") + self.hhtt: AaopoolPattern = AaopoolPattern(client, "hhtt") + self.hotpool: AaopoolPattern = AaopoolPattern(client, "hotpool") + self.hummerpool: AaopoolPattern = AaopoolPattern(client, "hummerpool") + self.huobipool: AaopoolPattern = AaopoolPattern(client, "huobipool") + self.innopolistech: AaopoolPattern = AaopoolPattern(client, "innopolistech") + self.kanopool: AaopoolPattern = AaopoolPattern(client, "kanopool") + self.kncminer: AaopoolPattern = AaopoolPattern(client, "kncminer") + self.kucoinpool: AaopoolPattern = AaopoolPattern(client, "kucoinpool") + self.lubiancom: AaopoolPattern = AaopoolPattern(client, "lubiancom") + self.luckypool: AaopoolPattern = AaopoolPattern(client, "luckypool") + self.luxor: AaopoolPattern = AaopoolPattern(client, "luxor") + self.marapool: AaopoolPattern = AaopoolPattern(client, "marapool") + self.maxbtc: AaopoolPattern = AaopoolPattern(client, "maxbtc") + self.maxipool: AaopoolPattern = AaopoolPattern(client, "maxipool") + self.megabigpower: AaopoolPattern = AaopoolPattern(client, "megabigpower") + self.minerium: AaopoolPattern = AaopoolPattern(client, "minerium") + self.miningcity: AaopoolPattern = AaopoolPattern(client, "miningcity") + self.miningdutch: AaopoolPattern = AaopoolPattern(client, "miningdutch") + self.miningkings: AaopoolPattern = AaopoolPattern(client, "miningkings") + self.miningsquared: AaopoolPattern = AaopoolPattern(client, "miningsquared") + self.mmpool: AaopoolPattern = AaopoolPattern(client, "mmpool") + self.mtred: AaopoolPattern = AaopoolPattern(client, "mtred") + self.multicoinco: AaopoolPattern = AaopoolPattern(client, "multicoinco") + self.multipool: AaopoolPattern = AaopoolPattern(client, "multipool") + self.mybtccoinpool: AaopoolPattern = AaopoolPattern(client, "mybtccoinpool") + self.neopool: AaopoolPattern = AaopoolPattern(client, "neopool") + self.nexious: AaopoolPattern = AaopoolPattern(client, "nexious") + self.nicehash: AaopoolPattern = AaopoolPattern(client, "nicehash") + self.nmcbit: AaopoolPattern = AaopoolPattern(client, "nmcbit") + self.novablock: AaopoolPattern = AaopoolPattern(client, "novablock") + self.ocean: AaopoolPattern = AaopoolPattern(client, "ocean") + self.okexpool: AaopoolPattern = AaopoolPattern(client, "okexpool") + self.okkong: AaopoolPattern = AaopoolPattern(client, "okkong") + self.okminer: AaopoolPattern = AaopoolPattern(client, "okminer") + self.okpooltop: AaopoolPattern = AaopoolPattern(client, "okpooltop") + self.onehash: AaopoolPattern = AaopoolPattern(client, "onehash") + self.onem1x: AaopoolPattern = AaopoolPattern(client, "onem1x") + self.onethash: AaopoolPattern = AaopoolPattern(client, "onethash") + self.ozcoin: AaopoolPattern = AaopoolPattern(client, "ozcoin") + self.parasite: AaopoolPattern = AaopoolPattern(client, "parasite") + self.patels: AaopoolPattern = AaopoolPattern(client, "patels") + self.pegapool: AaopoolPattern = AaopoolPattern(client, "pegapool") + self.phashio: AaopoolPattern = AaopoolPattern(client, "phashio") + self.phoenix: AaopoolPattern = AaopoolPattern(client, "phoenix") + self.polmine: AaopoolPattern = AaopoolPattern(client, "polmine") + self.pool175btc: AaopoolPattern = AaopoolPattern(client, "pool175btc") + self.pool50btc: AaopoolPattern = AaopoolPattern(client, "pool50btc") + self.poolin: AaopoolPattern = AaopoolPattern(client, "poolin") + self.portlandhodl: AaopoolPattern = AaopoolPattern(client, "portlandhodl") + self.publicpool: AaopoolPattern = AaopoolPattern(client, "publicpool") + self.purebtccom: AaopoolPattern = AaopoolPattern(client, "purebtccom") + self.rawpool: AaopoolPattern = AaopoolPattern(client, "rawpool") + self.rigpool: AaopoolPattern = AaopoolPattern(client, "rigpool") + self.sbicrypto: AaopoolPattern = AaopoolPattern(client, "sbicrypto") + self.secpool: AaopoolPattern = AaopoolPattern(client, "secpool") + self.secretsuperstar: AaopoolPattern = AaopoolPattern(client, "secretsuperstar") + self.sevenpool: AaopoolPattern = AaopoolPattern(client, "sevenpool") + self.shawnp0wers: AaopoolPattern = AaopoolPattern(client, "shawnp0wers") + self.sigmapoolcom: AaopoolPattern = AaopoolPattern(client, "sigmapoolcom") + self.simplecoinus: AaopoolPattern = AaopoolPattern(client, "simplecoinus") + self.solock: AaopoolPattern = AaopoolPattern(client, "solock") + self.spiderpool: AaopoolPattern = AaopoolPattern(client, "spiderpool") + self.stminingcorp: AaopoolPattern = AaopoolPattern(client, "stminingcorp") + self.tangpool: AaopoolPattern = AaopoolPattern(client, "tangpool") + self.tatmaspool: AaopoolPattern = AaopoolPattern(client, "tatmaspool") + self.tbdice: AaopoolPattern = AaopoolPattern(client, "tbdice") + self.telco214: AaopoolPattern = AaopoolPattern(client, "telco214") + self.terrapool: AaopoolPattern = AaopoolPattern(client, "terrapool") + self.tiger: AaopoolPattern = AaopoolPattern(client, "tiger") + self.tigerpoolnet: AaopoolPattern = AaopoolPattern(client, "tigerpoolnet") + self.titan: AaopoolPattern = AaopoolPattern(client, "titan") + self.transactioncoinmining: AaopoolPattern = AaopoolPattern( + client, "transactioncoinmining" + ) + self.trickysbtcpool: AaopoolPattern = AaopoolPattern(client, "trickysbtcpool") + self.triplemining: AaopoolPattern = AaopoolPattern(client, "triplemining") + self.twentyoneinc: AaopoolPattern = AaopoolPattern(client, "twentyoneinc") + self.ultimuspool: AaopoolPattern = AaopoolPattern(client, "ultimuspool") + self.unknown: AaopoolPattern = AaopoolPattern(client, "unknown") + self.unomp: AaopoolPattern = AaopoolPattern(client, "unomp") + self.viabtc: AaopoolPattern = AaopoolPattern(client, "viabtc") + self.waterhole: AaopoolPattern = AaopoolPattern(client, "waterhole") + self.wayicn: AaopoolPattern = AaopoolPattern(client, "wayicn") + self.whitepool: AaopoolPattern = AaopoolPattern(client, "whitepool") + self.wk057: AaopoolPattern = AaopoolPattern(client, "wk057") + self.yourbtcnet: AaopoolPattern = AaopoolPattern(client, "yourbtcnet") + self.zulupool: AaopoolPattern = AaopoolPattern(client, "zulupool") + class CatalogTree_Positions: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.block_position: MetricPattern11[BlkPosition] = MetricPattern11(client, f'{base_path}_block_position') - self.tx_position: MetricPattern27[BlkPosition] = MetricPattern27(client, f'{base_path}_tx_position') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.block_position: MetricPattern11[BlkPosition] = MetricPattern11( + client, "position" + ) + self.tx_position: MetricPattern27[BlkPosition] = MetricPattern27( + client, "position" + ) + class CatalogTree_Price: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.cents: CentsPattern[OHLCCents] = CentsPattern(client, 'cents') - self.sats: CentsPattern[OHLCSats] = CentsPattern(client, 'price') - self.usd: CentsPattern[OHLCDollars] = CentsPattern(client, 'price') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.cents: CatalogTree_Price_Cents = CatalogTree_Price_Cents(client) + self.sats: CatalogTree_Price_Sats = CatalogTree_Price_Sats(client) + self.usd: CatalogTree_Price_Usd = CatalogTree_Price_Usd(client) + + +class CatalogTree_Price_Cents: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.ohlc: MetricPattern5[OHLCCents] = MetricPattern5(client, "ohlc_cents") + self.split: CatalogTree_Price_Cents_Split = CatalogTree_Price_Cents_Split( + client + ) + + +class CatalogTree_Price_Cents_Split: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.close: MetricPattern5[Cents] = MetricPattern5(client, "price_close_cents") + self.high: MetricPattern5[Cents] = MetricPattern5(client, "price_high_cents") + self.low: MetricPattern5[Cents] = MetricPattern5(client, "price_low_cents") + self.open: MetricPattern5[Cents] = MetricPattern5(client, "price_open_cents") + + +class CatalogTree_Price_Sats: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.ohlc: MetricPattern1[OHLCSats] = MetricPattern1(client, "price_ohlc_sats") + self.split: SplitPattern2[Sats] = SplitPattern2(client, "price_sats") + + +class CatalogTree_Price_Usd: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.ohlc: MetricPattern1[OHLCDollars] = MetricPattern1(client, "price_ohlc") + self.split: SplitPattern2[Dollars] = SplitPattern2(client, "price") + class CatalogTree_Scripts: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.count: CatalogTree_Scripts_Count = CatalogTree_Scripts_Count(client, f'{base_path}_count') - self.empty_to_txindex: MetricPattern9[TxIndex] = MetricPattern9(client, f'{base_path}_empty_to_txindex') - self.first_emptyoutputindex: MetricPattern11[EmptyOutputIndex] = MetricPattern11(client, f'{base_path}_first_emptyoutputindex') - self.first_opreturnindex: MetricPattern11[OpReturnIndex] = MetricPattern11(client, f'{base_path}_first_opreturnindex') - self.first_p2msoutputindex: MetricPattern11[P2MSOutputIndex] = MetricPattern11(client, f'{base_path}_first_p2msoutputindex') - self.first_unknownoutputindex: MetricPattern11[UnknownOutputIndex] = MetricPattern11(client, f'{base_path}_first_unknownoutputindex') - self.opreturn_to_txindex: MetricPattern14[TxIndex] = MetricPattern14(client, f'{base_path}_opreturn_to_txindex') - self.p2ms_to_txindex: MetricPattern17[TxIndex] = MetricPattern17(client, f'{base_path}_p2ms_to_txindex') - self.unknown_to_txindex: MetricPattern28[TxIndex] = MetricPattern28(client, f'{base_path}_unknown_to_txindex') - self.value: CatalogTree_Scripts_Value = CatalogTree_Scripts_Value(client, f'{base_path}_value') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.count: CatalogTree_Scripts_Count = CatalogTree_Scripts_Count(client) + self.empty_to_txindex: MetricPattern9[TxIndex] = MetricPattern9( + client, "txindex" + ) + self.first_emptyoutputindex: MetricPattern11[EmptyOutputIndex] = ( + MetricPattern11(client, "first_emptyoutputindex") + ) + self.first_opreturnindex: MetricPattern11[OpReturnIndex] = MetricPattern11( + client, "first_opreturnindex" + ) + self.first_p2msoutputindex: MetricPattern11[P2MSOutputIndex] = MetricPattern11( + client, "first_p2msoutputindex" + ) + self.first_unknownoutputindex: MetricPattern11[UnknownOutputIndex] = ( + MetricPattern11(client, "first_unknownoutputindex") + ) + self.opreturn_to_txindex: MetricPattern14[TxIndex] = MetricPattern14( + client, "txindex" + ) + self.p2ms_to_txindex: MetricPattern17[TxIndex] = MetricPattern17( + client, "txindex" + ) + self.unknown_to_txindex: MetricPattern28[TxIndex] = MetricPattern28( + client, "txindex" + ) + self.value: CatalogTree_Scripts_Value = CatalogTree_Scripts_Value(client) + class CatalogTree_Scripts_Count: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.emptyoutput: FullnessPattern[StoredU64] = FullnessPattern(client, 'emptyoutput_count') - self.opreturn: FullnessPattern[StoredU64] = FullnessPattern(client, 'opreturn_count') - self.p2a: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2a_count') - self.p2ms: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2ms_count') - self.p2pk33: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2pk33_count') - self.p2pk65: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2pk65_count') - self.p2pkh: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2pkh_count') - self.p2sh: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2sh_count') - self.p2tr: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2tr_count') - self.p2wpkh: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2wpkh_count') - self.p2wsh: FullnessPattern[StoredU64] = FullnessPattern(client, 'p2wsh_count') - self.segwit: FullnessPattern[StoredU64] = FullnessPattern(client, 'segwit_count') - self.segwit_adoption: SegwitAdoptionPattern = SegwitAdoptionPattern(client, 'segwit_adoption') - self.taproot_adoption: SegwitAdoptionPattern = SegwitAdoptionPattern(client, 'taproot_adoption') - self.unknownoutput: FullnessPattern[StoredU64] = FullnessPattern(client, 'unknownoutput_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.emptyoutput: DollarsPattern[StoredU64] = DollarsPattern( + client, "emptyoutput_count" + ) + self.opreturn: DollarsPattern[StoredU64] = DollarsPattern( + client, "opreturn_count" + ) + self.p2a: DollarsPattern[StoredU64] = DollarsPattern(client, "p2a_count") + self.p2ms: DollarsPattern[StoredU64] = DollarsPattern(client, "p2ms_count") + self.p2pk33: DollarsPattern[StoredU64] = DollarsPattern(client, "p2pk33_count") + self.p2pk65: DollarsPattern[StoredU64] = DollarsPattern(client, "p2pk65_count") + self.p2pkh: DollarsPattern[StoredU64] = DollarsPattern(client, "p2pkh_count") + self.p2sh: DollarsPattern[StoredU64] = DollarsPattern(client, "p2sh_count") + self.p2tr: DollarsPattern[StoredU64] = DollarsPattern(client, "p2tr_count") + self.p2wpkh: DollarsPattern[StoredU64] = DollarsPattern(client, "p2wpkh_count") + self.p2wsh: DollarsPattern[StoredU64] = DollarsPattern(client, "p2wsh_count") + self.segwit: DollarsPattern[StoredU64] = DollarsPattern(client, "segwit_count") + self.segwit_adoption: SegwitAdoptionPattern = SegwitAdoptionPattern( + client, "segwit_adoption" + ) + self.taproot_adoption: SegwitAdoptionPattern = SegwitAdoptionPattern( + client, "taproot_adoption" + ) + self.unknownoutput: DollarsPattern[StoredU64] = DollarsPattern( + client, "unknownoutput_count" + ) + class CatalogTree_Scripts_Value: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.opreturn: CoinbasePattern = CoinbasePattern(client, 'opreturn_value') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.opreturn: CoinbasePattern = CoinbasePattern(client, "opreturn_value") + class CatalogTree_Supply: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.burned: CatalogTree_Supply_Burned = CatalogTree_Supply_Burned(client, f'{base_path}_burned') - self.circulating: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'circulating_supply') - self.inflation: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_inflation') - self.market_cap: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_market_cap') - self.velocity: CatalogTree_Supply_Velocity = CatalogTree_Supply_Velocity(client, f'{base_path}_velocity') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.burned: CatalogTree_Supply_Burned = CatalogTree_Supply_Burned(client) + self.circulating: CatalogTree_Supply_Circulating = ( + CatalogTree_Supply_Circulating(client) + ) + self.inflation: MetricPattern4[StoredF32] = MetricPattern4( + client, "inflation_rate" + ) + self.market_cap: MetricPattern1[Dollars] = MetricPattern1(client, "market_cap") + self.velocity: CatalogTree_Supply_Velocity = CatalogTree_Supply_Velocity(client) + class CatalogTree_Supply_Burned: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.opreturn: UnclaimedRewardsPattern = UnclaimedRewardsPattern(client, 'opreturn_supply') - self.unspendable: UnclaimedRewardsPattern = UnclaimedRewardsPattern(client, 'unspendable_supply') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.opreturn: UnclaimedRewardsPattern = UnclaimedRewardsPattern( + client, "opreturn_supply" + ) + self.unspendable: UnclaimedRewardsPattern = UnclaimedRewardsPattern( + client, "unspendable_supply" + ) + + +class CatalogTree_Supply_Circulating: + """Catalog tree node.""" + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.bitcoin: MetricPattern3[Bitcoin] = MetricPattern3( + client, "circulating_supply_btc" + ) + self.dollars: MetricPattern3[Dollars] = MetricPattern3( + client, "circulating_supply_usd" + ) + self.sats: MetricPattern3[Sats] = MetricPattern3(client, "circulating_supply") + class CatalogTree_Supply_Velocity: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.btc: MetricPattern4[StoredF64] = MetricPattern4(client, f'{base_path}_btc') - self.usd: MetricPattern4[StoredF64] = MetricPattern4(client, f'{base_path}_usd') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.btc: MetricPattern4[StoredF64] = MetricPattern4(client, "btc_velocity") + self.usd: MetricPattern4[StoredF64] = MetricPattern4(client, "usd_velocity") + class CatalogTree_Transactions: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.base_size: MetricPattern27[StoredU32] = MetricPattern27(client, f'{base_path}_base_size') - self.count: CatalogTree_Transactions_Count = CatalogTree_Transactions_Count(client, f'{base_path}_count') - self.fees: CatalogTree_Transactions_Fees = CatalogTree_Transactions_Fees(client, f'{base_path}_fees') - self.first_txindex: MetricPattern11[TxIndex] = MetricPattern11(client, f'{base_path}_first_txindex') - self.first_txinindex: MetricPattern27[TxInIndex] = MetricPattern27(client, f'{base_path}_first_txinindex') - self.first_txoutindex: MetricPattern27[TxOutIndex] = MetricPattern27(client, f'{base_path}_first_txoutindex') - self.height: MetricPattern27[Height] = MetricPattern27(client, f'{base_path}_height') - self.is_explicitly_rbf: MetricPattern27[StoredBool] = MetricPattern27(client, f'{base_path}_is_explicitly_rbf') - self.rawlocktime: MetricPattern27[RawLockTime] = MetricPattern27(client, f'{base_path}_rawlocktime') - self.size: CatalogTree_Transactions_Size = CatalogTree_Transactions_Size(client, f'{base_path}_size') - self.total_size: MetricPattern27[StoredU32] = MetricPattern27(client, f'{base_path}_total_size') - self.txid: MetricPattern27[Txid] = MetricPattern27(client, f'{base_path}_txid') - self.txversion: MetricPattern27[TxVersion] = MetricPattern27(client, f'{base_path}_txversion') - self.versions: CatalogTree_Transactions_Versions = CatalogTree_Transactions_Versions(client, f'{base_path}_versions') - self.volume: CatalogTree_Transactions_Volume = CatalogTree_Transactions_Volume(client, f'{base_path}_volume') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.base_size: MetricPattern27[StoredU32] = MetricPattern27( + client, "base_size" + ) + self.count: CatalogTree_Transactions_Count = CatalogTree_Transactions_Count( + client + ) + self.fees: CatalogTree_Transactions_Fees = CatalogTree_Transactions_Fees(client) + self.first_txindex: MetricPattern11[TxIndex] = MetricPattern11( + client, "first_txindex" + ) + self.first_txinindex: MetricPattern27[TxInIndex] = MetricPattern27( + client, "first_txinindex" + ) + self.first_txoutindex: MetricPattern27[TxOutIndex] = MetricPattern27( + client, "first_txoutindex" + ) + self.height: MetricPattern27[Height] = MetricPattern27(client, "height") + self.is_explicitly_rbf: MetricPattern27[StoredBool] = MetricPattern27( + client, "is_explicitly_rbf" + ) + self.rawlocktime: MetricPattern27[RawLockTime] = MetricPattern27( + client, "rawlocktime" + ) + self.size: CatalogTree_Transactions_Size = CatalogTree_Transactions_Size(client) + self.total_size: MetricPattern27[StoredU32] = MetricPattern27( + client, "total_size" + ) + self.txid: MetricPattern27[Txid] = MetricPattern27(client, "txid") + self.txversion: MetricPattern27[TxVersion] = MetricPattern27( + client, "txversion" + ) + self.versions: CatalogTree_Transactions_Versions = ( + CatalogTree_Transactions_Versions(client) + ) + self.volume: CatalogTree_Transactions_Volume = CatalogTree_Transactions_Volume( + client + ) + class CatalogTree_Transactions_Count: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.is_coinbase: MetricPattern27[StoredBool] = MetricPattern27(client, f'{base_path}_is_coinbase') - self.tx_count: FullnessPattern[StoredU64] = FullnessPattern(client, 'tx_count') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.is_coinbase: MetricPattern27[StoredBool] = MetricPattern27( + client, "is_coinbase" + ) + self.tx_count: DollarsPattern[StoredU64] = DollarsPattern(client, "tx_count") + class CatalogTree_Transactions_Fees: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.fee: CatalogTree_Transactions_Fees_Fee = CatalogTree_Transactions_Fees_Fee(client, f'{base_path}_fee') - self.fee_rate: FeeRatePattern[FeeRate] = FeeRatePattern(client, 'fee_rate') - self.input_value: MetricPattern27[Sats] = MetricPattern27(client, f'{base_path}_input_value') - self.output_value: MetricPattern27[Sats] = MetricPattern27(client, f'{base_path}_output_value') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.fee: CatalogTree_Transactions_Fees_Fee = CatalogTree_Transactions_Fees_Fee( + client + ) + self.fee_rate: FeeRatePattern[FeeRate] = FeeRatePattern(client, "fee_rate") + self.input_value: MetricPattern27[Sats] = MetricPattern27(client, "input_value") + self.output_value: MetricPattern27[Sats] = MetricPattern27( + client, "output_value" + ) + class CatalogTree_Transactions_Fees_Fee: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.bitcoin: SizePattern[Bitcoin] = SizePattern(client, 'fee_btc') - self.dollars: CatalogTree_Transactions_Fees_Fee_Dollars = CatalogTree_Transactions_Fees_Fee_Dollars(client, f'{base_path}_dollars') - self.sats: SizePattern[Sats] = SizePattern(client, 'fee') - self.txindex: MetricPattern27[Sats] = MetricPattern27(client, f'{base_path}_txindex') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.bitcoin: CountPattern2[Bitcoin] = CountPattern2(client, "fee_btc") + self.dollars: CatalogTree_Transactions_Fees_Fee_Dollars = ( + CatalogTree_Transactions_Fees_Fee_Dollars(client) + ) + self.sats: CountPattern2[Sats] = CountPattern2(client, "fee") + self.txindex: MetricPattern27[Sats] = MetricPattern27(client, "fee") + class CatalogTree_Transactions_Fees_Fee_Dollars: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.average: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_average') - self.cumulative: MetricPattern2[Dollars] = MetricPattern2(client, f'{base_path}_cumulative') - self.height_cumulative: MetricPattern11[Dollars] = MetricPattern11(client, f'{base_path}_height_cumulative') - self.max: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_max') - self.median: MetricPattern11[Dollars] = MetricPattern11(client, f'{base_path}_median') - self.min: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_min') - self.pct10: MetricPattern11[Dollars] = MetricPattern11(client, f'{base_path}_pct10') - self.pct25: MetricPattern11[Dollars] = MetricPattern11(client, f'{base_path}_pct25') - self.pct75: MetricPattern11[Dollars] = MetricPattern11(client, f'{base_path}_pct75') - self.pct90: MetricPattern11[Dollars] = MetricPattern11(client, f'{base_path}_pct90') - self.sum: MetricPattern1[Dollars] = MetricPattern1(client, f'{base_path}_sum') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.average: MetricPattern1[Dollars] = MetricPattern1( + client, "fee_usd_average" + ) + self.cumulative: MetricPattern2[Dollars] = MetricPattern2( + client, "fee_usd_cumulative" + ) + self.height_cumulative: MetricPattern11[Dollars] = MetricPattern11( + client, "fee_usd_cumulative" + ) + self.max: MetricPattern1[Dollars] = MetricPattern1(client, "fee_usd_max") + self.median: MetricPattern11[Dollars] = MetricPattern11( + client, "fee_usd_median" + ) + self.min: MetricPattern1[Dollars] = MetricPattern1(client, "fee_usd_min") + self.pct10: MetricPattern11[Dollars] = MetricPattern11(client, "fee_usd_pct10") + self.pct25: MetricPattern11[Dollars] = MetricPattern11(client, "fee_usd_pct25") + self.pct75: MetricPattern11[Dollars] = MetricPattern11(client, "fee_usd_pct75") + self.pct90: MetricPattern11[Dollars] = MetricPattern11(client, "fee_usd_pct90") + self.sum: MetricPattern1[Dollars] = MetricPattern1(client, "fee_usd_sum") + class CatalogTree_Transactions_Size: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.vsize: FeeRatePattern[VSize] = FeeRatePattern(client, '') - self.weight: FeeRatePattern[Weight] = FeeRatePattern(client, '') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.vsize: FeeRatePattern[VSize] = FeeRatePattern(client, "") + self.weight: FeeRatePattern[Weight] = FeeRatePattern(client, "") + class CatalogTree_Transactions_Versions: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.v1: BlockCountPattern[StoredU64] = BlockCountPattern(client, 'tx_v1') - self.v2: BlockCountPattern[StoredU64] = BlockCountPattern(client, 'tx_v2') - self.v3: BlockCountPattern[StoredU64] = BlockCountPattern(client, 'tx_v3') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.v1: BlockCountPattern[StoredU64] = BlockCountPattern(client, "tx_v1") + self.v2: BlockCountPattern[StoredU64] = BlockCountPattern(client, "tx_v2") + self.v3: BlockCountPattern[StoredU64] = BlockCountPattern(client, "tx_v3") + class CatalogTree_Transactions_Volume: """Catalog tree node.""" - - def __init__(self, client: BrkClientBase, base_path: str = ''): - self.annualized_volume: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'annualized_volume') - self.inputs_per_sec: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_inputs_per_sec') - self.outputs_per_sec: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_outputs_per_sec') - self.sent_sum: _24hCoinbaseSumPattern = _24hCoinbaseSumPattern(client, 'sent_sum') - self.tx_per_sec: MetricPattern4[StoredF32] = MetricPattern4(client, f'{base_path}_tx_per_sec') + + def __init__(self, client: BrkClientBase, base_path: str = ""): + self.annualized_volume: _2015Pattern = _2015Pattern(client, "annualized_volume") + self.inputs_per_sec: MetricPattern4[StoredF32] = MetricPattern4( + client, "inputs_per_sec" + ) + self.outputs_per_sec: MetricPattern4[StoredF32] = MetricPattern4( + client, "outputs_per_sec" + ) + self.sent_sum: ActiveSupplyPattern = ActiveSupplyPattern(client, "sent_sum") + self.tx_per_sec: MetricPattern4[StoredF32] = MetricPattern4( + client, "tx_per_sec" + ) + class BrkClient(BrkClientBase): """Main BRK client with catalog tree and API methods.""" @@ -3658,897 +6667,637 @@ class BrkClient(BrkClientBase): VERSION = "v0.1.0-alpha.2" INDEXES = [ - "dateindex", - "decadeindex", - "difficultyepoch", - "emptyoutputindex", - "halvingepoch", - "height", - "txinindex", - "monthindex", - "opreturnindex", - "txoutindex", - "p2aaddressindex", - "p2msoutputindex", - "p2pk33addressindex", - "p2pk65addressindex", - "p2pkhaddressindex", - "p2shaddressindex", - "p2traddressindex", - "p2wpkhaddressindex", - "p2wshaddressindex", - "quarterindex", - "semesterindex", - "txindex", - "unknownoutputindex", - "weekindex", - "yearindex", - "loadedaddressindex", - "emptyaddressindex" + "dateindex", + "decadeindex", + "difficultyepoch", + "emptyoutputindex", + "halvingepoch", + "height", + "txinindex", + "monthindex", + "opreturnindex", + "txoutindex", + "p2aaddressindex", + "p2msoutputindex", + "p2pk33addressindex", + "p2pk65addressindex", + "p2pkhaddressindex", + "p2shaddressindex", + "p2traddressindex", + "p2wpkhaddressindex", + "p2wshaddressindex", + "quarterindex", + "semesterindex", + "txindex", + "unknownoutputindex", + "weekindex", + "yearindex", + "loadedaddressindex", + "emptyaddressindex", ] POOL_ID_TO_POOL_NAME = { - "aaopool": "AAO Pool", - "antpool": "AntPool", - "arkpool": "ArkPool", - "asicminer": "ASICMiner", - "axbt": "A-XBT", - "batpool": "BATPOOL", - "bcmonster": "BCMonster", - "bcpoolio": "bcpool.io", - "binancepool": "Binance Pool", - "bitalo": "Bitalo", - "bitclub": "BitClub", - "bitcoinaffiliatenetwork": "Bitcoin Affiliate Network", - "bitcoincom": "Bitcoin.com", - "bitcoinindia": "Bitcoin India", - "bitcoinrussia": "BitcoinRussia", - "bitcoinukraine": "Bitcoin-Ukraine", - "bitfarms": "Bitfarms", - "bitfufupool": "BitFuFuPool", - "bitfury": "BitFury", - "bitminter": "BitMinter", - "bitparking": "Bitparking", - "bitsolo": "Bitsolo", - "bixin": "Bixin", - "blockfills": "BlockFills", - "braiinspool": "Braiins Pool", - "bravomining": "Bravo Mining", - "btcc": "BTCC", - "btccom": "BTC.com", - "btcdig": "BTCDig", - "btcguild": "BTC Guild", - "btclab": "BTCLab", - "btcmp": "BTCMP", - "btcnuggets": "BTC Nuggets", - "btcpoolparty": "BTC Pool Party", - "btcserv": "BTCServ", - "btctop": "BTC.TOP", - "btpool": "BTPOOL", - "bwpool": "BWPool", - "bytepool": "BytePool", - "canoe": "CANOE", - "canoepool": "CanoePool", - "carbonnegative": "Carbon Negative", - "ckpool": "CKPool", - "cloudhashing": "CloudHashing", - "coinlab": "CoinLab", - "cointerra": "Cointerra", - "connectbtc": "ConnectBTC", - "dcex": "DCEX", - "dcexploration": "DCExploration", - "digitalbtc": "digitalBTC", - "digitalxmintsy": "digitalX Mintsy", - "dpool": "DPOOL", - "eclipsemc": "EclipseMC", - "eightbaochi": "8baochi", - "ekanembtc": "EkanemBTC", - "eligius": "Eligius", - "emcdpool": "EMCDPool", - "entrustcharitypool": "Entrust Charity Pool", - "eobot": "Eobot", - "exxbw": "EXX&BW", - "f2pool": "F2Pool", - "fiftyeightcoin": "58COIN", - "foundryusa": "Foundry USA", - "futurebitapollosolo": "FutureBit Apollo Solo", - "gbminers": "GBMiners", - "ghashio": "GHash.IO", - "givemecoins": "Give Me Coins", - "gogreenlight": "GoGreenLight", - "haominer": "haominer", - "haozhuzhu": "HAOZHUZHU", - "hashbx": "HashBX", - "hashpool": "HASHPOOL", - "helix": "Helix", - "hhtt": "HHTT", - "hotpool": "HotPool", - "hummerpool": "Hummerpool", - "huobipool": "Huobi.pool", - "innopolistech": "Innopolis Tech", - "kanopool": "KanoPool", - "kncminer": "KnCMiner", - "kucoinpool": "KuCoinPool", - "lubiancom": "Lubian.com", - "luckypool": "luckyPool", - "luxor": "Luxor", - "marapool": "MARA Pool", - "maxbtc": "MaxBTC", - "maxipool": "MaxiPool", - "megabigpower": "MegaBigPower", - "minerium": "Minerium", - "miningcity": "MiningCity", - "miningdutch": "Mining-Dutch", - "miningkings": "MiningKings", - "miningsquared": "Mining Squared", - "mmpool": "mmpool", - "mtred": "Mt Red", - "multicoinco": "MultiCoin.co", - "multipool": "Multipool", - "mybtccoinpool": "myBTCcoin Pool", - "neopool": "Neopool", - "nexious": "Nexious", - "nicehash": "NiceHash", - "nmcbit": "NMCbit", - "novablock": "NovaBlock", - "ocean": "OCEAN", - "okexpool": "OKExPool", - "okkong": "OKKONG", - "okminer": "OKMINER", - "okpooltop": "okpool.top", - "onehash": "1Hash", - "onem1x": "1M1X", - "onethash": "1THash", - "ozcoin": "OzCoin", - "parasite": "Parasite", - "patels": "Patels", - "pegapool": "PEGA Pool", - "phashio": "PHash.IO", - "phoenix": "Phoenix", - "polmine": "Polmine", - "pool175btc": "175btc", - "pool50btc": "50BTC", - "poolin": "Poolin", - "portlandhodl": "Portland.HODL", - "publicpool": "Public Pool", - "purebtccom": "PureBTC.COM", - "rawpool": "Rawpool", - "rigpool": "RigPool", - "sbicrypto": "SBI Crypto", - "secpool": "SECPOOL", - "secretsuperstar": "SecretSuperstar", - "sevenpool": "7pool", - "shawnp0wers": "shawnp0wers", - "sigmapoolcom": "Sigmapool.com", - "simplecoinus": "simplecoin.us", - "solock": "Solo CK", - "spiderpool": "SpiderPool", - "stminingcorp": "ST Mining Corp", - "tangpool": "Tangpool", - "tatmaspool": "TATMAS Pool", - "tbdice": "TBDice", - "telco214": "Telco 214", - "terrapool": "Terra Pool", - "tiger": "tiger", - "tigerpoolnet": "tigerpool.net", - "titan": "Titan", - "transactioncoinmining": "transactioncoinmining", - "trickysbtcpool": "Tricky's BTC Pool", - "triplemining": "TripleMining", - "twentyoneinc": "21 Inc.", - "ultimuspool": "ULTIMUSPOOL", - "unknown": "Unknown", - "unomp": "UNOMP", - "viabtc": "ViaBTC", - "waterhole": "Waterhole", - "wayicn": "WAYI.CN", - "whitepool": "WhitePool", - "wk057": "wk057", - "yourbtcnet": "Yourbtc.net", - "zulupool": "Zulupool" + "aaopool": "AAO Pool", + "antpool": "AntPool", + "arkpool": "ArkPool", + "asicminer": "ASICMiner", + "axbt": "A-XBT", + "batpool": "BATPOOL", + "bcmonster": "BCMonster", + "bcpoolio": "bcpool.io", + "binancepool": "Binance Pool", + "bitalo": "Bitalo", + "bitclub": "BitClub", + "bitcoinaffiliatenetwork": "Bitcoin Affiliate Network", + "bitcoincom": "Bitcoin.com", + "bitcoinindia": "Bitcoin India", + "bitcoinrussia": "BitcoinRussia", + "bitcoinukraine": "Bitcoin-Ukraine", + "bitfarms": "Bitfarms", + "bitfufupool": "BitFuFuPool", + "bitfury": "BitFury", + "bitminter": "BitMinter", + "bitparking": "Bitparking", + "bitsolo": "Bitsolo", + "bixin": "Bixin", + "blockfills": "BlockFills", + "braiinspool": "Braiins Pool", + "bravomining": "Bravo Mining", + "btcc": "BTCC", + "btccom": "BTC.com", + "btcdig": "BTCDig", + "btcguild": "BTC Guild", + "btclab": "BTCLab", + "btcmp": "BTCMP", + "btcnuggets": "BTC Nuggets", + "btcpoolparty": "BTC Pool Party", + "btcserv": "BTCServ", + "btctop": "BTC.TOP", + "btpool": "BTPOOL", + "bwpool": "BWPool", + "bytepool": "BytePool", + "canoe": "CANOE", + "canoepool": "CanoePool", + "carbonnegative": "Carbon Negative", + "ckpool": "CKPool", + "cloudhashing": "CloudHashing", + "coinlab": "CoinLab", + "cointerra": "Cointerra", + "connectbtc": "ConnectBTC", + "dcex": "DCEX", + "dcexploration": "DCExploration", + "digitalbtc": "digitalBTC", + "digitalxmintsy": "digitalX Mintsy", + "dpool": "DPOOL", + "eclipsemc": "EclipseMC", + "eightbaochi": "8baochi", + "ekanembtc": "EkanemBTC", + "eligius": "Eligius", + "emcdpool": "EMCDPool", + "entrustcharitypool": "Entrust Charity Pool", + "eobot": "Eobot", + "exxbw": "EXX&BW", + "f2pool": "F2Pool", + "fiftyeightcoin": "58COIN", + "foundryusa": "Foundry USA", + "futurebitapollosolo": "FutureBit Apollo Solo", + "gbminers": "GBMiners", + "ghashio": "GHash.IO", + "givemecoins": "Give Me Coins", + "gogreenlight": "GoGreenLight", + "haominer": "haominer", + "haozhuzhu": "HAOZHUZHU", + "hashbx": "HashBX", + "hashpool": "HASHPOOL", + "helix": "Helix", + "hhtt": "HHTT", + "hotpool": "HotPool", + "hummerpool": "Hummerpool", + "huobipool": "Huobi.pool", + "innopolistech": "Innopolis Tech", + "kanopool": "KanoPool", + "kncminer": "KnCMiner", + "kucoinpool": "KuCoinPool", + "lubiancom": "Lubian.com", + "luckypool": "luckyPool", + "luxor": "Luxor", + "marapool": "MARA Pool", + "maxbtc": "MaxBTC", + "maxipool": "MaxiPool", + "megabigpower": "MegaBigPower", + "minerium": "Minerium", + "miningcity": "MiningCity", + "miningdutch": "Mining-Dutch", + "miningkings": "MiningKings", + "miningsquared": "Mining Squared", + "mmpool": "mmpool", + "mtred": "Mt Red", + "multicoinco": "MultiCoin.co", + "multipool": "Multipool", + "mybtccoinpool": "myBTCcoin Pool", + "neopool": "Neopool", + "nexious": "Nexious", + "nicehash": "NiceHash", + "nmcbit": "NMCbit", + "novablock": "NovaBlock", + "ocean": "OCEAN", + "okexpool": "OKExPool", + "okkong": "OKKONG", + "okminer": "OKMINER", + "okpooltop": "okpool.top", + "onehash": "1Hash", + "onem1x": "1M1X", + "onethash": "1THash", + "ozcoin": "OzCoin", + "parasite": "Parasite", + "patels": "Patels", + "pegapool": "PEGA Pool", + "phashio": "PHash.IO", + "phoenix": "Phoenix", + "polmine": "Polmine", + "pool175btc": "175btc", + "pool50btc": "50BTC", + "poolin": "Poolin", + "portlandhodl": "Portland.HODL", + "publicpool": "Public Pool", + "purebtccom": "PureBTC.COM", + "rawpool": "Rawpool", + "rigpool": "RigPool", + "sbicrypto": "SBI Crypto", + "secpool": "SECPOOL", + "secretsuperstar": "SecretSuperstar", + "sevenpool": "7pool", + "shawnp0wers": "shawnp0wers", + "sigmapoolcom": "Sigmapool.com", + "simplecoinus": "simplecoin.us", + "solock": "Solo CK", + "spiderpool": "SpiderPool", + "stminingcorp": "ST Mining Corp", + "tangpool": "Tangpool", + "tatmaspool": "TATMAS Pool", + "tbdice": "TBDice", + "telco214": "Telco 214", + "terrapool": "Terra Pool", + "tiger": "tiger", + "tigerpoolnet": "tigerpool.net", + "titan": "Titan", + "transactioncoinmining": "transactioncoinmining", + "trickysbtcpool": "Tricky's BTC Pool", + "triplemining": "TripleMining", + "twentyoneinc": "21 Inc.", + "ultimuspool": "ULTIMUSPOOL", + "unknown": "Unknown", + "unomp": "UNOMP", + "viabtc": "ViaBTC", + "waterhole": "Waterhole", + "wayicn": "WAYI.CN", + "whitepool": "WhitePool", + "wk057": "wk057", + "yourbtcnet": "Yourbtc.net", + "zulupool": "Zulupool", } TERM_NAMES = { - "short": { - "id": "sth", - "short": "STH", - "long": "Short Term Holders" - }, - "long": { - "id": "lth", - "short": "LTH", - "long": "Long Term Holders" - } + "short": {"id": "sth", "short": "STH", "long": "Short Term Holders"}, + "long": {"id": "lth", "short": "LTH", "long": "Long Term Holders"}, } EPOCH_NAMES = { - "_0": { - "id": "epoch_0", - "short": "Epoch 0", - "long": "Epoch 0" - }, - "_1": { - "id": "epoch_1", - "short": "Epoch 1", - "long": "Epoch 1" - }, - "_2": { - "id": "epoch_2", - "short": "Epoch 2", - "long": "Epoch 2" - }, - "_3": { - "id": "epoch_3", - "short": "Epoch 3", - "long": "Epoch 3" - }, - "_4": { - "id": "epoch_4", - "short": "Epoch 4", - "long": "Epoch 4" - } + "_0": {"id": "epoch_0", "short": "Epoch 0", "long": "Epoch 0"}, + "_1": {"id": "epoch_1", "short": "Epoch 1", "long": "Epoch 1"}, + "_2": {"id": "epoch_2", "short": "Epoch 2", "long": "Epoch 2"}, + "_3": {"id": "epoch_3", "short": "Epoch 3", "long": "Epoch 3"}, + "_4": {"id": "epoch_4", "short": "Epoch 4", "long": "Epoch 4"}, } YEAR_NAMES = { - "_2009": { - "id": "year_2009", - "short": "2009", - "long": "Year 2009" - }, - "_2010": { - "id": "year_2010", - "short": "2010", - "long": "Year 2010" - }, - "_2011": { - "id": "year_2011", - "short": "2011", - "long": "Year 2011" - }, - "_2012": { - "id": "year_2012", - "short": "2012", - "long": "Year 2012" - }, - "_2013": { - "id": "year_2013", - "short": "2013", - "long": "Year 2013" - }, - "_2014": { - "id": "year_2014", - "short": "2014", - "long": "Year 2014" - }, - "_2015": { - "id": "year_2015", - "short": "2015", - "long": "Year 2015" - }, - "_2016": { - "id": "year_2016", - "short": "2016", - "long": "Year 2016" - }, - "_2017": { - "id": "year_2017", - "short": "2017", - "long": "Year 2017" - }, - "_2018": { - "id": "year_2018", - "short": "2018", - "long": "Year 2018" - }, - "_2019": { - "id": "year_2019", - "short": "2019", - "long": "Year 2019" - }, - "_2020": { - "id": "year_2020", - "short": "2020", - "long": "Year 2020" - }, - "_2021": { - "id": "year_2021", - "short": "2021", - "long": "Year 2021" - }, - "_2022": { - "id": "year_2022", - "short": "2022", - "long": "Year 2022" - }, - "_2023": { - "id": "year_2023", - "short": "2023", - "long": "Year 2023" - }, - "_2024": { - "id": "year_2024", - "short": "2024", - "long": "Year 2024" - }, - "_2025": { - "id": "year_2025", - "short": "2025", - "long": "Year 2025" - }, - "_2026": { - "id": "year_2026", - "short": "2026", - "long": "Year 2026" - } + "_2009": {"id": "year_2009", "short": "2009", "long": "Year 2009"}, + "_2010": {"id": "year_2010", "short": "2010", "long": "Year 2010"}, + "_2011": {"id": "year_2011", "short": "2011", "long": "Year 2011"}, + "_2012": {"id": "year_2012", "short": "2012", "long": "Year 2012"}, + "_2013": {"id": "year_2013", "short": "2013", "long": "Year 2013"}, + "_2014": {"id": "year_2014", "short": "2014", "long": "Year 2014"}, + "_2015": {"id": "year_2015", "short": "2015", "long": "Year 2015"}, + "_2016": {"id": "year_2016", "short": "2016", "long": "Year 2016"}, + "_2017": {"id": "year_2017", "short": "2017", "long": "Year 2017"}, + "_2018": {"id": "year_2018", "short": "2018", "long": "Year 2018"}, + "_2019": {"id": "year_2019", "short": "2019", "long": "Year 2019"}, + "_2020": {"id": "year_2020", "short": "2020", "long": "Year 2020"}, + "_2021": {"id": "year_2021", "short": "2021", "long": "Year 2021"}, + "_2022": {"id": "year_2022", "short": "2022", "long": "Year 2022"}, + "_2023": {"id": "year_2023", "short": "2023", "long": "Year 2023"}, + "_2024": {"id": "year_2024", "short": "2024", "long": "Year 2024"}, + "_2025": {"id": "year_2025", "short": "2025", "long": "Year 2025"}, + "_2026": {"id": "year_2026", "short": "2026", "long": "Year 2026"}, } SPENDABLE_TYPE_NAMES = { - "p2pk65": { - "id": "p2pk65", - "short": "P2PK65", - "long": "Pay to Public Key (65 bytes)" - }, - "p2pk33": { - "id": "p2pk33", - "short": "P2PK33", - "long": "Pay to Public Key (33 bytes)" - }, - "p2pkh": { - "id": "p2pkh", - "short": "P2PKH", - "long": "Pay to Public Key Hash" - }, - "p2ms": { - "id": "p2ms", - "short": "P2MS", - "long": "Pay to Multisig" - }, - "p2sh": { - "id": "p2sh", - "short": "P2SH", - "long": "Pay to Script Hash" - }, - "p2wpkh": { - "id": "p2wpkh", - "short": "P2WPKH", - "long": "Pay to Witness Public Key Hash" - }, - "p2wsh": { - "id": "p2wsh", - "short": "P2WSH", - "long": "Pay to Witness Script Hash" - }, - "p2tr": { - "id": "p2tr", - "short": "P2TR", - "long": "Pay to Taproot" - }, - "p2a": { - "id": "p2a", - "short": "P2A", - "long": "Pay to Anchor" - }, - "unknown": { - "id": "unknown_outputs", - "short": "Unknown", - "long": "Unknown Output Type" - }, - "empty": { - "id": "empty_outputs", - "short": "Empty", - "long": "Empty Output" - } + "p2pk65": { + "id": "p2pk65", + "short": "P2PK65", + "long": "Pay to Public Key (65 bytes)", + }, + "p2pk33": { + "id": "p2pk33", + "short": "P2PK33", + "long": "Pay to Public Key (33 bytes)", + }, + "p2pkh": {"id": "p2pkh", "short": "P2PKH", "long": "Pay to Public Key Hash"}, + "p2ms": {"id": "p2ms", "short": "P2MS", "long": "Pay to Multisig"}, + "p2sh": {"id": "p2sh", "short": "P2SH", "long": "Pay to Script Hash"}, + "p2wpkh": { + "id": "p2wpkh", + "short": "P2WPKH", + "long": "Pay to Witness Public Key Hash", + }, + "p2wsh": { + "id": "p2wsh", + "short": "P2WSH", + "long": "Pay to Witness Script Hash", + }, + "p2tr": {"id": "p2tr", "short": "P2TR", "long": "Pay to Taproot"}, + "p2a": {"id": "p2a", "short": "P2A", "long": "Pay to Anchor"}, + "unknown": { + "id": "unknown_outputs", + "short": "Unknown", + "long": "Unknown Output Type", + }, + "empty": {"id": "empty_outputs", "short": "Empty", "long": "Empty Output"}, } AGE_RANGE_NAMES = { - "up_to_1h": { - "id": "up_to_1h_old", - "short": "<1h", - "long": "Up to 1 Hour Old" - }, - "_1h_to_1d": { - "id": "at_least_1h_up_to_1d_old", - "short": "1h-1d", - "long": "1 Hour to 1 Day Old" - }, - "_1d_to_1w": { - "id": "at_least_1d_up_to_1w_old", - "short": "1d-1w", - "long": "1 Day to 1 Week Old" - }, - "_1w_to_1m": { - "id": "at_least_1w_up_to_1m_old", - "short": "1w-1m", - "long": "1 Week to 1 Month Old" - }, - "_1m_to_2m": { - "id": "at_least_1m_up_to_2m_old", - "short": "1m-2m", - "long": "1 to 2 Months Old" - }, - "_2m_to_3m": { - "id": "at_least_2m_up_to_3m_old", - "short": "2m-3m", - "long": "2 to 3 Months Old" - }, - "_3m_to_4m": { - "id": "at_least_3m_up_to_4m_old", - "short": "3m-4m", - "long": "3 to 4 Months Old" - }, - "_4m_to_5m": { - "id": "at_least_4m_up_to_5m_old", - "short": "4m-5m", - "long": "4 to 5 Months Old" - }, - "_5m_to_6m": { - "id": "at_least_5m_up_to_6m_old", - "short": "5m-6m", - "long": "5 to 6 Months Old" - }, - "_6m_to_1y": { - "id": "at_least_6m_up_to_1y_old", - "short": "6m-1y", - "long": "6 Months to 1 Year Old" - }, - "_1y_to_2y": { - "id": "at_least_1y_up_to_2y_old", - "short": "1y-2y", - "long": "1 to 2 Years Old" - }, - "_2y_to_3y": { - "id": "at_least_2y_up_to_3y_old", - "short": "2y-3y", - "long": "2 to 3 Years Old" - }, - "_3y_to_4y": { - "id": "at_least_3y_up_to_4y_old", - "short": "3y-4y", - "long": "3 to 4 Years Old" - }, - "_4y_to_5y": { - "id": "at_least_4y_up_to_5y_old", - "short": "4y-5y", - "long": "4 to 5 Years Old" - }, - "_5y_to_6y": { - "id": "at_least_5y_up_to_6y_old", - "short": "5y-6y", - "long": "5 to 6 Years Old" - }, - "_6y_to_7y": { - "id": "at_least_6y_up_to_7y_old", - "short": "6y-7y", - "long": "6 to 7 Years Old" - }, - "_7y_to_8y": { - "id": "at_least_7y_up_to_8y_old", - "short": "7y-8y", - "long": "7 to 8 Years Old" - }, - "_8y_to_10y": { - "id": "at_least_8y_up_to_10y_old", - "short": "8y-10y", - "long": "8 to 10 Years Old" - }, - "_10y_to_12y": { - "id": "at_least_10y_up_to_12y_old", - "short": "10y-12y", - "long": "10 to 12 Years Old" - }, - "_12y_to_15y": { - "id": "at_least_12y_up_to_15y_old", - "short": "12y-15y", - "long": "12 to 15 Years Old" - }, - "from_15y": { - "id": "at_least_15y_old", - "short": "15y+", - "long": "15+ Years Old" - } + "up_to_1h": {"id": "up_to_1h_old", "short": "<1h", "long": "Up to 1 Hour Old"}, + "_1h_to_1d": { + "id": "at_least_1h_up_to_1d_old", + "short": "1h-1d", + "long": "1 Hour to 1 Day Old", + }, + "_1d_to_1w": { + "id": "at_least_1d_up_to_1w_old", + "short": "1d-1w", + "long": "1 Day to 1 Week Old", + }, + "_1w_to_1m": { + "id": "at_least_1w_up_to_1m_old", + "short": "1w-1m", + "long": "1 Week to 1 Month Old", + }, + "_1m_to_2m": { + "id": "at_least_1m_up_to_2m_old", + "short": "1m-2m", + "long": "1 to 2 Months Old", + }, + "_2m_to_3m": { + "id": "at_least_2m_up_to_3m_old", + "short": "2m-3m", + "long": "2 to 3 Months Old", + }, + "_3m_to_4m": { + "id": "at_least_3m_up_to_4m_old", + "short": "3m-4m", + "long": "3 to 4 Months Old", + }, + "_4m_to_5m": { + "id": "at_least_4m_up_to_5m_old", + "short": "4m-5m", + "long": "4 to 5 Months Old", + }, + "_5m_to_6m": { + "id": "at_least_5m_up_to_6m_old", + "short": "5m-6m", + "long": "5 to 6 Months Old", + }, + "_6m_to_1y": { + "id": "at_least_6m_up_to_1y_old", + "short": "6m-1y", + "long": "6 Months to 1 Year Old", + }, + "_1y_to_2y": { + "id": "at_least_1y_up_to_2y_old", + "short": "1y-2y", + "long": "1 to 2 Years Old", + }, + "_2y_to_3y": { + "id": "at_least_2y_up_to_3y_old", + "short": "2y-3y", + "long": "2 to 3 Years Old", + }, + "_3y_to_4y": { + "id": "at_least_3y_up_to_4y_old", + "short": "3y-4y", + "long": "3 to 4 Years Old", + }, + "_4y_to_5y": { + "id": "at_least_4y_up_to_5y_old", + "short": "4y-5y", + "long": "4 to 5 Years Old", + }, + "_5y_to_6y": { + "id": "at_least_5y_up_to_6y_old", + "short": "5y-6y", + "long": "5 to 6 Years Old", + }, + "_6y_to_7y": { + "id": "at_least_6y_up_to_7y_old", + "short": "6y-7y", + "long": "6 to 7 Years Old", + }, + "_7y_to_8y": { + "id": "at_least_7y_up_to_8y_old", + "short": "7y-8y", + "long": "7 to 8 Years Old", + }, + "_8y_to_10y": { + "id": "at_least_8y_up_to_10y_old", + "short": "8y-10y", + "long": "8 to 10 Years Old", + }, + "_10y_to_12y": { + "id": "at_least_10y_up_to_12y_old", + "short": "10y-12y", + "long": "10 to 12 Years Old", + }, + "_12y_to_15y": { + "id": "at_least_12y_up_to_15y_old", + "short": "12y-15y", + "long": "12 to 15 Years Old", + }, + "from_15y": { + "id": "at_least_15y_old", + "short": "15y+", + "long": "15+ Years Old", + }, } MAX_AGE_NAMES = { - "_1w": { - "id": "up_to_1w_old", - "short": "<1w", - "long": "Up to 1 Week Old" - }, - "_1m": { - "id": "up_to_1m_old", - "short": "<1m", - "long": "Up to 1 Month Old" - }, - "_2m": { - "id": "up_to_2m_old", - "short": "<2m", - "long": "Up to 2 Months Old" - }, - "_3m": { - "id": "up_to_3m_old", - "short": "<3m", - "long": "Up to 3 Months Old" - }, - "_4m": { - "id": "up_to_4m_old", - "short": "<4m", - "long": "Up to 4 Months Old" - }, - "_5m": { - "id": "up_to_5m_old", - "short": "<5m", - "long": "Up to 5 Months Old" - }, - "_6m": { - "id": "up_to_6m_old", - "short": "<6m", - "long": "Up to 6 Months Old" - }, - "_1y": { - "id": "up_to_1y_old", - "short": "<1y", - "long": "Up to 1 Year Old" - }, - "_2y": { - "id": "up_to_2y_old", - "short": "<2y", - "long": "Up to 2 Years Old" - }, - "_3y": { - "id": "up_to_3y_old", - "short": "<3y", - "long": "Up to 3 Years Old" - }, - "_4y": { - "id": "up_to_4y_old", - "short": "<4y", - "long": "Up to 4 Years Old" - }, - "_5y": { - "id": "up_to_5y_old", - "short": "<5y", - "long": "Up to 5 Years Old" - }, - "_6y": { - "id": "up_to_6y_old", - "short": "<6y", - "long": "Up to 6 Years Old" - }, - "_7y": { - "id": "up_to_7y_old", - "short": "<7y", - "long": "Up to 7 Years Old" - }, - "_8y": { - "id": "up_to_8y_old", - "short": "<8y", - "long": "Up to 8 Years Old" - }, - "_10y": { - "id": "up_to_10y_old", - "short": "<10y", - "long": "Up to 10 Years Old" - }, - "_12y": { - "id": "up_to_12y_old", - "short": "<12y", - "long": "Up to 12 Years Old" - }, - "_15y": { - "id": "up_to_15y_old", - "short": "<15y", - "long": "Up to 15 Years Old" - } + "_1w": {"id": "up_to_1w_old", "short": "<1w", "long": "Up to 1 Week Old"}, + "_1m": {"id": "up_to_1m_old", "short": "<1m", "long": "Up to 1 Month Old"}, + "_2m": {"id": "up_to_2m_old", "short": "<2m", "long": "Up to 2 Months Old"}, + "_3m": {"id": "up_to_3m_old", "short": "<3m", "long": "Up to 3 Months Old"}, + "_4m": {"id": "up_to_4m_old", "short": "<4m", "long": "Up to 4 Months Old"}, + "_5m": {"id": "up_to_5m_old", "short": "<5m", "long": "Up to 5 Months Old"}, + "_6m": {"id": "up_to_6m_old", "short": "<6m", "long": "Up to 6 Months Old"}, + "_1y": {"id": "up_to_1y_old", "short": "<1y", "long": "Up to 1 Year Old"}, + "_2y": {"id": "up_to_2y_old", "short": "<2y", "long": "Up to 2 Years Old"}, + "_3y": {"id": "up_to_3y_old", "short": "<3y", "long": "Up to 3 Years Old"}, + "_4y": {"id": "up_to_4y_old", "short": "<4y", "long": "Up to 4 Years Old"}, + "_5y": {"id": "up_to_5y_old", "short": "<5y", "long": "Up to 5 Years Old"}, + "_6y": {"id": "up_to_6y_old", "short": "<6y", "long": "Up to 6 Years Old"}, + "_7y": {"id": "up_to_7y_old", "short": "<7y", "long": "Up to 7 Years Old"}, + "_8y": {"id": "up_to_8y_old", "short": "<8y", "long": "Up to 8 Years Old"}, + "_10y": {"id": "up_to_10y_old", "short": "<10y", "long": "Up to 10 Years Old"}, + "_12y": {"id": "up_to_12y_old", "short": "<12y", "long": "Up to 12 Years Old"}, + "_15y": {"id": "up_to_15y_old", "short": "<15y", "long": "Up to 15 Years Old"}, } MIN_AGE_NAMES = { - "_1d": { - "id": "at_least_1d_old", - "short": "1d+", - "long": "At Least 1 Day Old" - }, - "_1w": { - "id": "at_least_1w_old", - "short": "1w+", - "long": "At Least 1 Week Old" - }, - "_1m": { - "id": "at_least_1m_old", - "short": "1m+", - "long": "At Least 1 Month Old" - }, - "_2m": { - "id": "at_least_2m_old", - "short": "2m+", - "long": "At Least 2 Months Old" - }, - "_3m": { - "id": "at_least_3m_old", - "short": "3m+", - "long": "At Least 3 Months Old" - }, - "_4m": { - "id": "at_least_4m_old", - "short": "4m+", - "long": "At Least 4 Months Old" - }, - "_5m": { - "id": "at_least_5m_old", - "short": "5m+", - "long": "At Least 5 Months Old" - }, - "_6m": { - "id": "at_least_6m_old", - "short": "6m+", - "long": "At Least 6 Months Old" - }, - "_1y": { - "id": "at_least_1y_old", - "short": "1y+", - "long": "At Least 1 Year Old" - }, - "_2y": { - "id": "at_least_2y_old", - "short": "2y+", - "long": "At Least 2 Years Old" - }, - "_3y": { - "id": "at_least_3y_old", - "short": "3y+", - "long": "At Least 3 Years Old" - }, - "_4y": { - "id": "at_least_4y_old", - "short": "4y+", - "long": "At Least 4 Years Old" - }, - "_5y": { - "id": "at_least_5y_old", - "short": "5y+", - "long": "At Least 5 Years Old" - }, - "_6y": { - "id": "at_least_6y_old", - "short": "6y+", - "long": "At Least 6 Years Old" - }, - "_7y": { - "id": "at_least_7y_old", - "short": "7y+", - "long": "At Least 7 Years Old" - }, - "_8y": { - "id": "at_least_8y_old", - "short": "8y+", - "long": "At Least 8 Years Old" - }, - "_10y": { - "id": "at_least_10y_old", - "short": "10y+", - "long": "At Least 10 Years Old" - }, - "_12y": { - "id": "at_least_12y_old", - "short": "12y+", - "long": "At Least 12 Years Old" - } + "_1d": {"id": "at_least_1d_old", "short": "1d+", "long": "At Least 1 Day Old"}, + "_1w": {"id": "at_least_1w_old", "short": "1w+", "long": "At Least 1 Week Old"}, + "_1m": { + "id": "at_least_1m_old", + "short": "1m+", + "long": "At Least 1 Month Old", + }, + "_2m": { + "id": "at_least_2m_old", + "short": "2m+", + "long": "At Least 2 Months Old", + }, + "_3m": { + "id": "at_least_3m_old", + "short": "3m+", + "long": "At Least 3 Months Old", + }, + "_4m": { + "id": "at_least_4m_old", + "short": "4m+", + "long": "At Least 4 Months Old", + }, + "_5m": { + "id": "at_least_5m_old", + "short": "5m+", + "long": "At Least 5 Months Old", + }, + "_6m": { + "id": "at_least_6m_old", + "short": "6m+", + "long": "At Least 6 Months Old", + }, + "_1y": {"id": "at_least_1y_old", "short": "1y+", "long": "At Least 1 Year Old"}, + "_2y": { + "id": "at_least_2y_old", + "short": "2y+", + "long": "At Least 2 Years Old", + }, + "_3y": { + "id": "at_least_3y_old", + "short": "3y+", + "long": "At Least 3 Years Old", + }, + "_4y": { + "id": "at_least_4y_old", + "short": "4y+", + "long": "At Least 4 Years Old", + }, + "_5y": { + "id": "at_least_5y_old", + "short": "5y+", + "long": "At Least 5 Years Old", + }, + "_6y": { + "id": "at_least_6y_old", + "short": "6y+", + "long": "At Least 6 Years Old", + }, + "_7y": { + "id": "at_least_7y_old", + "short": "7y+", + "long": "At Least 7 Years Old", + }, + "_8y": { + "id": "at_least_8y_old", + "short": "8y+", + "long": "At Least 8 Years Old", + }, + "_10y": { + "id": "at_least_10y_old", + "short": "10y+", + "long": "At Least 10 Years Old", + }, + "_12y": { + "id": "at_least_12y_old", + "short": "12y+", + "long": "At Least 12 Years Old", + }, } AMOUNT_RANGE_NAMES = { - "_0sats": { - "id": "with_0sats", - "short": "0 sats", - "long": "0 Sats" - }, - "_1sat_to_10sats": { - "id": "above_1sat_under_10sats", - "short": "1-10 sats", - "long": "1 to 10 Sats" - }, - "_10sats_to_100sats": { - "id": "above_10sats_under_100sats", - "short": "10-100 sats", - "long": "10 to 100 Sats" - }, - "_100sats_to_1k_sats": { - "id": "above_100sats_under_1k_sats", - "short": "100-1k sats", - "long": "100 to 1K Sats" - }, - "_1k_sats_to_10k_sats": { - "id": "above_1k_sats_under_10k_sats", - "short": "1k-10k sats", - "long": "1K to 10K Sats" - }, - "_10k_sats_to_100k_sats": { - "id": "above_10k_sats_under_100k_sats", - "short": "10k-100k sats", - "long": "10K to 100K Sats" - }, - "_100k_sats_to_1m_sats": { - "id": "above_100k_sats_under_1m_sats", - "short": "100k-1M sats", - "long": "100K to 1M Sats" - }, - "_1m_sats_to_10m_sats": { - "id": "above_1m_sats_under_10m_sats", - "short": "1M-10M sats", - "long": "1M to 10M Sats" - }, - "_10m_sats_to_1btc": { - "id": "above_10m_sats_under_1btc", - "short": "0.1-1 BTC", - "long": "0.1 to 1 BTC" - }, - "_1btc_to_10btc": { - "id": "above_1btc_under_10btc", - "short": "1-10 BTC", - "long": "1 to 10 BTC" - }, - "_10btc_to_100btc": { - "id": "above_10btc_under_100btc", - "short": "10-100 BTC", - "long": "10 to 100 BTC" - }, - "_100btc_to_1k_btc": { - "id": "above_100btc_under_1k_btc", - "short": "100-1k BTC", - "long": "100 to 1K BTC" - }, - "_1k_btc_to_10k_btc": { - "id": "above_1k_btc_under_10k_btc", - "short": "1k-10k BTC", - "long": "1K to 10K BTC" - }, - "_10k_btc_to_100k_btc": { - "id": "above_10k_btc_under_100k_btc", - "short": "10k-100k BTC", - "long": "10K to 100K BTC" - }, - "_100k_btc_or_more": { - "id": "above_100k_btc", - "short": "100k+ BTC", - "long": "100K+ BTC" - } + "_0sats": {"id": "with_0sats", "short": "0 sats", "long": "0 Sats"}, + "_1sat_to_10sats": { + "id": "above_1sat_under_10sats", + "short": "1-10 sats", + "long": "1 to 10 Sats", + }, + "_10sats_to_100sats": { + "id": "above_10sats_under_100sats", + "short": "10-100 sats", + "long": "10 to 100 Sats", + }, + "_100sats_to_1k_sats": { + "id": "above_100sats_under_1k_sats", + "short": "100-1k sats", + "long": "100 to 1K Sats", + }, + "_1k_sats_to_10k_sats": { + "id": "above_1k_sats_under_10k_sats", + "short": "1k-10k sats", + "long": "1K to 10K Sats", + }, + "_10k_sats_to_100k_sats": { + "id": "above_10k_sats_under_100k_sats", + "short": "10k-100k sats", + "long": "10K to 100K Sats", + }, + "_100k_sats_to_1m_sats": { + "id": "above_100k_sats_under_1m_sats", + "short": "100k-1M sats", + "long": "100K to 1M Sats", + }, + "_1m_sats_to_10m_sats": { + "id": "above_1m_sats_under_10m_sats", + "short": "1M-10M sats", + "long": "1M to 10M Sats", + }, + "_10m_sats_to_1btc": { + "id": "above_10m_sats_under_1btc", + "short": "0.1-1 BTC", + "long": "0.1 to 1 BTC", + }, + "_1btc_to_10btc": { + "id": "above_1btc_under_10btc", + "short": "1-10 BTC", + "long": "1 to 10 BTC", + }, + "_10btc_to_100btc": { + "id": "above_10btc_under_100btc", + "short": "10-100 BTC", + "long": "10 to 100 BTC", + }, + "_100btc_to_1k_btc": { + "id": "above_100btc_under_1k_btc", + "short": "100-1k BTC", + "long": "100 to 1K BTC", + }, + "_1k_btc_to_10k_btc": { + "id": "above_1k_btc_under_10k_btc", + "short": "1k-10k BTC", + "long": "1K to 10K BTC", + }, + "_10k_btc_to_100k_btc": { + "id": "above_10k_btc_under_100k_btc", + "short": "10k-100k BTC", + "long": "10K to 100K BTC", + }, + "_100k_btc_or_more": { + "id": "above_100k_btc", + "short": "100k+ BTC", + "long": "100K+ BTC", + }, } GE_AMOUNT_NAMES = { - "_1sat": { - "id": "above_1sat", - "short": "1+ sats", - "long": "Above 1 Sat" - }, - "_10sats": { - "id": "above_10sats", - "short": "10+ sats", - "long": "Above 10 Sats" - }, - "_100sats": { - "id": "above_100sats", - "short": "100+ sats", - "long": "Above 100 Sats" - }, - "_1k_sats": { - "id": "above_1k_sats", - "short": "1k+ sats", - "long": "Above 1K Sats" - }, - "_10k_sats": { - "id": "above_10k_sats", - "short": "10k+ sats", - "long": "Above 10K Sats" - }, - "_100k_sats": { - "id": "above_100k_sats", - "short": "100k+ sats", - "long": "Above 100K Sats" - }, - "_1m_sats": { - "id": "above_1m_sats", - "short": "1M+ sats", - "long": "Above 1M Sats" - }, - "_10m_sats": { - "id": "above_10m_sats", - "short": "0.1+ BTC", - "long": "Above 0.1 BTC" - }, - "_1btc": { - "id": "above_1btc", - "short": "1+ BTC", - "long": "Above 1 BTC" - }, - "_10btc": { - "id": "above_10btc", - "short": "10+ BTC", - "long": "Above 10 BTC" - }, - "_100btc": { - "id": "above_100btc", - "short": "100+ BTC", - "long": "Above 100 BTC" - }, - "_1k_btc": { - "id": "above_1k_btc", - "short": "1k+ BTC", - "long": "Above 1K BTC" - }, - "_10k_btc": { - "id": "above_10k_btc", - "short": "10k+ BTC", - "long": "Above 10K BTC" - } + "_1sat": {"id": "above_1sat", "short": "1+ sats", "long": "Above 1 Sat"}, + "_10sats": {"id": "above_10sats", "short": "10+ sats", "long": "Above 10 Sats"}, + "_100sats": { + "id": "above_100sats", + "short": "100+ sats", + "long": "Above 100 Sats", + }, + "_1k_sats": { + "id": "above_1k_sats", + "short": "1k+ sats", + "long": "Above 1K Sats", + }, + "_10k_sats": { + "id": "above_10k_sats", + "short": "10k+ sats", + "long": "Above 10K Sats", + }, + "_100k_sats": { + "id": "above_100k_sats", + "short": "100k+ sats", + "long": "Above 100K Sats", + }, + "_1m_sats": { + "id": "above_1m_sats", + "short": "1M+ sats", + "long": "Above 1M Sats", + }, + "_10m_sats": { + "id": "above_10m_sats", + "short": "0.1+ BTC", + "long": "Above 0.1 BTC", + }, + "_1btc": {"id": "above_1btc", "short": "1+ BTC", "long": "Above 1 BTC"}, + "_10btc": {"id": "above_10btc", "short": "10+ BTC", "long": "Above 10 BTC"}, + "_100btc": {"id": "above_100btc", "short": "100+ BTC", "long": "Above 100 BTC"}, + "_1k_btc": {"id": "above_1k_btc", "short": "1k+ BTC", "long": "Above 1K BTC"}, + "_10k_btc": { + "id": "above_10k_btc", + "short": "10k+ BTC", + "long": "Above 10K BTC", + }, } LT_AMOUNT_NAMES = { - "_10sats": { - "id": "under_10sats", - "short": "<10 sats", - "long": "Under 10 Sats" - }, - "_100sats": { - "id": "under_100sats", - "short": "<100 sats", - "long": "Under 100 Sats" - }, - "_1k_sats": { - "id": "under_1k_sats", - "short": "<1k sats", - "long": "Under 1K Sats" - }, - "_10k_sats": { - "id": "under_10k_sats", - "short": "<10k sats", - "long": "Under 10K Sats" - }, - "_100k_sats": { - "id": "under_100k_sats", - "short": "<100k sats", - "long": "Under 100K Sats" - }, - "_1m_sats": { - "id": "under_1m_sats", - "short": "<1M sats", - "long": "Under 1M Sats" - }, - "_10m_sats": { - "id": "under_10m_sats", - "short": "<0.1 BTC", - "long": "Under 0.1 BTC" - }, - "_1btc": { - "id": "under_1btc", - "short": "<1 BTC", - "long": "Under 1 BTC" - }, - "_10btc": { - "id": "under_10btc", - "short": "<10 BTC", - "long": "Under 10 BTC" - }, - "_100btc": { - "id": "under_100btc", - "short": "<100 BTC", - "long": "Under 100 BTC" - }, - "_1k_btc": { - "id": "under_1k_btc", - "short": "<1k BTC", - "long": "Under 1K BTC" - }, - "_10k_btc": { - "id": "under_10k_btc", - "short": "<10k BTC", - "long": "Under 10K BTC" - }, - "_100k_btc": { - "id": "under_100k_btc", - "short": "<100k BTC", - "long": "Under 100K BTC" - } + "_10sats": {"id": "under_10sats", "short": "<10 sats", "long": "Under 10 Sats"}, + "_100sats": { + "id": "under_100sats", + "short": "<100 sats", + "long": "Under 100 Sats", + }, + "_1k_sats": { + "id": "under_1k_sats", + "short": "<1k sats", + "long": "Under 1K Sats", + }, + "_10k_sats": { + "id": "under_10k_sats", + "short": "<10k sats", + "long": "Under 10K Sats", + }, + "_100k_sats": { + "id": "under_100k_sats", + "short": "<100k sats", + "long": "Under 100K Sats", + }, + "_1m_sats": { + "id": "under_1m_sats", + "short": "<1M sats", + "long": "Under 1M Sats", + }, + "_10m_sats": { + "id": "under_10m_sats", + "short": "<0.1 BTC", + "long": "Under 0.1 BTC", + }, + "_1btc": {"id": "under_1btc", "short": "<1 BTC", "long": "Under 1 BTC"}, + "_10btc": {"id": "under_10btc", "short": "<10 BTC", "long": "Under 10 BTC"}, + "_100btc": {"id": "under_100btc", "short": "<100 BTC", "long": "Under 100 BTC"}, + "_1k_btc": {"id": "under_1k_btc", "short": "<1k BTC", "long": "Under 1K BTC"}, + "_10k_btc": { + "id": "under_10k_btc", + "short": "<10k BTC", + "long": "Under 10K BTC", + }, + "_100k_btc": { + "id": "under_100k_btc", + "short": "<100k BTC", + "long": "Under 100K BTC", + }, } - def __init__(self, base_url: str = 'http://localhost:3000', timeout: float = 30.0): + def __init__(self, base_url: str = "http://localhost:3000", timeout: float = 30.0): super().__init__(base_url, timeout) self.tree = CatalogTree(self) @@ -4556,309 +7305,368 @@ class BrkClient(BrkClientBase): """Address information. Retrieve comprehensive information about a Bitcoin address including balance, transaction history, UTXOs, and estimated investment metrics. Supports all standard Bitcoin address types (P2PKH, P2SH, P2WPKH, P2WSH, P2TR, etc.).""" - return self.get(f'/api/address/{address}') + return self.get(f"/api/address/{address}") - def get_address_txs(self, address: Address, after_txid: Optional[str] = None, limit: Optional[int] = None) -> List[Txid]: + def get_address_txs( + self, + address: Address, + after_txid: Optional[str] = None, + limit: Optional[int] = None, + ) -> List[Txid]: """Address transaction IDs. Get transaction IDs for an address, newest first. Use after_txid for pagination.""" params = [] - if after_txid is not None: params.append(f'after_txid={after_txid}') - if limit is not None: params.append(f'limit={limit}') - query = '&'.join(params) - return self.get(f'/api/address/{address}/txs{"?" + query if query else ""}') + if after_txid is not None: + params.append(f"after_txid={after_txid}") + if limit is not None: + params.append(f"limit={limit}") + query = "&".join(params) + return self.get(f"/api/address/{address}/txs{'?' + query if query else ''}") - def get_address_txs_chain(self, address: Address, after_txid: Optional[str] = None, limit: Optional[int] = None) -> List[Txid]: + def get_address_txs_chain( + self, + address: Address, + after_txid: Optional[str] = None, + limit: Optional[int] = None, + ) -> List[Txid]: """Address confirmed transactions. Get confirmed transaction IDs for an address, 25 per page. Use ?after_txid= for pagination.""" params = [] - if after_txid is not None: params.append(f'after_txid={after_txid}') - if limit is not None: params.append(f'limit={limit}') - query = '&'.join(params) - return self.get(f'/api/address/{address}/txs/chain{"?" + query if query else ""}') + if after_txid is not None: + params.append(f"after_txid={after_txid}") + if limit is not None: + params.append(f"limit={limit}") + query = "&".join(params) + return self.get( + f"/api/address/{address}/txs/chain{'?' + query if query else ''}" + ) def get_address_txs_mempool(self, address: Address) -> List[Txid]: """Address mempool transactions. Get unconfirmed transaction IDs for an address from the mempool (up to 50).""" - return self.get(f'/api/address/{address}/txs/mempool') + return self.get(f"/api/address/{address}/txs/mempool") def get_address_utxo(self, address: Address) -> List[Utxo]: """Address UTXOs. Get unspent transaction outputs for an address.""" - return self.get(f'/api/address/{address}/utxo') + return self.get(f"/api/address/{address}/utxo") def get_block_height(self, height: Height) -> BlockInfo: """Block by height. Retrieve block information by block height. Returns block metadata including hash, timestamp, difficulty, size, weight, and transaction count.""" - return self.get(f'/api/block-height/{height}') + return self.get(f"/api/block-height/{height}") def get_block_by_hash(self, hash: BlockHash) -> BlockInfo: """Block information. Retrieve block information by block hash. Returns block metadata including height, timestamp, difficulty, size, weight, and transaction count.""" - return self.get(f'/api/block/{hash}') + return self.get(f"/api/block/{hash}") def get_block_by_hash_raw(self, hash: BlockHash) -> List[int]: """Raw block. Returns the raw block data in binary format.""" - return self.get(f'/api/block/{hash}/raw') + return self.get(f"/api/block/{hash}/raw") def get_block_by_hash_status(self, hash: BlockHash) -> BlockStatus: """Block status. Retrieve the status of a block. Returns whether the block is in the best chain and, if so, its height and the hash of the next block.""" - return self.get(f'/api/block/{hash}/status') + return self.get(f"/api/block/{hash}/status") def get_block_by_hash_txid_by_index(self, hash: BlockHash, index: TxIndex) -> Txid: """Transaction ID at index. Retrieve a single transaction ID at a specific index within a block. Returns plain text txid.""" - return self.get(f'/api/block/{hash}/txid/{index}') + return self.get(f"/api/block/{hash}/txid/{index}") def get_block_by_hash_txids(self, hash: BlockHash) -> List[Txid]: """Block transaction IDs. Retrieve all transaction IDs in a block by block hash.""" - return self.get(f'/api/block/{hash}/txids') + return self.get(f"/api/block/{hash}/txids") - def get_block_by_hash_txs_by_start_index(self, hash: BlockHash, start_index: TxIndex) -> List[Transaction]: + def get_block_by_hash_txs_by_start_index( + self, hash: BlockHash, start_index: TxIndex + ) -> List[Transaction]: """Block transactions (paginated). Retrieve transactions in a block by block hash, starting from the specified index. Returns up to 25 transactions at a time.""" - return self.get(f'/api/block/{hash}/txs/{start_index}') + return self.get(f"/api/block/{hash}/txs/{start_index}") def get_blocks(self) -> List[BlockInfo]: """Recent blocks. Retrieve the last 10 blocks. Returns block metadata for each block.""" - return self.get('/api/blocks') + return self.get("/api/blocks") def get_blocks_by_height(self, height: Height) -> List[BlockInfo]: """Blocks from height. Retrieve up to 10 blocks going backwards from the given height. For example, height=100 returns blocks 100, 99, 98, ..., 91. Height=0 returns only block 0.""" - return self.get(f'/api/blocks/{height}') + return self.get(f"/api/blocks/{height}") def get_mempool_info(self) -> MempoolInfo: """Mempool statistics. Get current mempool statistics including transaction count, total vsize, and total fees.""" - return self.get('/api/mempool/info') + return self.get("/api/mempool/info") def get_mempool_txids(self) -> List[Txid]: """Mempool transaction IDs. Get all transaction IDs currently in the mempool.""" - return self.get('/api/mempool/txids') + return self.get("/api/mempool/txids") def get_metric(self, metric: Metric) -> List[Index]: """Get supported indexes for a metric. Returns the list of indexes are supported by the specified metric. For example, `realized_price` might be available on dateindex, weekindex, and monthindex.""" - return self.get(f'/api/metric/{metric}') + return self.get(f"/api/metric/{metric}") - def get_metric_by_index(self, index: Index, metric: Metric, count: Optional[Any] = None, format: Optional[Format] = None, from_: Optional[Any] = None, to: Optional[Any] = None) -> AnyMetricData: + def get_metric_by_index( + self, + index: Index, + metric: Metric, + count: Optional[Any] = None, + format: Optional[Format] = None, + from_: Optional[Any] = None, + to: Optional[Any] = None, + ) -> AnyMetricData: """Get metric data. Fetch data for a specific metric at the given index. Use query parameters to filter by date range and format (json/csv).""" params = [] - if count is not None: params.append(f'count={count}') - if format is not None: params.append(f'format={format}') - if from_ is not None: params.append(f'from={from_}') - if to is not None: params.append(f'to={to}') - query = '&'.join(params) - return self.get(f'/api/metric/{metric}/{index}{"?" + query if query else ""}') + if count is not None: + params.append(f"count={count}") + if format is not None: + params.append(f"format={format}") + if from_ is not None: + params.append(f"from={from_}") + if to is not None: + params.append(f"to={to}") + query = "&".join(params) + return self.get(f"/api/metric/{metric}/{index}{'?' + query if query else ''}") - def get_metrics_bulk(self, index: Index, metrics: Metrics, count: Optional[Any] = None, format: Optional[Format] = None, from_: Optional[Any] = None, to: Optional[Any] = None) -> List[AnyMetricData]: + def get_metrics_bulk( + self, + index: Index, + metrics: Metrics, + count: Optional[Any] = None, + format: Optional[Format] = None, + from_: Optional[Any] = None, + to: Optional[Any] = None, + ) -> List[AnyMetricData]: """Bulk metric data. Fetch multiple metrics in a single request. Supports filtering by index and date range. Returns an array of MetricData objects.""" params = [] - if count is not None: params.append(f'count={count}') - if format is not None: params.append(f'format={format}') - if from_ is not None: params.append(f'from={from_}') - params.append(f'index={index}') - params.append(f'metrics={metrics}') - if to is not None: params.append(f'to={to}') - query = '&'.join(params) - return self.get(f'/api/metrics/bulk{"?" + query if query else ""}') + if count is not None: + params.append(f"count={count}") + if format is not None: + params.append(f"format={format}") + if from_ is not None: + params.append(f"from={from_}") + params.append(f"index={index}") + params.append(f"metrics={metrics}") + if to is not None: + params.append(f"to={to}") + query = "&".join(params) + return self.get(f"/api/metrics/bulk{'?' + query if query else ''}") def get_metrics_catalog(self) -> TreeNode: """Metrics catalog. Returns the complete hierarchical catalog of available metrics organized as a tree structure. Metrics are grouped by categories and subcategories. Best viewed in an interactive JSON viewer (e.g., Firefox's built-in JSON viewer) for easy navigation of the nested structure.""" - return self.get('/api/metrics/catalog') + return self.get("/api/metrics/catalog") def get_metrics_count(self) -> List[MetricCount]: """Metric count. Current metric count""" - return self.get('/api/metrics/count') + return self.get("/api/metrics/count") def get_metrics_indexes(self) -> List[IndexInfo]: """List available indexes. Returns all available indexes with their accepted query aliases. Use any alias when querying metrics.""" - return self.get('/api/metrics/indexes') + return self.get("/api/metrics/indexes") def get_metrics_list(self, page: Optional[Any] = None) -> PaginatedMetrics: """Metrics list. Paginated list of available metrics""" params = [] - if page is not None: params.append(f'page={page}') - query = '&'.join(params) - return self.get(f'/api/metrics/list{"?" + query if query else ""}') + if page is not None: + params.append(f"page={page}") + query = "&".join(params) + return self.get(f"/api/metrics/list{'?' + query if query else ''}") - def get_metrics_search_by_metric(self, metric: Metric, limit: Optional[Limit] = None) -> List[Metric]: + def get_metrics_search_by_metric( + self, metric: Metric, limit: Optional[Limit] = None + ) -> List[Metric]: """Search metrics. Fuzzy search for metrics by name. Supports partial matches and typos.""" params = [] - if limit is not None: params.append(f'limit={limit}') - query = '&'.join(params) - return self.get(f'/api/metrics/search/{metric}{"?" + query if query else ""}') + if limit is not None: + params.append(f"limit={limit}") + query = "&".join(params) + return self.get(f"/api/metrics/search/{metric}{'?' + query if query else ''}") def get_tx_by_txid(self, txid: Txid) -> Transaction: """Transaction information. Retrieve complete transaction data by transaction ID (txid). Returns the full transaction details including inputs, outputs, and metadata. The transaction data is read directly from the blockchain data files.""" - return self.get(f'/api/tx/{txid}') + return self.get(f"/api/tx/{txid}") def get_tx_by_txid_hex(self, txid: Txid) -> Hex: """Transaction hex. Retrieve the raw transaction as a hex-encoded string. Returns the serialized transaction in hexadecimal format.""" - return self.get(f'/api/tx/{txid}/hex') + return self.get(f"/api/tx/{txid}/hex") def get_tx_by_txid_outspend_by_vout(self, txid: Txid, vout: Vout) -> TxOutspend: """Output spend status. Get the spending status of a transaction output. Returns whether the output has been spent and, if so, the spending transaction details.""" - return self.get(f'/api/tx/{txid}/outspend/{vout}') + return self.get(f"/api/tx/{txid}/outspend/{vout}") def get_tx_by_txid_outspends(self, txid: Txid) -> List[TxOutspend]: """All output spend statuses. Get the spending status of all outputs in a transaction. Returns an array with the spend status for each output.""" - return self.get(f'/api/tx/{txid}/outspends') + return self.get(f"/api/tx/{txid}/outspends") def get_tx_by_txid_status(self, txid: Txid) -> TxStatus: """Transaction status. Retrieve the confirmation status of a transaction. Returns whether the transaction is confirmed and, if so, the block height, hash, and timestamp.""" - return self.get(f'/api/tx/{txid}/status') + return self.get(f"/api/tx/{txid}/status") def get_v1_difficulty_adjustment(self) -> DifficultyAdjustment: """Difficulty adjustment. Get current difficulty adjustment information including progress through the current epoch, estimated retarget date, and difficulty change prediction.""" - return self.get('/api/v1/difficulty-adjustment') + return self.get("/api/v1/difficulty-adjustment") def get_v1_fees_mempool_blocks(self) -> List[MempoolBlock]: """Projected mempool blocks. Get projected blocks from the mempool for fee estimation. Each block contains statistics about transactions that would be included if a block were mined now.""" - return self.get('/api/v1/fees/mempool-blocks') + return self.get("/api/v1/fees/mempool-blocks") def get_v1_fees_recommended(self) -> RecommendedFees: """Recommended fees. Get recommended fee rates for different confirmation targets based on current mempool state.""" - return self.get('/api/v1/fees/recommended') + return self.get("/api/v1/fees/recommended") - def get_v1_mining_blocks_fees_by_time_period(self, time_period: TimePeriod) -> List[BlockFeesEntry]: + def get_v1_mining_blocks_fees_by_time_period( + self, time_period: TimePeriod + ) -> List[BlockFeesEntry]: """Block fees. Get average block fees for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y""" - return self.get(f'/api/v1/mining/blocks/fees/{time_period}') + return self.get(f"/api/v1/mining/blocks/fees/{time_period}") - def get_v1_mining_blocks_rewards_by_time_period(self, time_period: TimePeriod) -> List[BlockRewardsEntry]: + def get_v1_mining_blocks_rewards_by_time_period( + self, time_period: TimePeriod + ) -> List[BlockRewardsEntry]: """Block rewards. Get average block rewards (coinbase = subsidy + fees) for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y""" - return self.get(f'/api/v1/mining/blocks/rewards/{time_period}') + return self.get(f"/api/v1/mining/blocks/rewards/{time_period}") - def get_v1_mining_blocks_sizes_weights_by_time_period(self, time_period: TimePeriod) -> BlockSizesWeights: + def get_v1_mining_blocks_sizes_weights_by_time_period( + self, time_period: TimePeriod + ) -> BlockSizesWeights: """Block sizes and weights. Get average block sizes and weights for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y""" - return self.get(f'/api/v1/mining/blocks/sizes-weights/{time_period}') + return self.get(f"/api/v1/mining/blocks/sizes-weights/{time_period}") def get_v1_mining_blocks_timestamp(self, timestamp: Timestamp) -> BlockTimestamp: """Block by timestamp. Find the block closest to a given UNIX timestamp.""" - return self.get(f'/api/v1/mining/blocks/timestamp/{timestamp}') + return self.get(f"/api/v1/mining/blocks/timestamp/{timestamp}") def get_v1_mining_difficulty_adjustments(self) -> List[DifficultyAdjustmentEntry]: """Difficulty adjustments (all time). Get historical difficulty adjustments. Returns array of [timestamp, height, difficulty, change_percent].""" - return self.get('/api/v1/mining/difficulty-adjustments') + return self.get("/api/v1/mining/difficulty-adjustments") - def get_v1_mining_difficulty_adjustments_by_time_period(self, time_period: TimePeriod) -> List[DifficultyAdjustmentEntry]: + def get_v1_mining_difficulty_adjustments_by_time_period( + self, time_period: TimePeriod + ) -> List[DifficultyAdjustmentEntry]: """Difficulty adjustments. Get historical difficulty adjustments for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y. Returns array of [timestamp, height, difficulty, change_percent].""" - return self.get(f'/api/v1/mining/difficulty-adjustments/{time_period}') + return self.get(f"/api/v1/mining/difficulty-adjustments/{time_period}") def get_v1_mining_hashrate(self) -> HashrateSummary: """Network hashrate (all time). Get network hashrate and difficulty data for all time.""" - return self.get('/api/v1/mining/hashrate') + return self.get("/api/v1/mining/hashrate") - def get_v1_mining_hashrate_by_time_period(self, time_period: TimePeriod) -> HashrateSummary: + def get_v1_mining_hashrate_by_time_period( + self, time_period: TimePeriod + ) -> HashrateSummary: """Network hashrate. Get network hashrate and difficulty data for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y""" - return self.get(f'/api/v1/mining/hashrate/{time_period}') + return self.get(f"/api/v1/mining/hashrate/{time_period}") def get_v1_mining_pool_by_slug(self, slug: PoolSlug) -> PoolDetail: """Mining pool details. Get detailed information about a specific mining pool including block counts and shares for different time periods.""" - return self.get(f'/api/v1/mining/pool/{slug}') + return self.get(f"/api/v1/mining/pool/{slug}") def get_v1_mining_pools(self) -> List[PoolInfo]: """List all mining pools. Get list of all known mining pools with their identifiers.""" - return self.get('/api/v1/mining/pools') + return self.get("/api/v1/mining/pools") - def get_v1_mining_pools_by_time_period(self, time_period: TimePeriod) -> PoolsSummary: + def get_v1_mining_pools_by_time_period( + self, time_period: TimePeriod + ) -> PoolsSummary: """Mining pool statistics. Get mining pool statistics for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y""" - return self.get(f'/api/v1/mining/pools/{time_period}') + return self.get(f"/api/v1/mining/pools/{time_period}") - def get_v1_mining_reward_stats_by_block_count(self, block_count: int) -> RewardStats: + def get_v1_mining_reward_stats_by_block_count( + self, block_count: int + ) -> RewardStats: """Mining reward statistics. Get mining reward statistics for the last N blocks including total rewards, fees, and transaction count.""" - return self.get(f'/api/v1/mining/reward-stats/{block_count}') + return self.get(f"/api/v1/mining/reward-stats/{block_count}") def get_v1_validate_address(self, address: str) -> AddressValidation: """Validate address. Validate a Bitcoin address and get information about its type and scriptPubKey.""" - return self.get(f'/api/v1/validate-address/{address}') + return self.get(f"/api/v1/validate-address/{address}") def get_health(self) -> Health: """Health check. Returns the health status of the API server""" - return self.get('/health') + return self.get("/health") def get_version(self) -> str: """API version. Returns the current version of the API server""" - return self.get('/version') - + return self.get("/version") diff --git a/packages/brk_client/docs/API.md b/packages/brk_client/docs/API.md new file mode 100644 index 000000000..2e4cfede2 --- /dev/null +++ b/packages/brk_client/docs/API.md @@ -0,0 +1,760 @@ +# Table of Contents + +* [brk\_client](#brk_client) + * [BrkError](#brk_client.BrkError) + * [MetricData](#brk_client.MetricData) + * [MetricEndpoint](#brk_client.MetricEndpoint) + * [BrkClient](#brk_client.BrkClient) + * [VERSION](#brk_client.BrkClient.VERSION) + * [INDEXES](#brk_client.BrkClient.INDEXES) + * [POOL\_ID\_TO\_POOL\_NAME](#brk_client.BrkClient.POOL_ID_TO_POOL_NAME) + * [TERM\_NAMES](#brk_client.BrkClient.TERM_NAMES) + * [EPOCH\_NAMES](#brk_client.BrkClient.EPOCH_NAMES) + * [YEAR\_NAMES](#brk_client.BrkClient.YEAR_NAMES) + * [SPENDABLE\_TYPE\_NAMES](#brk_client.BrkClient.SPENDABLE_TYPE_NAMES) + * [AGE\_RANGE\_NAMES](#brk_client.BrkClient.AGE_RANGE_NAMES) + * [MAX\_AGE\_NAMES](#brk_client.BrkClient.MAX_AGE_NAMES) + * [MIN\_AGE\_NAMES](#brk_client.BrkClient.MIN_AGE_NAMES) + * [AMOUNT\_RANGE\_NAMES](#brk_client.BrkClient.AMOUNT_RANGE_NAMES) + * [GE\_AMOUNT\_NAMES](#brk_client.BrkClient.GE_AMOUNT_NAMES) + * [LT\_AMOUNT\_NAMES](#brk_client.BrkClient.LT_AMOUNT_NAMES) + * [\_\_init\_\_](#brk_client.BrkClient.__init__) + * [get\_address](#brk_client.BrkClient.get_address) + * [get\_address\_txs](#brk_client.BrkClient.get_address_txs) + * [get\_address\_txs\_chain](#brk_client.BrkClient.get_address_txs_chain) + * [get\_address\_txs\_mempool](#brk_client.BrkClient.get_address_txs_mempool) + * [get\_address\_utxo](#brk_client.BrkClient.get_address_utxo) + * [get\_block\_height](#brk_client.BrkClient.get_block_height) + * [get\_block\_by\_hash](#brk_client.BrkClient.get_block_by_hash) + * [get\_block\_by\_hash\_raw](#brk_client.BrkClient.get_block_by_hash_raw) + * [get\_block\_by\_hash\_status](#brk_client.BrkClient.get_block_by_hash_status) + * [get\_block\_by\_hash\_txid\_by\_index](#brk_client.BrkClient.get_block_by_hash_txid_by_index) + * [get\_block\_by\_hash\_txids](#brk_client.BrkClient.get_block_by_hash_txids) + * [get\_block\_by\_hash\_txs\_by\_start\_index](#brk_client.BrkClient.get_block_by_hash_txs_by_start_index) + * [get\_blocks](#brk_client.BrkClient.get_blocks) + * [get\_blocks\_by\_height](#brk_client.BrkClient.get_blocks_by_height) + * [get\_mempool\_info](#brk_client.BrkClient.get_mempool_info) + * [get\_mempool\_txids](#brk_client.BrkClient.get_mempool_txids) + * [get\_metric](#brk_client.BrkClient.get_metric) + * [get\_metric\_by\_index](#brk_client.BrkClient.get_metric_by_index) + * [get\_metrics\_bulk](#brk_client.BrkClient.get_metrics_bulk) + * [get\_metrics\_catalog](#brk_client.BrkClient.get_metrics_catalog) + * [get\_metrics\_count](#brk_client.BrkClient.get_metrics_count) + * [get\_metrics\_indexes](#brk_client.BrkClient.get_metrics_indexes) + * [get\_metrics\_list](#brk_client.BrkClient.get_metrics_list) + * [get\_metrics\_search\_by\_metric](#brk_client.BrkClient.get_metrics_search_by_metric) + * [get\_tx\_by\_txid](#brk_client.BrkClient.get_tx_by_txid) + * [get\_tx\_by\_txid\_hex](#brk_client.BrkClient.get_tx_by_txid_hex) + * [get\_tx\_by\_txid\_outspend\_by\_vout](#brk_client.BrkClient.get_tx_by_txid_outspend_by_vout) + * [get\_tx\_by\_txid\_outspends](#brk_client.BrkClient.get_tx_by_txid_outspends) + * [get\_tx\_by\_txid\_status](#brk_client.BrkClient.get_tx_by_txid_status) + * [get\_v1\_difficulty\_adjustment](#brk_client.BrkClient.get_v1_difficulty_adjustment) + * [get\_v1\_fees\_mempool\_blocks](#brk_client.BrkClient.get_v1_fees_mempool_blocks) + * [get\_v1\_fees\_recommended](#brk_client.BrkClient.get_v1_fees_recommended) + * [get\_v1\_mining\_blocks\_fees\_by\_time\_period](#brk_client.BrkClient.get_v1_mining_blocks_fees_by_time_period) + * [get\_v1\_mining\_blocks\_rewards\_by\_time\_period](#brk_client.BrkClient.get_v1_mining_blocks_rewards_by_time_period) + * [get\_v1\_mining\_blocks\_sizes\_weights\_by\_time\_period](#brk_client.BrkClient.get_v1_mining_blocks_sizes_weights_by_time_period) + * [get\_v1\_mining\_blocks\_timestamp](#brk_client.BrkClient.get_v1_mining_blocks_timestamp) + * [get\_v1\_mining\_difficulty\_adjustments](#brk_client.BrkClient.get_v1_mining_difficulty_adjustments) + * [get\_v1\_mining\_difficulty\_adjustments\_by\_time\_period](#brk_client.BrkClient.get_v1_mining_difficulty_adjustments_by_time_period) + * [get\_v1\_mining\_hashrate](#brk_client.BrkClient.get_v1_mining_hashrate) + * [get\_v1\_mining\_hashrate\_by\_time\_period](#brk_client.BrkClient.get_v1_mining_hashrate_by_time_period) + * [get\_v1\_mining\_pool\_by\_slug](#brk_client.BrkClient.get_v1_mining_pool_by_slug) + * [get\_v1\_mining\_pools](#brk_client.BrkClient.get_v1_mining_pools) + * [get\_v1\_mining\_pools\_by\_time\_period](#brk_client.BrkClient.get_v1_mining_pools_by_time_period) + * [get\_v1\_mining\_reward\_stats\_by\_block\_count](#brk_client.BrkClient.get_v1_mining_reward_stats_by_block_count) + * [get\_v1\_validate\_address](#brk_client.BrkClient.get_v1_validate_address) + * [get\_health](#brk_client.BrkClient.get_health) + * [get\_version](#brk_client.BrkClient.get_version) + + + +# brk\_client + + + +## BrkError Objects + +```python +class BrkError(Exception) +``` + +Custom error class for BRK client errors. + + + +## MetricData Objects + +```python +class MetricData(TypedDict, Generic[T]) +``` + +Metric data with range information. + + + +## MetricEndpoint Objects + +```python +class MetricEndpoint(Generic[T]) +``` + +An endpoint for a specific metric + index combination. + + + +## BrkClient Objects + +```python +class BrkClient(BrkClientBase) +``` + +Main BRK client with catalog tree and API methods. + + + +#### VERSION + + + +#### INDEXES + + + +#### POOL\_ID\_TO\_POOL\_NAME + + + +#### TERM\_NAMES + + + +#### EPOCH\_NAMES + + + +#### YEAR\_NAMES + + + +#### SPENDABLE\_TYPE\_NAMES + + + +#### AGE\_RANGE\_NAMES + + + +#### MAX\_AGE\_NAMES + + + +#### MIN\_AGE\_NAMES + + + +#### AMOUNT\_RANGE\_NAMES + + + +#### GE\_AMOUNT\_NAMES + + + +#### LT\_AMOUNT\_NAMES + + + +#### \_\_init\_\_ + +```python +def __init__(base_url: str = "http://localhost:3000", timeout: float = 30.0) +``` + + + +#### get\_address + +```python +def get_address(address: Address) -> AddressStats +``` + +Address information. + +Retrieve comprehensive information about a Bitcoin address including balance, transaction history, UTXOs, and estimated investment metrics. Supports all standard Bitcoin address types (P2PKH, P2SH, P2WPKH, P2WSH, P2TR, etc.). + + + +#### get\_address\_txs + +```python +def get_address_txs(address: Address, + after_txid: Optional[str] = None, + limit: Optional[int] = None) -> List[Txid] +``` + +Address transaction IDs. + +Get transaction IDs for an address, newest first. Use after_txid for pagination. + + + +#### get\_address\_txs\_chain + +```python +def get_address_txs_chain(address: Address, + after_txid: Optional[str] = None, + limit: Optional[int] = None) -> List[Txid] +``` + +Address confirmed transactions. + +Get confirmed transaction IDs for an address, 25 per page. Use ?after_txid= for pagination. + + + +#### get\_address\_txs\_mempool + +```python +def get_address_txs_mempool(address: Address) -> List[Txid] +``` + +Address mempool transactions. + +Get unconfirmed transaction IDs for an address from the mempool (up to 50). + + + +#### get\_address\_utxo + +```python +def get_address_utxo(address: Address) -> List[Utxo] +``` + +Address UTXOs. + +Get unspent transaction outputs for an address. + + + +#### get\_block\_height + +```python +def get_block_height(height: Height) -> BlockInfo +``` + +Block by height. + +Retrieve block information by block height. Returns block metadata including hash, timestamp, difficulty, size, weight, and transaction count. + + + +#### get\_block\_by\_hash + +```python +def get_block_by_hash(hash: BlockHash) -> BlockInfo +``` + +Block information. + +Retrieve block information by block hash. Returns block metadata including height, timestamp, difficulty, size, weight, and transaction count. + + + +#### get\_block\_by\_hash\_raw + +```python +def get_block_by_hash_raw(hash: BlockHash) -> List[int] +``` + +Raw block. + +Returns the raw block data in binary format. + + + +#### get\_block\_by\_hash\_status + +```python +def get_block_by_hash_status(hash: BlockHash) -> BlockStatus +``` + +Block status. + +Retrieve the status of a block. Returns whether the block is in the best chain and, if so, its height and the hash of the next block. + + + +#### get\_block\_by\_hash\_txid\_by\_index + +```python +def get_block_by_hash_txid_by_index(hash: BlockHash, index: TxIndex) -> Txid +``` + +Transaction ID at index. + +Retrieve a single transaction ID at a specific index within a block. Returns plain text txid. + + + +#### get\_block\_by\_hash\_txids + +```python +def get_block_by_hash_txids(hash: BlockHash) -> List[Txid] +``` + +Block transaction IDs. + +Retrieve all transaction IDs in a block by block hash. + + + +#### get\_block\_by\_hash\_txs\_by\_start\_index + +```python +def get_block_by_hash_txs_by_start_index( + hash: BlockHash, start_index: TxIndex) -> List[Transaction] +``` + +Block transactions (paginated). + +Retrieve transactions in a block by block hash, starting from the specified index. Returns up to 25 transactions at a time. + + + +#### get\_blocks + +```python +def get_blocks() -> List[BlockInfo] +``` + +Recent blocks. + +Retrieve the last 10 blocks. Returns block metadata for each block. + + + +#### get\_blocks\_by\_height + +```python +def get_blocks_by_height(height: Height) -> List[BlockInfo] +``` + +Blocks from height. + +Retrieve up to 10 blocks going backwards from the given height. For example, height=100 returns blocks 100, 99, 98, ..., 91. Height=0 returns only block 0. + + + +#### get\_mempool\_info + +```python +def get_mempool_info() -> MempoolInfo +``` + +Mempool statistics. + +Get current mempool statistics including transaction count, total vsize, and total fees. + + + +#### get\_mempool\_txids + +```python +def get_mempool_txids() -> List[Txid] +``` + +Mempool transaction IDs. + +Get all transaction IDs currently in the mempool. + + + +#### get\_metric + +```python +def get_metric(metric: Metric) -> List[Index] +``` + +Get supported indexes for a metric. + +Returns the list of indexes are supported by the specified metric. For example, `realized_price` might be available on dateindex, weekindex, and monthindex. + + + +#### get\_metric\_by\_index + +```python +def get_metric_by_index(index: Index, + metric: Metric, + count: Optional[Any] = None, + format: Optional[Format] = None, + from_: Optional[Any] = None, + to: Optional[Any] = None) -> AnyMetricData +``` + +Get metric data. + +Fetch data for a specific metric at the given index. Use query parameters to filter by date range and format (json/csv). + + + +#### get\_metrics\_bulk + +```python +def get_metrics_bulk(index: Index, + metrics: Metrics, + count: Optional[Any] = None, + format: Optional[Format] = None, + from_: Optional[Any] = None, + to: Optional[Any] = None) -> List[AnyMetricData] +``` + +Bulk metric data. + +Fetch multiple metrics in a single request. Supports filtering by index and date range. Returns an array of MetricData objects. + + + +#### get\_metrics\_catalog + +```python +def get_metrics_catalog() -> TreeNode +``` + +Metrics catalog. + +Returns the complete hierarchical catalog of available metrics organized as a tree structure. Metrics are grouped by categories and subcategories. Best viewed in an interactive JSON viewer (e.g., Firefox's built-in JSON viewer) for easy navigation of the nested structure. + + + +#### get\_metrics\_count + +```python +def get_metrics_count() -> List[MetricCount] +``` + +Metric count. + +Current metric count + + + +#### get\_metrics\_indexes + +```python +def get_metrics_indexes() -> List[IndexInfo] +``` + +List available indexes. + +Returns all available indexes with their accepted query aliases. Use any alias when querying metrics. + + + +#### get\_metrics\_list + +```python +def get_metrics_list(page: Optional[Any] = None) -> PaginatedMetrics +``` + +Metrics list. + +Paginated list of available metrics + + + +#### get\_metrics\_search\_by\_metric + +```python +def get_metrics_search_by_metric(metric: Metric, + limit: Optional[Limit] = None + ) -> List[Metric] +``` + +Search metrics. + +Fuzzy search for metrics by name. Supports partial matches and typos. + + + +#### get\_tx\_by\_txid + +```python +def get_tx_by_txid(txid: Txid) -> Transaction +``` + +Transaction information. + +Retrieve complete transaction data by transaction ID (txid). Returns the full transaction details including inputs, outputs, and metadata. The transaction data is read directly from the blockchain data files. + + + +#### get\_tx\_by\_txid\_hex + +```python +def get_tx_by_txid_hex(txid: Txid) -> Hex +``` + +Transaction hex. + +Retrieve the raw transaction as a hex-encoded string. Returns the serialized transaction in hexadecimal format. + + + +#### get\_tx\_by\_txid\_outspend\_by\_vout + +```python +def get_tx_by_txid_outspend_by_vout(txid: Txid, vout: Vout) -> TxOutspend +``` + +Output spend status. + +Get the spending status of a transaction output. Returns whether the output has been spent and, if so, the spending transaction details. + + + +#### get\_tx\_by\_txid\_outspends + +```python +def get_tx_by_txid_outspends(txid: Txid) -> List[TxOutspend] +``` + +All output spend statuses. + +Get the spending status of all outputs in a transaction. Returns an array with the spend status for each output. + + + +#### get\_tx\_by\_txid\_status + +```python +def get_tx_by_txid_status(txid: Txid) -> TxStatus +``` + +Transaction status. + +Retrieve the confirmation status of a transaction. Returns whether the transaction is confirmed and, if so, the block height, hash, and timestamp. + + + +#### get\_v1\_difficulty\_adjustment + +```python +def get_v1_difficulty_adjustment() -> DifficultyAdjustment +``` + +Difficulty adjustment. + +Get current difficulty adjustment information including progress through the current epoch, estimated retarget date, and difficulty change prediction. + + + +#### get\_v1\_fees\_mempool\_blocks + +```python +def get_v1_fees_mempool_blocks() -> List[MempoolBlock] +``` + +Projected mempool blocks. + +Get projected blocks from the mempool for fee estimation. Each block contains statistics about transactions that would be included if a block were mined now. + + + +#### get\_v1\_fees\_recommended + +```python +def get_v1_fees_recommended() -> RecommendedFees +``` + +Recommended fees. + +Get recommended fee rates for different confirmation targets based on current mempool state. + + + +#### get\_v1\_mining\_blocks\_fees\_by\_time\_period + +```python +def get_v1_mining_blocks_fees_by_time_period( + time_period: TimePeriod) -> List[BlockFeesEntry] +``` + +Block fees. + +Get average block fees for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + + + +#### get\_v1\_mining\_blocks\_rewards\_by\_time\_period + +```python +def get_v1_mining_blocks_rewards_by_time_period( + time_period: TimePeriod) -> List[BlockRewardsEntry] +``` + +Block rewards. + +Get average block rewards (coinbase = subsidy + fees) for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + + + +#### get\_v1\_mining\_blocks\_sizes\_weights\_by\_time\_period + +```python +def get_v1_mining_blocks_sizes_weights_by_time_period( + time_period: TimePeriod) -> BlockSizesWeights +``` + +Block sizes and weights. + +Get average block sizes and weights for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + + + +#### get\_v1\_mining\_blocks\_timestamp + +```python +def get_v1_mining_blocks_timestamp(timestamp: Timestamp) -> BlockTimestamp +``` + +Block by timestamp. + +Find the block closest to a given UNIX timestamp. + + + +#### get\_v1\_mining\_difficulty\_adjustments + +```python +def get_v1_mining_difficulty_adjustments() -> List[DifficultyAdjustmentEntry] +``` + +Difficulty adjustments (all time). + +Get historical difficulty adjustments. Returns array of [timestamp, height, difficulty, change_percent]. + + + +#### get\_v1\_mining\_difficulty\_adjustments\_by\_time\_period + +```python +def get_v1_mining_difficulty_adjustments_by_time_period( + time_period: TimePeriod) -> List[DifficultyAdjustmentEntry] +``` + +Difficulty adjustments. + +Get historical difficulty adjustments for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y. Returns array of [timestamp, height, difficulty, change_percent]. + + + +#### get\_v1\_mining\_hashrate + +```python +def get_v1_mining_hashrate() -> HashrateSummary +``` + +Network hashrate (all time). + +Get network hashrate and difficulty data for all time. + + + +#### get\_v1\_mining\_hashrate\_by\_time\_period + +```python +def get_v1_mining_hashrate_by_time_period( + time_period: TimePeriod) -> HashrateSummary +``` + +Network hashrate. + +Get network hashrate and difficulty data for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + + + +#### get\_v1\_mining\_pool\_by\_slug + +```python +def get_v1_mining_pool_by_slug(slug: PoolSlug) -> PoolDetail +``` + +Mining pool details. + +Get detailed information about a specific mining pool including block counts and shares for different time periods. + + + +#### get\_v1\_mining\_pools + +```python +def get_v1_mining_pools() -> List[PoolInfo] +``` + +List all mining pools. + +Get list of all known mining pools with their identifiers. + + + +#### get\_v1\_mining\_pools\_by\_time\_period + +```python +def get_v1_mining_pools_by_time_period( + time_period: TimePeriod) -> PoolsSummary +``` + +Mining pool statistics. + +Get mining pool statistics for a time period. Valid periods: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y, 3y + + + +#### get\_v1\_mining\_reward\_stats\_by\_block\_count + +```python +def get_v1_mining_reward_stats_by_block_count(block_count: int) -> RewardStats +``` + +Mining reward statistics. + +Get mining reward statistics for the last N blocks including total rewards, fees, and transaction count. + + + +#### get\_v1\_validate\_address + +```python +def get_v1_validate_address(address: str) -> AddressValidation +``` + +Validate address. + +Validate a Bitcoin address and get information about its type and scriptPubKey. + + + +#### get\_health + +```python +def get_health() -> Health +``` + +Health check. + +Returns the health status of the API server + + + +#### get\_version + +```python +def get_version() -> str +``` + +API version. + +Returns the current version of the API server + diff --git a/packages/brk_client/README.md b/packages/brk_client/docs/README.md similarity index 87% rename from packages/brk_client/README.md rename to packages/brk_client/docs/README.md index c2f717481..6586cc4e6 100644 --- a/packages/brk_client/README.md +++ b/packages/brk_client/docs/README.md @@ -2,6 +2,8 @@ Python client for the [Bitcoin Research Kit](https://bitcoinresearchkit.org) - a suite of tools to extract, compute and display data stored on a Bitcoin Core node. +[API Documentation](/docs/API.md) + ## Installation ```bash diff --git a/packages/brk_client/pydoc-markdown.yml b/packages/brk_client/pydoc-markdown.yml new file mode 100644 index 000000000..7827503cf --- /dev/null +++ b/packages/brk_client/pydoc-markdown.yml @@ -0,0 +1,13 @@ +loaders: + - type: python + search_path: [.] + modules: [brk_client] + +processors: + - type: filter + expression: name in ('BrkClient', 'BrkError', 'MetricData', 'MetricEndpoint', 'brk_client') or (obj.parent and obj.parent.name == 'BrkClient') + documented_only: false + +renderer: + type: markdown + render_toc: true diff --git a/packages/brk_client/pyproject.toml b/packages/brk_client/pyproject.toml index fb5b5a3a2..5895c2b39 100644 --- a/packages/brk_client/pyproject.toml +++ b/packages/brk_client/pyproject.toml @@ -1,9 +1,9 @@ [project] name = "brk-client" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" description = "Python client for the Bitcoin Research Kit" readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.11" license = "MIT" keywords = ["bitcoin", "blockchain", "analytics", "on-chain"] classifiers = [ @@ -11,8 +11,6 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", @@ -25,9 +23,15 @@ Homepage = "https://bitcoinresearchkit.org" Repository = "https://github.com/bitcoinresearchkit/brk" [dependency-groups] -dev = ["pytest"] +dev = [ + "lazydocs>=0.4.8", + "pydoc-markdown>=4.8.2", + "pytest", +] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" +[tool.ruff.lint] +ignore = ["E701"] diff --git a/packages/brk_client/scripts/publish.sh b/packages/brk_client/scripts/publish.sh new file mode 100755 index 000000000..963a20dad --- /dev/null +++ b/packages/brk_client/scripts/publish.sh @@ -0,0 +1,2 @@ +uv build +uvx uv-publish diff --git a/packages/brk_client/tests/basic.py b/packages/brk_client/tests/basic.py new file mode 100644 index 000000000..84e7e032d --- /dev/null +++ b/packages/brk_client/tests/basic.py @@ -0,0 +1,47 @@ +from __future__ import print_function + +from brk_client import BrkClient + + +def test_client_creation(): + client = BrkClient("http://localhost:3110") + assert client.base_url == "http://localhost:3110" + + +def test_tree_exists(): + client = BrkClient("http://localhost:3110") + assert hasattr(client, "tree") + assert hasattr(client.tree, "price") + assert hasattr(client.tree, "blocks") + + +def test_fetch_block(): + client = BrkClient("http://localhost:3110") + print(client.get_block_height(800000)) + + +def test_fetch_any_metric(): + client = BrkClient("http://localhost:3110") + print(client.get_metric_by_index("dateindex", "price_close")) + + +def test_fetch_typed_metric(): + client = BrkClient("http://localhost:3110") + a = client.tree.constants.constant_0.by.dateindex().range(-10) + print(a) + b = client.tree.outputs.count.utxo_count.by.height().range(-10) + print(b) + c = client.tree.price.usd.split.close.by.dateindex().range(-10) + print(c) + d = client.tree.market.dca.period_lump_sum_stack._10y.dollars.by.dateindex().range( + -10 + ) + print(d) + e = client.tree.market.dca.class_average_price._2017.by.dateindex().range(-10) + print(e) + f = client.tree.distribution.address_cohorts.amount_range._10k_sats_to_100k_sats.activity.sent.dollars.cumulative.by.dateindex().range( + -10 + ) + print(f) + g = client.tree.price.usd.ohlc.by.dateindex().range(-10) + print(g) diff --git a/packages/brk_client/tests/test_client.py b/packages/brk_client/tests/test_client.py deleted file mode 100644 index d6659b846..000000000 --- a/packages/brk_client/tests/test_client.py +++ /dev/null @@ -1,21 +0,0 @@ -from __future__ import print_function - -from brk_client import VERSION, BrkClient - - -def test_version(): - assert VERSION.startswith("v") - - -def test_client_creation(): - client = BrkClient("http://localhost:3110") - assert client.base_url == "http://localhost:3110" - - -def test_tree_exists(): - client = BrkClient("http://localhost:3110") - print(client.get_api_block_height_by_height(800000)) - print(client.get_api_metric_by_metric_by_index("price_close", "dateindex")) - assert hasattr(client, "tree") - assert hasattr(client.tree, "computed") - assert hasattr(client.tree, "indexed") diff --git a/packages/brk_client/tests/tree.py b/packages/brk_client/tests/tree.py new file mode 100644 index 000000000..1f01fcf49 --- /dev/null +++ b/packages/brk_client/tests/tree.py @@ -0,0 +1,89 @@ +"""Comprehensive test that fetches all endpoints in the tree.""" + +from brk_client import BrkClient + + +def get_all_metrics(obj, path=""): + """Recursively collect all MetricPattern instances from the tree.""" + metrics = [] + + for attr_name in dir(obj): + if attr_name.startswith("_"): + continue + + try: + attr = getattr(obj, attr_name) + except Exception: + continue + + current_path = f"{path}.{attr_name}" if path else attr_name + + # Check if this is a metric pattern (has 'by' attribute with index methods) + if hasattr(attr, "by"): + by = attr.by + indexes = [] + for idx_name in dir(by): + if not idx_name.startswith("_") and callable( + getattr(by, idx_name, None) + ): + indexes.append(idx_name) + if indexes: + metrics.append((current_path, attr, indexes)) + + # Recurse into nested tree nodes + if hasattr(attr, "__dict__") and not callable(attr): + metrics.extend(get_all_metrics(attr, current_path)) + + return metrics + + +def test_all_endpoints(): + """Test fetching last 3 values from all metric endpoints.""" + client = BrkClient("http://localhost:3110") + + metrics = get_all_metrics(client.tree) + print(f"\nFound {len(metrics)} metrics") + + success = 0 + failed = 0 + errors = [] + + for path, metric, indexes in metrics: + for idx_name in indexes: + try: + by = metric.by + endpoint = getattr(by, idx_name)() + res = endpoint.range(-3) + count = len(res["data"]) + if count != 3: + failed += 1 + error_msg = ( + f"FAIL: {path}.by.{idx_name}() -> expected 3, got {count}" + ) + errors.append(error_msg) + print(error_msg) + else: + success += 1 + print(f"OK: {path}.by.{idx_name}() -> {count} items") + except Exception as e: + failed += 1 + error_msg = f"FAIL: {path}.by.{idx_name}() -> {e}" + errors.append(error_msg) + print(error_msg) + + print("\n=== Results ===") + print(f"Success: {success}") + print(f"Failed: {failed}") + + if errors: + print("\nErrors:") + for err in errors[:10]: # Show first 10 errors + print(f" {err}") + if len(errors) > 10: + print(f" ... and {len(errors) - 10} more") + + assert failed == 0, f"{failed} endpoints failed" + + +if __name__ == "__main__": + test_all_endpoints() diff --git a/packages/brk_client/uv.lock b/packages/brk_client/uv.lock index 5b1712d40..1647576b3 100644 --- a/packages/brk_client/uv.lock +++ b/packages/brk_client/uv.lock @@ -1,17 +1,12 @@ version = 1 revision = 3 -requires-python = ">=3.9" -resolution-markers = [ - "python_full_version >= '3.10'", - "python_full_version < '3.10'", -] +requires-python = ">=3.12" [[package]] name = "anyio" version = "4.12.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, { name = "idna" }, { name = "typing-extensions", marker = "python_full_version < '3.13'" }, ] @@ -20,9 +15,29 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/7f/9c/36c5c37947ebfb8c7f22e0eb6e4d188ee2d53aa3880f3f2744fb894f0cb1/anyio-4.12.0-py3-none-any.whl", hash = "sha256:dad2376a628f98eeca4881fc56cd06affd18f659b17a747d3ff0307ced94b1bb", size = 113362, upload-time = "2025-11-28T23:36:57.897Z" }, ] +[[package]] +name = "black" +version = "23.12.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "mypy-extensions" }, + { name = "packaging" }, + { name = "pathspec" }, + { name = "platformdirs" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/fd/f4/a57cde4b60da0e249073009f4a9087e9e0a955deae78d3c2a493208d0c5c/black-23.12.1.tar.gz", hash = "sha256:4ce3ef14ebe8d9509188014d96af1c456a910d5b5cbf434a09fef7e024b3d0d5", size = 620809, upload-time = "2023-12-22T23:06:17.382Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/66/16/8726cedc83be841dfa854bbeef1288ee82272282a71048d7935292182b0b/black-23.12.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:25e57fd232a6d6ff3f4478a6fd0580838e47c93c83eaf1ccc92d4faf27112c4e", size = 1569989, upload-time = "2023-12-22T23:20:22.158Z" }, + { url = "https://files.pythonhosted.org/packages/d2/1e/30f5eafcc41b8378890ba39b693fa111f7dca8a2620ba5162075d95ffe46/black-23.12.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2d9e13db441c509a3763a7a3d9a49ccc1b4e974a47be4e08ade2a228876500ec", size = 1398647, upload-time = "2023-12-22T23:19:57.225Z" }, + { url = "https://files.pythonhosted.org/packages/99/de/ddb45cc044256431d96d846ce03164d149d81ca606b5172224d1872e0b58/black-23.12.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6d1bd9c210f8b109b1762ec9fd36592fdd528485aadb3f5849b2740ef17e674e", size = 1720450, upload-time = "2023-12-22T23:08:52.675Z" }, + { url = "https://files.pythonhosted.org/packages/98/2b/54e5dbe9be5a10cbea2259517206ff7b6a452bb34e07508c7e1395950833/black-23.12.1-cp312-cp312-win_amd64.whl", hash = "sha256:ae76c22bde5cbb6bfd211ec343ded2163bba7883c7bc77f6b756a1049436fbb9", size = 1351070, upload-time = "2023-12-22T23:09:32.762Z" }, + { url = "https://files.pythonhosted.org/packages/7b/14/4da7b12a9abc43a601c215cb5a3d176734578da109f0dbf0a832ed78be09/black-23.12.1-py3-none-any.whl", hash = "sha256:78baad24af0f033958cad29731e27363183e140962595def56423e626f4bee3e", size = 194363, upload-time = "2023-12-22T23:06:14.278Z" }, +] + [[package]] name = "brk-client" -version = "0.1.0a1" +version = "0.1.0a2" source = { editable = "." } dependencies = [ { name = "httpx" }, @@ -30,15 +45,20 @@ dependencies = [ [package.dev-dependencies] dev = [ - { name = "pytest", version = "8.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, - { name = "pytest", version = "9.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "lazydocs" }, + { name = "pydoc-markdown" }, + { name = "pytest" }, ] [package.metadata] requires-dist = [{ name = "httpx", specifier = ">=0.25.0" }] [package.metadata.requires-dev] -dev = [{ name = "pytest" }] +dev = [ + { name = "lazydocs", specifier = ">=0.4.8" }, + { name = "pydoc-markdown", specifier = ">=4.8.2" }, + { name = "pytest" }, +] [[package]] name = "certifi" @@ -49,6 +69,75 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/70/7d/9bc192684cea499815ff478dfcdc13835ddf401365057044fb721ec6bddb/certifi-2025.11.12-py3-none-any.whl", hash = "sha256:97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b", size = 159438, upload-time = "2025-11-12T02:54:49.735Z" }, ] +[[package]] +name = "charset-normalizer" +version = "3.4.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062/charset_normalizer-3.4.4.tar.gz", hash = "sha256:94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a", size = 129418, upload-time = "2025-10-14T04:42:32.879Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f3/85/1637cd4af66fa687396e757dec650f28025f2a2f5a5531a3208dc0ec43f2/charset_normalizer-3.4.4-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0a98e6759f854bd25a58a73fa88833fba3b7c491169f86ce1180c948ab3fd394", size = 208425, upload-time = "2025-10-14T04:40:53.353Z" }, + { url = "https://files.pythonhosted.org/packages/9d/6a/04130023fef2a0d9c62d0bae2649b69f7b7d8d24ea5536feef50551029df/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b5b290ccc2a263e8d185130284f8501e3e36c5e02750fc6b6bdeb2e9e96f1e25", size = 148162, upload-time = "2025-10-14T04:40:54.558Z" }, + { url = "https://files.pythonhosted.org/packages/78/29/62328d79aa60da22c9e0b9a66539feae06ca0f5a4171ac4f7dc285b83688/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:74bb723680f9f7a6234dcf67aea57e708ec1fbdf5699fb91dfd6f511b0a320ef", size = 144558, upload-time = "2025-10-14T04:40:55.677Z" }, + { url = "https://files.pythonhosted.org/packages/86/bb/b32194a4bf15b88403537c2e120b817c61cd4ecffa9b6876e941c3ee38fe/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f1e34719c6ed0b92f418c7c780480b26b5d9c50349e9a9af7d76bf757530350d", size = 161497, upload-time = "2025-10-14T04:40:57.217Z" }, + { url = "https://files.pythonhosted.org/packages/19/89/a54c82b253d5b9b111dc74aca196ba5ccfcca8242d0fb64146d4d3183ff1/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2437418e20515acec67d86e12bf70056a33abdacb5cb1655042f6538d6b085a8", size = 159240, upload-time = "2025-10-14T04:40:58.358Z" }, + { url = "https://files.pythonhosted.org/packages/c0/10/d20b513afe03acc89ec33948320a5544d31f21b05368436d580dec4e234d/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:11d694519d7f29d6cd09f6ac70028dba10f92f6cdd059096db198c283794ac86", size = 153471, upload-time = "2025-10-14T04:40:59.468Z" }, + { url = "https://files.pythonhosted.org/packages/61/fa/fbf177b55bdd727010f9c0a3c49eefa1d10f960e5f09d1d887bf93c2e698/charset_normalizer-3.4.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ac1c4a689edcc530fc9d9aa11f5774b9e2f33f9a0c6a57864e90908f5208d30a", size = 150864, upload-time = "2025-10-14T04:41:00.623Z" }, + { url = "https://files.pythonhosted.org/packages/05/12/9fbc6a4d39c0198adeebbde20b619790e9236557ca59fc40e0e3cebe6f40/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:21d142cc6c0ec30d2efee5068ca36c128a30b0f2c53c1c07bd78cb6bc1d3be5f", size = 150647, upload-time = "2025-10-14T04:41:01.754Z" }, + { url = "https://files.pythonhosted.org/packages/ad/1f/6a9a593d52e3e8c5d2b167daf8c6b968808efb57ef4c210acb907c365bc4/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:5dbe56a36425d26d6cfb40ce79c314a2e4dd6211d51d6d2191c00bed34f354cc", size = 145110, upload-time = "2025-10-14T04:41:03.231Z" }, + { url = "https://files.pythonhosted.org/packages/30/42/9a52c609e72471b0fc54386dc63c3781a387bb4fe61c20231a4ebcd58bdd/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:5bfbb1b9acf3334612667b61bd3002196fe2a1eb4dd74d247e0f2a4d50ec9bbf", size = 162839, upload-time = "2025-10-14T04:41:04.715Z" }, + { url = "https://files.pythonhosted.org/packages/c4/5b/c0682bbf9f11597073052628ddd38344a3d673fda35a36773f7d19344b23/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d055ec1e26e441f6187acf818b73564e6e6282709e9bcb5b63f5b23068356a15", size = 150667, upload-time = "2025-10-14T04:41:05.827Z" }, + { url = "https://files.pythonhosted.org/packages/e4/24/a41afeab6f990cf2daf6cb8c67419b63b48cf518e4f56022230840c9bfb2/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:af2d8c67d8e573d6de5bc30cdb27e9b95e49115cd9baad5ddbd1a6207aaa82a9", size = 160535, upload-time = "2025-10-14T04:41:06.938Z" }, + { url = "https://files.pythonhosted.org/packages/2a/e5/6a4ce77ed243c4a50a1fecca6aaaab419628c818a49434be428fe24c9957/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:780236ac706e66881f3b7f2f32dfe90507a09e67d1d454c762cf642e6e1586e0", size = 154816, upload-time = "2025-10-14T04:41:08.101Z" }, + { url = "https://files.pythonhosted.org/packages/a8/ef/89297262b8092b312d29cdb2517cb1237e51db8ecef2e9af5edbe7b683b1/charset_normalizer-3.4.4-cp312-cp312-win32.whl", hash = "sha256:5833d2c39d8896e4e19b689ffc198f08ea58116bee26dea51e362ecc7cd3ed26", size = 99694, upload-time = "2025-10-14T04:41:09.23Z" }, + { url = "https://files.pythonhosted.org/packages/3d/2d/1e5ed9dd3b3803994c155cd9aacb60c82c331bad84daf75bcb9c91b3295e/charset_normalizer-3.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:a79cfe37875f822425b89a82333404539ae63dbdddf97f84dcbc3d339aae9525", size = 107131, upload-time = "2025-10-14T04:41:10.467Z" }, + { url = "https://files.pythonhosted.org/packages/d0/d9/0ed4c7098a861482a7b6a95603edce4c0d9db2311af23da1fb2b75ec26fc/charset_normalizer-3.4.4-cp312-cp312-win_arm64.whl", hash = "sha256:376bec83a63b8021bb5c8ea75e21c4ccb86e7e45ca4eb81146091b56599b80c3", size = 100390, upload-time = "2025-10-14T04:41:11.915Z" }, + { url = "https://files.pythonhosted.org/packages/97/45/4b3a1239bbacd321068ea6e7ac28875b03ab8bc0aa0966452db17cd36714/charset_normalizer-3.4.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:e1f185f86a6f3403aa2420e815904c67b2f9ebc443f045edd0de921108345794", size = 208091, upload-time = "2025-10-14T04:41:13.346Z" }, + { url = "https://files.pythonhosted.org/packages/7d/62/73a6d7450829655a35bb88a88fca7d736f9882a27eacdca2c6d505b57e2e/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b39f987ae8ccdf0d2642338faf2abb1862340facc796048b604ef14919e55ed", size = 147936, upload-time = "2025-10-14T04:41:14.461Z" }, + { url = "https://files.pythonhosted.org/packages/89/c5/adb8c8b3d6625bef6d88b251bbb0d95f8205831b987631ab0c8bb5d937c2/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3162d5d8ce1bb98dd51af660f2121c55d0fa541b46dff7bb9b9f86ea1d87de72", size = 144180, upload-time = "2025-10-14T04:41:15.588Z" }, + { url = "https://files.pythonhosted.org/packages/91/ed/9706e4070682d1cc219050b6048bfd293ccf67b3d4f5a4f39207453d4b99/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:81d5eb2a312700f4ecaa977a8235b634ce853200e828fbadf3a9c50bab278328", size = 161346, upload-time = "2025-10-14T04:41:16.738Z" }, + { url = "https://files.pythonhosted.org/packages/d5/0d/031f0d95e4972901a2f6f09ef055751805ff541511dc1252ba3ca1f80cf5/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5bd2293095d766545ec1a8f612559f6b40abc0eb18bb2f5d1171872d34036ede", size = 158874, upload-time = "2025-10-14T04:41:17.923Z" }, + { url = "https://files.pythonhosted.org/packages/f5/83/6ab5883f57c9c801ce5e5677242328aa45592be8a00644310a008d04f922/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a8a8b89589086a25749f471e6a900d3f662d1d3b6e2e59dcecf787b1cc3a1894", size = 153076, upload-time = "2025-10-14T04:41:19.106Z" }, + { url = "https://files.pythonhosted.org/packages/75/1e/5ff781ddf5260e387d6419959ee89ef13878229732732ee73cdae01800f2/charset_normalizer-3.4.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:bc7637e2f80d8530ee4a78e878bce464f70087ce73cf7c1caf142416923b98f1", size = 150601, upload-time = "2025-10-14T04:41:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/d7/57/71be810965493d3510a6ca79b90c19e48696fb1ff964da319334b12677f0/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f8bf04158c6b607d747e93949aa60618b61312fe647a6369f88ce2ff16043490", size = 150376, upload-time = "2025-10-14T04:41:21.398Z" }, + { url = "https://files.pythonhosted.org/packages/e5/d5/c3d057a78c181d007014feb7e9f2e65905a6c4ef182c0ddf0de2924edd65/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:554af85e960429cf30784dd47447d5125aaa3b99a6f0683589dbd27e2f45da44", size = 144825, upload-time = "2025-10-14T04:41:22.583Z" }, + { url = "https://files.pythonhosted.org/packages/e6/8c/d0406294828d4976f275ffbe66f00266c4b3136b7506941d87c00cab5272/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:74018750915ee7ad843a774364e13a3db91682f26142baddf775342c3f5b1133", size = 162583, upload-time = "2025-10-14T04:41:23.754Z" }, + { url = "https://files.pythonhosted.org/packages/d7/24/e2aa1f18c8f15c4c0e932d9287b8609dd30ad56dbe41d926bd846e22fb8d/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:c0463276121fdee9c49b98908b3a89c39be45d86d1dbaa22957e38f6321d4ce3", size = 150366, upload-time = "2025-10-14T04:41:25.27Z" }, + { url = "https://files.pythonhosted.org/packages/e4/5b/1e6160c7739aad1e2df054300cc618b06bf784a7a164b0f238360721ab86/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:362d61fd13843997c1c446760ef36f240cf81d3ebf74ac62652aebaf7838561e", size = 160300, upload-time = "2025-10-14T04:41:26.725Z" }, + { url = "https://files.pythonhosted.org/packages/7a/10/f882167cd207fbdd743e55534d5d9620e095089d176d55cb22d5322f2afd/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9a26f18905b8dd5d685d6d07b0cdf98a79f3c7a918906af7cc143ea2e164c8bc", size = 154465, upload-time = "2025-10-14T04:41:28.322Z" }, + { url = "https://files.pythonhosted.org/packages/89/66/c7a9e1b7429be72123441bfdbaf2bc13faab3f90b933f664db506dea5915/charset_normalizer-3.4.4-cp313-cp313-win32.whl", hash = "sha256:9b35f4c90079ff2e2edc5b26c0c77925e5d2d255c42c74fdb70fb49b172726ac", size = 99404, upload-time = "2025-10-14T04:41:29.95Z" }, + { url = "https://files.pythonhosted.org/packages/c4/26/b9924fa27db384bdcd97ab83b4f0a8058d96ad9626ead570674d5e737d90/charset_normalizer-3.4.4-cp313-cp313-win_amd64.whl", hash = "sha256:b435cba5f4f750aa6c0a0d92c541fb79f69a387c91e61f1795227e4ed9cece14", size = 107092, upload-time = "2025-10-14T04:41:31.188Z" }, + { url = "https://files.pythonhosted.org/packages/af/8f/3ed4bfa0c0c72a7ca17f0380cd9e4dd842b09f664e780c13cff1dcf2ef1b/charset_normalizer-3.4.4-cp313-cp313-win_arm64.whl", hash = "sha256:542d2cee80be6f80247095cc36c418f7bddd14f4a6de45af91dfad36d817bba2", size = 100408, upload-time = "2025-10-14T04:41:32.624Z" }, + { url = "https://files.pythonhosted.org/packages/2a/35/7051599bd493e62411d6ede36fd5af83a38f37c4767b92884df7301db25d/charset_normalizer-3.4.4-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:da3326d9e65ef63a817ecbcc0df6e94463713b754fe293eaa03da99befb9a5bd", size = 207746, upload-time = "2025-10-14T04:41:33.773Z" }, + { url = "https://files.pythonhosted.org/packages/10/9a/97c8d48ef10d6cd4fcead2415523221624bf58bcf68a802721a6bc807c8f/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8af65f14dc14a79b924524b1e7fffe304517b2bff5a58bf64f30b98bbc5079eb", size = 147889, upload-time = "2025-10-14T04:41:34.897Z" }, + { url = "https://files.pythonhosted.org/packages/10/bf/979224a919a1b606c82bd2c5fa49b5c6d5727aa47b4312bb27b1734f53cd/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:74664978bb272435107de04e36db5a9735e78232b85b77d45cfb38f758efd33e", size = 143641, upload-time = "2025-10-14T04:41:36.116Z" }, + { url = "https://files.pythonhosted.org/packages/ba/33/0ad65587441fc730dc7bd90e9716b30b4702dc7b617e6ba4997dc8651495/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:752944c7ffbfdd10c074dc58ec2d5a8a4cd9493b314d367c14d24c17684ddd14", size = 160779, upload-time = "2025-10-14T04:41:37.229Z" }, + { url = "https://files.pythonhosted.org/packages/67/ed/331d6b249259ee71ddea93f6f2f0a56cfebd46938bde6fcc6f7b9a3d0e09/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d1f13550535ad8cff21b8d757a3257963e951d96e20ec82ab44bc64aeb62a191", size = 159035, upload-time = "2025-10-14T04:41:38.368Z" }, + { url = "https://files.pythonhosted.org/packages/67/ff/f6b948ca32e4f2a4576aa129d8bed61f2e0543bf9f5f2b7fc3758ed005c9/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ecaae4149d99b1c9e7b88bb03e3221956f68fd6d50be2ef061b2381b61d20838", size = 152542, upload-time = "2025-10-14T04:41:39.862Z" }, + { url = "https://files.pythonhosted.org/packages/16/85/276033dcbcc369eb176594de22728541a925b2632f9716428c851b149e83/charset_normalizer-3.4.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cb6254dc36b47a990e59e1068afacdcd02958bdcce30bb50cc1700a8b9d624a6", size = 149524, upload-time = "2025-10-14T04:41:41.319Z" }, + { url = "https://files.pythonhosted.org/packages/9e/f2/6a2a1f722b6aba37050e626530a46a68f74e63683947a8acff92569f979a/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c8ae8a0f02f57a6e61203a31428fa1d677cbe50c93622b4149d5c0f319c1d19e", size = 150395, upload-time = "2025-10-14T04:41:42.539Z" }, + { url = "https://files.pythonhosted.org/packages/60/bb/2186cb2f2bbaea6338cad15ce23a67f9b0672929744381e28b0592676824/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:47cc91b2f4dd2833fddaedd2893006b0106129d4b94fdb6af1f4ce5a9965577c", size = 143680, upload-time = "2025-10-14T04:41:43.661Z" }, + { url = "https://files.pythonhosted.org/packages/7d/a5/bf6f13b772fbb2a90360eb620d52ed8f796f3c5caee8398c3b2eb7b1c60d/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:82004af6c302b5d3ab2cfc4cc5f29db16123b1a8417f2e25f9066f91d4411090", size = 162045, upload-time = "2025-10-14T04:41:44.821Z" }, + { url = "https://files.pythonhosted.org/packages/df/c5/d1be898bf0dc3ef9030c3825e5d3b83f2c528d207d246cbabe245966808d/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:2b7d8f6c26245217bd2ad053761201e9f9680f8ce52f0fcd8d0755aeae5b2152", size = 149687, upload-time = "2025-10-14T04:41:46.442Z" }, + { url = "https://files.pythonhosted.org/packages/a5/42/90c1f7b9341eef50c8a1cb3f098ac43b0508413f33affd762855f67a410e/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:799a7a5e4fb2d5898c60b640fd4981d6a25f1c11790935a44ce38c54e985f828", size = 160014, upload-time = "2025-10-14T04:41:47.631Z" }, + { url = "https://files.pythonhosted.org/packages/76/be/4d3ee471e8145d12795ab655ece37baed0929462a86e72372fd25859047c/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:99ae2cffebb06e6c22bdc25801d7b30f503cc87dbd283479e7b606f70aff57ec", size = 154044, upload-time = "2025-10-14T04:41:48.81Z" }, + { url = "https://files.pythonhosted.org/packages/b0/6f/8f7af07237c34a1defe7defc565a9bc1807762f672c0fde711a4b22bf9c0/charset_normalizer-3.4.4-cp314-cp314-win32.whl", hash = "sha256:f9d332f8c2a2fcbffe1378594431458ddbef721c1769d78e2cbc06280d8155f9", size = 99940, upload-time = "2025-10-14T04:41:49.946Z" }, + { url = "https://files.pythonhosted.org/packages/4b/51/8ade005e5ca5b0d80fb4aff72a3775b325bdc3d27408c8113811a7cbe640/charset_normalizer-3.4.4-cp314-cp314-win_amd64.whl", hash = "sha256:8a6562c3700cce886c5be75ade4a5db4214fda19fede41d9792d100288d8f94c", size = 107104, upload-time = "2025-10-14T04:41:51.051Z" }, + { url = "https://files.pythonhosted.org/packages/da/5f/6b8f83a55bb8278772c5ae54a577f3099025f9ade59d0136ac24a0df4bde/charset_normalizer-3.4.4-cp314-cp314-win_arm64.whl", hash = "sha256:de00632ca48df9daf77a2c65a484531649261ec9f25489917f09e455cb09ddb2", size = 100743, upload-time = "2025-10-14T04:41:52.122Z" }, + { url = "https://files.pythonhosted.org/packages/0a/4c/925909008ed5a988ccbb72dcc897407e5d6d3bd72410d69e051fc0c14647/charset_normalizer-3.4.4-py3-none-any.whl", hash = "sha256:7a32c560861a02ff789ad905a2fe94e3f840803362c84fecf1851cb4cf3dc37f", size = 53402, upload-time = "2025-10-14T04:42:31.76Z" }, +] + +[[package]] +name = "click" +version = "8.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3d/fa/656b739db8587d7b5dfa22e22ed02566950fbfbcdc20311993483657a5c0/click-8.3.1.tar.gz", hash = "sha256:12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a", size = 295065, upload-time = "2025-11-15T20:45:42.706Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/98/78/01c019cdb5d6498122777c1a43056ebb3ebfeef2076d9d026bfe15583b2b/click-8.3.1-py3-none-any.whl", hash = "sha256:981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6", size = 108274, upload-time = "2025-11-15T20:45:41.139Z" }, +] + [[package]] name = "colorama" version = "0.4.6" @@ -59,17 +148,91 @@ wheels = [ ] [[package]] -name = "exceptiongroup" +name = "databind" +version = "4.5.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "deprecated" }, + { name = "nr-date" }, + { name = "nr-stream" }, + { name = "typeapi" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0c/b8/a6beffa3dd3d7898003d32b3ff5dc0be422c54efed5e0e3f85e92c65c2b2/databind-4.5.2.tar.gz", hash = "sha256:0a8aa0ff130a0306581c559388f5ef65e0fae7ef4b86412eacb1f4a0420006c4", size = 43001, upload-time = "2024-05-31T15:29:07.728Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/5b/39577d7629da11765786f45a37dccdf7f420038f6040325fe1ca40f52a93/databind-4.5.2-py3-none-any.whl", hash = "sha256:b9c3a03c0414aa4567f095d7218ac904bd2b267b58e3763dac28e83d64b69770", size = 49283, upload-time = "2024-05-31T15:29:00.026Z" }, +] + +[[package]] +name = "databind-core" +version = "4.5.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "databind" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e9/78/d05b13cc6aee2e84a3253c193e8dd2487c89ca80b9ecf63721e41cce4b78/databind.core-4.5.2.tar.gz", hash = "sha256:b8ac8127bc5d6b239a2a81aeddb268b0c4cadd53fbce7e8b2c7a9ef6413bccb3", size = 1485, upload-time = "2024-05-31T15:29:09.625Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/54/eed2d15f7e1465a7a5a00958c0c926d153201c6cf37a5012d9012005bd8b/databind.core-4.5.2-py3-none-any.whl", hash = "sha256:a1dd1c6bd8ca9907d1292d8df9ec763ce91543e27f7eda4268e4a1a84fcd1c42", size = 1477, upload-time = "2024-05-31T15:29:02.264Z" }, +] + +[[package]] +name = "databind-json" +version = "4.5.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "databind" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/14/15/77a84f4b552365119dcc03076daeb0e1e0167b337ec7fbdfabe722f2d5e8/databind.json-4.5.2.tar.gz", hash = "sha256:6cc9b5c6fddaebd49b2433932948eb3be8a41633b90aa37998d7922504b8f165", size = 1466, upload-time = "2024-05-31T15:29:11.626Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/46/0f/a2f53f5e7be49bfa98dcb4e552382a6dc8c74ea74e755723654b85062316/databind.json-4.5.2-py3-none-any.whl", hash = "sha256:a803bf440634685984361cb2a5a975887e487c854ed48d81ff7aaf3a1ed1e94c", size = 1473, upload-time = "2024-05-31T15:29:05.857Z" }, +] + +[[package]] +name = "deprecated" version = "1.3.1" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "typing-extensions", marker = "python_full_version < '3.13'" }, + { name = "wrapt" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" } +sdist = { url = "https://files.pythonhosted.org/packages/49/85/12f0a49a7c4ffb70572b6c2ef13c90c88fd190debda93b23f026b25f9634/deprecated-1.3.1.tar.gz", hash = "sha256:b1b50e0ff0c1fddaa5708a2c6b0a6588bb09b892825ab2b214ac9ea9d92a5223", size = 2932523, upload-time = "2025-10-30T08:19:02.757Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/8a/0e/97c33bf5009bdbac74fd2beace167cab3f978feb69cc36f1ef79360d6c4e/exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598", size = 16740, upload-time = "2025-11-21T23:01:53.443Z" }, + { url = "https://files.pythonhosted.org/packages/84/d0/205d54408c08b13550c733c4b85429e7ead111c7f0014309637425520a9a/deprecated-1.3.1-py2.py3-none-any.whl", hash = "sha256:597bfef186b6f60181535a29fbe44865ce137a5079f295b479886c82729d5f3f", size = 11298, upload-time = "2025-10-30T08:19:00.758Z" }, ] +[[package]] +name = "docspec" +version = "2.2.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "databind-core" }, + { name = "databind-json" }, + { name = "deprecated" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8b/fe/1ad244d0ca186b5386050ec30dfd59bd3dbeea5baec33ca861dd43b922e6/docspec-2.2.2.tar.gz", hash = "sha256:c772c6facfce839176b647701082c7a22b3d22d872d392552cf5d65e0348c919", size = 14086, upload-time = "2025-05-06T12:39:59.466Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/38/57/1011f2e88743a818cced9a95d54200ba6a05decaf43fd91d8c6ed9f6470d/docspec-2.2.2-py3-none-any.whl", hash = "sha256:854d25401e7ec2d155b0c1e001e25819d16b6df3a7575212a7f340ae8b00122e", size = 9726, upload-time = "2025-05-06T12:39:58.047Z" }, +] + +[[package]] +name = "docspec-python" +version = "2.2.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "black" }, + { name = "docspec" }, + { name = "nr-util" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/52/88/99c5e27a894f01290364563c84838cf68f1a8629474b5bbfc3bf35a8d923/docspec_python-2.2.1.tar.gz", hash = "sha256:c41b850b4d6f4de30999ea6f82c9cdb9183d9bcba45559ee9173d3dab7281559", size = 13838, upload-time = "2023-05-28T11:24:19.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/49/b8d1a2fa01b6f7a1a9daa1d485efc7684489028d6a356fc2bc5b40131061/docspec_python-2.2.1-py3-none-any.whl", hash = "sha256:76ac41d35a8face35b2d766c2e8a416fb8832359785d396f0d53bcb00f178e54", size = 16093, upload-time = "2023-05-28T11:24:17.261Z" }, +] + +[[package]] +name = "docstring-parser" +version = "0.11" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/ce/5d6a3782b9f88097ce3e579265015db3372ae78d12f67629b863a9208c96/docstring_parser-0.11.tar.gz", hash = "sha256:93b3f8f481c7d24e37c5d9f30293c89e2933fa209421c8abd731dd3ef0715ecb", size = 22775, upload-time = "2021-09-30T07:44:10.288Z" } + [[package]] name = "h11" version = "0.16.0" @@ -116,30 +279,163 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" }, ] -[[package]] -name = "iniconfig" -version = "2.1.0" -source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version < '3.10'", -] -sdist = { url = "https://files.pythonhosted.org/packages/f2/97/ebf4da567aa6827c909642694d71c9fcf53e5b504f2d96afea02718862f3/iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7", size = 4793, upload-time = "2025-03-19T20:09:59.721Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050, upload-time = "2025-03-19T20:10:01.071Z" }, -] - [[package]] name = "iniconfig" version = "2.3.0" source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version >= '3.10'", -] sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, ] +[[package]] +name = "jinja2" +version = "3.1.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" }, +] + +[[package]] +name = "lazydocs" +version = "0.4.8" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typer" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/10/d2/ff630536151c8f5aaf03aebbc963f570dc9f2af0b3f35c11774e0c4c75af/lazydocs-0.4.8.tar.gz", hash = "sha256:8ac1fda05f03e0c5ae1d30b81eaeb785476efa161194a5e8bfa8630e14af9562", size = 23218, upload-time = "2021-07-27T08:05:43.759Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/96/9e/6b8b057eb511ea904a4fd6a835fee0a87ccb08edd64026e783a3ee6bb8c5/lazydocs-0.4.8-py3-none-any.whl", hash = "sha256:cebdce88c8e01ae19c63da77fc25a16abd6f7a7055930001644703643e608fed", size = 17611, upload-time = "2021-07-27T08:05:42.386Z" }, +] + +[[package]] +name = "markdown-it-py" +version = "4.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mdurl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3", size = 73070, upload-time = "2025-08-11T12:57:52.854Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147", size = 87321, upload-time = "2025-08-11T12:57:51.923Z" }, +] + +[[package]] +name = "markupsafe" +version = "3.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313, upload-time = "2025-09-27T18:37:40.426Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5a/72/147da192e38635ada20e0a2e1a51cf8823d2119ce8883f7053879c2199b5/markupsafe-3.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e", size = 11615, upload-time = "2025-09-27T18:36:30.854Z" }, + { url = "https://files.pythonhosted.org/packages/9a/81/7e4e08678a1f98521201c3079f77db69fb552acd56067661f8c2f534a718/markupsafe-3.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce", size = 12020, upload-time = "2025-09-27T18:36:31.971Z" }, + { url = "https://files.pythonhosted.org/packages/1e/2c/799f4742efc39633a1b54a92eec4082e4f815314869865d876824c257c1e/markupsafe-3.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d", size = 24332, upload-time = "2025-09-27T18:36:32.813Z" }, + { url = "https://files.pythonhosted.org/packages/3c/2e/8d0c2ab90a8c1d9a24f0399058ab8519a3279d1bd4289511d74e909f060e/markupsafe-3.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d", size = 22947, upload-time = "2025-09-27T18:36:33.86Z" }, + { url = "https://files.pythonhosted.org/packages/2c/54/887f3092a85238093a0b2154bd629c89444f395618842e8b0c41783898ea/markupsafe-3.0.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a", size = 21962, upload-time = "2025-09-27T18:36:35.099Z" }, + { url = "https://files.pythonhosted.org/packages/c9/2f/336b8c7b6f4a4d95e91119dc8521402461b74a485558d8f238a68312f11c/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b", size = 23760, upload-time = "2025-09-27T18:36:36.001Z" }, + { url = "https://files.pythonhosted.org/packages/32/43/67935f2b7e4982ffb50a4d169b724d74b62a3964bc1a9a527f5ac4f1ee2b/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f", size = 21529, upload-time = "2025-09-27T18:36:36.906Z" }, + { url = "https://files.pythonhosted.org/packages/89/e0/4486f11e51bbba8b0c041098859e869e304d1c261e59244baa3d295d47b7/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b", size = 23015, upload-time = "2025-09-27T18:36:37.868Z" }, + { url = "https://files.pythonhosted.org/packages/2f/e1/78ee7a023dac597a5825441ebd17170785a9dab23de95d2c7508ade94e0e/markupsafe-3.0.3-cp312-cp312-win32.whl", hash = "sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d", size = 14540, upload-time = "2025-09-27T18:36:38.761Z" }, + { url = "https://files.pythonhosted.org/packages/aa/5b/bec5aa9bbbb2c946ca2733ef9c4ca91c91b6a24580193e891b5f7dbe8e1e/markupsafe-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c", size = 15105, upload-time = "2025-09-27T18:36:39.701Z" }, + { url = "https://files.pythonhosted.org/packages/e5/f1/216fc1bbfd74011693a4fd837e7026152e89c4bcf3e77b6692fba9923123/markupsafe-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f", size = 13906, upload-time = "2025-09-27T18:36:40.689Z" }, + { url = "https://files.pythonhosted.org/packages/38/2f/907b9c7bbba283e68f20259574b13d005c121a0fa4c175f9bed27c4597ff/markupsafe-3.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795", size = 11622, upload-time = "2025-09-27T18:36:41.777Z" }, + { url = "https://files.pythonhosted.org/packages/9c/d9/5f7756922cdd676869eca1c4e3c0cd0df60ed30199ffd775e319089cb3ed/markupsafe-3.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219", size = 12029, upload-time = "2025-09-27T18:36:43.257Z" }, + { url = "https://files.pythonhosted.org/packages/00/07/575a68c754943058c78f30db02ee03a64b3c638586fba6a6dd56830b30a3/markupsafe-3.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6", size = 24374, upload-time = "2025-09-27T18:36:44.508Z" }, + { url = "https://files.pythonhosted.org/packages/a9/21/9b05698b46f218fc0e118e1f8168395c65c8a2c750ae2bab54fc4bd4e0e8/markupsafe-3.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676", size = 22980, upload-time = "2025-09-27T18:36:45.385Z" }, + { url = "https://files.pythonhosted.org/packages/7f/71/544260864f893f18b6827315b988c146b559391e6e7e8f7252839b1b846a/markupsafe-3.0.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9", size = 21990, upload-time = "2025-09-27T18:36:46.916Z" }, + { url = "https://files.pythonhosted.org/packages/c2/28/b50fc2f74d1ad761af2f5dcce7492648b983d00a65b8c0e0cb457c82ebbe/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1", size = 23784, upload-time = "2025-09-27T18:36:47.884Z" }, + { url = "https://files.pythonhosted.org/packages/ed/76/104b2aa106a208da8b17a2fb72e033a5a9d7073c68f7e508b94916ed47a9/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc", size = 21588, upload-time = "2025-09-27T18:36:48.82Z" }, + { url = "https://files.pythonhosted.org/packages/b5/99/16a5eb2d140087ebd97180d95249b00a03aa87e29cc224056274f2e45fd6/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12", size = 23041, upload-time = "2025-09-27T18:36:49.797Z" }, + { url = "https://files.pythonhosted.org/packages/19/bc/e7140ed90c5d61d77cea142eed9f9c303f4c4806f60a1044c13e3f1471d0/markupsafe-3.0.3-cp313-cp313-win32.whl", hash = "sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed", size = 14543, upload-time = "2025-09-27T18:36:51.584Z" }, + { url = "https://files.pythonhosted.org/packages/05/73/c4abe620b841b6b791f2edc248f556900667a5a1cf023a6646967ae98335/markupsafe-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5", size = 15113, upload-time = "2025-09-27T18:36:52.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/3a/fa34a0f7cfef23cf9500d68cb7c32dd64ffd58a12b09225fb03dd37d5b80/markupsafe-3.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485", size = 13911, upload-time = "2025-09-27T18:36:53.513Z" }, + { url = "https://files.pythonhosted.org/packages/e4/d7/e05cd7efe43a88a17a37b3ae96e79a19e846f3f456fe79c57ca61356ef01/markupsafe-3.0.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73", size = 11658, upload-time = "2025-09-27T18:36:54.819Z" }, + { url = "https://files.pythonhosted.org/packages/99/9e/e412117548182ce2148bdeacdda3bb494260c0b0184360fe0d56389b523b/markupsafe-3.0.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37", size = 12066, upload-time = "2025-09-27T18:36:55.714Z" }, + { url = "https://files.pythonhosted.org/packages/bc/e6/fa0ffcda717ef64a5108eaa7b4f5ed28d56122c9a6d70ab8b72f9f715c80/markupsafe-3.0.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19", size = 25639, upload-time = "2025-09-27T18:36:56.908Z" }, + { url = "https://files.pythonhosted.org/packages/96/ec/2102e881fe9d25fc16cb4b25d5f5cde50970967ffa5dddafdb771237062d/markupsafe-3.0.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025", size = 23569, upload-time = "2025-09-27T18:36:57.913Z" }, + { url = "https://files.pythonhosted.org/packages/4b/30/6f2fce1f1f205fc9323255b216ca8a235b15860c34b6798f810f05828e32/markupsafe-3.0.3-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6", size = 23284, upload-time = "2025-09-27T18:36:58.833Z" }, + { url = "https://files.pythonhosted.org/packages/58/47/4a0ccea4ab9f5dcb6f79c0236d954acb382202721e704223a8aafa38b5c8/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f", size = 24801, upload-time = "2025-09-27T18:36:59.739Z" }, + { url = "https://files.pythonhosted.org/packages/6a/70/3780e9b72180b6fecb83a4814d84c3bf4b4ae4bf0b19c27196104149734c/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb", size = 22769, upload-time = "2025-09-27T18:37:00.719Z" }, + { url = "https://files.pythonhosted.org/packages/98/c5/c03c7f4125180fc215220c035beac6b9cb684bc7a067c84fc69414d315f5/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009", size = 23642, upload-time = "2025-09-27T18:37:01.673Z" }, + { url = "https://files.pythonhosted.org/packages/80/d6/2d1b89f6ca4bff1036499b1e29a1d02d282259f3681540e16563f27ebc23/markupsafe-3.0.3-cp313-cp313t-win32.whl", hash = "sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354", size = 14612, upload-time = "2025-09-27T18:37:02.639Z" }, + { url = "https://files.pythonhosted.org/packages/2b/98/e48a4bfba0a0ffcf9925fe2d69240bfaa19c6f7507b8cd09c70684a53c1e/markupsafe-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218", size = 15200, upload-time = "2025-09-27T18:37:03.582Z" }, + { url = "https://files.pythonhosted.org/packages/0e/72/e3cc540f351f316e9ed0f092757459afbc595824ca724cbc5a5d4263713f/markupsafe-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287", size = 13973, upload-time = "2025-09-27T18:37:04.929Z" }, + { url = "https://files.pythonhosted.org/packages/33/8a/8e42d4838cd89b7dde187011e97fe6c3af66d8c044997d2183fbd6d31352/markupsafe-3.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe", size = 11619, upload-time = "2025-09-27T18:37:06.342Z" }, + { url = "https://files.pythonhosted.org/packages/b5/64/7660f8a4a8e53c924d0fa05dc3a55c9cee10bbd82b11c5afb27d44b096ce/markupsafe-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026", size = 12029, upload-time = "2025-09-27T18:37:07.213Z" }, + { url = "https://files.pythonhosted.org/packages/da/ef/e648bfd021127bef5fa12e1720ffed0c6cbb8310c8d9bea7266337ff06de/markupsafe-3.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737", size = 24408, upload-time = "2025-09-27T18:37:09.572Z" }, + { url = "https://files.pythonhosted.org/packages/41/3c/a36c2450754618e62008bf7435ccb0f88053e07592e6028a34776213d877/markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97", size = 23005, upload-time = "2025-09-27T18:37:10.58Z" }, + { url = "https://files.pythonhosted.org/packages/bc/20/b7fdf89a8456b099837cd1dc21974632a02a999ec9bf7ca3e490aacd98e7/markupsafe-3.0.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d", size = 22048, upload-time = "2025-09-27T18:37:11.547Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a7/591f592afdc734f47db08a75793a55d7fbcc6902a723ae4cfbab61010cc5/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda", size = 23821, upload-time = "2025-09-27T18:37:12.48Z" }, + { url = "https://files.pythonhosted.org/packages/7d/33/45b24e4f44195b26521bc6f1a82197118f74df348556594bd2262bda1038/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf", size = 21606, upload-time = "2025-09-27T18:37:13.485Z" }, + { url = "https://files.pythonhosted.org/packages/ff/0e/53dfaca23a69fbfbbf17a4b64072090e70717344c52eaaaa9c5ddff1e5f0/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe", size = 23043, upload-time = "2025-09-27T18:37:14.408Z" }, + { url = "https://files.pythonhosted.org/packages/46/11/f333a06fc16236d5238bfe74daccbca41459dcd8d1fa952e8fbd5dccfb70/markupsafe-3.0.3-cp314-cp314-win32.whl", hash = "sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9", size = 14747, upload-time = "2025-09-27T18:37:15.36Z" }, + { url = "https://files.pythonhosted.org/packages/28/52/182836104b33b444e400b14f797212f720cbc9ed6ba34c800639d154e821/markupsafe-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581", size = 15341, upload-time = "2025-09-27T18:37:16.496Z" }, + { url = "https://files.pythonhosted.org/packages/6f/18/acf23e91bd94fd7b3031558b1f013adfa21a8e407a3fdb32745538730382/markupsafe-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4", size = 14073, upload-time = "2025-09-27T18:37:17.476Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f0/57689aa4076e1b43b15fdfa646b04653969d50cf30c32a102762be2485da/markupsafe-3.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab", size = 11661, upload-time = "2025-09-27T18:37:18.453Z" }, + { url = "https://files.pythonhosted.org/packages/89/c3/2e67a7ca217c6912985ec766c6393b636fb0c2344443ff9d91404dc4c79f/markupsafe-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175", size = 12069, upload-time = "2025-09-27T18:37:19.332Z" }, + { url = "https://files.pythonhosted.org/packages/f0/00/be561dce4e6ca66b15276e184ce4b8aec61fe83662cce2f7d72bd3249d28/markupsafe-3.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634", size = 25670, upload-time = "2025-09-27T18:37:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/50/09/c419f6f5a92e5fadde27efd190eca90f05e1261b10dbd8cbcb39cd8ea1dc/markupsafe-3.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50", size = 23598, upload-time = "2025-09-27T18:37:21.177Z" }, + { url = "https://files.pythonhosted.org/packages/22/44/a0681611106e0b2921b3033fc19bc53323e0b50bc70cffdd19f7d679bb66/markupsafe-3.0.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e", size = 23261, upload-time = "2025-09-27T18:37:22.167Z" }, + { url = "https://files.pythonhosted.org/packages/5f/57/1b0b3f100259dc9fffe780cfb60d4be71375510e435efec3d116b6436d43/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5", size = 24835, upload-time = "2025-09-27T18:37:23.296Z" }, + { url = "https://files.pythonhosted.org/packages/26/6a/4bf6d0c97c4920f1597cc14dd720705eca0bf7c787aebc6bb4d1bead5388/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523", size = 22733, upload-time = "2025-09-27T18:37:24.237Z" }, + { url = "https://files.pythonhosted.org/packages/14/c7/ca723101509b518797fedc2fdf79ba57f886b4aca8a7d31857ba3ee8281f/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc", size = 23672, upload-time = "2025-09-27T18:37:25.271Z" }, + { url = "https://files.pythonhosted.org/packages/fb/df/5bd7a48c256faecd1d36edc13133e51397e41b73bb77e1a69deab746ebac/markupsafe-3.0.3-cp314-cp314t-win32.whl", hash = "sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d", size = 14819, upload-time = "2025-09-27T18:37:26.285Z" }, + { url = "https://files.pythonhosted.org/packages/1a/8a/0402ba61a2f16038b48b39bccca271134be00c5c9f0f623208399333c448/markupsafe-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9", size = 15426, upload-time = "2025-09-27T18:37:27.316Z" }, + { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" }, +] + +[[package]] +name = "mdurl" +version = "0.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" }, +] + +[[package]] +name = "mypy-extensions" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343, upload-time = "2025-04-22T14:54:24.164Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" }, +] + +[[package]] +name = "nr-date" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a0/92/08110dd3d7ff5e2b852a220752eb6c40183839f5b7cc91f9f38dd2298e7d/nr_date-2.1.0.tar.gz", hash = "sha256:0643aea13bcdc2a8bc56af9d5e6a89ef244c9744a1ef00cdc735902ba7f7d2e6", size = 8789, upload-time = "2023-08-16T13:46:04.114Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f9/10/1d2b00172537c1522fe64bbc6fb16b015632a02f7b3864e788ccbcb4dd85/nr_date-2.1.0-py3-none-any.whl", hash = "sha256:bd672a9dfbdcf7c4b9289fea6750c42490eaee08036a72059dcc78cb236ed568", size = 10496, upload-time = "2023-08-16T13:46:02.627Z" }, +] + +[[package]] +name = "nr-stream" +version = "1.1.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b7/37/e4d36d852c441233c306c5fbd98147685dce3ac9b0a8bbf4a587d0ea29ea/nr_stream-1.1.5.tar.gz", hash = "sha256:eb0216c6bfc61a46d4568dba3b588502c610ec8ddef4ac98f3932a2bd7264f65", size = 10053, upload-time = "2023-02-14T22:44:09.074Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/e1/f93485fe09aa36c0e1a3b76363efa1791241f7f863a010f725c95e8a74fe/nr_stream-1.1.5-py3-none-any.whl", hash = "sha256:47e12150b331ad2cb729cfd9d2abd281c9949809729ba461c6aa87dd9927b2d4", size = 10448, upload-time = "2023-02-14T22:44:07.72Z" }, +] + +[[package]] +name = "nr-util" +version = "0.8.12" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "deprecated" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/20/0c/078c567d95e25564bc1ede3c2cf6ce1c91f50648c83786354b47224326da/nr.util-0.8.12.tar.gz", hash = "sha256:a4549c2033d99d2f0379b3f3d233fd2a8ade286bbf0b3ad0cc7cea16022214f4", size = 63707, upload-time = "2022-06-20T13:29:29.192Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/58/eab08df9dbd69d9e21fc5e7be6f67454f386336ec71e6b64e378a2dddea4/nr.util-0.8.12-py3-none-any.whl", hash = "sha256:91da02ac9795eb8e015372275c1efe54bac9051231ee9b0e7e6f96b0b4e7d2bb", size = 90319, upload-time = "2022-06-20T13:29:27.312Z" }, +] + [[package]] name = "packaging" version = "25.0" @@ -149,6 +445,24 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484", size = 66469, upload-time = "2025-04-19T11:48:57.875Z" }, ] +[[package]] +name = "pathspec" +version = "1.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4c/b2/bb8e495d5262bfec41ab5cb18f522f1012933347fb5d9e62452d446baca2/pathspec-1.0.3.tar.gz", hash = "sha256:bac5cf97ae2c2876e2d25ebb15078eb04d76e4b98921ee31c6f85ade8b59444d", size = 130841, upload-time = "2026-01-09T15:46:46.009Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/2b/121e912bd60eebd623f873fd090de0e84f322972ab25a7f9044c056804ed/pathspec-1.0.3-py3-none-any.whl", hash = "sha256:e80767021c1cc524aa3fb14bedda9c34406591343cc42797b386ce7b9354fb6c", size = 55021, upload-time = "2026-01-09T15:46:44.652Z" }, +] + +[[package]] +name = "platformdirs" +version = "4.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cf/86/0248f086a84f01b37aaec0fa567b397df1a119f73c16f6c7a9aac73ea309/platformdirs-4.5.1.tar.gz", hash = "sha256:61d5cdcc6065745cdd94f0f878977f8de9437be93de97c1c12f853c9c0cdcbda", size = 21715, upload-time = "2025-12-05T13:52:58.638Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/28/3bfe2fa5a7b9c46fe7e13c97bda14c895fb10fa2ebf1d0abb90e0cea7ee1/platformdirs-4.5.1-py3-none-any.whl", hash = "sha256:d03afa3963c806a9bed9d5125c8f4cb2fdaf74a55ab60e5d59b3fde758104d31", size = 18731, upload-time = "2025-12-05T13:52:56.823Z" }, +] + [[package]] name = "pluggy" version = "1.6.0" @@ -158,6 +472,31 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, ] +[[package]] +name = "pydoc-markdown" +version = "4.8.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "databind-core" }, + { name = "databind-json" }, + { name = "docspec" }, + { name = "docspec-python" }, + { name = "docstring-parser" }, + { name = "jinja2" }, + { name = "nr-util" }, + { name = "pyyaml" }, + { name = "requests" }, + { name = "tomli" }, + { name = "tomli-w" }, + { name = "watchdog" }, + { name = "yapf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e1/8a/2c7f7ad656d22371a596d232fc140327b958d7f1d491b889632ea0cb7e87/pydoc_markdown-4.8.2.tar.gz", hash = "sha256:fb6c927e31386de17472d42f9bd3d3be2905977d026f6216881c65145aa67f0b", size = 44506, upload-time = "2023-06-26T12:37:01.152Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/83/5a/ce0b056d9a95fd0c06a6cfa5972477d79353392d19230c748a7ba5a9df04/pydoc_markdown-4.8.2-py3-none-any.whl", hash = "sha256:203f74119e6bb2f9deba43d452422de7c8ec31955b61e0620fa4dd8c2611715f", size = 67830, upload-time = "2023-06-26T12:36:59.502Z" }, +] + [[package]] name = "pygments" version = "2.19.2" @@ -167,95 +506,184 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" }, ] -[[package]] -name = "pytest" -version = "8.4.2" -source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version < '3.10'", -] -dependencies = [ - { name = "colorama", marker = "python_full_version < '3.10' and sys_platform == 'win32'" }, - { name = "exceptiongroup", marker = "python_full_version < '3.10'" }, - { name = "iniconfig", version = "2.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, - { name = "packaging", marker = "python_full_version < '3.10'" }, - { name = "pluggy", marker = "python_full_version < '3.10'" }, - { name = "pygments", marker = "python_full_version < '3.10'" }, - { name = "tomli", marker = "python_full_version < '3.10'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/a3/5c/00a0e072241553e1a7496d638deababa67c5058571567b92a7eaa258397c/pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01", size = 1519618, upload-time = "2025-09-04T14:34:22.711Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a8/a4/20da314d277121d6534b3a980b29035dcd51e6744bd79075a6ce8fa4eb8d/pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79", size = 365750, upload-time = "2025-09-04T14:34:20.226Z" }, -] - [[package]] name = "pytest" version = "9.0.2" source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version >= '3.10'", -] dependencies = [ - { name = "colorama", marker = "python_full_version >= '3.10' and sys_platform == 'win32'" }, - { name = "exceptiongroup", marker = "python_full_version == '3.10.*'" }, - { name = "iniconfig", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, - { name = "packaging", marker = "python_full_version >= '3.10'" }, - { name = "pluggy", marker = "python_full_version >= '3.10'" }, - { name = "pygments", marker = "python_full_version >= '3.10'" }, - { name = "tomli", marker = "python_full_version == '3.10.*'" }, + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "iniconfig" }, + { name = "packaging" }, + { name = "pluggy" }, + { name = "pygments" }, ] sdist = { url = "https://files.pythonhosted.org/packages/d1/db/7ef3487e0fb0049ddb5ce41d3a49c235bf9ad299b6a25d5780a89f19230f/pytest-9.0.2.tar.gz", hash = "sha256:75186651a92bd89611d1d9fc20f0b4345fd827c41ccd5c299a868a05d70edf11", size = 1568901, upload-time = "2025-12-06T21:30:51.014Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/3b/ab/b3226f0bd7cdcf710fbede2b3548584366da3b19b5021e74f5bde2a8fa3f/pytest-9.0.2-py3-none-any.whl", hash = "sha256:711ffd45bf766d5264d487b917733b453d917afd2b0ad65223959f59089f875b", size = 374801, upload-time = "2025-12-06T21:30:49.154Z" }, ] +[[package]] +name = "pyyaml" +version = "6.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" }, + { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" }, + { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" }, + { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" }, + { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" }, + { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" }, + { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" }, + { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" }, + { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" }, + { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" }, + { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, + { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, + { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, + { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, + { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, + { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, + { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, + { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, + { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, + { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" }, + { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" }, + { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" }, + { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" }, + { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" }, + { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" }, + { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" }, + { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" }, + { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" }, + { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, +] + +[[package]] +name = "requests" +version = "2.32.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4/requests-2.32.5.tar.gz", hash = "sha256:dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf", size = 134517, upload-time = "2025-08-18T20:46:02.573Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl", hash = "sha256:2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6", size = 64738, upload-time = "2025-08-18T20:46:00.542Z" }, +] + +[[package]] +name = "rich" +version = "14.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markdown-it-py" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/fb/d2/8920e102050a0de7bfabeb4c4614a49248cf8d5d7a8d01885fbb24dc767a/rich-14.2.0.tar.gz", hash = "sha256:73ff50c7c0c1c77c8243079283f4edb376f0f6442433aecb8ce7e6d0b92d1fe4", size = 219990, upload-time = "2025-10-09T14:16:53.064Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/25/7a/b0178788f8dc6cafce37a212c99565fa1fe7872c70c6c9c1e1a372d9d88f/rich-14.2.0-py3-none-any.whl", hash = "sha256:76bc51fe2e57d2b1be1f96c524b890b816e334ab4c1e45888799bfaab0021edd", size = 243393, upload-time = "2025-10-09T14:16:51.245Z" }, +] + +[[package]] +name = "shellingham" +version = "1.5.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310, upload-time = "2023-10-24T04:13:40.426Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755, upload-time = "2023-10-24T04:13:38.866Z" }, +] + [[package]] name = "tomli" +version = "2.4.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/82/30/31573e9457673ab10aa432461bee537ce6cef177667deca369efb79df071/tomli-2.4.0.tar.gz", hash = "sha256:aa89c3f6c277dd275d8e243ad24f3b5e701491a860d5121f2cdd399fbb31fc9c", size = 17477, upload-time = "2026-01-11T11:22:38.165Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3c/43/7389a1869f2f26dba52404e1ef13b4784b6b37dac93bac53457e3ff24ca3/tomli-2.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:920b1de295e72887bafa3ad9f7a792f811847d57ea6b1215154030cf131f16b1", size = 154894, upload-time = "2026-01-11T11:21:56.07Z" }, + { url = "https://files.pythonhosted.org/packages/e9/05/2f9bf110b5294132b2edf13fe6ca6ae456204f3d749f623307cbb7a946f2/tomli-2.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d6d9a4aee98fac3eab4952ad1d73aee87359452d1c086b5ceb43ed02ddb16b8", size = 149053, upload-time = "2026-01-11T11:21:57.467Z" }, + { url = "https://files.pythonhosted.org/packages/e8/41/1eda3ca1abc6f6154a8db4d714a4d35c4ad90adc0bcf700657291593fbf3/tomli-2.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:36b9d05b51e65b254ea6c2585b59d2c4cb91c8a3d91d0ed0f17591a29aaea54a", size = 243481, upload-time = "2026-01-11T11:21:58.661Z" }, + { url = "https://files.pythonhosted.org/packages/d2/6d/02ff5ab6c8868b41e7d4b987ce2b5f6a51d3335a70aa144edd999e055a01/tomli-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c8a885b370751837c029ef9bc014f27d80840e48bac415f3412e6593bbc18c1", size = 251720, upload-time = "2026-01-11T11:22:00.178Z" }, + { url = "https://files.pythonhosted.org/packages/7b/57/0405c59a909c45d5b6f146107c6d997825aa87568b042042f7a9c0afed34/tomli-2.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8768715ffc41f0008abe25d808c20c3d990f42b6e2e58305d5da280ae7d1fa3b", size = 247014, upload-time = "2026-01-11T11:22:01.238Z" }, + { url = "https://files.pythonhosted.org/packages/2c/0e/2e37568edd944b4165735687cbaf2fe3648129e440c26d02223672ee0630/tomli-2.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b438885858efd5be02a9a133caf5812b8776ee0c969fea02c45e8e3f296ba51", size = 251820, upload-time = "2026-01-11T11:22:02.727Z" }, + { url = "https://files.pythonhosted.org/packages/5a/1c/ee3b707fdac82aeeb92d1a113f803cf6d0f37bdca0849cb489553e1f417a/tomli-2.4.0-cp312-cp312-win32.whl", hash = "sha256:0408e3de5ec77cc7f81960c362543cbbd91ef883e3138e81b729fc3eea5b9729", size = 97712, upload-time = "2026-01-11T11:22:03.777Z" }, + { url = "https://files.pythonhosted.org/packages/69/13/c07a9177d0b3bab7913299b9278845fc6eaaca14a02667c6be0b0a2270c8/tomli-2.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:685306e2cc7da35be4ee914fd34ab801a6acacb061b6a7abca922aaf9ad368da", size = 108296, upload-time = "2026-01-11T11:22:04.86Z" }, + { url = "https://files.pythonhosted.org/packages/18/27/e267a60bbeeee343bcc279bb9e8fbed0cbe224bc7b2a3dc2975f22809a09/tomli-2.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:5aa48d7c2356055feef06a43611fc401a07337d5b006be13a30f6c58f869e3c3", size = 94553, upload-time = "2026-01-11T11:22:05.854Z" }, + { url = "https://files.pythonhosted.org/packages/34/91/7f65f9809f2936e1f4ce6268ae1903074563603b2a2bd969ebbda802744f/tomli-2.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:84d081fbc252d1b6a982e1870660e7330fb8f90f676f6e78b052ad4e64714bf0", size = 154915, upload-time = "2026-01-11T11:22:06.703Z" }, + { url = "https://files.pythonhosted.org/packages/20/aa/64dd73a5a849c2e8f216b755599c511badde80e91e9bc2271baa7b2cdbb1/tomli-2.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9a08144fa4cba33db5255f9b74f0b89888622109bd2776148f2597447f92a94e", size = 149038, upload-time = "2026-01-11T11:22:07.56Z" }, + { url = "https://files.pythonhosted.org/packages/9e/8a/6d38870bd3d52c8d1505ce054469a73f73a0fe62c0eaf5dddf61447e32fa/tomli-2.4.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c73add4bb52a206fd0c0723432db123c0c75c280cbd67174dd9d2db228ebb1b4", size = 242245, upload-time = "2026-01-11T11:22:08.344Z" }, + { url = "https://files.pythonhosted.org/packages/59/bb/8002fadefb64ab2669e5b977df3f5e444febea60e717e755b38bb7c41029/tomli-2.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fb2945cbe303b1419e2706e711b7113da57b7db31ee378d08712d678a34e51e", size = 250335, upload-time = "2026-01-11T11:22:09.951Z" }, + { url = "https://files.pythonhosted.org/packages/a5/3d/4cdb6f791682b2ea916af2de96121b3cb1284d7c203d97d92d6003e91c8d/tomli-2.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bbb1b10aa643d973366dc2cb1ad94f99c1726a02343d43cbc011edbfac579e7c", size = 245962, upload-time = "2026-01-11T11:22:11.27Z" }, + { url = "https://files.pythonhosted.org/packages/f2/4a/5f25789f9a460bd858ba9756ff52d0830d825b458e13f754952dd15fb7bb/tomli-2.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4cbcb367d44a1f0c2be408758b43e1ffb5308abe0ea222897d6bfc8e8281ef2f", size = 250396, upload-time = "2026-01-11T11:22:12.325Z" }, + { url = "https://files.pythonhosted.org/packages/aa/2f/b73a36fea58dfa08e8b3a268750e6853a6aac2a349241a905ebd86f3047a/tomli-2.4.0-cp313-cp313-win32.whl", hash = "sha256:7d49c66a7d5e56ac959cb6fc583aff0651094ec071ba9ad43df785abc2320d86", size = 97530, upload-time = "2026-01-11T11:22:13.865Z" }, + { url = "https://files.pythonhosted.org/packages/3b/af/ca18c134b5d75de7e8dc551c5234eaba2e8e951f6b30139599b53de9c187/tomli-2.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:3cf226acb51d8f1c394c1b310e0e0e61fecdd7adcb78d01e294ac297dd2e7f87", size = 108227, upload-time = "2026-01-11T11:22:15.224Z" }, + { url = "https://files.pythonhosted.org/packages/22/c3/b386b832f209fee8073c8138ec50f27b4460db2fdae9ffe022df89a57f9b/tomli-2.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:d20b797a5c1ad80c516e41bc1fb0443ddb5006e9aaa7bda2d71978346aeb9132", size = 94748, upload-time = "2026-01-11T11:22:16.009Z" }, + { url = "https://files.pythonhosted.org/packages/f3/c4/84047a97eb1004418bc10bdbcfebda209fca6338002eba2dc27cc6d13563/tomli-2.4.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:26ab906a1eb794cd4e103691daa23d95c6919cc2fa9160000ac02370cc9dd3f6", size = 154725, upload-time = "2026-01-11T11:22:17.269Z" }, + { url = "https://files.pythonhosted.org/packages/a8/5d/d39038e646060b9d76274078cddf146ced86dc2b9e8bbf737ad5983609a0/tomli-2.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:20cedb4ee43278bc4f2fee6cb50daec836959aadaf948db5172e776dd3d993fc", size = 148901, upload-time = "2026-01-11T11:22:18.287Z" }, + { url = "https://files.pythonhosted.org/packages/73/e5/383be1724cb30f4ce44983d249645684a48c435e1cd4f8b5cded8a816d3c/tomli-2.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:39b0b5d1b6dd03684b3fb276407ebed7090bbec989fa55838c98560c01113b66", size = 243375, upload-time = "2026-01-11T11:22:19.154Z" }, + { url = "https://files.pythonhosted.org/packages/31/f0/bea80c17971c8d16d3cc109dc3585b0f2ce1036b5f4a8a183789023574f2/tomli-2.4.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a26d7ff68dfdb9f87a016ecfd1e1c2bacbe3108f4e0f8bcd2228ef9a766c787d", size = 250639, upload-time = "2026-01-11T11:22:20.168Z" }, + { url = "https://files.pythonhosted.org/packages/2c/8f/2853c36abbb7608e3f945d8a74e32ed3a74ee3a1f468f1ffc7d1cb3abba6/tomli-2.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:20ffd184fb1df76a66e34bd1b36b4a4641bd2b82954befa32fe8163e79f1a702", size = 246897, upload-time = "2026-01-11T11:22:21.544Z" }, + { url = "https://files.pythonhosted.org/packages/49/f0/6c05e3196ed5337b9fe7ea003e95fd3819a840b7a0f2bf5a408ef1dad8ed/tomli-2.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:75c2f8bbddf170e8effc98f5e9084a8751f8174ea6ccf4fca5398436e0320bc8", size = 254697, upload-time = "2026-01-11T11:22:23.058Z" }, + { url = "https://files.pythonhosted.org/packages/f3/f5/2922ef29c9f2951883525def7429967fc4d8208494e5ab524234f06b688b/tomli-2.4.0-cp314-cp314-win32.whl", hash = "sha256:31d556d079d72db7c584c0627ff3a24c5d3fb4f730221d3444f3efb1b2514776", size = 98567, upload-time = "2026-01-11T11:22:24.033Z" }, + { url = "https://files.pythonhosted.org/packages/7b/31/22b52e2e06dd2a5fdbc3ee73226d763b184ff21fc24e20316a44ccc4d96b/tomli-2.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:43e685b9b2341681907759cf3a04e14d7104b3580f808cfde1dfdb60ada85475", size = 108556, upload-time = "2026-01-11T11:22:25.378Z" }, + { url = "https://files.pythonhosted.org/packages/48/3d/5058dff3255a3d01b705413f64f4306a141a8fd7a251e5a495e3f192a998/tomli-2.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:3d895d56bd3f82ddd6faaff993c275efc2ff38e52322ea264122d72729dca2b2", size = 96014, upload-time = "2026-01-11T11:22:26.138Z" }, + { url = "https://files.pythonhosted.org/packages/b8/4e/75dab8586e268424202d3a1997ef6014919c941b50642a1682df43204c22/tomli-2.4.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:5b5807f3999fb66776dbce568cc9a828544244a8eb84b84b9bafc080c99597b9", size = 163339, upload-time = "2026-01-11T11:22:27.143Z" }, + { url = "https://files.pythonhosted.org/packages/06/e3/b904d9ab1016829a776d97f163f183a48be6a4deb87304d1e0116a349519/tomli-2.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c084ad935abe686bd9c898e62a02a19abfc9760b5a79bc29644463eaf2840cb0", size = 159490, upload-time = "2026-01-11T11:22:28.399Z" }, + { url = "https://files.pythonhosted.org/packages/e3/5a/fc3622c8b1ad823e8ea98a35e3c632ee316d48f66f80f9708ceb4f2a0322/tomli-2.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f2e3955efea4d1cfbcb87bc321e00dc08d2bcb737fd1d5e398af111d86db5df", size = 269398, upload-time = "2026-01-11T11:22:29.345Z" }, + { url = "https://files.pythonhosted.org/packages/fd/33/62bd6152c8bdd4c305ad9faca48f51d3acb2df1f8791b1477d46ff86e7f8/tomli-2.4.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0e0fe8a0b8312acf3a88077a0802565cb09ee34107813bba1c7cd591fa6cfc8d", size = 276515, upload-time = "2026-01-11T11:22:30.327Z" }, + { url = "https://files.pythonhosted.org/packages/4b/ff/ae53619499f5235ee4211e62a8d7982ba9e439a0fb4f2f351a93d67c1dd2/tomli-2.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:413540dce94673591859c4c6f794dfeaa845e98bf35d72ed59636f869ef9f86f", size = 273806, upload-time = "2026-01-11T11:22:32.56Z" }, + { url = "https://files.pythonhosted.org/packages/47/71/cbca7787fa68d4d0a9f7072821980b39fbb1b6faeb5f5cf02f4a5559fa28/tomli-2.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0dc56fef0e2c1c470aeac5b6ca8cc7b640bb93e92d9803ddaf9ea03e198f5b0b", size = 281340, upload-time = "2026-01-11T11:22:33.505Z" }, + { url = "https://files.pythonhosted.org/packages/f5/00/d595c120963ad42474cf6ee7771ad0d0e8a49d0f01e29576ee9195d9ecdf/tomli-2.4.0-cp314-cp314t-win32.whl", hash = "sha256:d878f2a6707cc9d53a1be1414bbb419e629c3d6e67f69230217bb663e76b5087", size = 108106, upload-time = "2026-01-11T11:22:34.451Z" }, + { url = "https://files.pythonhosted.org/packages/de/69/9aa0c6a505c2f80e519b43764f8b4ba93b5a0bbd2d9a9de6e2b24271b9a5/tomli-2.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2add28aacc7425117ff6364fe9e06a183bb0251b03f986df0e78e974047571fd", size = 120504, upload-time = "2026-01-11T11:22:35.764Z" }, + { url = "https://files.pythonhosted.org/packages/b3/9f/f1668c281c58cfae01482f7114a4b88d345e4c140386241a1a24dcc9e7bc/tomli-2.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:2b1e3b80e1d5e52e40e9b924ec43d81570f0e7d09d11081b797bc4692765a3d4", size = 99561, upload-time = "2026-01-11T11:22:36.624Z" }, + { url = "https://files.pythonhosted.org/packages/23/d1/136eb2cb77520a31e1f64cbae9d33ec6df0d78bdf4160398e86eec8a8754/tomli-2.4.0-py3-none-any.whl", hash = "sha256:1f776e7d669ebceb01dee46484485f43a4048746235e683bcdffacdf1fb4785a", size = 14477, upload-time = "2026-01-11T11:22:37.446Z" }, +] + +[[package]] +name = "tomli-w" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/19/75/241269d1da26b624c0d5e110e8149093c759b7a286138f4efd61a60e75fe/tomli_w-1.2.0.tar.gz", hash = "sha256:2dd14fac5a47c27be9cd4c976af5a12d87fb1f0b4512f81d69cce3b35ae25021", size = 7184, upload-time = "2025-01-15T12:07:24.262Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c7/18/c86eb8e0202e32dd3df50d43d7ff9854f8e0603945ff398974c1d91ac1ef/tomli_w-1.2.0-py3-none-any.whl", hash = "sha256:188306098d013b691fcadc011abd66727d3c414c571bb01b1a174ba8c983cf90", size = 6675, upload-time = "2025-01-15T12:07:22.074Z" }, +] + +[[package]] +name = "typeapi" version = "2.3.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/52/ed/3f73f72945444548f33eba9a87fc7a6e969915e7b1acc8260b30e1f76a2f/tomli-2.3.0.tar.gz", hash = "sha256:64be704a875d2a59753d80ee8a533c3fe183e3f06807ff7dc2232938ccb01549", size = 17392, upload-time = "2025-10-08T22:01:47.119Z" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d5/92/5a23ad34aa877edf00906166e339bfdc571543ea183ea7ab727bb01516c7/typeapi-2.3.0.tar.gz", hash = "sha256:a60d11f72c5ec27338cfd1c807f035b0b16ed2e3b798fb1c1d34fc5589f544be", size = 122687, upload-time = "2025-10-23T13:44:11.26Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b3/2e/299f62b401438d5fe1624119c723f5d877acc86a4c2492da405626665f12/tomli-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88bd15eb972f3664f5ed4b57c1634a97153b4bac4479dcb6a495f41921eb7f45", size = 153236, upload-time = "2025-10-08T22:01:00.137Z" }, - { url = "https://files.pythonhosted.org/packages/86/7f/d8fffe6a7aefdb61bced88fcb5e280cfd71e08939da5894161bd71bea022/tomli-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:883b1c0d6398a6a9d29b508c331fa56adbcdff647f6ace4dfca0f50e90dfd0ba", size = 148084, upload-time = "2025-10-08T22:01:01.63Z" }, - { url = "https://files.pythonhosted.org/packages/47/5c/24935fb6a2ee63e86d80e4d3b58b222dafaf438c416752c8b58537c8b89a/tomli-2.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d1381caf13ab9f300e30dd8feadb3de072aeb86f1d34a8569453ff32a7dea4bf", size = 234832, upload-time = "2025-10-08T22:01:02.543Z" }, - { url = "https://files.pythonhosted.org/packages/89/da/75dfd804fc11e6612846758a23f13271b76d577e299592b4371a4ca4cd09/tomli-2.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a0e285d2649b78c0d9027570d4da3425bdb49830a6156121360b3f8511ea3441", size = 242052, upload-time = "2025-10-08T22:01:03.836Z" }, - { url = "https://files.pythonhosted.org/packages/70/8c/f48ac899f7b3ca7eb13af73bacbc93aec37f9c954df3c08ad96991c8c373/tomli-2.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a154a9ae14bfcf5d8917a59b51ffd5a3ac1fd149b71b47a3a104ca4edcfa845", size = 239555, upload-time = "2025-10-08T22:01:04.834Z" }, - { url = "https://files.pythonhosted.org/packages/ba/28/72f8afd73f1d0e7829bfc093f4cb98ce0a40ffc0cc997009ee1ed94ba705/tomli-2.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:74bf8464ff93e413514fefd2be591c3b0b23231a77f901db1eb30d6f712fc42c", size = 245128, upload-time = "2025-10-08T22:01:05.84Z" }, - { url = "https://files.pythonhosted.org/packages/b6/eb/a7679c8ac85208706d27436e8d421dfa39d4c914dcf5fa8083a9305f58d9/tomli-2.3.0-cp311-cp311-win32.whl", hash = "sha256:00b5f5d95bbfc7d12f91ad8c593a1659b6387b43f054104cda404be6bda62456", size = 96445, upload-time = "2025-10-08T22:01:06.896Z" }, - { url = "https://files.pythonhosted.org/packages/0a/fe/3d3420c4cb1ad9cb462fb52967080575f15898da97e21cb6f1361d505383/tomli-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:4dc4ce8483a5d429ab602f111a93a6ab1ed425eae3122032db7e9acf449451be", size = 107165, upload-time = "2025-10-08T22:01:08.107Z" }, - { url = "https://files.pythonhosted.org/packages/ff/b7/40f36368fcabc518bb11c8f06379a0fd631985046c038aca08c6d6a43c6e/tomli-2.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d7d86942e56ded512a594786a5ba0a5e521d02529b3826e7761a05138341a2ac", size = 154891, upload-time = "2025-10-08T22:01:09.082Z" }, - { url = "https://files.pythonhosted.org/packages/f9/3f/d9dd692199e3b3aab2e4e4dd948abd0f790d9ded8cd10cbaae276a898434/tomli-2.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:73ee0b47d4dad1c5e996e3cd33b8a76a50167ae5f96a2607cbe8cc773506ab22", size = 148796, upload-time = "2025-10-08T22:01:10.266Z" }, - { url = "https://files.pythonhosted.org/packages/60/83/59bff4996c2cf9f9387a0f5a3394629c7efa5ef16142076a23a90f1955fa/tomli-2.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:792262b94d5d0a466afb5bc63c7daa9d75520110971ee269152083270998316f", size = 242121, upload-time = "2025-10-08T22:01:11.332Z" }, - { url = "https://files.pythonhosted.org/packages/45/e5/7c5119ff39de8693d6baab6c0b6dcb556d192c165596e9fc231ea1052041/tomli-2.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4f195fe57ecceac95a66a75ac24d9d5fbc98ef0962e09b2eddec5d39375aae52", size = 250070, upload-time = "2025-10-08T22:01:12.498Z" }, - { url = "https://files.pythonhosted.org/packages/45/12/ad5126d3a278f27e6701abde51d342aa78d06e27ce2bb596a01f7709a5a2/tomli-2.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e31d432427dcbf4d86958c184b9bfd1e96b5b71f8eb17e6d02531f434fd335b8", size = 245859, upload-time = "2025-10-08T22:01:13.551Z" }, - { url = "https://files.pythonhosted.org/packages/fb/a1/4d6865da6a71c603cfe6ad0e6556c73c76548557a8d658f9e3b142df245f/tomli-2.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b0882799624980785240ab732537fcfc372601015c00f7fc367c55308c186f6", size = 250296, upload-time = "2025-10-08T22:01:14.614Z" }, - { url = "https://files.pythonhosted.org/packages/a0/b7/a7a7042715d55c9ba6e8b196d65d2cb662578b4d8cd17d882d45322b0d78/tomli-2.3.0-cp312-cp312-win32.whl", hash = "sha256:ff72b71b5d10d22ecb084d345fc26f42b5143c5533db5e2eaba7d2d335358876", size = 97124, upload-time = "2025-10-08T22:01:15.629Z" }, - { url = "https://files.pythonhosted.org/packages/06/1e/f22f100db15a68b520664eb3328fb0ae4e90530887928558112c8d1f4515/tomli-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:1cb4ed918939151a03f33d4242ccd0aa5f11b3547d0cf30f7c74a408a5b99878", size = 107698, upload-time = "2025-10-08T22:01:16.51Z" }, - { url = "https://files.pythonhosted.org/packages/89/48/06ee6eabe4fdd9ecd48bf488f4ac783844fd777f547b8d1b61c11939974e/tomli-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5192f562738228945d7b13d4930baffda67b69425a7f0da96d360b0a3888136b", size = 154819, upload-time = "2025-10-08T22:01:17.964Z" }, - { url = "https://files.pythonhosted.org/packages/f1/01/88793757d54d8937015c75dcdfb673c65471945f6be98e6a0410fba167ed/tomli-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:be71c93a63d738597996be9528f4abe628d1adf5e6eb11607bc8fe1a510b5dae", size = 148766, upload-time = "2025-10-08T22:01:18.959Z" }, - { url = "https://files.pythonhosted.org/packages/42/17/5e2c956f0144b812e7e107f94f1cc54af734eb17b5191c0bbfb72de5e93e/tomli-2.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4665508bcbac83a31ff8ab08f424b665200c0e1e645d2bd9ab3d3e557b6185b", size = 240771, upload-time = "2025-10-08T22:01:20.106Z" }, - { url = "https://files.pythonhosted.org/packages/d5/f4/0fbd014909748706c01d16824eadb0307115f9562a15cbb012cd9b3512c5/tomli-2.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4021923f97266babc6ccab9f5068642a0095faa0a51a246a6a02fccbb3514eaf", size = 248586, upload-time = "2025-10-08T22:01:21.164Z" }, - { url = "https://files.pythonhosted.org/packages/30/77/fed85e114bde5e81ecf9bc5da0cc69f2914b38f4708c80ae67d0c10180c5/tomli-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4ea38c40145a357d513bffad0ed869f13c1773716cf71ccaa83b0fa0cc4e42f", size = 244792, upload-time = "2025-10-08T22:01:22.417Z" }, - { url = "https://files.pythonhosted.org/packages/55/92/afed3d497f7c186dc71e6ee6d4fcb0acfa5f7d0a1a2878f8beae379ae0cc/tomli-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ad805ea85eda330dbad64c7ea7a4556259665bdf9d2672f5dccc740eb9d3ca05", size = 248909, upload-time = "2025-10-08T22:01:23.859Z" }, - { url = "https://files.pythonhosted.org/packages/f8/84/ef50c51b5a9472e7265ce1ffc7f24cd4023d289e109f669bdb1553f6a7c2/tomli-2.3.0-cp313-cp313-win32.whl", hash = "sha256:97d5eec30149fd3294270e889b4234023f2c69747e555a27bd708828353ab606", size = 96946, upload-time = "2025-10-08T22:01:24.893Z" }, - { url = "https://files.pythonhosted.org/packages/b2/b7/718cd1da0884f281f95ccfa3a6cc572d30053cba64603f79d431d3c9b61b/tomli-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0c95ca56fbe89e065c6ead5b593ee64b84a26fca063b5d71a1122bf26e533999", size = 107705, upload-time = "2025-10-08T22:01:26.153Z" }, - { url = "https://files.pythonhosted.org/packages/19/94/aeafa14a52e16163008060506fcb6aa1949d13548d13752171a755c65611/tomli-2.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:cebc6fe843e0733ee827a282aca4999b596241195f43b4cc371d64fc6639da9e", size = 154244, upload-time = "2025-10-08T22:01:27.06Z" }, - { url = "https://files.pythonhosted.org/packages/db/e4/1e58409aa78eefa47ccd19779fc6f36787edbe7d4cd330eeeedb33a4515b/tomli-2.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4c2ef0244c75aba9355561272009d934953817c49f47d768070c3c94355c2aa3", size = 148637, upload-time = "2025-10-08T22:01:28.059Z" }, - { url = "https://files.pythonhosted.org/packages/26/b6/d1eccb62f665e44359226811064596dd6a366ea1f985839c566cd61525ae/tomli-2.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c22a8bf253bacc0cf11f35ad9808b6cb75ada2631c2d97c971122583b129afbc", size = 241925, upload-time = "2025-10-08T22:01:29.066Z" }, - { url = "https://files.pythonhosted.org/packages/70/91/7cdab9a03e6d3d2bb11beae108da5bdc1c34bdeb06e21163482544ddcc90/tomli-2.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0eea8cc5c5e9f89c9b90c4896a8deefc74f518db5927d0e0e8d4a80953d774d0", size = 249045, upload-time = "2025-10-08T22:01:31.98Z" }, - { url = "https://files.pythonhosted.org/packages/15/1b/8c26874ed1f6e4f1fcfeb868db8a794cbe9f227299402db58cfcc858766c/tomli-2.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b74a0e59ec5d15127acdabd75ea17726ac4c5178ae51b85bfe39c4f8a278e879", size = 245835, upload-time = "2025-10-08T22:01:32.989Z" }, - { url = "https://files.pythonhosted.org/packages/fd/42/8e3c6a9a4b1a1360c1a2a39f0b972cef2cc9ebd56025168c4137192a9321/tomli-2.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b5870b50c9db823c595983571d1296a6ff3e1b88f734a4c8f6fc6188397de005", size = 253109, upload-time = "2025-10-08T22:01:34.052Z" }, - { url = "https://files.pythonhosted.org/packages/22/0c/b4da635000a71b5f80130937eeac12e686eefb376b8dee113b4a582bba42/tomli-2.3.0-cp314-cp314-win32.whl", hash = "sha256:feb0dacc61170ed7ab602d3d972a58f14ee3ee60494292d384649a3dc38ef463", size = 97930, upload-time = "2025-10-08T22:01:35.082Z" }, - { url = "https://files.pythonhosted.org/packages/b9/74/cb1abc870a418ae99cd5c9547d6bce30701a954e0e721821df483ef7223c/tomli-2.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:b273fcbd7fc64dc3600c098e39136522650c49bca95df2d11cf3b626422392c8", size = 107964, upload-time = "2025-10-08T22:01:36.057Z" }, - { url = "https://files.pythonhosted.org/packages/54/78/5c46fff6432a712af9f792944f4fcd7067d8823157949f4e40c56b8b3c83/tomli-2.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:940d56ee0410fa17ee1f12b817b37a4d4e4dc4d27340863cc67236c74f582e77", size = 163065, upload-time = "2025-10-08T22:01:37.27Z" }, - { url = "https://files.pythonhosted.org/packages/39/67/f85d9bd23182f45eca8939cd2bc7050e1f90c41f4a2ecbbd5963a1d1c486/tomli-2.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f85209946d1fe94416debbb88d00eb92ce9cd5266775424ff81bc959e001acaf", size = 159088, upload-time = "2025-10-08T22:01:38.235Z" }, - { url = "https://files.pythonhosted.org/packages/26/5a/4b546a0405b9cc0659b399f12b6adb750757baf04250b148d3c5059fc4eb/tomli-2.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a56212bdcce682e56b0aaf79e869ba5d15a6163f88d5451cbde388d48b13f530", size = 268193, upload-time = "2025-10-08T22:01:39.712Z" }, - { url = "https://files.pythonhosted.org/packages/42/4f/2c12a72ae22cf7b59a7fe75b3465b7aba40ea9145d026ba41cb382075b0e/tomli-2.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c5f3ffd1e098dfc032d4d3af5c0ac64f6d286d98bc148698356847b80fa4de1b", size = 275488, upload-time = "2025-10-08T22:01:40.773Z" }, - { url = "https://files.pythonhosted.org/packages/92/04/a038d65dbe160c3aa5a624e93ad98111090f6804027d474ba9c37c8ae186/tomli-2.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e01decd096b1530d97d5d85cb4dff4af2d8347bd35686654a004f8dea20fc67", size = 272669, upload-time = "2025-10-08T22:01:41.824Z" }, - { url = "https://files.pythonhosted.org/packages/be/2f/8b7c60a9d1612a7cbc39ffcca4f21a73bf368a80fc25bccf8253e2563267/tomli-2.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:8a35dd0e643bb2610f156cca8db95d213a90015c11fee76c946aa62b7ae7e02f", size = 279709, upload-time = "2025-10-08T22:01:43.177Z" }, - { url = "https://files.pythonhosted.org/packages/7e/46/cc36c679f09f27ded940281c38607716c86cf8ba4a518d524e349c8b4874/tomli-2.3.0-cp314-cp314t-win32.whl", hash = "sha256:a1f7f282fe248311650081faafa5f4732bdbfef5d45fe3f2e702fbc6f2d496e0", size = 107563, upload-time = "2025-10-08T22:01:44.233Z" }, - { url = "https://files.pythonhosted.org/packages/84/ff/426ca8683cf7b753614480484f6437f568fd2fda2edbdf57a2d3d8b27a0b/tomli-2.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:70a251f8d4ba2d9ac2542eecf008b3c8a9fc5c3f9f02c56a9d7952612be2fdba", size = 119756, upload-time = "2025-10-08T22:01:45.234Z" }, - { url = "https://files.pythonhosted.org/packages/77/b8/0135fadc89e73be292b473cb820b4f5a08197779206b33191e801feeae40/tomli-2.3.0-py3-none-any.whl", hash = "sha256:e95b1af3c5b07d9e643909b5abbec77cd9f1217e6d0bca72b0234736b9fb1f1b", size = 14408, upload-time = "2025-10-08T22:01:46.04Z" }, + { url = "https://files.pythonhosted.org/packages/d4/84/021bbeb7edb990dd6875cb6ab08d32faaa49fec63453d863730260a01f9e/typeapi-2.3.0-py3-none-any.whl", hash = "sha256:576b7dcb94412e91c5cae107a393674f8f99c10a24beb8be2302e3fed21d5cc2", size = 26858, upload-time = "2025-10-23T13:44:09.833Z" }, +] + +[[package]] +name = "typer" +version = "0.21.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "rich" }, + { name = "shellingham" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/36/bf/8825b5929afd84d0dabd606c67cd57b8388cb3ec385f7ef19c5cc2202069/typer-0.21.1.tar.gz", hash = "sha256:ea835607cd752343b6b2b7ce676893e5a0324082268b48f27aa058bdb7d2145d", size = 110371, upload-time = "2026-01-06T11:21:10.989Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/1d/d9257dd49ff2ca23ea5f132edf1281a0c4f9de8a762b9ae399b670a59235/typer-0.21.1-py3-none-any.whl", hash = "sha256:7985e89081c636b88d172c2ee0cfe33c253160994d47bdfdc302defd7d1f1d01", size = 47381, upload-time = "2026-01-06T11:21:09.824Z" }, ] [[package]] @@ -266,3 +694,117 @@ sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac8 wheels = [ { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" }, ] + +[[package]] +name = "urllib3" +version = "2.6.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c7/24/5f1b3bdffd70275f6661c76461e25f024d5a38a46f04aaca912426a2b1d3/urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed", size = 435556, upload-time = "2026-01-07T16:24:43.925Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4", size = 131584, upload-time = "2026-01-07T16:24:42.685Z" }, +] + +[[package]] +name = "watchdog" +version = "6.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/db/7d/7f3d619e951c88ed75c6037b246ddcf2d322812ee8ea189be89511721d54/watchdog-6.0.0.tar.gz", hash = "sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282", size = 131220, upload-time = "2024-11-01T14:07:13.037Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/39/ea/3930d07dafc9e286ed356a679aa02d777c06e9bfd1164fa7c19c288a5483/watchdog-6.0.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948", size = 96471, upload-time = "2024-11-01T14:06:37.745Z" }, + { url = "https://files.pythonhosted.org/packages/12/87/48361531f70b1f87928b045df868a9fd4e253d9ae087fa4cf3f7113be363/watchdog-6.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860", size = 88449, upload-time = "2024-11-01T14:06:39.748Z" }, + { url = "https://files.pythonhosted.org/packages/5b/7e/8f322f5e600812e6f9a31b75d242631068ca8f4ef0582dd3ae6e72daecc8/watchdog-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0", size = 89054, upload-time = "2024-11-01T14:06:41.009Z" }, + { url = "https://files.pythonhosted.org/packages/68/98/b0345cabdce2041a01293ba483333582891a3bd5769b08eceb0d406056ef/watchdog-6.0.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:490ab2ef84f11129844c23fb14ecf30ef3d8a6abafd3754a6f75ca1e6654136c", size = 96480, upload-time = "2024-11-01T14:06:42.952Z" }, + { url = "https://files.pythonhosted.org/packages/85/83/cdf13902c626b28eedef7ec4f10745c52aad8a8fe7eb04ed7b1f111ca20e/watchdog-6.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:76aae96b00ae814b181bb25b1b98076d5fc84e8a53cd8885a318b42b6d3a5134", size = 88451, upload-time = "2024-11-01T14:06:45.084Z" }, + { url = "https://files.pythonhosted.org/packages/fe/c4/225c87bae08c8b9ec99030cd48ae9c4eca050a59bf5c2255853e18c87b50/watchdog-6.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a175f755fc2279e0b7312c0035d52e27211a5bc39719dd529625b1930917345b", size = 89057, upload-time = "2024-11-01T14:06:47.324Z" }, + { url = "https://files.pythonhosted.org/packages/a9/c7/ca4bf3e518cb57a686b2feb4f55a1892fd9a3dd13f470fca14e00f80ea36/watchdog-6.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13", size = 79079, upload-time = "2024-11-01T14:06:59.472Z" }, + { url = "https://files.pythonhosted.org/packages/5c/51/d46dc9332f9a647593c947b4b88e2381c8dfc0942d15b8edc0310fa4abb1/watchdog-6.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379", size = 79078, upload-time = "2024-11-01T14:07:01.431Z" }, + { url = "https://files.pythonhosted.org/packages/d4/57/04edbf5e169cd318d5f07b4766fee38e825d64b6913ca157ca32d1a42267/watchdog-6.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e", size = 79076, upload-time = "2024-11-01T14:07:02.568Z" }, + { url = "https://files.pythonhosted.org/packages/ab/cc/da8422b300e13cb187d2203f20b9253e91058aaf7db65b74142013478e66/watchdog-6.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f", size = 79077, upload-time = "2024-11-01T14:07:03.893Z" }, + { url = "https://files.pythonhosted.org/packages/2c/3b/b8964e04ae1a025c44ba8e4291f86e97fac443bca31de8bd98d3263d2fcf/watchdog-6.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26", size = 79078, upload-time = "2024-11-01T14:07:05.189Z" }, + { url = "https://files.pythonhosted.org/packages/62/ae/a696eb424bedff7407801c257d4b1afda455fe40821a2be430e173660e81/watchdog-6.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c", size = 79077, upload-time = "2024-11-01T14:07:06.376Z" }, + { url = "https://files.pythonhosted.org/packages/b5/e8/dbf020b4d98251a9860752a094d09a65e1b436ad181faf929983f697048f/watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2", size = 79078, upload-time = "2024-11-01T14:07:07.547Z" }, + { url = "https://files.pythonhosted.org/packages/07/f6/d0e5b343768e8bcb4cda79f0f2f55051bf26177ecd5651f84c07567461cf/watchdog-6.0.0-py3-none-win32.whl", hash = "sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a", size = 79065, upload-time = "2024-11-01T14:07:09.525Z" }, + { url = "https://files.pythonhosted.org/packages/db/d9/c495884c6e548fce18a8f40568ff120bc3a4b7b99813081c8ac0c936fa64/watchdog-6.0.0-py3-none-win_amd64.whl", hash = "sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680", size = 79070, upload-time = "2024-11-01T14:07:10.686Z" }, + { url = "https://files.pythonhosted.org/packages/33/e8/e40370e6d74ddba47f002a32919d91310d6074130fe4e17dabcafc15cbf1/watchdog-6.0.0-py3-none-win_ia64.whl", hash = "sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f", size = 79067, upload-time = "2024-11-01T14:07:11.845Z" }, +] + +[[package]] +name = "wrapt" +version = "2.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/49/2a/6de8a50cb435b7f42c46126cf1a54b2aab81784e74c8595c8e025e8f36d3/wrapt-2.0.1.tar.gz", hash = "sha256:9c9c635e78497cacb81e84f8b11b23e0aacac7a136e73b8e5b2109a1d9fc468f", size = 82040, upload-time = "2025-11-07T00:45:33.312Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/73/8cb252858dc8254baa0ce58ce382858e3a1cf616acebc497cb13374c95c6/wrapt-2.0.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1fdbb34da15450f2b1d735a0e969c24bdb8d8924892380126e2a293d9902078c", size = 78129, upload-time = "2025-11-07T00:43:48.852Z" }, + { url = "https://files.pythonhosted.org/packages/19/42/44a0db2108526ee6e17a5ab72478061158f34b08b793df251d9fbb9a7eb4/wrapt-2.0.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3d32794fe940b7000f0519904e247f902f0149edbe6316c710a8562fb6738841", size = 61205, upload-time = "2025-11-07T00:43:50.402Z" }, + { url = "https://files.pythonhosted.org/packages/4d/8a/5b4b1e44b791c22046e90d9b175f9a7581a8cc7a0debbb930f81e6ae8e25/wrapt-2.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:386fb54d9cd903ee0012c09291336469eb7b244f7183d40dc3e86a16a4bace62", size = 61692, upload-time = "2025-11-07T00:43:51.678Z" }, + { url = "https://files.pythonhosted.org/packages/11/53/3e794346c39f462bcf1f58ac0487ff9bdad02f9b6d5ee2dc84c72e0243b2/wrapt-2.0.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7b219cb2182f230676308cdcacd428fa837987b89e4b7c5c9025088b8a6c9faf", size = 121492, upload-time = "2025-11-07T00:43:55.017Z" }, + { url = "https://files.pythonhosted.org/packages/c6/7e/10b7b0e8841e684c8ca76b462a9091c45d62e8f2de9c4b1390b690eadf16/wrapt-2.0.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:641e94e789b5f6b4822bb8d8ebbdfc10f4e4eae7756d648b717d980f657a9eb9", size = 123064, upload-time = "2025-11-07T00:43:56.323Z" }, + { url = "https://files.pythonhosted.org/packages/0e/d1/3c1e4321fc2f5ee7fd866b2d822aa89b84495f28676fd976c47327c5b6aa/wrapt-2.0.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fe21b118b9f58859b5ebaa4b130dee18669df4bd111daad082b7beb8799ad16b", size = 117403, upload-time = "2025-11-07T00:43:53.258Z" }, + { url = "https://files.pythonhosted.org/packages/a4/b0/d2f0a413cf201c8c2466de08414a15420a25aa83f53e647b7255cc2fab5d/wrapt-2.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:17fb85fa4abc26a5184d93b3efd2dcc14deb4b09edcdb3535a536ad34f0b4dba", size = 121500, upload-time = "2025-11-07T00:43:57.468Z" }, + { url = "https://files.pythonhosted.org/packages/bd/45/bddb11d28ca39970a41ed48a26d210505120f925918592283369219f83cc/wrapt-2.0.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:b89ef9223d665ab255ae42cc282d27d69704d94be0deffc8b9d919179a609684", size = 116299, upload-time = "2025-11-07T00:43:58.877Z" }, + { url = "https://files.pythonhosted.org/packages/81/af/34ba6dd570ef7a534e7eec0c25e2615c355602c52aba59413411c025a0cb/wrapt-2.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a453257f19c31b31ba593c30d997d6e5be39e3b5ad9148c2af5a7314061c63eb", size = 120622, upload-time = "2025-11-07T00:43:59.962Z" }, + { url = "https://files.pythonhosted.org/packages/e2/3e/693a13b4146646fb03254636f8bafd20c621955d27d65b15de07ab886187/wrapt-2.0.1-cp312-cp312-win32.whl", hash = "sha256:3e271346f01e9c8b1130a6a3b0e11908049fe5be2d365a5f402778049147e7e9", size = 58246, upload-time = "2025-11-07T00:44:03.169Z" }, + { url = "https://files.pythonhosted.org/packages/a7/36/715ec5076f925a6be95f37917b66ebbeaa1372d1862c2ccd7a751574b068/wrapt-2.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:2da620b31a90cdefa9cd0c2b661882329e2e19d1d7b9b920189956b76c564d75", size = 60492, upload-time = "2025-11-07T00:44:01.027Z" }, + { url = "https://files.pythonhosted.org/packages/ef/3e/62451cd7d80f65cc125f2b426b25fbb6c514bf6f7011a0c3904fc8c8df90/wrapt-2.0.1-cp312-cp312-win_arm64.whl", hash = "sha256:aea9c7224c302bc8bfc892b908537f56c430802560e827b75ecbde81b604598b", size = 58987, upload-time = "2025-11-07T00:44:02.095Z" }, + { url = "https://files.pythonhosted.org/packages/ad/fe/41af4c46b5e498c90fc87981ab2972fbd9f0bccda597adb99d3d3441b94b/wrapt-2.0.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:47b0f8bafe90f7736151f61482c583c86b0693d80f075a58701dd1549b0010a9", size = 78132, upload-time = "2025-11-07T00:44:04.628Z" }, + { url = "https://files.pythonhosted.org/packages/1c/92/d68895a984a5ebbbfb175512b0c0aad872354a4a2484fbd5552e9f275316/wrapt-2.0.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:cbeb0971e13b4bd81d34169ed57a6dda017328d1a22b62fda45e1d21dd06148f", size = 61211, upload-time = "2025-11-07T00:44:05.626Z" }, + { url = "https://files.pythonhosted.org/packages/e8/26/ba83dc5ae7cf5aa2b02364a3d9cf74374b86169906a1f3ade9a2d03cf21c/wrapt-2.0.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb7cffe572ad0a141a7886a1d2efa5bef0bf7fe021deeea76b3ab334d2c38218", size = 61689, upload-time = "2025-11-07T00:44:06.719Z" }, + { url = "https://files.pythonhosted.org/packages/cf/67/d7a7c276d874e5d26738c22444d466a3a64ed541f6ef35f740dbd865bab4/wrapt-2.0.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:c8d60527d1ecfc131426b10d93ab5d53e08a09c5fa0175f6b21b3252080c70a9", size = 121502, upload-time = "2025-11-07T00:44:09.557Z" }, + { url = "https://files.pythonhosted.org/packages/0f/6b/806dbf6dd9579556aab22fc92908a876636e250f063f71548a8660382184/wrapt-2.0.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c654eafb01afac55246053d67a4b9a984a3567c3808bb7df2f8de1c1caba2e1c", size = 123110, upload-time = "2025-11-07T00:44:10.64Z" }, + { url = "https://files.pythonhosted.org/packages/e5/08/cdbb965fbe4c02c5233d185d070cabed2ecc1f1e47662854f95d77613f57/wrapt-2.0.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:98d873ed6c8b4ee2418f7afce666751854d6d03e3c0ec2a399bb039cd2ae89db", size = 117434, upload-time = "2025-11-07T00:44:08.138Z" }, + { url = "https://files.pythonhosted.org/packages/2d/d1/6aae2ce39db4cb5216302fa2e9577ad74424dfbe315bd6669725569e048c/wrapt-2.0.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c9e850f5b7fc67af856ff054c71690d54fa940c3ef74209ad9f935b4f66a0233", size = 121533, upload-time = "2025-11-07T00:44:12.142Z" }, + { url = "https://files.pythonhosted.org/packages/79/35/565abf57559fbe0a9155c29879ff43ce8bd28d2ca61033a3a3dd67b70794/wrapt-2.0.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:e505629359cb5f751e16e30cf3f91a1d3ddb4552480c205947da415d597f7ac2", size = 116324, upload-time = "2025-11-07T00:44:13.28Z" }, + { url = "https://files.pythonhosted.org/packages/e1/e0/53ff5e76587822ee33e560ad55876d858e384158272cd9947abdd4ad42ca/wrapt-2.0.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2879af909312d0baf35f08edeea918ee3af7ab57c37fe47cb6a373c9f2749c7b", size = 120627, upload-time = "2025-11-07T00:44:14.431Z" }, + { url = "https://files.pythonhosted.org/packages/7c/7b/38df30fd629fbd7612c407643c63e80e1c60bcc982e30ceeae163a9800e7/wrapt-2.0.1-cp313-cp313-win32.whl", hash = "sha256:d67956c676be5a24102c7407a71f4126d30de2a569a1c7871c9f3cabc94225d7", size = 58252, upload-time = "2025-11-07T00:44:17.814Z" }, + { url = "https://files.pythonhosted.org/packages/85/64/d3954e836ea67c4d3ad5285e5c8fd9d362fd0a189a2db622df457b0f4f6a/wrapt-2.0.1-cp313-cp313-win_amd64.whl", hash = "sha256:9ca66b38dd642bf90c59b6738af8070747b610115a39af2498535f62b5cdc1c3", size = 60500, upload-time = "2025-11-07T00:44:15.561Z" }, + { url = "https://files.pythonhosted.org/packages/89/4e/3c8b99ac93527cfab7f116089db120fef16aac96e5f6cdb724ddf286086d/wrapt-2.0.1-cp313-cp313-win_arm64.whl", hash = "sha256:5a4939eae35db6b6cec8e7aa0e833dcca0acad8231672c26c2a9ab7a0f8ac9c8", size = 58993, upload-time = "2025-11-07T00:44:16.65Z" }, + { url = "https://files.pythonhosted.org/packages/f9/f4/eff2b7d711cae20d220780b9300faa05558660afb93f2ff5db61fe725b9a/wrapt-2.0.1-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:a52f93d95c8d38fed0669da2ebdb0b0376e895d84596a976c15a9eb45e3eccb3", size = 82028, upload-time = "2025-11-07T00:44:18.944Z" }, + { url = "https://files.pythonhosted.org/packages/0c/67/cb945563f66fd0f61a999339460d950f4735c69f18f0a87ca586319b1778/wrapt-2.0.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:4e54bbf554ee29fcceee24fa41c4d091398b911da6e7f5d7bffda963c9aed2e1", size = 62949, upload-time = "2025-11-07T00:44:20.074Z" }, + { url = "https://files.pythonhosted.org/packages/ec/ca/f63e177f0bbe1e5cf5e8d9b74a286537cd709724384ff20860f8f6065904/wrapt-2.0.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:908f8c6c71557f4deaa280f55d0728c3bca0960e8c3dd5ceeeafb3c19942719d", size = 63681, upload-time = "2025-11-07T00:44:21.345Z" }, + { url = "https://files.pythonhosted.org/packages/39/a1/1b88fcd21fd835dca48b556daef750952e917a2794fa20c025489e2e1f0f/wrapt-2.0.1-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e2f84e9af2060e3904a32cea9bb6db23ce3f91cfd90c6b426757cf7cc01c45c7", size = 152696, upload-time = "2025-11-07T00:44:24.318Z" }, + { url = "https://files.pythonhosted.org/packages/62/1c/d9185500c1960d9f5f77b9c0b890b7fc62282b53af7ad1b6bd779157f714/wrapt-2.0.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e3612dc06b436968dfb9142c62e5dfa9eb5924f91120b3c8ff501ad878f90eb3", size = 158859, upload-time = "2025-11-07T00:44:25.494Z" }, + { url = "https://files.pythonhosted.org/packages/91/60/5d796ed0f481ec003220c7878a1d6894652efe089853a208ea0838c13086/wrapt-2.0.1-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6d2d947d266d99a1477cd005b23cbd09465276e302515e122df56bb9511aca1b", size = 146068, upload-time = "2025-11-07T00:44:22.81Z" }, + { url = "https://files.pythonhosted.org/packages/04/f8/75282dd72f102ddbfba137e1e15ecba47b40acff32c08ae97edbf53f469e/wrapt-2.0.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:7d539241e87b650cbc4c3ac9f32c8d1ac8a54e510f6dca3f6ab60dcfd48c9b10", size = 155724, upload-time = "2025-11-07T00:44:26.634Z" }, + { url = "https://files.pythonhosted.org/packages/5a/27/fe39c51d1b344caebb4a6a9372157bdb8d25b194b3561b52c8ffc40ac7d1/wrapt-2.0.1-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:4811e15d88ee62dbf5c77f2c3ff3932b1e3ac92323ba3912f51fc4016ce81ecf", size = 144413, upload-time = "2025-11-07T00:44:27.939Z" }, + { url = "https://files.pythonhosted.org/packages/83/2b/9f6b643fe39d4505c7bf926d7c2595b7cb4b607c8c6b500e56c6b36ac238/wrapt-2.0.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c1c91405fcf1d501fa5d55df21e58ea49e6b879ae829f1039faaf7e5e509b41e", size = 150325, upload-time = "2025-11-07T00:44:29.29Z" }, + { url = "https://files.pythonhosted.org/packages/bb/b6/20ffcf2558596a7f58a2e69c89597128781f0b88e124bf5a4cadc05b8139/wrapt-2.0.1-cp313-cp313t-win32.whl", hash = "sha256:e76e3f91f864e89db8b8d2a8311d57df93f01ad6bb1e9b9976d1f2e83e18315c", size = 59943, upload-time = "2025-11-07T00:44:33.211Z" }, + { url = "https://files.pythonhosted.org/packages/87/6a/0e56111cbb3320151eed5d3821ee1373be13e05b376ea0870711f18810c3/wrapt-2.0.1-cp313-cp313t-win_amd64.whl", hash = "sha256:83ce30937f0ba0d28818807b303a412440c4b63e39d3d8fc036a94764b728c92", size = 63240, upload-time = "2025-11-07T00:44:30.935Z" }, + { url = "https://files.pythonhosted.org/packages/1d/54/5ab4c53ea1f7f7e5c3e7c1095db92932cc32fd62359d285486d00c2884c3/wrapt-2.0.1-cp313-cp313t-win_arm64.whl", hash = "sha256:4b55cacc57e1dc2d0991dbe74c6419ffd415fb66474a02335cb10efd1aa3f84f", size = 60416, upload-time = "2025-11-07T00:44:32.002Z" }, + { url = "https://files.pythonhosted.org/packages/73/81/d08d83c102709258e7730d3cd25befd114c60e43ef3891d7e6877971c514/wrapt-2.0.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:5e53b428f65ece6d9dad23cb87e64506392b720a0b45076c05354d27a13351a1", size = 78290, upload-time = "2025-11-07T00:44:34.691Z" }, + { url = "https://files.pythonhosted.org/packages/f6/14/393afba2abb65677f313aa680ff0981e829626fed39b6a7e3ec807487790/wrapt-2.0.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:ad3ee9d0f254851c71780966eb417ef8e72117155cff04821ab9b60549694a55", size = 61255, upload-time = "2025-11-07T00:44:35.762Z" }, + { url = "https://files.pythonhosted.org/packages/c4/10/a4a1f2fba205a9462e36e708ba37e5ac95f4987a0f1f8fd23f0bf1fc3b0f/wrapt-2.0.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d7b822c61ed04ee6ad64bc90d13368ad6eb094db54883b5dde2182f67a7f22c0", size = 61797, upload-time = "2025-11-07T00:44:37.22Z" }, + { url = "https://files.pythonhosted.org/packages/12/db/99ba5c37cf1c4fad35349174f1e38bd8d992340afc1ff27f526729b98986/wrapt-2.0.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7164a55f5e83a9a0b031d3ffab4d4e36bbec42e7025db560f225489fa929e509", size = 120470, upload-time = "2025-11-07T00:44:39.425Z" }, + { url = "https://files.pythonhosted.org/packages/30/3f/a1c8d2411eb826d695fc3395a431757331582907a0ec59afce8fe8712473/wrapt-2.0.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e60690ba71a57424c8d9ff28f8d006b7ad7772c22a4af432188572cd7fa004a1", size = 122851, upload-time = "2025-11-07T00:44:40.582Z" }, + { url = "https://files.pythonhosted.org/packages/b3/8d/72c74a63f201768d6a04a8845c7976f86be6f5ff4d74996c272cefc8dafc/wrapt-2.0.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3cd1a4bd9a7a619922a8557e1318232e7269b5fb69d4ba97b04d20450a6bf970", size = 117433, upload-time = "2025-11-07T00:44:38.313Z" }, + { url = "https://files.pythonhosted.org/packages/c7/5a/df37cf4042cb13b08256f8e27023e2f9b3d471d553376616591bb99bcb31/wrapt-2.0.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b4c2e3d777e38e913b8ce3a6257af72fb608f86a1df471cb1d4339755d0a807c", size = 121280, upload-time = "2025-11-07T00:44:41.69Z" }, + { url = "https://files.pythonhosted.org/packages/54/34/40d6bc89349f9931e1186ceb3e5fbd61d307fef814f09fbbac98ada6a0c8/wrapt-2.0.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:3d366aa598d69416b5afedf1faa539fac40c1d80a42f6b236c88c73a3c8f2d41", size = 116343, upload-time = "2025-11-07T00:44:43.013Z" }, + { url = "https://files.pythonhosted.org/packages/70/66/81c3461adece09d20781dee17c2366fdf0cb8754738b521d221ca056d596/wrapt-2.0.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c235095d6d090aa903f1db61f892fffb779c1eaeb2a50e566b52001f7a0f66ed", size = 119650, upload-time = "2025-11-07T00:44:44.523Z" }, + { url = "https://files.pythonhosted.org/packages/46/3a/d0146db8be8761a9e388cc9cc1c312b36d583950ec91696f19bbbb44af5a/wrapt-2.0.1-cp314-cp314-win32.whl", hash = "sha256:bfb5539005259f8127ea9c885bdc231978c06b7a980e63a8a61c8c4c979719d0", size = 58701, upload-time = "2025-11-07T00:44:48.277Z" }, + { url = "https://files.pythonhosted.org/packages/1a/38/5359da9af7d64554be63e9046164bd4d8ff289a2dd365677d25ba3342c08/wrapt-2.0.1-cp314-cp314-win_amd64.whl", hash = "sha256:4ae879acc449caa9ed43fc36ba08392b9412ee67941748d31d94e3cedb36628c", size = 60947, upload-time = "2025-11-07T00:44:46.086Z" }, + { url = "https://files.pythonhosted.org/packages/aa/3f/96db0619276a833842bf36343685fa04f987dd6e3037f314531a1e00492b/wrapt-2.0.1-cp314-cp314-win_arm64.whl", hash = "sha256:8639b843c9efd84675f1e100ed9e99538ebea7297b62c4b45a7042edb84db03e", size = 59359, upload-time = "2025-11-07T00:44:47.164Z" }, + { url = "https://files.pythonhosted.org/packages/71/49/5f5d1e867bf2064bf3933bc6cf36ade23505f3902390e175e392173d36a2/wrapt-2.0.1-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:9219a1d946a9b32bb23ccae66bdb61e35c62773ce7ca6509ceea70f344656b7b", size = 82031, upload-time = "2025-11-07T00:44:49.4Z" }, + { url = "https://files.pythonhosted.org/packages/2b/89/0009a218d88db66ceb83921e5685e820e2c61b59bbbb1324ba65342668bc/wrapt-2.0.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:fa4184e74197af3adad3c889a1af95b53bb0466bced92ea99a0c014e48323eec", size = 62952, upload-time = "2025-11-07T00:44:50.74Z" }, + { url = "https://files.pythonhosted.org/packages/ae/18/9b968e920dd05d6e44bcc918a046d02afea0fb31b2f1c80ee4020f377cbe/wrapt-2.0.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c5ef2f2b8a53b7caee2f797ef166a390fef73979b15778a4a153e4b5fedce8fa", size = 63688, upload-time = "2025-11-07T00:44:52.248Z" }, + { url = "https://files.pythonhosted.org/packages/a6/7d/78bdcb75826725885d9ea26c49a03071b10c4c92da93edda612910f150e4/wrapt-2.0.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e042d653a4745be832d5aa190ff80ee4f02c34b21f4b785745eceacd0907b815", size = 152706, upload-time = "2025-11-07T00:44:54.613Z" }, + { url = "https://files.pythonhosted.org/packages/dd/77/cac1d46f47d32084a703df0d2d29d47e7eb2a7d19fa5cbca0e529ef57659/wrapt-2.0.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2afa23318136709c4b23d87d543b425c399887b4057936cd20386d5b1422b6fa", size = 158866, upload-time = "2025-11-07T00:44:55.79Z" }, + { url = "https://files.pythonhosted.org/packages/8a/11/b521406daa2421508903bf8d5e8b929216ec2af04839db31c0a2c525eee0/wrapt-2.0.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6c72328f668cf4c503ffcf9434c2b71fdd624345ced7941bc6693e61bbe36bef", size = 146148, upload-time = "2025-11-07T00:44:53.388Z" }, + { url = "https://files.pythonhosted.org/packages/0c/c0/340b272bed297baa7c9ce0c98ef7017d9c035a17a6a71dce3184b8382da2/wrapt-2.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:3793ac154afb0e5b45d1233cb94d354ef7a983708cc3bb12563853b1d8d53747", size = 155737, upload-time = "2025-11-07T00:44:56.971Z" }, + { url = "https://files.pythonhosted.org/packages/f3/93/bfcb1fb2bdf186e9c2883a4d1ab45ab099c79cbf8f4e70ea453811fa3ea7/wrapt-2.0.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:fec0d993ecba3991645b4857837277469c8cc4c554a7e24d064d1ca291cfb81f", size = 144451, upload-time = "2025-11-07T00:44:58.515Z" }, + { url = "https://files.pythonhosted.org/packages/d2/6b/dca504fb18d971139d232652656180e3bd57120e1193d9a5899c3c0b7cdd/wrapt-2.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:949520bccc1fa227274da7d03bf238be15389cd94e32e4297b92337df9b7a349", size = 150353, upload-time = "2025-11-07T00:44:59.753Z" }, + { url = "https://files.pythonhosted.org/packages/1d/f6/a1de4bd3653afdf91d250ca5c721ee51195df2b61a4603d4b373aa804d1d/wrapt-2.0.1-cp314-cp314t-win32.whl", hash = "sha256:be9e84e91d6497ba62594158d3d31ec0486c60055c49179edc51ee43d095f79c", size = 60609, upload-time = "2025-11-07T00:45:03.315Z" }, + { url = "https://files.pythonhosted.org/packages/01/3a/07cd60a9d26fe73efead61c7830af975dfdba8537632d410462672e4432b/wrapt-2.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:61c4956171c7434634401db448371277d07032a81cc21c599c22953374781395", size = 64038, upload-time = "2025-11-07T00:45:00.948Z" }, + { url = "https://files.pythonhosted.org/packages/41/99/8a06b8e17dddbf321325ae4eb12465804120f699cd1b8a355718300c62da/wrapt-2.0.1-cp314-cp314t-win_arm64.whl", hash = "sha256:35cdbd478607036fee40273be8ed54a451f5f23121bd9d4be515158f9498f7ad", size = 60634, upload-time = "2025-11-07T00:45:02.087Z" }, + { url = "https://files.pythonhosted.org/packages/15/d1/b51471c11592ff9c012bd3e2f7334a6ff2f42a7aed2caffcf0bdddc9cb89/wrapt-2.0.1-py3-none-any.whl", hash = "sha256:4d2ce1bf1a48c5277d7969259232b57645aae5686dba1eaeade39442277afbca", size = 44046, upload-time = "2025-11-07T00:45:32.116Z" }, +] + +[[package]] +name = "yapf" +version = "0.43.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "platformdirs" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/23/97/b6f296d1e9cc1ec25c7604178b48532fa5901f721bcf1b8d8148b13e5588/yapf-0.43.0.tar.gz", hash = "sha256:00d3aa24bfedff9420b2e0d5d9f5ab6d9d4268e72afbf59bb3fa542781d5218e", size = 254907, upload-time = "2024-11-14T00:11:41.584Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/37/81/6acd6601f61e31cfb8729d3da6d5df966f80f374b78eff83760714487338/yapf-0.43.0-py3-none-any.whl", hash = "sha256:224faffbc39c428cb095818cf6ef5511fdab6f7430a10783fdfb292ccf2852ca", size = 256158, upload-time = "2024-11-14T00:11:39.37Z" }, +] diff --git a/scripts/publish-all.sh b/scripts/publish-all.sh new file mode 100755 index 000000000..668385f77 --- /dev/null +++ b/scripts/publish-all.sh @@ -0,0 +1,40 @@ +#!/bin/bash +set -e + +SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" +ROOT_DIR="$SCRIPT_DIR/.." + +echo "=== Publishing all BRK packages ===" + +# Get version from Cargo.toml +VERSION=$(grep 'package.version' "$ROOT_DIR/Cargo.toml" | sed 's/.*= *"//' | sed 's/".*//') +echo "Version: $VERSION" + +# Update JS package.json version +sed -i '' 's/"version": "[^"]*"/"version": "'"$VERSION"'"/' "$ROOT_DIR/modules/brk-client/package.json" + +# Update Python pyproject.toml version +sed -i '' 's/^version = "[^"]*"/version = "'"$VERSION"'"/' "$ROOT_DIR/packages/brk_client/pyproject.toml" + +# 1. Publish Rust crates +echo "" +echo "=== Rust crates ===" +"$SCRIPT_DIR/publish.sh" + +# 2. Publish JavaScript package +echo "" +echo "=== JavaScript package ===" +cd "$ROOT_DIR/modules/brk-client" +./scripts/docs.sh +npm publish --access public + +# 3. Publish Python package +echo "" +echo "=== Python package ===" +cd "$ROOT_DIR/packages/brk_client" +uv run pydoc-markdown > docs/API.md +uv build +uv publish + +echo "" +echo "=== Done! ===" diff --git a/websites/bitview/.gitignore b/websites/bitview/.gitignore new file mode 100644 index 000000000..66e8bf274 --- /dev/null +++ b/websites/bitview/.gitignore @@ -0,0 +1 @@ +*/**/*.md diff --git a/websites/bitview/index.html b/websites/bitview/index.html index 16b3be0d2..0601452e9 100644 --- a/websites/bitview/index.html +++ b/websites/bitview/index.html @@ -1558,12 +1558,13 @@ - + - + - + + @@ -1575,33 +1576,32 @@ - - - - - - - - + + + + + + + - - + + - - - + + + - - - - - + + + + + - - - + + + @@ -1622,18 +1622,19 @@ - +