Type declaration
create:function
- create<I>(base?): ParamsResponse
Type Parameters
- I extends {
params?: {
chainActivationThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
chainMaintainerCheckWindow?: number;
chainMaintainerIncorrectVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
chainMaintainerMissingVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
gateway?: Uint8Array;
};
} & {
params?: {
chainActivationThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
chainMaintainerCheckWindow?: number;
chainMaintainerIncorrectVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
chainMaintainerMissingVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
gateway?: Uint8Array;
} & {
chainActivationThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
chainMaintainerCheckWindow?: number;
chainMaintainerIncorrectVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
chainMaintainerMissingVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
gateway?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): ParamsResponse
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): ParamsResponse
Type Parameters
- I extends {
params?: {
chainActivationThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
chainMaintainerCheckWindow?: number;
chainMaintainerIncorrectVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
chainMaintainerMissingVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
gateway?: Uint8Array;
};
} & {
params?: {
chainActivationThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
chainMaintainerCheckWindow?: number;
chainMaintainerIncorrectVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
chainMaintainerMissingVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
};
gateway?: Uint8Array;
} & {
chainActivationThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
chainMaintainerCheckWindow?: number;
chainMaintainerIncorrectVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
chainMaintainerMissingVoteThreshold?: {
denominator?: string | number | Long;
numerator?: string | number | Long;
} & {
denominator?: string | number | (...) & (...) & (...);
numerator?: string | number | (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
gateway?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown