# 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 core/definitions/dist/esm/protocols/circleBridge.d.ts:20

Generated using TypeDoc