Skip to main content

CreateChannelParams

@totemsdk/omnia


@totemsdk/omnia / CreateChannelParams

Interface: CreateChannelParams

Properties

channelType?

optional channelType?: "direct" | "virtual"


factoryRef?

optional factoryRef?: string


fundingCoinId

fundingCoinId: string


fundingWitnessBytes?

optional fundingWitnessBytes?: Uint8Array<ArrayBufferLike>

Serialized Minima witness for the funding transaction input(s). Required for createChannel broadcast.


localAmount

localAmount: bigint


localParty

localParty: ChannelParticipant


program?

optional program?: ChannelProgram


remoteAmount

remoteAmount: bigint


remoteParty

remoteParty: ChannelParticipant


tokenId?

optional tokenId?: string


tokenScale?

optional tokenScale?: number

Scale factor for coloured coins. 0 = native Minima. Default: 0.