Skip to content

Class BSV::MCP::Tools::CheckBalance

Inherits: MCP::Tool

Returns the total confirmed and unconfirmed balance for a BSV address or WIF private key, along with the individual UTXOs.

Accepts either a WIF-encoded private key (from which the address is derived) or a plain P2PKH address string. The tool auto-detects the input type via a try/rescue on PrivateKey.from_wif.

Public Class Methods

call(address_or_wif:, network: = nil, server_context: = nil)

Not documented.