Class UtxoModel
- Namespace
- NLightning.Domain.Bitcoin.Wallet.Models
- Assembly
- NLightning.Domain.dll
public sealed class UtxoModel
- Inheritance
-
UtxoModel
- Inherited Members
-
Constructors
UtxoModel(TxId, uint, LightningMoney, uint, WalletAddressModel)
public UtxoModel(TxId txId, uint index, LightningMoney amount, uint blockHeight, WalletAddressModel walletAddress)
Parameters
txId TxId
index uint
amount LightningMoney
blockHeight uint
walletAddress WalletAddressModel
UtxoModel(TxId, uint, LightningMoney, uint, uint, bool, AddressType)
public UtxoModel(TxId txId, uint index, LightningMoney amount, uint blockHeight, uint addressIndex, bool isAddressChange, AddressType addressType)
Parameters
txId TxId
index uint
amount LightningMoney
blockHeight uint
addressIndex uint
isAddressChange bool
addressType AddressType
Properties
AddressIndex
public uint AddressIndex { get; }
Property Value
- uint
AddressType
public AddressType AddressType { get; }
Property Value
- AddressType
Amount
public LightningMoney Amount { get; }
Property Value
- LightningMoney
BlockHeight
public uint BlockHeight { get; }
Property Value
- uint
Index
public uint Index { get; }
Property Value
- uint
IsAddressChange
public bool IsAddressChange { get; }
Property Value
- bool
LockedToChannelId
public ChannelId? LockedToChannelId { get; set; }
Property Value
- ChannelId?
TxId
public TxId TxId { get; }
Property Value
- TxId
WalletAddress
public WalletAddressModel? WalletAddress { get; }
Property Value
- WalletAddressModel
Methods
SetWalletAddress(WalletAddressModel)
public void SetWalletAddress(WalletAddressModel walletAddress)
Parameters
walletAddress WalletAddressModel