# Function serialize

- serialize(msg): Uint8Array

- #### Parameters

  - ##### msg: {
    destinationCaller: UniversalAddress;
    destinationDomain: "Solana" | "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base";
    nonce: bigint;
    payload: { readonly burnToken: UniversalAddress; readonly mintRecipient: UniversalAddress; readonly amount: bigint; readonly messageSender: UniversalAddress; };
    recipient: UniversalAddress;
    sender: UniversalAddress;
    sourceDomain: "Solana" | "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base";
    }

    - ##### destinationCaller: UniversalAddress

    - ##### destinationDomain: "Solana" | "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base"

    - ##### nonce: bigint

    - ##### payload: { readonly burnToken: UniversalAddress; readonly mintRecipient: UniversalAddress; readonly amount: bigint; readonly messageSender: UniversalAddress; }

    - ##### recipient: UniversalAddress

    - ##### sender: UniversalAddress

    - ##### sourceDomain: "Solana" | "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base"

  #### Returns Uint8Array

  - Defined in definitions/src/protocols/circleBridge.ts:42

Generated using TypeDoc