TxBody: {
    decode(input: Uint8Array | Reader, length?: number): TxBody;
    encode(message: TxBody, writer?: Writer): Writer;
    fromJSON(object: any): TxBody;
    fromPartial<I>(object: I): TxBody;
    toJSON(message: TxBody): unknown;
}

Type declaration

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

      • I extends {
            extensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[];
            memo?: string;
            messages?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[];
            nonCriticalExtensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[];
            timeoutHeight?: number;
        } & {
            extensionOptions?: {
                typeUrl?: string;
                value?: Uint8Array;
            }[] & ({
                typeUrl?: string;
                value?: Uint8Array;
            } & ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
            memo?: string;
            messages?: {
                typeUrl?: string;
                value?: Uint8Array;
            }[] & ({
                typeUrl?: string;
                value?: Uint8Array;
            } & ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
            nonCriticalExtensionOptions?: {
                typeUrl?: string;
                value?: Uint8Array;
            }[] & ({
                typeUrl?: string;
                value?: Uint8Array;
            } & ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
            timeoutHeight?: number;
        } & { [ K in string | number | symbol]: never }

      Parameters

      • object: I

      Returns TxBody

  • toJSON:function

Generated using TypeDoc