FundingCreated

data class FundingCreated(temporaryChannelId: ByteVector32, fundingTxid: ByteVector32, fundingOutputIndex: Int, signature: ByteVector64) : ChannelMessage, HasTemporaryChannelId

Types

Companion
Link copied to clipboard
common
object Companion : LightningMessageReader<FundingCreated>

Functions

write
Link copied to clipboard
common
open fun write(): ByteArray
open override fun write(out: Output)

Properties

fundingOutputIndex
Link copied to clipboard
common
val fundingOutputIndex: Int
fundingTxid
Link copied to clipboard
common
val fundingTxid: ByteVector32
signature
Link copied to clipboard
common
val signature: ByteVector64
temporaryChannelId
Link copied to clipboard
common
open override val temporaryChannelId: ByteVector32
type
Link copied to clipboard
common
open override val type: Long

Once decrypted, lightning messages start with a 2-byte type that uniquely identifies the kind of message received. See https://github.com/lightningnetwork/lightning-rfc/blob/master/01-messaging.md#lightning-message-format.