
# VtxoInfo

Information about a single VTXO (Virtual Transaction Output).  A VTXO is a chain of off-chain, pre-signed transactions rooted in an on-chain output. It represents spendable bitcoin on Ark.

## Properties

Name | Type
------------ | -------------
`amountSat` | number
`chainAnchor` | string
`exitDelta` | number
`exitDepth` | number
`expiryHeight` | number
`id` | string
`policyType` | string
`serverPubkey` | string
`userPubkey` | string

## Example

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

// TODO: Update the object below with actual values
const example = {
  "amountSat": null,
  "chainAnchor": null,
  "exitDelta": null,
  "exitDepth": null,
  "expiryHeight": null,
  "id": null,
  "policyType": null,
  "serverPubkey": null,
  "userPubkey": null,
} satisfies VtxoInfo

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 VtxoInfo
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)


