Class EsploraClient.Utxo
java.lang.Object
com.codename1.crypto.rpc.EsploraClient.Utxo
- Enclosing class:
EsploraClient
An unspent output.
-
Method Summary
Modifier and TypeMethodDescriptionlongThe block height, or-1while unconfirmed.getTxid()The id of the transaction that created the output.longgetValue()The value in satoshis.longgetVout()The output's index in that transaction.booleanWhether the creating transaction is in a block.toOutput()The output as a PSBT's witness UTXO wants it.
-
Method Details
-
getTxid
The id of the transaction that created the output. -
getVout
public long getVout()The output's index in that transaction. -
getValue
public long getValue()The value in satoshis. -
isConfirmed
public boolean isConfirmed()Whether the creating transaction is in a block. -
getHeight
public long getHeight()The block height, or-1while unconfirmed. -
toOutput
The output as a PSBT's witness UTXO wants it.
-