Package org.bitcoindevkit

Types

Link copied to clipboard
sealed class BdkException : Exception
Link copied to clipboard
interface BdkProgress
Link copied to clipboard
sealed class BlockchainConfig

Sealed class that can be of either blockchain configuration defined by the library.

Link copied to clipboard
data class BlockTime(height: UInt, timestamp: ULong)

Block height and timestamp of a block

Link copied to clipboard
interface CallStatusErrorHandler<E>
Link copied to clipboard
sealed class DatabaseConfig
Link copied to clipboard
data class ElectrumConfig(url: String, socks5: String?, retry: UByte, timeout: UByte?, stopGap: ULong)

Configuration for an ElectrumBlockchain

Link copied to clipboard
data class EsploraConfig(baseUrl: String, proxy: String?, timeoutRead: ULong, timeoutWrite: ULong, stopGap: ULong)
Link copied to clipboard
data class ExtendedKeyInfo(mnemonic: String, xprv: String, fingerprint: String)
Link copied to clipboard
class InternalException(message: String) : Exception
Link copied to clipboard
enum Network : Enum<Network>
Link copied to clipboard
class PartiallySignedBitcoinTransaction(pointer: Pointer) : FFIObject, PartiallySignedBitcoinTransactionInterface
interface PartiallySignedBitcoinTransactionInterface
Link copied to clipboard
data class SledDbConfiguration(path: String, treeName: String)
Link copied to clipboard
data class SqliteDbConfiguration(path: String)
Link copied to clipboard
sealed class Transaction
Link copied to clipboard
data class TransactionDetails(fees: ULong?, received: ULong, sent: ULong, txid: String)
Link copied to clipboard
class Wallet(pointer: Pointer) : FFIObject, WalletInterface
Link copied to clipboard
interface WalletInterface
Link copied to clipboard
enum WordCount : Enum<WordCount>

Functions

Link copied to clipboard
fun generateExtendedKey(network: Network, wordCount: WordCount, password: String?): ExtendedKeyInfo
Link copied to clipboard
fun restoreExtendedKey(network: Network, mnemonic: String, password: String?): ExtendedKeyInfo