From 17323d3184d07a0a608e606344c8c41921b1b751 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Wed, 3 May 2023 14:21:37 -0400 Subject: [PATCH] Add Kotlin API docs for isMine method --- api-docs/kotlin/src/main/kotlin/org/bitcoindevkit/bdk.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api-docs/kotlin/src/main/kotlin/org/bitcoindevkit/bdk.kt b/api-docs/kotlin/src/main/kotlin/org/bitcoindevkit/bdk.kt index 05ff215..e9edd73 100644 --- a/api-docs/kotlin/src/main/kotlin/org/bitcoindevkit/bdk.kt +++ b/api-docs/kotlin/src/main/kotlin/org/bitcoindevkit/bdk.kt @@ -489,6 +489,9 @@ class Wallet( */ fun getInternalAddress(addressIndex: AddressIndex): AddressInfo {} + /** Return whether or not a script is part of this wallet (either internal or external). */ + fun isMine(script: Script): Boolean {} + /** Return the wallet's balance, across different categories. See [Balance] for the categories. Note that this method only operates on the internal database, which first needs to be [Wallet.sync] manually. */ fun getBalance(): Balance {}