internal/btc library

Classes

BtcClient
Bitcoin support: balance, unspent outputs, fee estimates and broadcast against an esplora-compatible API. Sending is assembled per platform (PSBT) and broadcast through this domain. Implemented by BtcClientImpl; hosts can substitute this interface in tests.
BtcClientImpl
Bitcoin support: balance, unspent outputs, fee estimates and broadcast against an esplora-compatible API. Sending is assembled per platform (PSBT) and broadcast through this domain. Instances share the root client's state. NOTE: not yet thread-safe.
BtcExtension
Registers BtcClientImpl on the root client. Access it through client.btc.
BtcState
Btc-owned session state (see ClientState for the shared core equivalent).

Extensions

BtcBuilder on DynamicClient
Installs Btc and returns the client for chaining.
DynamicClientBtc on DynamicClient
Convenience accessor: fetches the installed BtcClientImpl. Throws a clear error instead of a raw getExtension