referrerpolicy=no-referrer-when-downgrade
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 be Location
  • 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.