Variable MetaResponse

MetaResponse: {
    create(base?): MetaResponse;
    decode(input, length?): MetaResponse;
    encode(message, writer?): Writer;
    fromJSON(object): MetaResponse;
    fromPartial(object): MetaResponse;
    toJSON(message): unknown;
}

Type declaration

  • create:function
    • Parameters

      • Optional base: {
            error?: string;
            meta?: {
                name?: string;
            };
        }
        • Optional error?: string
        • Optional meta?: {
              name?: string;
          }
          • Optional name?: string

      Returns MetaResponse

  • decode:function
    • Parameters

      • input: Uint8Array | Reader
      • Optional length: number

      Returns MetaResponse

  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns MetaResponse

  • fromPartial:function
    • Parameters

      • object: {
            error?: string;
            meta?: {
                name?: string;
            };
        }
        • Optional error?: string
        • Optional meta?: {
              name?: string;
          }
          • Optional name?: string

      Returns MetaResponse

  • toJSON:function
    • Parameters

      Returns unknown

Generated using TypeDoc