Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgBase<Params, ProtoRepresentation, ObjectRepresentation> Abstract

Type Parameters

  • Params

  • ProtoRepresentation extends Object

  • ObjectRepresentation extends Record<string, unknown> = {}

Hierarchy

Index

Constructors

  • new MsgBase<Params, ProtoRepresentation, ObjectRepresentation>(params: Params): MsgBase<Params, ProtoRepresentation, ObjectRepresentation>

Properties

params: Params

Methods

  • toAmino(): { type: string; value: ObjectRepresentation | SnakeCaseKeys<ProtoRepresentation, true, [], ""> }
  • toData(): ProtoRepresentation & { @type: string }
  • toDirectSign(): { message: ProtoRepresentation; type: string }
  • toDirectSignJSON(): string
  • toEip712(): { type: string; value: Record<string, unknown> }
  • toJSON(): string
  • toProto(): ProtoRepresentation
  • toWeb3(): ObjectRepresentation | SnakeCaseKeys<ProtoRepresentation, true, [], ""> & { @type: string }

Generated using TypeDoc