diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-22 13:38:08 +0000 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-22 13:38:08 +0000 |
commit | a5bef9487b4ef7c23d89c9a27cf6320222e0320f (patch) | |
tree | 9e8480b6fdba825370283dc7f5d5bcbff420a477 /sdk/reference/crypto/onchain.html | |
parent | a56073da0584963158e95c5faf14c76bd3ce6da9 (diff) |
Diffstat (limited to 'sdk/reference/crypto/onchain.html')
-rw-r--r-- | sdk/reference/crypto/onchain.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sdk/reference/crypto/onchain.html b/sdk/reference/crypto/onchain.html index c61f3ece16f..c70baaab473 100644 --- a/sdk/reference/crypto/onchain.html +++ b/sdk/reference/crypto/onchain.html @@ -1,19 +1,19 @@ <!doctype html> -<html lang="en" dir="ltr" class="docs-wrapper docs-doc-page docs-version-current plugin-docs plugin-id-default docs-doc-id-sdk/reference/crypto/onchain/index"> +<html lang="en" dir="ltr" class="docs-wrapper docs-doc-page docs-version-current plugin-docs plugin-id-default docs-doc-id-sdk/reference/crypto/onchain/index" data-has-hydrated="false"> <head> <meta charset="UTF-8"> -<meta name="generator" content="Docusaurus v2.3.1"> -<title data-rh="true">onchain | OpenBB Docs</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://docs.openbb.co/img/banner.png"><meta data-rh="true" name="twitter:image" content="https://docs.openbb.co/img/banner.png"><meta data-rh="true" property="og:url" content="https://docs.openbb.co/sdk/reference/crypto/onchain"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="onchain | OpenBB Docs"><meta data-rh="true" name="description" content="<ReferenceCard"><meta data-rh="true" property="og:description" content="<ReferenceCard"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://docs.openbb.co/sdk/reference/crypto/onchain"><link data-rh="true" rel="alternate" href="https://docs.openbb.co/sdk/reference/crypto/onchain" hreflang="en"><link data-rh="true" rel="alternate" href="https://docs.openbb.co/sdk/reference/crypto/onchain" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://7D1HQ0IXAS-dsn.algolia.net" crossorigin="anonymous"><link rel="search" type="application/opensearchdescription+xml" title="OpenBB Docs" href="/opensearch.xml"> +<meta name="generator" content="Docusaurus v2.4.3"> +<title data-rh="true">onchain | OpenBB Docs</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://docs.openbb.co/img/banner.png"><meta data-rh="true" name="twitter:image" content="https://docs.openbb.co/img/banner.png"><meta data-rh="true" property="og:url" content="https://docs.openbb.co/sdk/reference/crypto/onchain"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="onchain | OpenBB Docs"><meta data-rh="true" name="description" content="Commands"><meta data-rh="true" property="og:description" content="Commands"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://docs.openbb.co/sdk/reference/crypto/onchain"><link data-rh="true" rel="alternate" href="https://docs.openbb.co/sdk/reference/crypto/onchain" hreflang="en"><link data-rh="true" rel="alternate" href="https://docs.openbb.co/sdk/reference/crypto/onchain" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://7D1HQ0IXAS-dsn.algolia.net" crossorigin="anonymous"><link rel="search" type="application/opensearchdescription+xml" title="OpenBB Docs" href="/opensearch.xml"> -<link rel="stylesheet" href="/katex/katex.min.css"><link rel="stylesheet" href="/assets/css/styles.2f7044e9.css"> -<link rel="preload" href="/assets/js/runtime~main.2d045394.js" as="script"> -<link rel="preload" href="/assets/js/main.8f6b63f6.js" as="script"> +<link rel="stylesheet" href="/katex/katex.min.css"><link rel="stylesheet" href="/assets/css/styles.9567f521.css"> +<link rel="preload" href="/assets/js/runtime~main.b4badc54.js" as="script"> +<link rel="preload" href="/assets/js/main.81318f2a.js" as="script"> </head> <body class="navigation-with-keyboard"> -<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"dark")}()</script><div id="__docusaurus"> -<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav class="border-b border-grey-600 lg:px-12 header_docs_sdk navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><div class="flex items-center gap-x-[56px]"><a class="mb-1 md:mb-0 md:ml-0" href="/sdk"><svg viewBox="0 0 271 19" width="271" height="19" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="#fff" d="M126.316.99V14.33l-1.144-1.11-1.142-1.113-1.144-1.11-1.142-1.114-1.144-1.11-1.145-1.113-1.141-1.11-1.145-1.114-1.142-1.113-1.144-1.11-1.142-1.11-1.144-1.114H110.311v17.788H112.597V4.323l1.144 1.113 1.142 1.113 1.144 1.11 1.142 1.114 1.145 1.11 1.141 1.113 1.145 1.11 1.144 1.114 1.142 1.11 1.144 1.113 1.142 1.113 1.144 1.11 1.142 1.111h1.145V.989h-2.287ZM163.123 7.66h-2.286V.99H147.12v17.79h18.294V7.65h-2.286l-.005.01ZM149.406 6.54V3.213h9.144V7.66h-9.144V6.54Zm13.717 4.447v5.566h-13.717V9.886h13.717v1.102ZM201.057 7.66h-3.427V.99h-13.72v17.79h18.289V7.65l-1.142.01ZM186.196 6.54V3.213h9.148V7.66h-9.148V6.54Zm13.72 4.447v5.566h-13.72V9.886h13.72v1.102ZM89.662.99H73.656v17.787H91.942v-2.22H75.945V12.106H89.656V9.883H75.945V3.213H91.942V.99H89.661ZM16.02.99H.018v17.79h18.291V.99H16.02Zm0 3.336v12.23H2.301V3.213h13.72v1.113ZM52.862.99H36.86v17.79h2.286v-6.673h16.003V.977h-2.287V.99Zm0 3.336v5.565H39.146V3.213h13.716v1.113ZM226.316 10.14h-6.117v8.64h6.141l.992-1v-7l-1.016-.64Zm-.002 1.62v5.94h-5.1v-6.48h5.1v.54ZM240.447 10.14h-7.115v8.64h8.133v-8.64h-1.018Zm0 1.62v5.94h-6.1v-6.48h6.1v.54ZM254.9 10.14H247.465v8.64H255.959V17.7H248.528V11.22H255.959v-1.08H254.9ZM269.404 10.14h-7.444V15h7.448v2.701h-5.853l-1.596.005.001.535v.539h8.505V17.7h-1.061.004H263.555l6.913.066.002-.607-.002-.41-.003-.67.005-1.08h-6.248 6.248l-.002-1.08H263.024v-2.7h7.441v-1.08h-1.061Z"></path></svg></a></div></div><div class="navbar__items navbar__items--right hidden sm:block"><div class="flex items-center"><div class="flex gap-4 mr-12 md:mr-0 ml-4"><button type="button" aria-haspopup="dialog" aria-expanded="false" aria-controls="" data-state="closed" class="bg-grey-900 radix-state-open:text-white hover:border-grey-200 hover:text-grey-200 radix-state-open:border-white border -mt-[0.6px] h-[34px] w-[34px] text-grey-400 border-grey-400 rounded flex items-center justify-center"><svg viewBox="0 0 24 24" width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4 h-4"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button></div><div class="searchBox_ZlJk"><div class="flex gap-2"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button><a href="https://my.openbb.co/" class="_btn-dark text-xs hover:text-black"><span class="md:hidden">Hub</span><span class="hidden md:inline">OpenBB Hub</span></a></div></div></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0 docsWrapper_BCFX"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><aside class="theme-doc-sidebar-container docSidebarContainer_b6E3"><div class="sidebarViewport_Xe31"><div class="sidebar_njMd"><nav class="menu thin-scrollbar !px-10 text-sm !pb-10 mt-[40px] menu_Y1UP"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" href="/terminal">OpenBB Terminal</a><button aria-label="Toggle the collapsible sidebar category 'OpenBB Terminal'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" href="/bot">OpenBB Bot</a><button aria-label="Toggle the collapsible sidebar category 'OpenBB Bot'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--active" aria-expanded="true" href="/sdk">OpenBB SDK</a><button aria-label="Toggle the collapsible sidebar category 'OpenBB SDK'" type="button" class="clean-btn menu__caret"></button></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/installation">Installation</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/sdk/usage/basics">Usage</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/sdk/data-available/alternative">Data Available</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--active" aria-expanded="true" tabindex="0" href="/sdk/reference">SDK Reference</a><button aria-label="Toggle the collapsible sidebar category 'SDK Reference'" type="button" class="clean-btn menu__caret"></button></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/alt">alt</a><button aria-label="Toggle the collapsible sidebar category 'alt'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--active" aria-expanded="true" tabindex="0" href="/sdk/reference/crypto">crypto</a><button aria-label="Toggle the collapsible sidebar category 'crypto'" type="button" class="clean-btn menu__caret"></button></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-4 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/candle">candle</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-4 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/chart">chart</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-4 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/crypto/dd">dd</a><button aria-label="Toggle the collapsible sidebar category 'dd'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-4 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/crypto/defi">defi</a><button aria-label="Toggle the collapsible sidebar category 'defi'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-4 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/crypto/disc">disc</a><button aria-label="Toggle the collapsible sidebar category 'disc'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-4 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/find">find</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-4 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/load">load</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-4 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/crypto/nft">nft</a><button aria-label="Toggle the collapsible sidebar category 'nft'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-4 menu__list-item"><div class="menu__list-item-collapsible menu__list-item-collapsible--active"><a class="menu__link menu__link--sublist menu__link--active" aria-current="page" aria-expanded="true" tabindex="0" href="/sdk/reference/crypto/onchain">onchain</a><button aria-label="Toggle the collapsible sidebar category 'onchain'" type="button" class="clean-btn menu__caret"></button></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/baas">baas</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/balance">balance</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/btc_supply">btc_supply</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/btc_transac">btc_transac</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/btcsingleblock">btcsingleblock</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/dex_trades_monthly">dex_trades_monthly</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/dvcp">dvcp</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/erc20_tokens">erc20_tokens</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/gwei">gwei</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/hist">hist</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/holders">holders</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/hr">hr</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/info">info</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/lt">lt</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/prices">prices</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/query_graph">query_graph</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/th">th</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/token_decimals">token_decimals</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/top">top</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/topledger">topledger</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/ttcp">ttcp</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/tv">tv</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/tx">tx</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/ueat">ueat</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-5 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/onchain/whales">whales</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-4 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/crypto/ov">ov</a><button aria-label="Toggle the collapsible sidebar category 'ov'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-4 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/crypto/price">price</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-4 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/crypto/tools">tools</a><button aria-label="Toggle the collapsible sidebar category 'tools'" type="button" class="clean-btn menu__caret"></button></div></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/econometrics">econometrics</a><button aria-label="Toggle the collapsible sidebar category 'econometrics'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/economy">economy</a><button aria-label="Toggle the collapsible sidebar category 'economy'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/etf">etf</a><button aria-label="Toggle the collapsible sidebar category 'etf'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/fixedincome">fixedincome</a><button aria-label="Toggle the collapsible sidebar category 'fixedincome'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/forecast">forecast</a><button aria-label="Toggle the collapsible sidebar category 'forecast'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/forex">forex</a><button aria-label="Toggle the collapsible sidebar category 'forex'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/funds">funds</a><button aria-label="Toggle the collapsible sidebar category 'funds'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/futures">futures</a><button aria-label="Toggle the collapsible sidebar category 'futures'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/keys">keys</a><button aria-label="Toggle the collapsible sidebar category 'keys'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/login">login</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/logout">logout</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/news">news</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/portfolio">portfolio</a><button aria-label="Toggle the collapsible sidebar category 'portfolio'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/qa">qa</a><button aria-label="Toggle the collapsible sidebar category 'qa'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/stocks">stocks</a><button aria-label="Toggle the collapsible sidebar category 'stocks'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-3 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/sdk/reference/ta">ta</a><button aria-label="Toggle the collapsible sidebar category 'ta'" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/reference/whoami">whoami</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/sdk/faqs/installation_updates">FAQs</a></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/sdk/showcase">Showcase</a></li></ul></li></ul></nav></div></div></aside><main class="docMainContainer_gTbr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_YNFT"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item"><a class="breadcrumbs__link" itemprop="item" href="/sdk"><span itemprop="name">OpenBB SDK</span></a><meta itemprop="position" content="1"></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item"><a class="breadcrumbs__link" itemprop="item" href="/sdk/reference"><span itemprop="name">SDK Reference</span></a><meta itemprop="position" content="2"></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item"><a class="breadcrumbs__link" itemprop="item" href="/sdk/reference/crypto"><span itemprop="name">crypto</span></a><meta itemprop="position" content="3"></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">onchain</span><meta itemprop="position" content="4"></li></ul></nav><div class="theme-doc-markdown markdown"><h1>onchain</h1><ul class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4 -ml-6"><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/baas"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">baas</p><p class="text-grey-200 text-xs mt-2 mb-0">Get an average bid and ask prices, average spread for given crypto pair for chosen time period.</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/balance"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">balance</p><p class="text-grey-200 text-xs mt-2 mb-0">Get info about tokens on you ethereum blockchain balance. Eth balance, balance of all tokens which</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/btc_supply"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">btc_supply</p><p class="text-grey-200 text-xs mt-2 mb-0">Returns BTC circulating supply [Source: https://api.blockchain.info/]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/btc_transac"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">btc_transac</p><p class="text-grey-200 text-xs mt-2 mb-0">Returns BTC confirmed transactions [Source: https://api.blockchain.info/]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/btcsingleblock"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">btcsingleblock</p><p class="text-grey-200 text-xs mt-2 mb-0">Returns BTC block data in json format. [Source: https://blockchain.info/]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/dex_trades_monthly"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">dex_trades_monthly</p><p class="text-grey-200 text-xs mt-2 mb-0">Get list of trades on Decentralized Exchanges monthly aggregated.</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/dvcp"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">dvcp</p><p class="text-grey-200 text-xs mt-2 mb-0">Get daily volume for given pair [Source: https://graphql.bitquery.io/]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/erc20_tokens"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">erc20_tokens</p><p class="text-grey-200 text-xs mt-2 mb-0">Helper method that loads ~1500 most traded erc20 token.</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/gwei"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">gwei</p><p class="text-grey-200 text-xs mt-2 mb-0">Returns the most recent Ethereum gas fees in gwei</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/hist"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">hist</p><p class="text-grey-200 text-xs mt-2 mb-0">Get information about balance historical transactions. [Source: Ethplorer]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/holders"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">holders</p><p class="text-grey-200 text-xs mt-2 mb-0">Get info about top token holders. [Source: Ethplorer]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/hr"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">hr</p><p class="text-grey-200 text-xs mt-2 mb-0">Returns dataframe with mean hashrate of btc or eth blockchain and symbol price</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/info"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">info</p><p class="text-grey-200 text-xs mt-2 mb-0">Get info about ERC20 token. [Source: Ethplorer]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/lt"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">lt</p><p class="text-grey-200 text-xs mt-2 mb-0">Get trades on Decentralized Exchanges aggregated by DEX [Source: https://graphql.bitquery.io/]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/prices"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">prices</p><p class="text-grey-200 text-xs mt-2 mb-0">Get token historical prices with volume and market cap, and average price. [Source: Ethplorer]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/query_graph"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">query_graph</p><p class="text-grey-200 text-xs mt-2 mb-0">Helper methods for querying graphql api. [Source: https://bitquery.io/]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/th"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">th</p><p class="text-grey-200 text-xs mt-2 mb-0">Get info about token historical transactions. [Source: Ethplorer]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all duration-300 ease-in-out font-bold shadow-2xl bg-gradient-to-r from-[#541c12] to-[rgba(84, 29, 19, 1)]" href="/sdk/reference/crypto/onchain/token_decimals"><div class="absolute top-0 right-0 left-0 bottom-0 bg-gradient-to-t from-black to-transparent"></div><p class="py-2 font-bold text-lg my-0">token_decimals</p><p class="text-grey-200 text-xs mt-2 mb-0">Helper methods that gets token decimals number. [Source: Ethplorer]</p></a><a class="rounded border-2 !no-underline border-grey-600 p-6 cursor-pointer relative overflow-hidden hover:shadow-2xl hover:-translate-y-2 transform transition-all dura |