Package org.bitcoinj.wallet
Class Wallet.SendResult
- java.lang.Object
-
- org.bitcoinj.wallet.Wallet.SendResult
-
- Enclosing class:
- Wallet
public static class Wallet.SendResult extends java.lang.Object
A SendResult is returned to you as part of sending coins to a recipient.
-
-
Field Summary
Fields Modifier and Type Field Description TransactionBroadcast
broadcast
Deprecated.UsegetBroadcast()
ListenableCompletableFuture<Transaction>
broadcastComplete
Deprecated.UseawaitRelayed()
Transaction
tx
Deprecated.Usetransaction()
-
Constructor Summary
Constructors Constructor Description SendResult(TransactionBroadcast broadcast)
SendResult(Transaction tx, TransactionBroadcast broadcast)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<TransactionBroadcast>
awaitRelayed()
TransactionBroadcast
getBroadcast()
Transaction
transaction()
-
-
-
Field Detail
-
tx
@Deprecated public final Transaction tx
Deprecated.Usetransaction()
The Bitcoin transaction message that moves the money.
-
broadcastComplete
@Deprecated public final ListenableCompletableFuture<Transaction> broadcastComplete
Deprecated.UseawaitRelayed()
A future that will complete once the tx message has been successfully broadcast to the network. This is just the result of calling broadcast.future()
-
broadcast
@Deprecated public final TransactionBroadcast broadcast
Deprecated.UsegetBroadcast()
The broadcast object returned by the linked TransactionBroadcaster
-
-
Constructor Detail
-
SendResult
@Deprecated public SendResult(Transaction tx, TransactionBroadcast broadcast)
Deprecated.
-
SendResult
public SendResult(TransactionBroadcast broadcast)
-
-
Method Detail
-
transaction
public Transaction transaction()
-
getBroadcast
public TransactionBroadcast getBroadcast()
-
awaitRelayed
public java.util.concurrent.CompletableFuture<TransactionBroadcast> awaitRelayed()
-
-