Skip to main content

TargetOutput

Type Alias TargetOutput 

Source
pub type TargetOutput = Output;
Expand description

What the user wants on the destination chain — the user-side declarative half of an order.

Aliased Type§

pub struct TargetOutput {
    pub token: Vec<u8>,
    pub amount: [u8; 32],
    pub recipient: [u8; 32],
    pub chain_id: u32,
}

Fields§

§token: Vec<u8>§amount: [u8; 32]§recipient: [u8; 32]

Chain-discriminated recipient — see TokenAmount::token doc.

§chain_id: u32

7683 chain ID of the destination chain (uint32).