BtcUTXO
Model getters
Method name | Return type | Description | Notes |
---|---|---|---|
getVersion() | float | The version of the transaction Example: 1 | [optional] |
getHeight() | float | The height (number) of the block where the transaction is included in Example: 210000 | [optional] |
getValue() | float | The amount of the UTXO (in satoshis) Example: 30000000 | [optional] |
getScript() | string | Data generated by the spender; is almost always used as variables to satisfy the conditions in the pubkey script Example: 76a91400ba915c3d18907b79e6cfcd8b9fdf69edc7a7db88ac | [optional] |
getAddress() | string | The blockchain address of the UTXO owner Example: R9M3aUWCcKoiqDPusJvqNkAbjffLgCqYip | [optional] |
getCoinbase() | bool | If set to “true”, the transaction is a coinbase transaction (a transaction created by a Bitcoin miner to collect their reward) Example: false | [optional] |
getHash() | string | The hash of the transaction Example: 53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc | [optional] |
getIndex() | float | The index of the transaction output checked for the UTXO Example: 0 | [optional] |