---
title: BtcUTXO
parent: Model
layout: page
---

# BtcUTXO

## Model getters

Method name | Return type | Description | Notes
------------ | ------------- | ------------- | -------------
**getVersion()** | **float** | The version of the transaction <br>Example: `1` | [optional]
**getHeight()** | **float** | The height (number) of the block where the transaction is included in <br>Example: `210000` | [optional]
**getValue()** | **float** | The amount of the UTXO (in satoshis) <br>Example: `30000000` | [optional]
**getScript()** | **string** | Data generated by the spender; is almost always used as variables to satisfy the conditions in the pubkey script <br>Example: `76a91400ba915c3d18907b79e6cfcd8b9fdf69edc7a7db88ac` | [optional]
**getAddress()** | **string** | The blockchain address of the UTXO owner <br>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) <br>Example: `false` | [optional]
**getHash()** | **string** | The hash of the transaction <br>Example: `53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc` | [optional]
**getIndex()** | **float** | The index of the transaction output checked for the UTXO <br>Example: `0` | [optional]

