CreateChannelParams
@totemsdk/omnia / CreateChannelParams
Interface: CreateChannelParams
Properties
channelType?
optionalchannelType?:"direct"|"virtual"
factoryRef?
optionalfactoryRef?:string
fundingCoinId
fundingCoinId:
string
fundingWitnessBytes?
optionalfundingWitnessBytes?:Uint8Array<ArrayBufferLike>
Serialized Minima witness for the funding transaction input(s). Required for createChannel broadcast.
localAmount
localAmount:
bigint
localParty
localParty:
ChannelParticipant
program?
optionalprogram?:ChannelProgram
remoteAmount
remoteAmount:
bigint
remoteParty
remoteParty:
ChannelParticipant
tokenId?
optionaltokenId?:string
tokenScale?
optionaltokenScale?:number
Scale factor for coloured coins. 0 = native Minima. Default: 0.