
# WalletTxInfo

A richer wallet-transaction summary returned by the onchain transactions endpoint.  Includes the raw transaction plus its fee, the wallet\'s net balance change, and confirmation status.

## Properties

Name | Type
------------ | -------------
`balanceChangeSat` | number
`confirmation` | [BlockRef](BlockRef.md)
`isCpfp` | boolean
`onchainFeeSat` | number
`tx` | string
`txid` | string

## Example

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

// TODO: Update the object below with actual values
const example = {
  "balanceChangeSat": null,
  "confirmation": null,
  "isCpfp": null,
  "onchainFeeSat": null,
  "tx": null,
  "txid": null,
} satisfies WalletTxInfo

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


