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

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            balance?: {
                amount?: string;
                denom?: string;
            };
            delegation?: {
                delegatorAddress?: string;
                shares?: string;
                validatorAddress?: string;
            };
        } & {
            balance?: {
                amount?: string;
                denom?: string;
            } & {
                amount?: string;
                denom?: string;
            } & {
                [K in string | number | symbol]: never
            };
            delegation?: {
                delegatorAddress?: string;
                shares?: string;
                validatorAddress?: string;
            } & {
                delegatorAddress?: string;
                shares?: string;
                validatorAddress?: string;
            } & {
                [K in string | number | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • Optional base: I

      Returns DelegationResponse

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

      • I extends {
            balance?: {
                amount?: string;
                denom?: string;
            };
            delegation?: {
                delegatorAddress?: string;
                shares?: string;
                validatorAddress?: string;
            };
        } & {
            balance?: {
                amount?: string;
                denom?: string;
            } & {
                amount?: string;
                denom?: string;
            } & {
                [K in string | number | symbol]: never
            };
            delegation?: {
                delegatorAddress?: string;
                shares?: string;
                validatorAddress?: string;
            } & {
                delegatorAddress?: string;
                shares?: string;
                validatorAddress?: string;
            } & {
                [K in string | number | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • object: I

      Returns DelegationResponse

  • toJSON:function

Generated using TypeDoc