Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an assert_loc_v1.

Hierarchy

  • assert_loc_v1

Implements

Index

Constructors

  • Constructs a new assert_loc_v1.

    Parameters

    Returns assert_loc_v1

Properties

amount: number | Long

assert_loc_v1 amount.

fee: number | Long

assert_loc_v1 fee.

lat: number

assert_loc_v1 lat.

lon: number

assert_loc_v1 lon.

nonce: number | Long

assert_loc_v1 nonce.

owner: string

assert_loc_v1 owner.

payer: string

assert_loc_v1 payer.

Methods

  • toJSON(): {}
  • Converts this assert_loc_v1 to JSON.

    Returns {}

    JSON object

    • [k: string]: any
  • Creates a new assert_loc_v1 instance using the specified properties.

    Parameters

    Returns assert_loc_v1

    assert_loc_v1 instance

  • decode(reader: Reader | Uint8Array, length?: number): assert_loc_v1
  • Decodes an assert_loc_v1 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: Reader | Uint8Array

      Reader or buffer to decode from

    • Optional length: number

    Returns assert_loc_v1

    assert_loc_v1

  • Decodes an assert_loc_v1 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: Reader | Uint8Array

      Reader or buffer to decode from

    Returns assert_loc_v1

    assert_loc_v1

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

    Parameters

    • message: Iassert_loc_v1

      assert_loc_v1 message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

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

    Parameters

    • message: Iassert_loc_v1

      assert_loc_v1 message or plain object to encode

    • Optional writer: Writer

    Returns Writer

    Writer

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

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns assert_loc_v1

    assert_loc_v1

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

    Parameters

    • message: assert_loc_v1

      assert_loc_v1

    • Optional options: IConversionOptions

    Returns {}

    Plain object

    • [k: string]: any
  • verify(message: {}): null | string
  • Verifies an assert_loc_v1 message.

    Parameters

    • message: {}

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc