Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a MsgOpaqueData.

Hierarchy

  • MsgOpaqueData

Implements

Index

Constructors

constructor

Properties

body

body: string

MsgOpaqueData body.

canonicalUrl

canonicalUrl: string

MsgOpaqueData canonicalUrl.

caption

caption: string

MsgOpaqueData caption.

clientUrl

clientUrl: string

MsgOpaqueData clientUrl.

description

description: string

MsgOpaqueData description.

futureproofBuffer

futureproofBuffer: Uint8Array

MsgOpaqueData futureproofBuffer.

lat

lat: number

MsgOpaqueData lat.

lng

lng: number

MsgOpaqueData lng.

loc

loc: string

MsgOpaqueData loc.

matchedText

matchedText: string

MsgOpaqueData matchedText.

paymentAmount1000

paymentAmount1000: number

MsgOpaqueData paymentAmount1000.

paymentNoteMsgBody

paymentNoteMsgBody: string

MsgOpaqueData paymentNoteMsgBody.

title

title: string

MsgOpaqueData title.

Methods

toJSON

  • toJSON(): {}

Static create

Static decode

  • decode(reader: Uint8Array | Reader, length?: number): MsgOpaqueData
  • Decodes a MsgOpaqueData message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

    Returns MsgOpaqueData

    MsgOpaqueData

Static decodeDelimited

  • Decodes a MsgOpaqueData message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns MsgOpaqueData

    MsgOpaqueData

Static encode

  • Encodes the specified MsgOpaqueData message. Does not implicitly verify messages.

    Parameters

    • message: IMsgOpaqueData

      MsgOpaqueData message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

Static encodeDelimited

  • Encodes the specified MsgOpaqueData message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IMsgOpaqueData

      MsgOpaqueData message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

Static fromObject

  • Creates a MsgOpaqueData message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns MsgOpaqueData

    MsgOpaqueData

Static toObject

  • toObject(message: MsgOpaqueData, options?: IConversionOptions): {}
  • Creates a plain object from a MsgOpaqueData message. Also converts values to other types if specified.

    Parameters

    • message: MsgOpaqueData

      MsgOpaqueData

    • Optional options: IConversionOptions

    Returns {}

    Plain object

    • [k: string]: any

Static verify

  • verify(message: {}): string
  • Verifies a MsgOpaqueData message.

    Parameters

    • message: {}

      Plain object to verify

      • [k: string]: any

    Returns string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc