
# UtxoInfo

Struct representing information about an Unspent Transaction Output (UTXO).  This structure provides details about a UTXO, which includes the outpoint (transaction ID and index), the associated amount in satoshis, and the block height at which the transaction was confirmed (if available).  # Serde Behavior  * The `amount` field is serialized and deserialized with a custom function from the `bitcoin`   crate that ensures the value is interpreted as satoshis with the name `amount_sat`.

## Properties

Name | Type
------------ | -------------
`amountSat` | number
`confirmationHeight` | number
`outpoint` | string

## Example

```typescript
import type { UtxoInfo } from '@secondts/barkd'

// TODO: Update the object below with actual values
const example = {
  "amountSat": null,
  "confirmationHeight": null,
  "outpoint": null,
} satisfies UtxoInfo

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as UtxoInfo
console.log(exampleParsed)
```

[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)


