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

Type declaration

  • create:function
    • Parameters

      • Optional base: {
            address?: string;
            gigabytePrices?: {
                amount?: string;
                denom?: string;
            }[];
            hourlyPrices?: {
                amount?: string;
                denom?: string;
            }[];
            inactiveAt?: Date;
            remoteUrl?: string;
            status?: Status;
            statusAt?: Date;
        }
        • Optional address?: string
        • Optional gigabytePrices?: {
              amount?: string;
              denom?: string;
          }[]
        • Optional hourlyPrices?: {
              amount?: string;
              denom?: string;
          }[]
        • Optional inactiveAt?: Date
        • Optional remoteUrl?: string
        • Optional status?: Status
        • Optional statusAt?: Date

      Returns Node

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Parameters

      • object: {
            address?: string;
            gigabytePrices?: {
                amount?: string;
                denom?: string;
            }[];
            hourlyPrices?: {
                amount?: string;
                denom?: string;
            }[];
            inactiveAt?: Date;
            remoteUrl?: string;
            status?: Status;
            statusAt?: Date;
        }
        • Optional address?: string
        • Optional gigabytePrices?: {
              amount?: string;
              denom?: string;
          }[]
        • Optional hourlyPrices?: {
              amount?: string;
              denom?: string;
          }[]
        • Optional inactiveAt?: Date
        • Optional remoteUrl?: string
        • Optional status?: Status
        • Optional statusAt?: Date

      Returns Node

  • toJSON:function

Generated using TypeDoc