Sends a message to L1.

Signature

pub extern fn send_message_to_l1_syscall(to_address: felt252, payload: Span) -> Result> implicits(GasBuiltin, System) nopanic;

Arguments

  • to_address - The recipient’s L1 address.
  • payload - The content of the message.