Represents a FilterList.

Implements

Constructors

  • Constructs a new FilterList.

    Parameters

    Returns FilterList

Properties

labels: string[]

A list of Jupiter AMM labels to allow or deny (e.g. 'Raydium', 'Orca')

Methods

  • Converts this FilterList to JSON.

    Returns {
        [k: string]: any;
    }

    JSON object

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

    Parameters

    Returns FilterList

    FilterList instance

  • Decodes a FilterList message from the specified reader or buffer.

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

      Message length if known beforehand

    Returns FilterList

    FilterList

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

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

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns FilterList

    FilterList

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

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

    Parameters

    • message: IFilterList

      FilterList message or plain object to encode

    • Optional writer: Writer

      Writer to encode to

    Returns Writer

    Writer

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

    Parameters

    • message: IFilterList

      FilterList message or plain object to encode

    • Optional writer: Writer

      Writer to encode to

    Returns Writer

    Writer

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

    Parameters

    • object: {
          [k: string]: any;
      }

      Plain object

      • [k: string]: any

    Returns FilterList

    FilterList

  • Gets the default type url for FilterList

    Parameters

    • Optional typeUrlPrefix: string

      your custom typeUrlPrefix(default "type.googleapis.com")

    Returns string

    The default type url

  • Creates a plain object from a FilterList message. Also converts values to other types if specified.

    Parameters

    • message: FilterList

      FilterList

    • Optional options: IConversionOptions

      Conversion options

    Returns {
        [k: string]: any;
    }

    Plain object

    • [k: string]: any
  • Verifies a FilterList message.

    Parameters

    • message: {
          [k: string]: any;
      }

      Plain object to verify

      • [k: string]: any

    Returns string

    null if valid, otherwise the reason why it is not