From b1b3b1475c6fa695a66fdff9742d97bfa0647b0b Mon Sep 17 00:00:00 2001 From: stjet <49297268+stjet@users.noreply.github.com> Date: Thu, 11 Dec 2025 00:41:46 +0000 Subject: [PATCH] oops, forgot docs too --- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/classes/PrivateKeyAccount.html | 18 +++---- docs/classes/RPC.html | 48 ++++++++++--------- docs/classes/RPCWithBackup.html | 48 ++++++++++--------- docs/classes/RPCWorkProvider.html | 6 +-- docs/classes/SlowJavascriptWorkProvider.html | 4 +- docs/classes/Wallet.html | 18 +++---- docs/functions/base32_to_uint8array.html | 2 +- .../construct_message_block_and_hash.html | 2 +- .../get_address_from_public_key.html | 2 +- docs/functions/get_private_key_from_seed.html | 2 +- .../get_public_key_from_address.html | 2 +- .../get_public_key_from_private_key.html | 2 +- docs/functions/hash_block.html | 2 +- docs/functions/hex_to_uint8array.html | 2 +- docs/functions/int_to_uint8array.html | 2 +- docs/functions/raw_to_whole.html | 2 +- docs/functions/sign_block_hash.html | 2 +- docs/functions/sign_message.html | 2 +- docs/functions/uint8array_to_base32.html | 2 +- docs/functions/uint8array_to_hex.html | 2 +- docs/functions/utf8_to_uint8array.html | 2 +- docs/functions/verify_block_hash.html | 2 +- docs/functions/verify_signed_message.html | 2 +- docs/functions/whole_to_raw.html | 2 +- docs/interfaces/AccountBalanceRPC.html | 4 +- docs/interfaces/AccountHistoryBlock.html | 4 +- docs/interfaces/AccountHistoryRPC.html | 4 +- docs/interfaces/AccountHistoryRawBlock.html | 4 +- docs/interfaces/AccountHistoryRawRPC.html | 4 +- docs/interfaces/AccountInfoRPC.html | 4 +- docs/interfaces/AccountReceivableRPC.html | 4 +- .../AccountReceivableSourceRPC.html | 4 +- .../AccountReceivableThresholdRPC.html | 4 +- docs/interfaces/AccountRepresentativeRPC.html | 4 +- docs/interfaces/AccountWeightRPC.html | 4 +- docs/interfaces/AccountsBalancesRPC.html | 4 +- .../AccountsRepresentativesRPC.html | 4 +- docs/interfaces/Block.html | 4 +- docs/interfaces/BlockCountRPC.html | 4 +- docs/interfaces/BlockInfoRPC.html | 4 +- docs/interfaces/BlockNoSignature.html | 4 +- docs/interfaces/BlocksInfoRPC.html | 4 +- docs/interfaces/BlocksRPC.html | 4 +- docs/interfaces/ConfirmationHistoryRPC.html | 3 ++ docs/interfaces/DelegatorsCountRPC.html | 4 +- docs/interfaces/DelegatorsRPC.html | 4 +- docs/interfaces/RPCInterface.html | 4 +- docs/interfaces/RepresentativesOnlineRPC.html | 4 +- .../RepresentativesOnlineWeightRPC.html | 4 +- docs/interfaces/RepresentativesRPC.html | 4 +- docs/interfaces/StatsCountersRPC.html | 4 ++ docs/interfaces/StatsSamplesRPC.html | 5 ++ docs/interfaces/StatsUnstableRPC.html | 1 + docs/interfaces/TelemetryAddressRPC.html | 4 +- docs/interfaces/TelemetryRPC.html | 4 +- docs/interfaces/TelemetryRawRPC.html | 4 +- docs/interfaces/VersionRPC.html | 4 +- docs/interfaces/WorkProvider.html | 4 +- docs/modules.html | 6 +++ docs/types/Address.html | 2 +- docs/types/AddressPrefix.html | 2 +- docs/types/BlockAllTypes.html | 2 +- docs/types/BlockBasicTypes.html | 2 +- docs/types/BlockHash.html | 2 +- docs/types/BlockLegacyTypes.html | 2 +- docs/types/BlockStateChangeTypes.html | 2 +- docs/types/BlockSubtype.html | 2 +- docs/types/StatsRPC.html | 1 + docs/types/StatsType.html | 1 + docs/types/Whole.html | 2 +- docs/types/WorkFunction.html | 2 +- docs/variables/NANO_DECIMALS.html | 2 +- node_test/index.js | 2 +- 75 files changed, 188 insertions(+), 159 deletions(-) create mode 100644 docs/interfaces/ConfirmationHistoryRPC.html create mode 100644 docs/interfaces/StatsCountersRPC.html create mode 100644 docs/interfaces/StatsSamplesRPC.html create mode 100644 docs/interfaces/StatsUnstableRPC.html create mode 100644 docs/types/StatsRPC.html create mode 100644 docs/types/StatsType.html diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 5d35990..bee52fd 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5WX32/aMBCA/xeeq3Wla9f1DeimdutaVKrxME2RcS7EIiSR7UDRtP99DkmJk9g+5zX33Xf+dcb8/juS8CZHt6M5Zzsi4QccJpRmRSpHZ6OcyFiFaEKEAHHeQz7EcpsobsPScHR7Mb75d3byvcxnfYP6iOQsmYynhG6K3JjdhDFPxjdznu1YCNxs0gCXa5Fk++9kRwTlLJdurZ11VViSJAHDclffXZn1NkxJQlIKrRVnqQQeEao8PaqtHF9d95X3TMiMH6ZJRjcuqc75a5GRNtQAJdn7DvYdHST3HPIR9BA/pFGGKGvEQ/YCFFRnrhLsCLTAQeJFVnD0hBnwQUVeYw4izpLQu46e4VUqVzykkki2w2fTgT0KLIGtY4mIT5CHUNRdKxCnzvlo25ND7X3cVcTeiGjfHYHZcfktQ2oRqMrVZzqAip6yBVunRBYc7DINQoUCHZrwHZt1+05Rl+IOElgTdXsJ57r3MT8p7kNUKvzwnmY06YBT1D7Ez2nCUuslYIMHF3BfCe6UAcU8CyDSV7UpW5D8MAlDlWa1GjgvLerzFtl/kTuMS/cLuGBZajM1YZfE/CTUNPZ3YOdurtaycchDXt7B1edO5scvny+uxv3sOYeIvVkcVRAzHW+NSZK8lqldUyvoZZoSwajd1YS9bPdExEZPGfAyPKprhx7sA9LiXr6Fai2YxSRdg13ahfzMxapUmIVVDPMs1eOoJzh+RDPVqf1WpFSqDugJtBjmeZo8PQd3X2cPPyePi0a0I5yVLzhx3gLatktdtCICLseBzIJCNdcN4ZwcGl9UD0ecm7i29vqTpqUqR/KCymCrOoSsIViV6xuQNAzi1mFrSmA5jnJrkAGpujGIeLYN8mKVMBpswDgZB44Uyas/6yVZZQqA0FbCCGMFTiOpUkj3+uqUMOMDi2gD9S2kpTiKldtW7aLJ20RdCnjDT2cPcggVgwt7kEPIyb5k9+1LoXHpcYdGqEdufeJtHdJBMFndRlZTHXdomvmXM6juAJPOxHlr1ebhTgW5hDK6wTe1TzmUO+AsOiAb0oNwYbnyELr2xgg6xMeDVc5LHTSTT4/3NH/+A5csbqasFAAA" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5WYUW/aMBCA/wvP1bq2a9ftDeimdutaVNh4mKbIOBdiYZLIdqBo2n+fQyhxEttnXnPffefkfE7g99+Bglc1+DyYCLYhCr7DbkhpXmZqcDYoiEp1iHIiJcjzHvIuVWuuuRXL4sHni8vbf2dH38tk3Dfoi0jOnKl0ROiqLKzZTRjz5GI1EfmGxSDsJgPwuaY8334jGyKpYIXya92sr8KccA6Wx11f92Ue2jAinGQUWk+cZQpEQqj29Ki28vL6pq+8Z1LlYjfiOV35pCYXrkVW2lAnKMk2dLFv6EnywCXvwQDxQ5bkiPKABMhegIKezAXHtkALPEk8zUuB7jALflKRWSpApjmPg+uYGUGlCs1DpohiG/xuOnBAgTmwZaoQ8REKEMrD1ErEaXIh2vbNofY+7iviHkR07vbAeP/4HUtqEajKN2cmgIqe8ilbZkSVAtwyA0KFEl2aDF2bs33HqE8xzrOEibXubJ4h57Md9cnvgMOSaFB6m9rHwqS4D1Hp8MNbmtVkAl5Re0KeM84y5wnjgk8u4D9v/CknFAssgEinGqv7C+7OdSFUOCXrgruX2GFQ3c9MKt+btAv5hDO9C9egxG4Yx/o5Oddo4YK0qC9Y5P6+6TA+3S/dMX0wuExN2Cexf2AbGvdXdedNVz/LxqF2RfVGqy93Mt9/+nhxfdnPnghI2KvDUQcx0/4MHnI+q1K7plYwyDQiklG3qwkH2e6JTK2eKhBkeNTnLN25F2TEg3zVfME4JdkS3NIuFGYuF5XCLqxjmGc//K39XTvergflzyyLOAYww1x/7Pay9xfRTD03X8uMVu/unsCIYZ6n4dNzdPdl/PBj+DhtRBsiWHUkyvMW0LZdmaIFkXB1Gak8KvV43xIhyK7xJYflyHMb19befDC0VOcoUVIVrfWMkiVEi6rDEcniKG1t96YEluMptwQVkfo8iBKRr6OiXHBGoxVYb8aDI0WK+s+XiqwzJUDsKmGFsQLHldQppHuAdkrY8ROLGAsNLWSkeIpVbau7aPM2UZ8CXvHd2YM8Qs3gwh7kEQqyrdht+1BoXGbco5H6R8thx7smpINgssMYOU2HuEfT3H91B/UZYNPZuGCtbh7u1JBPqJJbvKl9yqPcgGDJDmlID8KF1ZOH2NcbK+gR7zdWdV96o9l8Zryn+fMfwlHVfXwWAAA=" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 73cd21c..5b0da55 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7Vd3ZMbN47/X2ZevY5I9qffnOxdbe729lLJ1ubBlVK1pR6P1hppTtJ44krlf78m2ZRANECyP/yUcQQCIPFB4Ed29x93p+Pr+e7dhz/uPu8O27t3Rfbm7tA8tXfv7l52h0vVnE7N1/XluH5sf797c/dy2ne/PLwcNpfd8XD+bkDz9vHytO8IN/vmfG47znd3f74hmHekesRtPMF8QJPKvBsQZT6gSWXuT/ljc26VjK6MJUsVYamjU6DIkmdxeaiiAoZEqexfH4/7Vg89Na8EY/hzKsuOVI8wQwmW8OdUlp/ay/r5tPvSXNr15/br+uF0fFqf23ZL8GdpRwl7+bjfbW7jAUNOJD9ijOBmuz2153PP48qTEcpQz5lpzzJxlj11cjJpzo/rj/vj5jOVRa4/prI77z4d7Ii1HkzwRBSpjL+0p93D1zDrAU0q8003+nJ62VzWT93SNZ/ankdz2HKyYkNGLVjPglut/ueRS6WHttsAb5IuKETJq5B/vP/H/67/+h8//Pg/7//+y5X5l+a0az7u2/N33u9BpnJVlyK/cf7Vy1KXr88dt1+jqUnmxZXDzz/98OPh0p4ems2N0c79n/N38PcgU7GSIIk+b9aaVQrD+xsxYPzm7rk5tYcLVpER+HJu18/tYbs7fEoT6g+YLnhg1qBUQD1KpFxl1S0Cm33iyvaU00XppGljdXd4OKYJHYyZJ77ZbI4vXRE1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wn70WcPv4F+QB8UR3qVCxxw70Z80gPwgA1W5OgltV/xNykA+sZioHDrPtqfmAkYWkBscp8ICGXRvvA0hQD5gv+3irnTrs2TR5Vg93HcdCuJZfOrRMXsOabZLO++Prv6+fCOG9EoSUYm856maYro3hRs+CsW74MKLh/ShZcpU5cfRewbralX2CDczzy0Z7j699Bfc5Fpy+gjo9DIbPVyC+I9m4vnIZXu0UEN2RLC5z44APeGC6Z9tv3T0eX3yAEdierfzJrhPmMnHts6Urut1BiGSh2MFNCggAuvJg5f5Q1xKcSzk3lEQXkvZOlgdDAS9PYvHogzfA27iAezlsHtvNZ3RY7+Gk0aFUxwYjRLj+xp1IStbjX5615XxW0FPdzT3pwDTJ7uMvXetFNIDSu8bpkq/9L3uc9nJ5qHhYC0KlDIMui+wevnJp3Ls/GOag02+34lQ+h97NxUWfzQaxDIORBYupg05oHPbMYHiUpV9hBLR14FnNRd6gyfLvKYdGabt16cvbrm5jWYGoyoUNkVhdM3doOPjYL9x1YWRU7hxpxU6hY0TygTf0lOTSA7+D5nA46ba/vbl73j235nzh3Yff/vzz/wGidfMWagsBAA=="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7Vd25IjN479l6rX3h6RzKvfPJ7dmNnLrMOeXT90OBTZUlaXplVSrS5d7nD43zdJJiUQCZDMSz+52gIBkIcEgUNm5u8Pp+Pb+eG7D78/fN4dtg/fFdm7h0Pz0j5893DdHS5Vczo1X9eX4/q5/e3h3cP1tO9+eboeNpfd8XD+00Dm/fPlZd8JbvbN+dx2mh8e/nhHKO9EdYt7e0L5QCZVedcgqnwgk6rc7/LH5twqGR0ZK5ZqwkpHu0CJJffi8lRFDQyFUtW/PR/3rW56at4IxfDnVJWdqG5hmhIq4c+pKj+1l/XrafelubTrz+3X9dPp+LI+t+2W0M/KjjJ2/bjfbe7tgULOJN9ijOFmuz2153Ov46aTMcpIz+lprzKxl710cjBpzs/rj/vj5jMVRW4/pqo77z4dbIu1bkzoRBKpir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sTzY4c4JpGhdL/G/mwRMAWBs6hJw7WcidwfWM0uMNbyefLlO7XbhwhzaSrZLO++PbP2+fleKnJdyf2CxMsyPr7fXUnz63m+Nhi05B4Npk7z8YlsWkMu3wCCb34haLglYxOLSGOTq7zZum566C2g+vUsJ7MZI9xzQa8M0PeADEHpibltdD9x/iCi285S3ZDFqTEnSFAlle9gKBa07EVWie5fmJOy8wuREu+dZvduQ0bPQa9r2HdzMEmwrfyLWe0MQjCElgySaaNy3EjWwY4CXLj9014PNHb4dkm3c1/PHq5fE5aMiOHFn7wzAqbmyHOxyS7nRIsrznYCKDNewedhDu/q1wpL8oXBCqXD3KXiG481c6wbf3Iz2CEASfJBXPPq0GRoDb0a+HzXO7+YxuPMFJx14yuDWlKmm4Zlx5INXtrjGH5PVVY+mrgnPXHeFJR3NK9lz+2pXERGEuPcqg34X63Ygt8K+Xp4onHCGJzSjo4sru6Su3vXokdFiD3ha7Eaf2We9ZEl6Ljm+DvQUuT/bUmDoVh7kKez9+eO4pvBPAypXUK24tDopf/6mXUCuNWxfQvJV8b8tFVFx9wON/sbpRHKy/mtZ7un3gF44YvL3nHlVSbDWkFZF6YDGl2Cdt2MQGFqGKvmD/67uH191ra86Ovvvw6x9//D/0Kznf7B0BAA=="; \ No newline at end of file diff --git a/docs/classes/PrivateKeyAccount.html b/docs/classes/PrivateKeyAccount.html index b84721b..73d5995 100644 --- a/docs/classes/PrivateKeyAccount.html +++ b/docs/classes/PrivateKeyAccount.html @@ -1,5 +1,5 @@ PrivateKeyAccount | banani

