Variables
Base58Address
Base58Address: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Base58Address
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
-
Parameters
-
object: { value?: string }
-
toJSON: function
-
Parameters
Returns unknown
Bech32Address
Bech32Address: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Bech32Address
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { prefix?: string; value?: string }): Bech32Address
-
Parameters
-
object: { prefix?: string; value?: string }
-
Optional prefix?: string
-
Optional value?: string
-
toJSON: function
-
Parameters
Returns unknown
ChainConfig
ChainConfig: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): ChainConfig
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
-
Parameters
-
object: { name?: string }
-
toJSON: function
-
Parameters
Returns unknown
ChainLink
ChainLink: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): ChainLink
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: ChainLink, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; chainConfig?: { name?: string | undefined; }; creationTime?: Date; proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; }; user?: string }): ChainLink
-
Parameters
-
object: { address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; chainConfig?: { name?: string | undefined; }; creationTime?: Date; proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; }; user?: string }
-
Optional address?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }
-
Optional chainConfig?: { name?: string | undefined; }
-
Optional creationTime?: Date
-
Optional proof?: { pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; signature?: string | undefined; plainText?: string | undefined; }
-
Optional user?: string
-
toJSON: function
-
Parameters
Returns unknown
Proof
Proof: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Proof
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Proof, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
- fromJSON(object: any): Proof
-
fromPartial: function
- fromPartial(object: { plainText?: string; pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; signature?: string }): Proof
-
Parameters
-
object: { plainText?: string; pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; signature?: string }
-
Optional plainText?: string
-
Optional pubKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }
-
Optional signature?: string
-
toJSON: function
- toJSON(message: Proof): unknown
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "desmos.profiles.v1beta1" = 'desmos.profiles.v1beta1'
Value contains the Base58-encoded address