Function snowbridge_pallet_system::pallet::dispatchables::create_channel
source · pub fn create_channel<T: Config>(mode: OperatingMode)
Expand description
Sends a message to the Gateway contract to create a new channel representing origin
Fee required: Yes
This extrinsic is permissionless, so a fee is charged to prevent spamming and pay for execution costs on the remote side.
The message is sent over the bridge on BridgeHub’s own channel to the Gateway.
origin
: Must beLocation
mode
: Initial operating mode of the channel
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::create_channel
.