DotNetLightning


OperationAddHTLC Type

Record fields

Record Field Description

Amount

Full Usage: Amount

Field type: LNMoney
Field type: LNMoney

CurrentHeight

Full Usage: CurrentHeight

Field type: BlockHeight
Field type: BlockHeight

Expiry

Full Usage: Expiry

Field type: BlockHeight
Field type: BlockHeight

Onion

Full Usage: Onion

Field type: OnionPacket
Field type: OnionPacket

Origin

Full Usage: Origin

Field type: HTLCSource option
Field type: HTLCSource option

PaymentHash

Full Usage: PaymentHash

Field type: PaymentHash
Field type: PaymentHash

Upstream

Full Usage: Upstream

Field type: UpdateAddHTLCMsg option
Field type: UpdateAddHTLCMsg option

Static members

Static member Description

OperationAddHTLC.Create(amountMSat) (paymentHash) (expiry) (onion) (upstream) (origin) (currentHeight)

Full Usage: OperationAddHTLC.Create(amountMSat) (paymentHash) (expiry) (onion) (upstream) (origin) (currentHeight)

Parameters:
Returns: OperationAddHTLC
amountMSat : LNMoney
paymentHash : PaymentHash
expiry : BlockHeight
onion : OnionPacket
upstream : UpdateAddHTLCMsg option
origin : HTLCSource option
currentHeight : BlockHeight
Returns: OperationAddHTLC