Get UTXO Info

The return result of this UTXO interface will have three scenarios:

  1. When UTXO has not been spent, it will return the information of this UTXO, and isSpent will be set to false.

  1. When UTXO has been spent, but the transaction that spent it has not yet been confirmed, it will return the information of this UTXO, and isSpent will be set to true.

  1. When UTXO has been spent and the transacted spend has been confirmed, it will return null.

Last updated