Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/cosmos/tx/signing/v1beta1/signing

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

SignatureDescriptor

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

Type declaration

  • decode: function
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { data?: { single?: { mode?: SignMode | undefined; signature?: Uint8Array | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; signatures?: ...[] | undefined; } | undefined; }; publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; sequence?: number }): SignatureDescriptor
    • Parameters

      • object: { data?: { single?: { mode?: SignMode | undefined; signature?: Uint8Array | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; signatures?: ...[] | undefined; } | undefined; }; publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; sequence?: number }
        • Optional data?: { single?: { mode?: SignMode | undefined; signature?: Uint8Array | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; signatures?: ...[] | undefined; } | undefined; }
        • Optional publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }

          public_key is the public key of the signer

        • Optional sequence?: number

          sequence is the sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks.

      Returns SignatureDescriptor

  • toJSON: function

SignatureDescriptor_Data

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

Type declaration

SignatureDescriptor_Data_Multi

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

Type declaration

SignatureDescriptor_Data_Single

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

Type declaration

SignatureDescriptors

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

Type declaration

Const protobufPackage

protobufPackage: "cosmos.tx.signing.v1beta1" = 'cosmos.tx.signing.v1beta1'

Functions

signModeFromJSON

  • signModeFromJSON(object: any): SignMode

signModeToJSON

  • signModeToJSON(object: SignMode): string

Generated using TypeDoc