Class PrivateKeyAccount

Does everything a Wallet can do, except a private key is put in instead of a seed, and so limited to one address. Means changing .index will not do anything obviously.

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

_private_key: string
add_do_work: boolean = true
index: number

Seed index. Seeds can have multiple private keys and addresses

-
seed: string
work_function?: WorkFunction

Accessors

  • get address(): `ban_${string}` | `nano_${string}`
  • Returns `ban_${string}` | `nano_${string}`

  • get private_key(): string
  • Returns string

  • get public_key(): string
  • Returns string

Methods

  • Parameters

    • new_representative: `ban_${string}` | `nano_${string}`
    • Optional work: boolean

    Returns Promise<string>

  • Parameters

    • Optional new_representative: `ban_${string}` | `nano_${string}`

      banano address to change representative to

      +
    • Optional work_function: WorkFunction

    Returns PrivateKeyAccount

Properties

_private_key: string
add_do_work: boolean = true
index: number

Seed index. Seeds can have multiple private keys and addresses

+
seed: string
work_function?: WorkFunction

Accessors

  • get address(): `ban_${string}` | `nano_${string}`
  • Returns `ban_${string}` | `nano_${string}`

  • get private_key(): string
  • Returns string

  • get public_key(): string
  • Returns string

Methods

  • Parameters

    • new_representative: `ban_${string}` | `nano_${string}`
    • Optional work: boolean

    Returns Promise<string>

  • Parameters

    • Optional new_representative: `ban_${string}` | `nano_${string}`

      banano address to change representative to

    • Optional gen_work: boolean

      whether or not to call work function to generate work

      -

    Returns Promise<string>

  • Parameters

    • Optional include_confirmed: boolean
    • Optional representative: boolean
    • Optional weight: boolean
    • Optional pending: boolean

    Returns Promise<AccountInfoRPC>

  • Parameters

    • Optional block_hash: string

      send block to receive

      +

    Returns Promise<string>

  • Parameters

    • Optional include_confirmed: boolean
    • Optional representative: boolean
    • Optional weight: boolean
    • Optional pending: boolean

    Returns Promise<AccountInfoRPC>

  • Parameters

    • Optional block_hash: string

      send block to receive

    • Optional gen_work: boolean

      whether or not to call work function to generate work

    • Optional representative: `ban_${string}` | `nano_${string}`

      optionally provide a representative if you do not want to use the current representative receive bananos from a specific send block

      -

    Returns Promise<string>

  • Parameters

    • Optional count: number = 20

      Max amount of blocks to receive +

    Returns Promise<string>

  • Parameters

    • Optional count: number = 20

      Max amount of blocks to receive receive all (up to count and exceeding threshold if applicable) receivable blocks

    • Optional threshold: `${number}`

      Min amount of Banano to receive in whole

    • Optional gen_work: boolean

      whether or not to call work function to generate work Receive all receivable transactions (up to count, and over threshold

      -

    Returns Promise<string[]>

  • Parameters

    • Optional to: `ban_${string}` | `nano_${string}`

      address to send to

      +

    Returns Promise<string[]>

  • Parameters

    • Optional to: `ban_${string}` | `nano_${string}`

      address to send to

    • Optional amount: `${number}`

      amount in whole bananos to send

    • Optional gen_work: boolean

      whether or not to call work function to generate work

    • Optional representative: `ban_${string}` | `nano_${string}`

      optionally provide a representative if you do not want to use the current representative

    • Optional cached_account_info: AccountInfoRPC

      can save one rpc call in some cases. Mostly for internal use. Make sure that in the RPC call, "representative" is "true" Send Bananos

      -

    Returns Promise<string>

  • Parameters

    • to: `ban_${string}` | `nano_${string}`
    • Optional work: boolean
    • Optional representative: `ban_${string}` | `nano_${string}`

    Returns Promise<string>

  • Send by passing in a fixed final balance

    -

    Parameters

    • to: `ban_${string}` | `nano_${string}`
    • end_bal: `${number}`
    • Optional gen_work: boolean
    • Optional representative: `ban_${string}` | `nano_${string}`
    • Optional cached_account_info: AccountInfoRPC

    Returns Promise<string>

\ No newline at end of file +

Returns Promise<string>

\ No newline at end of file diff --git a/docs/classes/RPC.html b/docs/classes/RPC.html index f1f5db4..faf8bc2 100644 --- a/docs/classes/RPC.html +++ b/docs/classes/RPC.html @@ -1,5 +1,5 @@ RPC | banani

Class RPC

Sends RPC requests to the RPC node, also has wrappers for actions that only read the network (write actions are handled by the Wallet class)

-

Hierarchy (view full)

Implements

Constructors

Hierarchy (view full)

Implements

Constructors

  • Parameters

    • rpc_url: string
    • Optional use_pending: boolean = false

      If true, uses "pending" instead of "receivable" in RPC action names, for compatibility with older versions of the node

      -

    Returns RPC

Properties

DECIMALS: undefined = undefined
debug: boolean = false
headers: undefined | Record<string, string>

HTTP headers to send with any RPC requests, defaults to { "Content-Type": "application/json" }

-
rpc_url: string
use_pending: boolean

Methods

  • The function that sends the RPC POST request

    -

    Type Parameters

    • T extends Record<string, any>

    Parameters

    • payload: Record<string, any>

    Returns Promise<T>

\ No newline at end of file +

Returns RPC

Properties

DECIMALS: undefined = undefined
debug: boolean = false
headers: undefined | Record<string, string>

HTTP headers to send with any RPC requests, defaults to { "Content-Type": "application/json" }

+
rpc_url: string
use_pending: boolean

Methods

\ No newline at end of file diff --git a/docs/classes/RPCWithBackup.html b/docs/classes/RPCWithBackup.html index 6bb0a69..9b72867 100644 --- a/docs/classes/RPCWithBackup.html +++ b/docs/classes/RPCWithBackup.html @@ -1,5 +1,5 @@ RPCWithBackup | banani

Class RPCWithBackup

Sends RPC requests to the RPC node, also has wrappers for actions that only read the network (write actions are handled by the Wallet class)

-

Hierarchy (view full)

  • RPC
    • RPCWithBackup

Constructors

Hierarchy (view full)

  • RPC
    • RPCWithBackup

Constructors

  • Parameters

    • rpc_urls: string[]
    • Optional timeout: number

      Request to RPC timeout, in milliseconds. If RPC request fails or timeouts, tries the next RPC

      -
    • use_pending: boolean = false

    Returns RPCWithBackup

Properties

DECIMALS: undefined = undefined
debug: boolean = false
headers: undefined | Record<string, string>

HTTP headers to send with any RPC requests, defaults to { "Content-Type": "application/json" }

-
rpc_url: string
rpc_urls: string[]
timeout: number
use_pending: boolean

Methods

  • The function that sends the RPC POST request

    -

    Type Parameters

    • T extends Record<string, any>

    Parameters

    • payload: Record<string, any>

    Returns Promise<T>

\ No newline at end of file +
  • use_pending: boolean = false
  • Returns RPCWithBackup

    Properties

    DECIMALS: undefined = undefined
    debug: boolean = false
    headers: undefined | Record<string, string>

    HTTP headers to send with any RPC requests, defaults to { "Content-Type": "application/json" }

    +
    rpc_url: string
    rpc_urls: string[]
    timeout: number
    use_pending: boolean

    Methods

    \ No newline at end of file diff --git a/docs/classes/RPCWorkProvider.html b/docs/classes/RPCWorkProvider.html index 9ba0917..1d6724a 100644 --- a/docs/classes/RPCWorkProvider.html +++ b/docs/classes/RPCWorkProvider.html @@ -1,7 +1,7 @@ RPCWorkProvider | banani

    Class RPCWorkProvider

    Request work from an RPC provider that supports the work_generate RPC call

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    extra_payload: Record<string, any> = {}

    Extra json to send with the rpc payload. Needed for rpc.nano.to's work_generate, unfortunately

    -
    rpc: RPC

    Methods

    • Parameters

      • block_hash: string

      Returns Promise<string>

    \ No newline at end of file +

    Constructors

    Properties

    extra_payload: Record<string, any> = {}

    Extra json to send with the rpc payload. Needed for rpc.nano.to's work_generate, unfortunately

    +
    rpc: RPC

    Methods

    \ No newline at end of file diff --git a/docs/classes/SlowJavascriptWorkProvider.html b/docs/classes/SlowJavascriptWorkProvider.html index 0c162dc..07ae74a 100644 --- a/docs/classes/SlowJavascriptWorkProvider.html +++ b/docs/classes/SlowJavascriptWorkProvider.html @@ -1,4 +1,4 @@ SlowJavascriptWorkProvider | banani

    Class SlowJavascriptWorkProvider

    Use Javascript to slowly generate work for blocks

    -

    Implements

    Constructors

    Implements

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • block_hash: string

      Returns Promise<string>

    \ No newline at end of file +

    Constructors

    Methods

    \ No newline at end of file diff --git a/docs/classes/Wallet.html b/docs/classes/Wallet.html index 70a7827..b434540 100644 --- a/docs/classes/Wallet.html +++ b/docs/classes/Wallet.html @@ -1,5 +1,5 @@ Wallet | banani

    Class Wallet

    wallets are created from seeds, so they can have multiple addresses by changing the index. use wallets to "write" (send, receive, change rep) to the network

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    • Parameters

      • rpc: RPCInterface
      • Optional seed: string

        Seed for the wallet from which private keys are derived. 64 character hex string (32 bytes)

        -
      • index: number = 0
      • Optional work_function: WorkFunction

      Returns Wallet

    Properties

    add_do_work: boolean = true
    index: number

    Seed index. Seeds can have multiple private keys and addresses

    -
    seed: string
    work_function?: WorkFunction

    Accessors

    • get address(): `ban_${string}` | `nano_${string}`
    • Returns `ban_${string}` | `nano_${string}`

    • get private_key(): string
    • Returns string

    • get public_key(): string
    • Returns string

    Methods

    • Parameters

      • new_representative: `ban_${string}` | `nano_${string}`
      • Optional work: boolean

      Returns Promise<string>

    • Parameters

      • Optional new_representative: `ban_${string}` | `nano_${string}`

        banano address to change representative to

        +
      • index: number = 0
      • Optional work_function: WorkFunction

      Returns Wallet

    Properties

    add_do_work: boolean = true
    index: number

    Seed index. Seeds can have multiple private keys and addresses

    +
    seed: string
    work_function?: WorkFunction

    Accessors

    • get address(): `ban_${string}` | `nano_${string}`
    • Returns `ban_${string}` | `nano_${string}`

    • get private_key(): string
    • Returns string

    • get public_key(): string
    • Returns string

    Methods

    • Parameters

      • new_representative: `ban_${string}` | `nano_${string}`
      • Optional work: boolean

      Returns Promise<string>

    • Parameters

      • Optional new_representative: `ban_${string}` | `nano_${string}`

        banano address to change representative to

      • Optional gen_work: boolean

        whether or not to call work function to generate work

        -

      Returns Promise<string>

    • Parameters

      • Optional include_confirmed: boolean
      • Optional representative: boolean
      • Optional weight: boolean
      • Optional pending: boolean

      Returns Promise<AccountInfoRPC>

    • Parameters

      • Optional block_hash: string

        send block to receive

        +

      Returns Promise<string>

    • Parameters

      • Optional include_confirmed: boolean
      • Optional representative: boolean
      • Optional weight: boolean
      • Optional pending: boolean

      Returns Promise<AccountInfoRPC>

    • Parameters

      • Optional block_hash: string

        send block to receive

      • Optional gen_work: boolean

        whether or not to call work function to generate work

      • Optional representative: `ban_${string}` | `nano_${string}`

        optionally provide a representative if you do not want to use the current representative receive bananos from a specific send block

        -

      Returns Promise<string>

    • Parameters

      • Optional count: number = 20

        Max amount of blocks to receive +

      Returns Promise<string>

    • Parameters

      • Optional count: number = 20

        Max amount of blocks to receive receive all (up to count and exceeding threshold if applicable) receivable blocks

      • Optional threshold: `${number}`

        Min amount of Banano to receive in whole

      • Optional gen_work: boolean

        whether or not to call work function to generate work Receive all receivable transactions (up to count, and over threshold

        -

      Returns Promise<string[]>

    • Parameters

      • Optional to: `ban_${string}` | `nano_${string}`

        address to send to

        +

      Returns Promise<string[]>

    • Parameters

      • Optional to: `ban_${string}` | `nano_${string}`

        address to send to

      • Optional amount: `${number}`

        amount in whole bananos to send

      • Optional gen_work: boolean

        whether or not to call work function to generate work

      • Optional representative: `ban_${string}` | `nano_${string}`

        optionally provide a representative if you do not want to use the current representative

      • Optional cached_account_info: AccountInfoRPC

        can save one rpc call in some cases. Mostly for internal use. Make sure that in the RPC call, "representative" is "true" Send Bananos

        -

      Returns Promise<string>

    • Parameters

      • to: `ban_${string}` | `nano_${string}`
      • Optional work: boolean
      • Optional representative: `ban_${string}` | `nano_${string}`

      Returns Promise<string>

    • Send by passing in a fixed final balance

      -

      Parameters

      • to: `ban_${string}` | `nano_${string}`
      • end_bal: `${number}`
      • Optional gen_work: boolean
      • Optional representative: `ban_${string}` | `nano_${string}`
      • Optional cached_account_info: AccountInfoRPC

      Returns Promise<string>

    • Parameters

      • message: string

      Returns string

    \ No newline at end of file +

    Returns Promise<string>

    \ No newline at end of file diff --git a/docs/functions/base32_to_uint8array.html b/docs/functions/base32_to_uint8array.html index 8959973..49167dc 100644 --- a/docs/functions/base32_to_uint8array.html +++ b/docs/functions/base32_to_uint8array.html @@ -1 +1 @@ -base32_to_uint8array | banani

    Function base32_to_uint8array

    • Parameters

      • base32: string

      Returns Uint8Array

    \ No newline at end of file +base32_to_uint8array | banani

    Function base32_to_uint8array

    • Parameters

      • base32: string

      Returns Uint8Array

    \ No newline at end of file diff --git a/docs/functions/construct_message_block_and_hash.html b/docs/functions/construct_message_block_and_hash.html index 4aaae2b..2801ce4 100644 --- a/docs/functions/construct_message_block_and_hash.html +++ b/docs/functions/construct_message_block_and_hash.html @@ -1,2 +1,2 @@ construct_message_block_and_hash | banani

    Function construct_message_block_and_hash

    • For use in sign_message and verify_signed_message

      -

      Parameters

      • address: `ban_${string}` | `nano_${string}`
      • message: string
      • preamble: string = MESSAGE_PREAMBLE

      Returns string

    \ No newline at end of file +

    Parameters

    Returns string

    \ No newline at end of file diff --git a/docs/functions/get_address_from_public_key.html b/docs/functions/get_address_from_public_key.html index 8d01ed6..f15c367 100644 --- a/docs/functions/get_address_from_public_key.html +++ b/docs/functions/get_address_from_public_key.html @@ -1 +1 @@ -get_address_from_public_key | banani

    Function get_address_from_public_key

    \ No newline at end of file +get_address_from_public_key | banani

    Function get_address_from_public_key

    \ No newline at end of file diff --git a/docs/functions/get_private_key_from_seed.html b/docs/functions/get_private_key_from_seed.html index 60eed10..f8f3f05 100644 --- a/docs/functions/get_private_key_from_seed.html +++ b/docs/functions/get_private_key_from_seed.html @@ -1 +1 @@ -get_private_key_from_seed | banani

    Function get_private_key_from_seed

    • Parameters

      • seed: string
      • index: number

      Returns string

    \ No newline at end of file +get_private_key_from_seed | banani

    Function get_private_key_from_seed

    • Parameters

      • seed: string
      • index: number

      Returns string

    \ No newline at end of file diff --git a/docs/functions/get_public_key_from_address.html b/docs/functions/get_public_key_from_address.html index fd73358..dfb28aa 100644 --- a/docs/functions/get_public_key_from_address.html +++ b/docs/functions/get_public_key_from_address.html @@ -1 +1 @@ -get_public_key_from_address | banani

    Function get_public_key_from_address

    • Parameters

      • address: `ban_${string}` | `nano_${string}`

      Returns string

    \ No newline at end of file +get_public_key_from_address | banani

    Function get_public_key_from_address

    • Parameters

      • address: `ban_${string}` | `nano_${string}`

      Returns string

    \ No newline at end of file diff --git a/docs/functions/get_public_key_from_private_key.html b/docs/functions/get_public_key_from_private_key.html index 73b2585..4a6b7b6 100644 --- a/docs/functions/get_public_key_from_private_key.html +++ b/docs/functions/get_public_key_from_private_key.html @@ -1 +1 @@ -get_public_key_from_private_key | banani

    Function get_public_key_from_private_key

    • Parameters

      • private_key: string

      Returns string

    \ No newline at end of file +get_public_key_from_private_key | banani

    Function get_public_key_from_private_key

    • Parameters

      • private_key: string

      Returns string

    \ No newline at end of file diff --git a/docs/functions/hash_block.html b/docs/functions/hash_block.html index ee90a3e..5851816 100644 --- a/docs/functions/hash_block.html +++ b/docs/functions/hash_block.html @@ -1 +1 @@ -hash_block | banani

    Function hash_block

    \ No newline at end of file +hash_block | banani

    Function hash_block

    \ No newline at end of file diff --git a/docs/functions/hex_to_uint8array.html b/docs/functions/hex_to_uint8array.html index 934778d..19d9d4e 100644 --- a/docs/functions/hex_to_uint8array.html +++ b/docs/functions/hex_to_uint8array.html @@ -1 +1 @@ -hex_to_uint8array | banani

    Function hex_to_uint8array

    • Parameters

      • hex: string

      Returns Uint8Array

    \ No newline at end of file +hex_to_uint8array | banani

    Function hex_to_uint8array

    • Parameters

      • hex: string

      Returns Uint8Array

    \ No newline at end of file diff --git a/docs/functions/int_to_uint8array.html b/docs/functions/int_to_uint8array.html index c161109..e549461 100644 --- a/docs/functions/int_to_uint8array.html +++ b/docs/functions/int_to_uint8array.html @@ -1 +1 @@ -int_to_uint8array | banani

    Function int_to_uint8array

    • Parameters

      • int: number
      • len: number

      Returns Uint8Array

    \ No newline at end of file +int_to_uint8array | banani

    Function int_to_uint8array

    • Parameters

      • int: number
      • len: number

      Returns Uint8Array

    \ No newline at end of file diff --git a/docs/functions/raw_to_whole.html b/docs/functions/raw_to_whole.html index 72729db..e7854da 100644 --- a/docs/functions/raw_to_whole.html +++ b/docs/functions/raw_to_whole.html @@ -1,2 +1,2 @@ raw_to_whole | banani

    Function raw_to_whole

    • Turn raw Bananos (bigint) into whole Bananos (string)

      -

      Parameters

      • raw: bigint
      • decimals: number = BANANO_DECIMALS

      Returns Whole

    \ No newline at end of file +

    Parameters

    Returns Whole

    \ No newline at end of file diff --git a/docs/functions/sign_block_hash.html b/docs/functions/sign_block_hash.html index 7965a80..0cf2031 100644 --- a/docs/functions/sign_block_hash.html +++ b/docs/functions/sign_block_hash.html @@ -1 +1 @@ -sign_block_hash | banani

    Function sign_block_hash

    • Parameters

      • private_key: string
      • block_hash: string

      Returns string

    \ No newline at end of file +sign_block_hash | banani

    Function sign_block_hash

    • Parameters

      • private_key: string
      • block_hash: string

      Returns string

    \ No newline at end of file diff --git a/docs/functions/sign_message.html b/docs/functions/sign_message.html index d7b8e7d..efe06c9 100644 --- a/docs/functions/sign_message.html +++ b/docs/functions/sign_message.html @@ -1,3 +1,3 @@ sign_message | banani

    Function sign_message

    • Sign message by constructing a dummy block with the message (why not just sign the message itself instead of putting it in a dummy block? ledger support). This is already the standard across Banano services and wallets which support signing so please don't invent your own scheme

      Parameters

      • private_key: string
      • message: string
      • preamble: string = MESSAGE_PREAMBLE

      Returns string

      The signature in hex

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/functions/uint8array_to_base32.html b/docs/functions/uint8array_to_base32.html index 35e90cb..0958876 100644 --- a/docs/functions/uint8array_to_base32.html +++ b/docs/functions/uint8array_to_base32.html @@ -1 +1 @@ -uint8array_to_base32 | banani

    Function uint8array_to_base32

    • Parameters

      • uint8array: Uint8Array

      Returns string

    \ No newline at end of file +uint8array_to_base32 | banani

    Function uint8array_to_base32

    • Parameters

      • uint8array: Uint8Array

      Returns string

    \ No newline at end of file diff --git a/docs/functions/uint8array_to_hex.html b/docs/functions/uint8array_to_hex.html index bc1e6a1..2bd5556 100644 --- a/docs/functions/uint8array_to_hex.html +++ b/docs/functions/uint8array_to_hex.html @@ -1 +1 @@ -uint8array_to_hex | banani

    Function uint8array_to_hex

    • Parameters

      • uint8array: Uint8Array

      Returns string

    \ No newline at end of file +uint8array_to_hex | banani

    Function uint8array_to_hex

    • Parameters

      • uint8array: Uint8Array

      Returns string

    \ No newline at end of file diff --git a/docs/functions/utf8_to_uint8array.html b/docs/functions/utf8_to_uint8array.html index 9c83955..7d554ef 100644 --- a/docs/functions/utf8_to_uint8array.html +++ b/docs/functions/utf8_to_uint8array.html @@ -1 +1 @@ -utf8_to_uint8array | banani

    Function utf8_to_uint8array

    • Parameters

      • utf8: string

      Returns Uint8Array

    \ No newline at end of file +utf8_to_uint8array | banani

    Function utf8_to_uint8array

    • Parameters

      • utf8: string

      Returns Uint8Array

    \ No newline at end of file diff --git a/docs/functions/verify_block_hash.html b/docs/functions/verify_block_hash.html index e32a770..4bc56c5 100644 --- a/docs/functions/verify_block_hash.html +++ b/docs/functions/verify_block_hash.html @@ -1,2 +1,2 @@ verify_block_hash | banani

    Function verify_block_hash

    • Make sure the alleged signature for a block hash is valid

      -

      Parameters

      • public_key: string
      • signature: string
      • block_hash: string

      Returns boolean

    \ No newline at end of file +

    Parameters

    Returns boolean

    \ No newline at end of file diff --git a/docs/functions/verify_signed_message.html b/docs/functions/verify_signed_message.html index 91134ab..a37e826 100644 --- a/docs/functions/verify_signed_message.html +++ b/docs/functions/verify_signed_message.html @@ -1,3 +1,3 @@ verify_signed_message | banani

    Function verify_signed_message

    • Use to verify message signatures. A wrapper for verify_block_hash

      Parameters

      • address: `ban_${string}` | `nano_${string}`
      • message: string
      • signature: string
      • preamble: string = MESSAGE_PREAMBLE

      Returns boolean

      Whether the message signature was actually signed by that address

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/functions/whole_to_raw.html b/docs/functions/whole_to_raw.html index 80b6ee1..25a68a7 100644 --- a/docs/functions/whole_to_raw.html +++ b/docs/functions/whole_to_raw.html @@ -1,2 +1,2 @@ whole_to_raw | banani

    Function whole_to_raw

    • Turn whole Bananos (string) into raw Bananos (bigint)

      -

      Parameters

      • whole: `${number}`
      • decimals: number = BANANO_DECIMALS

      Returns bigint

    \ No newline at end of file +

    Parameters

    Returns bigint

    \ No newline at end of file diff --git a/docs/interfaces/AccountBalanceRPC.html b/docs/interfaces/AccountBalanceRPC.html index 67cb99b..eaee16b 100644 --- a/docs/interfaces/AccountBalanceRPC.html +++ b/docs/interfaces/AccountBalanceRPC.html @@ -1,4 +1,4 @@ -AccountBalanceRPC | banani

    Interface AccountBalanceRPC

    interface AccountBalanceRPC {
        balance: `${number}`;
        pending: `${number}`;
        receivable?: `${number}`;
    }

    Properties

    balance +AccountBalanceRPC | banani

    Interface AccountBalanceRPC

    interface AccountBalanceRPC {
        balance: `${number}`;
        pending: `${number}`;
        receivable?: `${number}`;
    }

    Properties

    balance: `${number}`
    pending: `${number}`
    receivable?: `${number}`
    \ No newline at end of file +

    Properties

    balance: `${number}`
    pending: `${number}`
    receivable?: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/AccountHistoryBlock.html b/docs/interfaces/AccountHistoryBlock.html index a725b3b..229fc1b 100644 --- a/docs/interfaces/AccountHistoryBlock.html +++ b/docs/interfaces/AccountHistoryBlock.html @@ -1,8 +1,8 @@ -AccountHistoryBlock | banani

    Interface AccountHistoryBlock

    interface AccountHistoryBlock {
        account: `ban_${string}` | `nano_${string}`;
        amount: `${number}`;
        confirmed: boolean;
        hash: string;
        height: `${number}`;
        local_timestamp: `${number}`;
        type: BlockStateChangeTypes;
    }

    Properties

    account +AccountHistoryBlock | banani

    Interface AccountHistoryBlock

    interface AccountHistoryBlock {
        account: `ban_${string}` | `nano_${string}`;
        amount: `${number}`;
        confirmed: boolean;
        hash: string;
        height: `${number}`;
        local_timestamp: `${number}`;
        type: BlockStateChangeTypes;
    }

    Properties

    account: `ban_${string}` | `nano_${string}`
    amount: `${number}`
    confirmed: boolean
    hash: string
    height: `${number}`
    local_timestamp: `${number}`
    \ No newline at end of file +

    Properties

    account: `ban_${string}` | `nano_${string}`
    amount: `${number}`
    confirmed: boolean
    hash: string
    height: `${number}`
    local_timestamp: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/AccountHistoryRPC.html b/docs/interfaces/AccountHistoryRPC.html index 1f3fde7..3f81942 100644 --- a/docs/interfaces/AccountHistoryRPC.html +++ b/docs/interfaces/AccountHistoryRPC.html @@ -1,4 +1,4 @@ -AccountHistoryRPC | banani

    Interface AccountHistoryRPC

    interface AccountHistoryRPC {
        account: `ban_${string}` | `nano_${string}`;
        history: AccountHistoryBlock[];
        previous?: string;
    }

    Properties

    account +AccountHistoryRPC | banani

    Interface AccountHistoryRPC

    interface AccountHistoryRPC {
        account: `ban_${string}` | `nano_${string}`;
        history: AccountHistoryBlock[];
        previous?: string;
    }

    Properties

    account: `ban_${string}` | `nano_${string}`
    previous?: string
    \ No newline at end of file +

    Properties

    account: `ban_${string}` | `nano_${string}`
    previous?: string
    \ No newline at end of file diff --git a/docs/interfaces/AccountHistoryRawBlock.html b/docs/interfaces/AccountHistoryRawBlock.html index 42424bf..670e684 100644 --- a/docs/interfaces/AccountHistoryRawBlock.html +++ b/docs/interfaces/AccountHistoryRawBlock.html @@ -1,4 +1,4 @@ -AccountHistoryRawBlock | banani

    Interface AccountHistoryRawBlock

    interface AccountHistoryRawBlock {
        account: `ban_${string}` | `nano_${string}`;
        amount: `${number}`;
        amount_decimal: `${number}`;
        balance: `${number}`;
        balance_decimal: `${number}`;
        confirmed: "false" | "true";
        hash: string;
        height: `${number}`;
        link: string;
        local_timestamp: `${number}`;
        previous: string;
        representative: `ban_${string}` | `nano_${string}`;
        signature: string;
        subtype: BlockSubtype;
        type: BlockAllTypes;
        work: string;
    }

    Properties

    account +AccountHistoryRawBlock | banani

    Interface AccountHistoryRawBlock

    interface AccountHistoryRawBlock {
        account: `ban_${string}` | `nano_${string}`;
        amount: `${number}`;
        amount_decimal: `${number}`;
        balance: `${number}`;
        balance_decimal: `${number}`;
        confirmed: "false" | "true";
        hash: string;
        height: `${number}`;
        link: string;
        local_timestamp: `${number}`;
        previous: string;
        representative: `ban_${string}` | `nano_${string}`;
        signature: string;
        subtype: BlockSubtype;
        type: BlockAllTypes;
        work: string;
    }

    Properties

    Properties

    account: `ban_${string}` | `nano_${string}`
    amount: `${number}`
    amount_decimal: `${number}`
    balance: `${number}`
    balance_decimal: `${number}`
    confirmed: "false" | "true"
    hash: string
    height: `${number}`
    link: string
    local_timestamp: `${number}`
    previous: string
    representative: `ban_${string}` | `nano_${string}`
    signature: string
    subtype: BlockSubtype
    work: string
    \ No newline at end of file +

    Properties

    account: `ban_${string}` | `nano_${string}`
    amount: `${number}`
    amount_decimal: `${number}`
    balance: `${number}`
    balance_decimal: `${number}`
    confirmed: "false" | "true"
    hash: string
    height: `${number}`
    link: string
    local_timestamp: `${number}`
    previous: string
    representative: `ban_${string}` | `nano_${string}`
    signature: string
    subtype: BlockSubtype
    work: string
    \ No newline at end of file diff --git a/docs/interfaces/AccountHistoryRawRPC.html b/docs/interfaces/AccountHistoryRawRPC.html index 0fcb4ff..e49abd0 100644 --- a/docs/interfaces/AccountHistoryRawRPC.html +++ b/docs/interfaces/AccountHistoryRawRPC.html @@ -1,4 +1,4 @@ -AccountHistoryRawRPC | banani

    Interface AccountHistoryRawRPC

    interface AccountHistoryRawRPC {
        account: `ban_${string}` | `nano_${string}`;
        history: AccountHistoryRawBlock[];
        previous?: string;
    }

    Properties

    account +AccountHistoryRawRPC | banani

    Interface AccountHistoryRawRPC

    interface AccountHistoryRawRPC {
        account: `ban_${string}` | `nano_${string}`;
        history: AccountHistoryRawBlock[];
        previous?: string;
    }

    Properties

    account: `ban_${string}` | `nano_${string}`
    previous?: string
    \ No newline at end of file +

    Properties

    account: `ban_${string}` | `nano_${string}`
    previous?: string
    \ No newline at end of file diff --git a/docs/interfaces/AccountInfoRPC.html b/docs/interfaces/AccountInfoRPC.html index 9e2585b..d0a7c60 100644 --- a/docs/interfaces/AccountInfoRPC.html +++ b/docs/interfaces/AccountInfoRPC.html @@ -1,4 +1,4 @@ -AccountInfoRPC | banani

    Interface AccountInfoRPC

    interface AccountInfoRPC {
        account_version: `${number}`;
        balance: `${number}`;
        block_count: `${number}`;
        confirmation_height?: `${number}`;
        confirmation_height_frontier?: string;
        confirmed_balance?: `${number}`;
        confirmed_frontier?: string;
        confirmed_height?: `${number}`;
        confirmed_pending?: `${number}`;
        confirmed_receivable?: `${number}`;
        confirmed_representative?: `ban_${string}` | `nano_${string}`;
        frontier: string;
        modified_timestamp: `${number}`;
        open_block: string;
        pending?: `${number}`;
        receivable?: `${number}`;
        representative?: `ban_${string}` | `nano_${string}`;
        representative_block: string;
        weight?: `${number}`;
    }

    Properties

    account_version +AccountInfoRPC | banani

    Interface AccountInfoRPC

    interface AccountInfoRPC {
        account_version: `${number}`;
        balance: `${number}`;
        block_count: `${number}`;
        confirmation_height?: `${number}`;
        confirmation_height_frontier?: string;
        confirmed_balance?: `${number}`;
        confirmed_frontier?: string;
        confirmed_height?: `${number}`;
        confirmed_pending?: `${number}`;
        confirmed_receivable?: `${number}`;
        confirmed_representative?: `ban_${string}` | `nano_${string}`;
        frontier: string;
        modified_timestamp: `${number}`;
        open_block: string;
        pending?: `${number}`;
        receivable?: `${number}`;
        representative?: `ban_${string}` | `nano_${string}`;
        representative_block: string;
        weight?: `${number}`;
    }

    Properties

    account_version: `${number}`
    balance: `${number}`
    block_count: `${number}`
    confirmation_height?: `${number}`
    confirmation_height_frontier?: string
    confirmed_balance?: `${number}`
    confirmed_frontier?: string
    confirmed_height?: `${number}`
    confirmed_pending?: `${number}`
    confirmed_receivable?: `${number}`
    confirmed_representative?: `ban_${string}` | `nano_${string}`
    frontier: string
    modified_timestamp: `${number}`
    open_block: string
    pending?: `${number}`
    receivable?: `${number}`
    representative?: `ban_${string}` | `nano_${string}`
    representative_block: string
    weight?: `${number}`
    \ No newline at end of file +

    Properties

    account_version: `${number}`
    balance: `${number}`
    block_count: `${number}`
    confirmation_height?: `${number}`
    confirmation_height_frontier?: string
    confirmed_balance?: `${number}`
    confirmed_frontier?: string
    confirmed_height?: `${number}`
    confirmed_pending?: `${number}`
    confirmed_receivable?: `${number}`
    confirmed_representative?: `ban_${string}` | `nano_${string}`
    frontier: string
    modified_timestamp: `${number}`
    open_block: string
    pending?: `${number}`
    receivable?: `${number}`
    representative?: `ban_${string}` | `nano_${string}`
    representative_block: string
    weight?: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/AccountReceivableRPC.html b/docs/interfaces/AccountReceivableRPC.html index 6c918c1..5baec7b 100644 --- a/docs/interfaces/AccountReceivableRPC.html +++ b/docs/interfaces/AccountReceivableRPC.html @@ -1,2 +1,2 @@ -AccountReceivableRPC | banani

    Interface AccountReceivableRPC

    interface AccountReceivableRPC {
        blocks: string[];
    }

    Properties

    Properties

    blocks: string[]
    \ No newline at end of file +AccountReceivableRPC | banani

    Interface AccountReceivableRPC

    interface AccountReceivableRPC {
        blocks: string[];
    }

    Properties

    Properties

    blocks: string[]
    \ No newline at end of file diff --git a/docs/interfaces/AccountReceivableSourceRPC.html b/docs/interfaces/AccountReceivableSourceRPC.html index c0f30fd..9e7a216 100644 --- a/docs/interfaces/AccountReceivableSourceRPC.html +++ b/docs/interfaces/AccountReceivableSourceRPC.html @@ -1,2 +1,2 @@ -AccountReceivableSourceRPC | banani

    Interface AccountReceivableSourceRPC

    interface AccountReceivableSourceRPC {
        blocks: Record<string, {
            amount: `${number}`;
            source: `ban_${string}` | `nano_${string}`;
        }>;
    }

    Properties

    Properties

    blocks: Record<string, {
        amount: `${number}`;
        source: `ban_${string}` | `nano_${string}`;
    }>

    Type declaration

    • amount: `${number}`
    • source: `ban_${string}` | `nano_${string}`
    \ No newline at end of file +AccountReceivableSourceRPC | banani

    Interface AccountReceivableSourceRPC

    interface AccountReceivableSourceRPC {
        blocks: Record<string, {
            amount: `${number}`;
            source: `ban_${string}` | `nano_${string}`;
        }>;
    }

    Properties

    Properties

    blocks: Record<string, {
        amount: `${number}`;
        source: `ban_${string}` | `nano_${string}`;
    }>

    Type declaration

    • amount: `${number}`
    • source: `ban_${string}` | `nano_${string}`
    \ No newline at end of file diff --git a/docs/interfaces/AccountReceivableThresholdRPC.html b/docs/interfaces/AccountReceivableThresholdRPC.html index 134fc2f..826e98b 100644 --- a/docs/interfaces/AccountReceivableThresholdRPC.html +++ b/docs/interfaces/AccountReceivableThresholdRPC.html @@ -1,2 +1,2 @@ -AccountReceivableThresholdRPC | banani

    Interface AccountReceivableThresholdRPC

    interface AccountReceivableThresholdRPC {
        blocks: Record<string, `${number}`>;
    }

    Properties

    Properties

    blocks: Record<string, `${number}`>
    \ No newline at end of file +AccountReceivableThresholdRPC | banani

    Interface AccountReceivableThresholdRPC

    interface AccountReceivableThresholdRPC {
        blocks: Record<string, `${number}`>;
    }

    Properties

    Properties

    blocks: Record<string, `${number}`>
    \ No newline at end of file diff --git a/docs/interfaces/AccountRepresentativeRPC.html b/docs/interfaces/AccountRepresentativeRPC.html index ca0d3e0..e7c7206 100644 --- a/docs/interfaces/AccountRepresentativeRPC.html +++ b/docs/interfaces/AccountRepresentativeRPC.html @@ -1,2 +1,2 @@ -AccountRepresentativeRPC | banani

    Interface AccountRepresentativeRPC

    interface AccountRepresentativeRPC {
        representative: `ban_${string}` | `nano_${string}`;
    }

    Properties

    Properties

    representative: `ban_${string}` | `nano_${string}`
    \ No newline at end of file +AccountRepresentativeRPC | banani

    Interface AccountRepresentativeRPC

    interface AccountRepresentativeRPC {
        representative: `ban_${string}` | `nano_${string}`;
    }

    Properties

    Properties

    representative: `ban_${string}` | `nano_${string}`
    \ No newline at end of file diff --git a/docs/interfaces/AccountWeightRPC.html b/docs/interfaces/AccountWeightRPC.html index 18216e8..5ae27dd 100644 --- a/docs/interfaces/AccountWeightRPC.html +++ b/docs/interfaces/AccountWeightRPC.html @@ -1,2 +1,2 @@ -AccountWeightRPC | banani

    Interface AccountWeightRPC

    interface AccountWeightRPC {
        weight: `${number}`;
    }

    Properties

    Properties

    weight: `${number}`
    \ No newline at end of file +AccountWeightRPC | banani

    Interface AccountWeightRPC

    interface AccountWeightRPC {
        weight: `${number}`;
    }

    Properties

    Properties

    weight: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/AccountsBalancesRPC.html b/docs/interfaces/AccountsBalancesRPC.html index eea7e84..b979b29 100644 --- a/docs/interfaces/AccountsBalancesRPC.html +++ b/docs/interfaces/AccountsBalancesRPC.html @@ -1,2 +1,2 @@ -AccountsBalancesRPC | banani

    Interface AccountsBalancesRPC

    interface AccountsBalancesRPC {
        balances: Record<`ban_${string}` | `nano_${string}`, AccountBalanceRPC>;
    }

    Properties

    Properties

    balances: Record<`ban_${string}` | `nano_${string}`, AccountBalanceRPC>
    \ No newline at end of file +AccountsBalancesRPC | banani

    Interface AccountsBalancesRPC

    interface AccountsBalancesRPC {
        balances: Record<`ban_${string}` | `nano_${string}`, AccountBalanceRPC>;
    }

    Properties

    Properties

    balances: Record<`ban_${string}` | `nano_${string}`, AccountBalanceRPC>
    \ No newline at end of file diff --git a/docs/interfaces/AccountsRepresentativesRPC.html b/docs/interfaces/AccountsRepresentativesRPC.html index 6c55cf9..14e119d 100644 --- a/docs/interfaces/AccountsRepresentativesRPC.html +++ b/docs/interfaces/AccountsRepresentativesRPC.html @@ -1,2 +1,2 @@ -AccountsRepresentativesRPC | banani

    Interface AccountsRepresentativesRPC

    interface AccountsRepresentativesRPC {
        representatives: Record<`ban_${string}` | `nano_${string}`, `ban_${string}` | `nano_${string}`>;
    }

    Properties

    Properties

    representatives: Record<`ban_${string}` | `nano_${string}`, `ban_${string}` | `nano_${string}`>
    \ No newline at end of file +AccountsRepresentativesRPC | banani

    Interface AccountsRepresentativesRPC

    interface AccountsRepresentativesRPC {
        representatives: Record<`ban_${string}` | `nano_${string}`, `ban_${string}` | `nano_${string}`>;
    }

    Properties

    Properties

    representatives: Record<`ban_${string}` | `nano_${string}`, `ban_${string}` | `nano_${string}`>
    \ No newline at end of file diff --git a/docs/interfaces/Block.html b/docs/interfaces/Block.html index 2a3bcbb..48de320 100644 --- a/docs/interfaces/Block.html +++ b/docs/interfaces/Block.html @@ -1,4 +1,4 @@ -Block | banani

    Interface Block

    interface Block {
        account: `ban_${string}` | `nano_${string}`;
        balance: `${number}`;
        link: string;
        link_as_account?: `ban_${string}` | `nano_${string}`;
        previous: string;
        representative: `ban_${string}` | `nano_${string}`;
        signature: string;
        type: BlockAllTypes;
        work?: string;
    }

    Hierarchy (view full)

    Properties

    account +Block | banani

    Interface Block

    interface Block {
        account: `ban_${string}` | `nano_${string}`;
        balance: `${number}`;
        link: string;
        link_as_account?: `ban_${string}` | `nano_${string}`;
        previous: string;
        representative: `ban_${string}` | `nano_${string}`;
        signature: string;
        type: BlockAllTypes;
        work?: string;
    }

    Hierarchy (view full)

    Properties

    account: `ban_${string}` | `nano_${string}`
    balance: `${number}`
    link: string
    link_as_account?: `ban_${string}` | `nano_${string}`
    previous: string
    representative: `ban_${string}` | `nano_${string}`
    signature: string
    work?: string
    \ No newline at end of file +

    Properties

    account: `ban_${string}` | `nano_${string}`
    balance: `${number}`
    link: string
    link_as_account?: `ban_${string}` | `nano_${string}`
    previous: string
    representative: `ban_${string}` | `nano_${string}`
    signature: string
    work?: string
    \ No newline at end of file diff --git a/docs/interfaces/BlockCountRPC.html b/docs/interfaces/BlockCountRPC.html index c258db3..b48c1c5 100644 --- a/docs/interfaces/BlockCountRPC.html +++ b/docs/interfaces/BlockCountRPC.html @@ -1,4 +1,4 @@ -BlockCountRPC | banani

    Interface BlockCountRPC

    interface BlockCountRPC {
        cemented?: `${number}`;
        count: `${number}`;
        unchecked: `${number}`;
    }

    Properties

    cemented? +BlockCountRPC | banani

    Interface BlockCountRPC

    interface BlockCountRPC {
        cemented?: `${number}`;
        count: `${number}`;
        unchecked: `${number}`;
    }

    Properties

    cemented?: `${number}`
    count: `${number}`
    unchecked: `${number}`
    \ No newline at end of file +

    Properties

    cemented?: `${number}`
    count: `${number}`
    unchecked: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/BlockInfoRPC.html b/docs/interfaces/BlockInfoRPC.html index cc3508d..8c53f1e 100644 --- a/docs/interfaces/BlockInfoRPC.html +++ b/docs/interfaces/BlockInfoRPC.html @@ -1,4 +1,4 @@ -BlockInfoRPC | banani

    Interface BlockInfoRPC

    interface BlockInfoRPC {
        amount: `${number}`;
        balance: `${number}`;
        block_account: `ban_${string}` | `nano_${string}`;
        confirmed?: "false" | "true";
        contents: Block;
        height: `${number}`;
        subtype?: BlockSubtype;
        successor?: string;
        timestamp: `${number}`;
    }

    Properties

    amount +BlockInfoRPC | banani

    Interface BlockInfoRPC

    interface BlockInfoRPC {
        amount: `${number}`;
        balance: `${number}`;
        block_account: `ban_${string}` | `nano_${string}`;
        confirmed?: "false" | "true";
        contents: Block;
        height: `${number}`;
        subtype?: BlockSubtype;
        successor?: string;
        timestamp: `${number}`;
    }

    Properties

    amount: `${number}`
    balance: `${number}`
    block_account: `ban_${string}` | `nano_${string}`
    confirmed?: "false" | "true"
    contents: Block
    height: `${number}`
    subtype?: BlockSubtype
    successor?: string
    timestamp: `${number}`
    \ No newline at end of file +

    Properties

    amount: `${number}`
    balance: `${number}`
    block_account: `ban_${string}` | `nano_${string}`
    confirmed?: "false" | "true"
    contents: Block
    height: `${number}`
    subtype?: BlockSubtype
    successor?: string
    timestamp: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/BlockNoSignature.html b/docs/interfaces/BlockNoSignature.html index 3278ff4..7f9b381 100644 --- a/docs/interfaces/BlockNoSignature.html +++ b/docs/interfaces/BlockNoSignature.html @@ -1,8 +1,8 @@ -BlockNoSignature | banani

    Interface BlockNoSignature

    interface BlockNoSignature {
        account: `ban_${string}` | `nano_${string}`;
        balance: `${number}`;
        link: string;
        link_as_account?: `ban_${string}` | `nano_${string}`;
        previous: string;
        representative: `ban_${string}` | `nano_${string}`;
        type: BlockAllTypes;
    }

    Hierarchy (view full)

    Properties

    account +BlockNoSignature | banani

    Interface BlockNoSignature

    interface BlockNoSignature {
        account: `ban_${string}` | `nano_${string}`;
        balance: `${number}`;
        link: string;
        link_as_account?: `ban_${string}` | `nano_${string}`;
        previous: string;
        representative: `ban_${string}` | `nano_${string}`;
        type: BlockAllTypes;
    }

    Hierarchy (view full)

    Properties

    account: `ban_${string}` | `nano_${string}`
    balance: `${number}`
    link: string
    link_as_account?: `ban_${string}` | `nano_${string}`
    previous: string
    representative: `ban_${string}` | `nano_${string}`
    \ No newline at end of file +

    Properties

    account: `ban_${string}` | `nano_${string}`
    balance: `${number}`
    link: string
    link_as_account?: `ban_${string}` | `nano_${string}`
    previous: string
    representative: `ban_${string}` | `nano_${string}`
    \ No newline at end of file diff --git a/docs/interfaces/BlocksInfoRPC.html b/docs/interfaces/BlocksInfoRPC.html index e7f3bd6..a275c8b 100644 --- a/docs/interfaces/BlocksInfoRPC.html +++ b/docs/interfaces/BlocksInfoRPC.html @@ -1,2 +1,2 @@ -BlocksInfoRPC | banani

    Interface BlocksInfoRPC

    interface BlocksInfoRPC {
        blocks: Record<string, BlockInfoRPC>;
    }

    Properties

    Properties

    blocks: Record<string, BlockInfoRPC>
    \ No newline at end of file +BlocksInfoRPC | banani

    Interface BlocksInfoRPC

    interface BlocksInfoRPC {
        blocks: Record<string, BlockInfoRPC>;
    }

    Properties

    Properties

    blocks: Record<string, BlockInfoRPC>
    \ No newline at end of file diff --git a/docs/interfaces/BlocksRPC.html b/docs/interfaces/BlocksRPC.html index 80b21f8..b9dabc8 100644 --- a/docs/interfaces/BlocksRPC.html +++ b/docs/interfaces/BlocksRPC.html @@ -1,2 +1,2 @@ -BlocksRPC | banani

    Interface BlocksRPC

    interface BlocksRPC {
        blocks: Record<string, Block>;
    }

    Properties

    Properties

    blocks: Record<string, Block>
    \ No newline at end of file +BlocksRPC | banani

    Interface BlocksRPC

    interface BlocksRPC {
        blocks: Record<string, Block>;
    }

    Properties

    Properties

    blocks: Record<string, Block>
    \ No newline at end of file diff --git a/docs/interfaces/ConfirmationHistoryRPC.html b/docs/interfaces/ConfirmationHistoryRPC.html new file mode 100644 index 0000000..3416bbd --- /dev/null +++ b/docs/interfaces/ConfirmationHistoryRPC.html @@ -0,0 +1,3 @@ +ConfirmationHistoryRPC | banani

    Interface ConfirmationHistoryRPC

    interface ConfirmationHistoryRPC {
        confirmation_stats: {
            average: `${number}`;
            count: `${number}`;
        };
        confirmations: "" | [{
            blocks: `${number}`;
            duration: `${number}`;
            hash: string;
            request_count: `${number}`;
            tally: `${number}`;
            time: `${number}`;
            voters: `${number}`;
        }, {
            blocks: `${number}`;
            duration: `${number}`;
            hash: string;
            request_count: `${number}`;
            tally: `${number}`;
            time: `${number}`;
            voters: `${number}`;
        }];
    }

    Properties

    confirmation_stats: {
        average: `${number}`;
        count: `${number}`;
    }

    Type declaration

    • average: `${number}`
    • count: `${number}`
    confirmations: "" | [{
        blocks: `${number}`;
        duration: `${number}`;
        hash: string;
        request_count: `${number}`;
        tally: `${number}`;
        time: `${number}`;
        voters: `${number}`;
    }, {
        blocks: `${number}`;
        duration: `${number}`;
        hash: string;
        request_count: `${number}`;
        tally: `${number}`;
        time: `${number}`;
        voters: `${number}`;
    }]
    \ No newline at end of file diff --git a/docs/interfaces/DelegatorsCountRPC.html b/docs/interfaces/DelegatorsCountRPC.html index c84657e..29f3701 100644 --- a/docs/interfaces/DelegatorsCountRPC.html +++ b/docs/interfaces/DelegatorsCountRPC.html @@ -1,2 +1,2 @@ -DelegatorsCountRPC | banani

    Interface DelegatorsCountRPC

    interface DelegatorsCountRPC {
        count: `${number}`;
    }

    Properties

    Properties

    count: `${number}`
    \ No newline at end of file +DelegatorsCountRPC | banani

    Interface DelegatorsCountRPC

    interface DelegatorsCountRPC {
        count: `${number}`;
    }

    Properties

    Properties

    count: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/DelegatorsRPC.html b/docs/interfaces/DelegatorsRPC.html index 0455cb0..9eebf8b 100644 --- a/docs/interfaces/DelegatorsRPC.html +++ b/docs/interfaces/DelegatorsRPC.html @@ -1,2 +1,2 @@ -DelegatorsRPC | banani

    Interface DelegatorsRPC

    interface DelegatorsRPC {
        delegators: Record<`ban_${string}` | `nano_${string}`, `${number}`>;
    }

    Properties

    Properties

    delegators: Record<`ban_${string}` | `nano_${string}`, `${number}`>
    \ No newline at end of file +DelegatorsRPC | banani

    Interface DelegatorsRPC

    interface DelegatorsRPC {
        delegators: Record<`ban_${string}` | `nano_${string}`, `${number}`>;
    }

    Properties

    Properties

    delegators: Record<`ban_${string}` | `nano_${string}`, `${number}`>
    \ No newline at end of file diff --git a/docs/interfaces/RPCInterface.html b/docs/interfaces/RPCInterface.html index 2156557..db8d5b6 100644 --- a/docs/interfaces/RPCInterface.html +++ b/docs/interfaces/RPCInterface.html @@ -1,9 +1,9 @@ RPCInterface | banani

    Interface RPCInterface

    Implement this interface if the built-in RPC class does not fit your needs. The easiest way to do this is by just extending the built-in RPC class

    -
    interface RPCInterface {
        DECIMALS?: number;
        rpc_url: string;
        use_pending: boolean;
        call(payload): Promise<Record<string, string>>;
        get_account_info(account, include_confirmed?, representative?, weight?, pending?): Promise<AccountInfoRPC>;
        get_account_receivable(account, count?, threshold?, source?): Promise<AccountReceivableRPC | AccountReceivableThresholdRPC | AccountReceivableSourceRPC>;
        get_block_info(block_hash): Promise<BlockInfoRPC>;
    }

    Implemented by

    Properties

    interface RPCInterface {
        DECIMALS?: number;
        rpc_url: string;
        use_pending: boolean;
        call(payload): Promise<Record<string, string>>;
        get_account_info(account, include_confirmed?, representative?, weight?, pending?): Promise<AccountInfoRPC>;
        get_account_receivable(account, count?, threshold?, source?): Promise<AccountReceivableRPC | AccountReceivableThresholdRPC | AccountReceivableSourceRPC>;
        get_block_info(block_hash): Promise<BlockInfoRPC>;
    }

    Implemented by

    Properties

    DECIMALS?: number
    rpc_url: string
    use_pending: boolean

    Methods

    • Parameters

      • payload: Record<string, any>

      Returns Promise<Record<string, string>>

    • Parameters

      • account: `ban_${string}` | `nano_${string}`
      • Optional include_confirmed: boolean
      • Optional representative: boolean
      • Optional weight: boolean
      • Optional pending: boolean

      Returns Promise<AccountInfoRPC>

    \ No newline at end of file +

    Properties

    DECIMALS?: number
    rpc_url: string
    use_pending: boolean

    Methods

    \ No newline at end of file diff --git a/docs/interfaces/RepresentativesOnlineRPC.html b/docs/interfaces/RepresentativesOnlineRPC.html index 8629798..fcb41aa 100644 --- a/docs/interfaces/RepresentativesOnlineRPC.html +++ b/docs/interfaces/RepresentativesOnlineRPC.html @@ -1,2 +1,2 @@ -RepresentativesOnlineRPC | banani

    Interface RepresentativesOnlineRPC

    interface RepresentativesOnlineRPC {
        representatives: (`ban_${string}` | `nano_${string}`)[];
    }

    Properties

    Properties

    representatives: (`ban_${string}` | `nano_${string}`)[]
    \ No newline at end of file +RepresentativesOnlineRPC | banani

    Interface RepresentativesOnlineRPC

    interface RepresentativesOnlineRPC {
        representatives: (`ban_${string}` | `nano_${string}`)[];
    }

    Properties

    Properties

    representatives: (`ban_${string}` | `nano_${string}`)[]
    \ No newline at end of file diff --git a/docs/interfaces/RepresentativesOnlineWeightRPC.html b/docs/interfaces/RepresentativesOnlineWeightRPC.html index 2726116..258380e 100644 --- a/docs/interfaces/RepresentativesOnlineWeightRPC.html +++ b/docs/interfaces/RepresentativesOnlineWeightRPC.html @@ -1,2 +1,2 @@ -RepresentativesOnlineWeightRPC | banani

    Interface RepresentativesOnlineWeightRPC

    interface RepresentativesOnlineWeightRPC {
        representatives: Record<`ban_${string}` | `nano_${string}`, {
            weight: `${number}`;
        }>;
    }

    Properties

    Properties

    representatives: Record<`ban_${string}` | `nano_${string}`, {
        weight: `${number}`;
    }>

    Type declaration

    • weight: `${number}`
    \ No newline at end of file +RepresentativesOnlineWeightRPC | banani

    Interface RepresentativesOnlineWeightRPC

    interface RepresentativesOnlineWeightRPC {
        representatives: Record<`ban_${string}` | `nano_${string}`, {
            weight: `${number}`;
        }>;
    }

    Properties

    Properties

    representatives: Record<`ban_${string}` | `nano_${string}`, {
        weight: `${number}`;
    }>

    Type declaration

    • weight: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/RepresentativesRPC.html b/docs/interfaces/RepresentativesRPC.html index 8c07525..7147cd5 100644 --- a/docs/interfaces/RepresentativesRPC.html +++ b/docs/interfaces/RepresentativesRPC.html @@ -1,2 +1,2 @@ -RepresentativesRPC | banani

    Interface RepresentativesRPC

    interface RepresentativesRPC {
        representatives: Record<`ban_${string}` | `nano_${string}`, `${number}`>;
    }

    Properties

    Properties

    representatives: Record<`ban_${string}` | `nano_${string}`, `${number}`>
    \ No newline at end of file +RepresentativesRPC | banani

    Interface RepresentativesRPC

    interface RepresentativesRPC {
        representatives: Record<`ban_${string}` | `nano_${string}`, `${number}`>;
    }

    Properties

    Properties

    representatives: Record<`ban_${string}` | `nano_${string}`, `${number}`>
    \ No newline at end of file diff --git a/docs/interfaces/StatsCountersRPC.html b/docs/interfaces/StatsCountersRPC.html new file mode 100644 index 0000000..3116122 --- /dev/null +++ b/docs/interfaces/StatsCountersRPC.html @@ -0,0 +1,4 @@ +StatsCountersRPC | banani

    Interface StatsCountersRPC

    interface StatsCountersRPC {
        created: string;
        entries: {
            detail: string;
            dir: "in" | "out";
            time: string;
            type: string;
            value: `${number}`;
        }[];
        type: "counters";
    }

    Properties

    Properties

    created: string
    entries: {
        detail: string;
        dir: "in" | "out";
        time: string;
        type: string;
        value: `${number}`;
    }[]

    Type declaration

    • detail: string
    • dir: "in" | "out"
    • time: string
    • type: string
    • value: `${number}`
    type: "counters"
    \ No newline at end of file diff --git a/docs/interfaces/StatsSamplesRPC.html b/docs/interfaces/StatsSamplesRPC.html new file mode 100644 index 0000000..d5448f2 --- /dev/null +++ b/docs/interfaces/StatsSamplesRPC.html @@ -0,0 +1,5 @@ +StatsSamplesRPC | banani

    Interface StatsSamplesRPC

    interface StatsSamplesRPC {
        created: string;
        entries: "" | {
            detail: string;
            dir: string;
            time: string;
            type: string;
            value: string;
        }[];
        stat_duration_seconds: `${number}`;
        type: "samples";
    }

    Properties

    created: string
    entries: "" | {
        detail: string;
        dir: string;
        time: string;
        type: string;
        value: string;
    }[]
    stat_duration_seconds: `${number}`
    type: "samples"
    \ No newline at end of file diff --git a/docs/interfaces/StatsUnstableRPC.html b/docs/interfaces/StatsUnstableRPC.html new file mode 100644 index 0000000..99587c6 --- /dev/null +++ b/docs/interfaces/StatsUnstableRPC.html @@ -0,0 +1 @@ +StatsUnstableRPC | banani

    Interface StatsUnstableRPC

    interface StatsUnstableRPC {
        [key: string]: string | StatsUnstableRPC;
    }

    Indexable

    [key: string]: string | StatsUnstableRPC
    \ No newline at end of file diff --git a/docs/interfaces/TelemetryAddressRPC.html b/docs/interfaces/TelemetryAddressRPC.html index 0d9e1bc..5ae7150 100644 --- a/docs/interfaces/TelemetryAddressRPC.html +++ b/docs/interfaces/TelemetryAddressRPC.html @@ -1,4 +1,4 @@ -TelemetryAddressRPC | banani

    Interface TelemetryAddressRPC

    interface TelemetryAddressRPC {
        account_count: `${number}`;
        active_difficulty: `${number}`;
        bandwidth_cap: `${number}`;
        block_count: `${number}`;
        cemented_count: `${number}`;
        genesis_block: string;
        major_version: `${number}`;
        maker: string;
        minor_version: `${number}`;
        network_identifier: string;
        node_id: string;
        patch_version: `${number}`;
        peer_count: `${number}`;
        pre_release_version: `${number}`;
        protocol_version: `${number}`;
        signature: string;
        timestamp: `${number}`;
        unchecked_count: `${number}`;
        uptime: `${number}`;
    }

    Hierarchy (view full)

    Properties

    account_count +TelemetryAddressRPC | banani

    Interface TelemetryAddressRPC

    interface TelemetryAddressRPC {
        account_count: `${number}`;
        active_difficulty: `${number}`;
        bandwidth_cap: `${number}`;
        block_count: `${number}`;
        cemented_count: `${number}`;
        genesis_block: string;
        major_version: `${number}`;
        maker: string;
        minor_version: `${number}`;
        network_identifier: string;
        node_id: string;
        patch_version: `${number}`;
        peer_count: `${number}`;
        pre_release_version: `${number}`;
        protocol_version: `${number}`;
        signature: string;
        timestamp: `${number}`;
        unchecked_count: `${number}`;
        uptime: `${number}`;
    }

    Hierarchy (view full)

    Properties

    account_count: `${number}`
    active_difficulty: `${number}`
    bandwidth_cap: `${number}`
    block_count: `${number}`
    cemented_count: `${number}`
    genesis_block: string
    major_version: `${number}`
    maker: string
    minor_version: `${number}`
    network_identifier: string
    node_id: string
    patch_version: `${number}`
    peer_count: `${number}`
    pre_release_version: `${number}`
    protocol_version: `${number}`
    signature: string
    timestamp: `${number}`
    unchecked_count: `${number}`
    uptime: `${number}`
    \ No newline at end of file +

    Properties

    account_count: `${number}`
    active_difficulty: `${number}`
    bandwidth_cap: `${number}`
    block_count: `${number}`
    cemented_count: `${number}`
    genesis_block: string
    major_version: `${number}`
    maker: string
    minor_version: `${number}`
    network_identifier: string
    node_id: string
    patch_version: `${number}`
    peer_count: `${number}`
    pre_release_version: `${number}`
    protocol_version: `${number}`
    signature: string
    timestamp: `${number}`
    unchecked_count: `${number}`
    uptime: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/TelemetryRPC.html b/docs/interfaces/TelemetryRPC.html index 047f274..408984f 100644 --- a/docs/interfaces/TelemetryRPC.html +++ b/docs/interfaces/TelemetryRPC.html @@ -1,4 +1,4 @@ -TelemetryRPC | banani

    Interface TelemetryRPC

    interface TelemetryRPC {
        account_count: `${number}`;
        active_difficulty: `${number}`;
        bandwidth_cap: `${number}`;
        block_count: `${number}`;
        cemented_count: `${number}`;
        genesis_block: string;
        major_version: `${number}`;
        maker: string;
        minor_version: `${number}`;
        network_identifier: string;
        node_id: string;
        patch_version: `${number}`;
        peer_count: `${number}`;
        pre_release_version: `${number}`;
        protocol_version: `${number}`;
        signature: string;
        timestamp: `${number}`;
        unchecked_count: `${number}`;
        uptime: `${number}`;
    }

    Hierarchy (view full)

    Properties

    account_count +TelemetryRPC | banani

    Interface TelemetryRPC

    interface TelemetryRPC {
        account_count: `${number}`;
        active_difficulty: `${number}`;
        bandwidth_cap: `${number}`;
        block_count: `${number}`;
        cemented_count: `${number}`;
        genesis_block: string;
        major_version: `${number}`;
        maker: string;
        minor_version: `${number}`;
        network_identifier: string;
        node_id: string;
        patch_version: `${number}`;
        peer_count: `${number}`;
        pre_release_version: `${number}`;
        protocol_version: `${number}`;
        signature: string;
        timestamp: `${number}`;
        unchecked_count: `${number}`;
        uptime: `${number}`;
    }

    Hierarchy (view full)

    Properties

    account_count: `${number}`
    active_difficulty: `${number}`
    bandwidth_cap: `${number}`
    block_count: `${number}`
    cemented_count: `${number}`
    genesis_block: string
    major_version: `${number}`
    maker: string
    minor_version: `${number}`
    network_identifier: string
    node_id: string
    patch_version: `${number}`
    peer_count: `${number}`
    pre_release_version: `${number}`
    protocol_version: `${number}`
    signature: string
    timestamp: `${number}`
    unchecked_count: `${number}`
    uptime: `${number}`
    \ No newline at end of file +

    Properties

    account_count: `${number}`
    active_difficulty: `${number}`
    bandwidth_cap: `${number}`
    block_count: `${number}`
    cemented_count: `${number}`
    genesis_block: string
    major_version: `${number}`
    maker: string
    minor_version: `${number}`
    network_identifier: string
    node_id: string
    patch_version: `${number}`
    peer_count: `${number}`
    pre_release_version: `${number}`
    protocol_version: `${number}`
    signature: string
    timestamp: `${number}`
    unchecked_count: `${number}`
    uptime: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/TelemetryRawRPC.html b/docs/interfaces/TelemetryRawRPC.html index 1c7a04f..375d942 100644 --- a/docs/interfaces/TelemetryRawRPC.html +++ b/docs/interfaces/TelemetryRawRPC.html @@ -1,4 +1,4 @@ -TelemetryRawRPC | banani

    Interface TelemetryRawRPC

    interface TelemetryRawRPC {
        account_count: `${number}`;
        active_difficulty: `${number}`;
        address: string;
        bandwidth_cap: `${number}`;
        block_count: `${number}`;
        cemented_count: `${number}`;
        genesis_block: string;
        major_version: `${number}`;
        maker: string;
        minor_version: `${number}`;
        network_identifier: string;
        node_id: string;
        patch_version: `${number}`;
        peer_count: `${number}`;
        port: `${number}`;
        pre_release_version: `${number}`;
        protocol_version: `${number}`;
        signature: string;
        timestamp: `${number}`;
        unchecked_count: `${number}`;
        uptime: `${number}`;
    }

    Hierarchy (view full)

    Properties

    account_count +TelemetryRawRPC | banani

    Interface TelemetryRawRPC

    interface TelemetryRawRPC {
        account_count: `${number}`;
        active_difficulty: `${number}`;
        address: string;
        bandwidth_cap: `${number}`;
        block_count: `${number}`;
        cemented_count: `${number}`;
        genesis_block: string;
        major_version: `${number}`;
        maker: string;
        minor_version: `${number}`;
        network_identifier: string;
        node_id: string;
        patch_version: `${number}`;
        peer_count: `${number}`;
        port: `${number}`;
        pre_release_version: `${number}`;
        protocol_version: `${number}`;
        signature: string;
        timestamp: `${number}`;
        unchecked_count: `${number}`;
        uptime: `${number}`;
    }

    Hierarchy (view full)

    Properties

    account_count: `${number}`
    active_difficulty: `${number}`
    address: string
    bandwidth_cap: `${number}`
    block_count: `${number}`
    cemented_count: `${number}`
    genesis_block: string
    major_version: `${number}`
    maker: string
    minor_version: `${number}`
    network_identifier: string
    node_id: string
    patch_version: `${number}`
    peer_count: `${number}`
    port: `${number}`
    pre_release_version: `${number}`
    protocol_version: `${number}`
    signature: string
    timestamp: `${number}`
    unchecked_count: `${number}`
    uptime: `${number}`
    \ No newline at end of file +

    Properties

    account_count: `${number}`
    active_difficulty: `${number}`
    address: string
    bandwidth_cap: `${number}`
    block_count: `${number}`
    cemented_count: `${number}`
    genesis_block: string
    major_version: `${number}`
    maker: string
    minor_version: `${number}`
    network_identifier: string
    node_id: string
    patch_version: `${number}`
    peer_count: `${number}`
    port: `${number}`
    pre_release_version: `${number}`
    protocol_version: `${number}`
    signature: string
    timestamp: `${number}`
    unchecked_count: `${number}`
    uptime: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/VersionRPC.html b/docs/interfaces/VersionRPC.html index edb8736..3a28012 100644 --- a/docs/interfaces/VersionRPC.html +++ b/docs/interfaces/VersionRPC.html @@ -1,4 +1,4 @@ -VersionRPC | banani

    Interface VersionRPC

    interface VersionRPC {
        build_info: string;
        network: string;
        network_identifier: string;
        node_vendor: string;
        protocol_version: `${number}`;
        rpc_version: `${number}`;
        store_vendor: string;
        store_version: `${number}`;
    }

    Properties

    build_info +VersionRPC | banani

    Interface VersionRPC

    interface VersionRPC {
        build_info: string;
        network: string;
        network_identifier: string;
        node_vendor: string;
        protocol_version: `${number}`;
        rpc_version: `${number}`;
        store_vendor: string;
        store_version: `${number}`;
    }

    Properties

    build_info: string
    network: string
    network_identifier: string
    node_vendor: string
    protocol_version: `${number}`
    rpc_version: `${number}`
    store_vendor: string
    store_version: `${number}`
    \ No newline at end of file +

    Properties

    build_info: string
    network: string
    network_identifier: string
    node_vendor: string
    protocol_version: `${number}`
    rpc_version: `${number}`
    store_vendor: string
    store_version: `${number}`
    \ No newline at end of file diff --git a/docs/interfaces/WorkProvider.html b/docs/interfaces/WorkProvider.html index 795069e..60db17c 100644 --- a/docs/interfaces/WorkProvider.html +++ b/docs/interfaces/WorkProvider.html @@ -1,2 +1,2 @@ -WorkProvider | banani

    Interface WorkProvider

    interface WorkProvider {
        request_work: WorkFunction;
    }

    Implemented by

    Properties

    Properties

    request_work: WorkFunction
    \ No newline at end of file +WorkProvider | banani

    Interface WorkProvider

    interface WorkProvider {
        request_work: WorkFunction;
    }

    Implemented by

    Properties

    Properties

    request_work: WorkFunction
    \ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index aeae1cd..bf6993b 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -23,12 +23,16 @@ BlockNoSignature BlocksInfoRPC BlocksRPC +ConfirmationHistoryRPC DelegatorsCountRPC DelegatorsRPC RPCInterface RepresentativesOnlineRPC RepresentativesOnlineWeightRPC RepresentativesRPC +StatsCountersRPC +StatsSamplesRPC +StatsUnstableRPC TelemetryAddressRPC TelemetryRPC TelemetryRawRPC @@ -42,6 +46,8 @@ BlockLegacyTypes BlockStateChangeTypes BlockSubtype +StatsRPC +StatsType Whole WorkFunction

    Variables

    NANO_DECIMALS diff --git a/docs/types/Address.html b/docs/types/Address.html index cde0356..b3649ab 100644 --- a/docs/types/Address.html +++ b/docs/types/Address.html @@ -1 +1 @@ -Address | banani

    Type alias Address

    Address: `${AddressPrefix}${string}`
    \ No newline at end of file +Address | banani

    Type alias Address

    Address: `${AddressPrefix}${string}`
    \ No newline at end of file diff --git a/docs/types/AddressPrefix.html b/docs/types/AddressPrefix.html index 21c686f..7b7e349 100644 --- a/docs/types/AddressPrefix.html +++ b/docs/types/AddressPrefix.html @@ -1 +1 @@ -AddressPrefix | banani

    Type alias AddressPrefix

    AddressPrefix: "ban_" | "nano_"
    \ No newline at end of file +AddressPrefix | banani

    Type alias AddressPrefix

    AddressPrefix: "ban_" | "nano_"
    \ No newline at end of file diff --git a/docs/types/BlockAllTypes.html b/docs/types/BlockAllTypes.html index a9dd841..ee59304 100644 --- a/docs/types/BlockAllTypes.html +++ b/docs/types/BlockAllTypes.html @@ -1 +1 @@ -BlockAllTypes | banani

    Type alias BlockAllTypes

    BlockAllTypes: BlockLegacyTypes | "state"
    \ No newline at end of file +BlockAllTypes | banani

    Type alias BlockAllTypes

    BlockAllTypes: BlockLegacyTypes | "state"
    \ No newline at end of file diff --git a/docs/types/BlockBasicTypes.html b/docs/types/BlockBasicTypes.html index 4f9da87..261d4b9 100644 --- a/docs/types/BlockBasicTypes.html +++ b/docs/types/BlockBasicTypes.html @@ -1 +1 @@ -BlockBasicTypes | banani

    Type alias BlockBasicTypes

    BlockBasicTypes: BlockStateChangeTypes | "change"
    \ No newline at end of file +BlockBasicTypes | banani

    Type alias BlockBasicTypes

    BlockBasicTypes: BlockStateChangeTypes | "change"
    \ No newline at end of file diff --git a/docs/types/BlockHash.html b/docs/types/BlockHash.html index 55153c7..b98f617 100644 --- a/docs/types/BlockHash.html +++ b/docs/types/BlockHash.html @@ -1,2 +1,2 @@ BlockHash | banani

    Type alias BlockHash

    BlockHash: string

    32 byte block hash represented as 64 char hexadecimal

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/BlockLegacyTypes.html b/docs/types/BlockLegacyTypes.html index 71434c7..5e4e2e4 100644 --- a/docs/types/BlockLegacyTypes.html +++ b/docs/types/BlockLegacyTypes.html @@ -1 +1 @@ -BlockLegacyTypes | banani

    Type alias BlockLegacyTypes

    BlockLegacyTypes: BlockBasicTypes | "open"
    \ No newline at end of file +BlockLegacyTypes | banani

    Type alias BlockLegacyTypes

    BlockLegacyTypes: BlockBasicTypes | "open"
    \ No newline at end of file diff --git a/docs/types/BlockStateChangeTypes.html b/docs/types/BlockStateChangeTypes.html index acf6025..a602c0c 100644 --- a/docs/types/BlockStateChangeTypes.html +++ b/docs/types/BlockStateChangeTypes.html @@ -1 +1 @@ -BlockStateChangeTypes | banani

    Type alias BlockStateChangeTypes

    BlockStateChangeTypes: "send" | "receive"
    \ No newline at end of file +BlockStateChangeTypes | banani

    Type alias BlockStateChangeTypes

    BlockStateChangeTypes: "send" | "receive"
    \ No newline at end of file diff --git a/docs/types/BlockSubtype.html b/docs/types/BlockSubtype.html index 197872e..8670e6c 100644 --- a/docs/types/BlockSubtype.html +++ b/docs/types/BlockSubtype.html @@ -1 +1 @@ -BlockSubtype | banani

    Type alias BlockSubtype

    BlockSubtype: BlockBasicTypes | "epoch"
    \ No newline at end of file +BlockSubtype | banani

    Type alias BlockSubtype

    BlockSubtype: BlockBasicTypes | "epoch"
    \ No newline at end of file diff --git a/docs/types/StatsRPC.html b/docs/types/StatsRPC.html new file mode 100644 index 0000000..499b6ad --- /dev/null +++ b/docs/types/StatsRPC.html @@ -0,0 +1 @@ +StatsRPC | banani

    Type alias StatsRPC<T>

    StatsRPC<T>: T extends "counters"
        ? StatsCountersRPC
        : T extends "samples"
            ? StatsSamplesRPC
            : T extends "objects" | "database"
                ? StatsUnstableRPC
                : never

    Type Parameters

    \ No newline at end of file diff --git a/docs/types/StatsType.html b/docs/types/StatsType.html new file mode 100644 index 0000000..8a94b0c --- /dev/null +++ b/docs/types/StatsType.html @@ -0,0 +1 @@ +StatsType | banani

    Type alias StatsType

    StatsType: "counters" | "samples" | "objects" | "database"
    \ No newline at end of file diff --git a/docs/types/Whole.html b/docs/types/Whole.html index cd7fff6..2e53bfc 100644 --- a/docs/types/Whole.html +++ b/docs/types/Whole.html @@ -1,2 +1,2 @@ Whole | banani

    Type alias Whole

    Whole: `${number}`

    Does NOT mean whole number, can be decimal like "4.2001". Use instead of regular number since those lose precision when decimal

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/types/WorkFunction.html b/docs/types/WorkFunction.html index 0b59425..07c0591 100644 --- a/docs/types/WorkFunction.html +++ b/docs/types/WorkFunction.html @@ -1 +1 @@ -WorkFunction | banani

    Type alias WorkFunction

    WorkFunction: ((block_hash) => Promise<string>)

    Type declaration

      • (block_hash): Promise<string>
      • Parameters

        Returns Promise<string>

    \ No newline at end of file +WorkFunction | banani

    Type alias WorkFunction

    WorkFunction: ((block_hash) => Promise<string>)

    Type declaration

      • (block_hash): Promise<string>
      • Parameters

        Returns Promise<string>

    \ No newline at end of file diff --git a/docs/variables/NANO_DECIMALS.html b/docs/variables/NANO_DECIMALS.html index b042878..f9a544d 100644 --- a/docs/variables/NANO_DECIMALS.html +++ b/docs/variables/NANO_DECIMALS.html @@ -1,2 +1,2 @@ NANO_DECIMALS | banani

    Variable NANO_DECIMALSConst

    NANO_DECIMALS: number = 30

    Do rpc.DECIMALS = banani.NANO_DECIMALS if using Nano. Putting the wrong amount of decimals in may result in LOSS OF FUNDS.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/node_test/index.js b/node_test/index.js index fa1aeb7..c31b7aa 100644 --- a/node_test/index.js +++ b/node_test/index.js @@ -26,7 +26,7 @@ console.log("sig verify 2 (should be false)", banani.verify_signed_message(banan console.log("verify block hash test", banani.verify_block_hash(banani.get_public_key_from_address("ban_1d59mzcc7yyuixyzc7femupc76yjsuoko79mm7y8td461opcpgiphjxjcje7"), "F5F4EBEC4DA188FD1C8F3848D5D7140E135D8DE79C4523148E70A737730740D370D67A9570DF91E6AC946D0DE81830F3144FE4192528A0D5A7283EF06B316505", "26722EF85256481A358A538D6D0EDA1B8B8F337AD4F9CB58C41BBC44949FDA21")); -console.log("running work test (may take a while)") +console.log("running work test (may take a while)"); console.log("work test", (await new banani.SlowJavascriptWorkProvider().request_work("B7FBEF33567E37E04E772C473CCED4FA9245CC7A4C1BDE8A2576F7384E7919E1")) == "0000000000423B3B"); const test_seed = fs.readFileSync("./.secret", "utf-8").trim();