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

Type declaration

  • create:function
    • Parameters

      • Optional base: {
            denom?: string;
            deposit?: {
                amount?: string;
                denom?: string;
            };
            expiry?: Date;
            free?: string;
            id?: string | number | Long;
            node?: string;
            owner?: string;
            plan?: string | number | Long;
            price?: {
                amount?: string;
                denom?: string;
            };
            status?: Status;
            statusAt?: Date;
        }
        • Optional denom?: string
        • Optional deposit?: {
              amount?: string;
              denom?: string;
          }
          • Optional amount?: string
          • Optional denom?: string
        • Optional expiry?: Date
        • Optional free?: string
        • Optional id?: string | number | Long
        • Optional node?: string
        • Optional owner?: string
        • Optional plan?: string | number | Long
        • Optional price?: {
              amount?: string;
              denom?: string;
          }
          • Optional amount?: string
          • Optional denom?: string
        • Optional status?: Status
        • Optional statusAt?: Date

      Returns Subscription

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

      • object: {
            denom?: string;
            deposit?: {
                amount?: string;
                denom?: string;
            };
            expiry?: Date;
            free?: string;
            id?: string | number | Long;
            node?: string;
            owner?: string;
            plan?: string | number | Long;
            price?: {
                amount?: string;
                denom?: string;
            };
            status?: Status;
            statusAt?: Date;
        }
        • Optional denom?: string
        • Optional deposit?: {
              amount?: string;
              denom?: string;
          }
          • Optional amount?: string
          • Optional denom?: string
        • Optional expiry?: Date
        • Optional free?: string
        • Optional id?: string | number | Long
        • Optional node?: string
        • Optional owner?: string
        • Optional plan?: string | number | Long
        • Optional price?: {
              amount?: string;
              denom?: string;
          }
          • Optional amount?: string
          • Optional denom?: string
        • Optional status?: Status
        • Optional statusAt?: Date

      Returns Subscription

  • toJSON:function

Generated using TypeDoc