MessageReceived: {
    create<I>(base?): MessageReceived;
    decode(input, length?): MessageReceived;
    encode(message, writer?): Writer;
    fromJSON(object): MessageReceived;
    fromPartial<I>(object): MessageReceived;
    toJSON(message): unknown;
}

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            id?: string;
            payloadHash?: Uint8Array;
            recipient?: {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                };
            };
            sender?: {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                };
            };
        } & {
            id?: string;
            payloadHash?: Uint8Array;
            recipient?: {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                };
            } & {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                } & {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
            sender?: {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                };
            } & {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                } & {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • Optional base: I

      Returns MessageReceived

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Type Parameters

      • I extends {
            id?: string;
            payloadHash?: Uint8Array;
            recipient?: {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                };
            };
            sender?: {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                };
            };
        } & {
            id?: string;
            payloadHash?: Uint8Array;
            recipient?: {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                };
            } & {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                } & {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
            sender?: {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                };
            } & {
                address?: string;
                chain?: {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                } & {
                    keyType?: KeyType;
                    module?: string;
                    name?: string;
                    supportsForeignAssets?: boolean;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • object: I

      Returns MessageReceived

  • toJSON:function

Generated using TypeDoc