Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/cosmos/bank/v1beta1/bank

Index

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

DenomUnit

DenomUnit: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Input

Input: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Metadata

Metadata: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): Metadata
  • encode: function
    • encode(message: Metadata, writer?: Writer): Writer
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { base?: string; denomUnits?: { denom?: string | undefined; exponent?: number | undefined; aliases?: string[] | undefined; }[]; description?: string; display?: string }): Metadata
    • Parameters

      • object: { base?: string; denomUnits?: { denom?: string | undefined; exponent?: number | undefined; aliases?: string[] | undefined; }[]; description?: string; display?: string }
        • Optional base?: string

          base represents the base denom (should be the DenomUnit with exponent = 0).

        • Optional denomUnits?: { denom?: string | undefined; exponent?: number | undefined; aliases?: string[] | undefined; }[]

          denom_units represents the list of DenomUnit's for a given coin

        • Optional description?: string
        • Optional display?: string

          display indicates the suggested denom that should be displayed in clients.

      Returns Metadata

  • toJSON: function

Output

Output: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Params

Params: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

SendEnabled

SendEnabled: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Supply

Supply: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Const protobufPackage

protobufPackage: "cosmos.bank.v1beta1" = 'cosmos.bank.v1beta1'

Generated using TypeDoc