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

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            header?: {
                appHash?: Uint8Array;
                chainId?: string;
                consensusHash?: Uint8Array;
                dataHash?: Uint8Array;
                evidenceHash?: Uint8Array;
                height?: string | number | Long;
                lastBlockId?: {
                    hash?: Uint8Array;
                    partSetHeader?: {
                        hash?: Uint8Array;
                        total?: number;
                    };
                };
                lastCommitHash?: Uint8Array;
                lastResultsHash?: Uint8Array;
                nextValidatorsHash?: Uint8Array;
                proposerAddress?: Uint8Array;
                time?: Date;
                validatorsHash?: Uint8Array;
                version?: {
                    app?: string | number | Long;
                    block?: string | number | Long;
                };
            };
            valset?: {
                commission?: {
                    commissionRates?: {
                        maxChangeRate?: (...) | (...);
                        maxRate?: (...) | (...);
                        rate?: (...) | (...);
                    };
                    updateTime?: Date;
                };
                consensusPubkey?: {
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                delegatorShares?: string;
                description?: {
                    details?: string;
                    identity?: string;
                    moniker?: string;
                    securityContact?: string;
                    website?: string;
                };
                jailed?: boolean;
                minSelfDelegation?: string;
                operatorAddress?: string;
                status?: BondStatus;
                tokens?: string;
                unbondingHeight?: string | number | Long;
                unbondingTime?: Date;
            }[];
        } & {
            header?: {
                appHash?: Uint8Array;
                chainId?: string;
                consensusHash?: Uint8Array;
                dataHash?: Uint8Array;
                evidenceHash?: Uint8Array;
                height?: string | number | Long;
                lastBlockId?: {
                    hash?: Uint8Array;
                    partSetHeader?: {
                        hash?: (...) | (...);
                        total?: (...) | (...);
                    };
                };
                lastCommitHash?: Uint8Array;
                lastResultsHash?: Uint8Array;
                nextValidatorsHash?: Uint8Array;
                proposerAddress?: Uint8Array;
                time?: Date;
                validatorsHash?: Uint8Array;
                version?: {
                    app?: string | number | Long;
                    block?: string | number | Long;
                };
            } & {
                appHash?: Uint8Array;
                chainId?: string;
                consensusHash?: Uint8Array;
                dataHash?: Uint8Array;
                evidenceHash?: Uint8Array;
                height?: string | number | Long & {
                    high: number;
                    low: number;
                    unsigned: boolean;
                    add(addend): Long;
                    and(other): Long;
                    clz(): number;
                    comp(other): number;
                    compare(other): number;
                    countLeadingZeros(): number;
                    countTrailingZeros(): number;
                    ctz(): number;
                    div(divisor): Long;
                    divide(divisor): Long;
                    eq(other): boolean;
                    equals(other): boolean;
                    eqz(): boolean;
                    ge(other): boolean;
                    getHighBits(): number;
                    getHighBitsUnsigned(): number;
                    getLowBits(): number;
                    getLowBitsUnsigned(): number;
                    getNumBitsAbs(): number;
                    greaterThan(other): boolean;
                    greaterThanOrEqual(other): boolean;
                    gt(other): boolean;
                    gte(other): boolean;
                    isEven(): boolean;
                    isNegative(): boolean;
                    isOdd(): boolean;
                    isPositive(): boolean;
                    isZero(): boolean;
                    le(other): boolean;
                    lessThan(other): boolean;
                    lessThanOrEqual(other): boolean;
                    lt(other): boolean;
                    lte(other): boolean;
                    mod(other): Long;
                    modulo(other): Long;
                    mul(multiplier): Long;
                    multiply(multiplier): Long;
                    ne(other): boolean;
                    neg(): Long;
                    negate(): Long;
                    neq(other): boolean;
                    not(): Long;
                    notEquals(other): boolean;
                    or(other): Long;
                    rem(other): Long;
                    rotateLeft(numBits): Long;
                    rotateRight(numBits): Long;
                    rotl(numBits): Long;
                    rotr(numBits): Long;
                    shiftLeft(numBits): Long;
                    shiftRight(numBits): Long;
                    shiftRightUnsigned(numBits): Long;
                    shl(numBits): Long;
                    shr(numBits): Long;
                    shr_u(numBits): Long;
                    shru(numBits): Long;
                    sub(subtrahend): Long;
                    subtract(subtrahend): Long;
                    toBytes(le?): number[];
                    toBytesBE(): number[];
                    toBytesLE(): number[];
                    toInt(): number;
                    toNumber(): number;
                    toSigned(): Long;
                    toString(radix?): string;
                    toUnsigned(): Long;
                    xor(other): Long;
                } & {
                    [K in string | number | symbol]: never
                };
                lastBlockId?: {
                    hash?: Uint8Array;
                    partSetHeader?: {
                        hash?: ...;
                        total?: ...;
                    };
                } & {
                    hash?: Uint8Array;
                    partSetHeader?: (...) & (...) & (...);
                } & {
                    [K in string | number | symbol]: never
                };
                lastCommitHash?: Uint8Array;
                lastResultsHash?: Uint8Array;
                nextValidatorsHash?: Uint8Array;
                proposerAddress?: Uint8Array;
                time?: Date;
                validatorsHash?: Uint8Array;
                version?: {
                    app?: string | number | Long;
                    block?: string | number | Long;
                } & {
                    app?: string | number | (...) & (...) & (...);
                    block?: string | number | (...) & (...) & (...);
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
            valset?: {
                commission?: {
                    commissionRates?: {
                        maxChangeRate?: ...;
                        maxRate?: ...;
                        rate?: ...;
                    };
                    updateTime?: Date;
                };
                consensusPubkey?: {
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                delegatorShares?: string;
                description?: {
                    details?: string;
                    identity?: string;
                    moniker?: string;
                    securityContact?: string;
                    website?: string;
                };
                jailed?: boolean;
                minSelfDelegation?: string;
                operatorAddress?: string;
                status?: BondStatus;
                tokens?: string;
                unbondingHeight?: string | number | Long;
                unbondingTime?: Date;
            }[] & ({
                commission?: {
                    commissionRates?: (...) | (...);
                    updateTime?: (...) | (...);
                };
                consensusPubkey?: {
                    typeUrl?: (...) | (...);
                    value?: (...) | (...);
                };
                delegatorShares?: string;
                description?: {
                    details?: (...) | (...);
                    identity?: (...) | (...);
                    moniker?: (...) | (...);
                    securityContact?: (...) | (...);
                    website?: (...) | (...);
                };
                jailed?: boolean;
                minSelfDelegation?: string;
                operatorAddress?: string;
                status?: BondStatus;
                tokens?: string;
                unbondingHeight?: string | number | Long;
                unbondingTime?: Date;
            } & {
                commission?: {
                    commissionRates?: ...;
                    updateTime?: ...;
                } & {
                    commissionRates?: ...;
                    updateTime?: ...;
                } & {
                    [K in (...)]: (...)
                };
                consensusPubkey?: {
                    typeUrl?: ...;
                    value?: ...;
                } & {
                    typeUrl?: ...;
                    value?: ...;
                } & {
                    [K in (...)]: (...)
                };
                delegatorShares?: string;
                description?: {
                    details?: ...;
                    identity?: ...;
                    moniker?: ...;
                    securityContact?: ...;
                    website?: ...;
                } & {
                    details?: ...;
                    identity?: ...;
                    moniker?: ...;
                    securityContact?: ...;
                    website?: ...;
                } & {
                    [K in (...)]: (...)
                };
                jailed?: boolean;
                minSelfDelegation?: string;
                operatorAddress?: string;
                status?: BondStatus;
                tokens?: string;
                unbondingHeight?: string | number | Long & {
                    high: ...;
                    low: ...;
                    unsigned: ...;
                    add(addend): ...;
                    and(other): ...;
                    clz(): ...;
                    comp(other): ...;
                    compare(other): ...;
                    countLeadingZeros(): ...;
                    countTrailingZeros(): ...;
                    ctz(): ...;
                    div(divisor): ...;
                    divide(divisor): ...;
                    eq(other): ...;
                    equals(other): ...;
                    eqz(): ...;
                    ge(other): ...;
                    getHighBits(): ...;
                    getHighBitsUnsigned(): ...;
                    getLowBits(): ...;
                    getLowBitsUnsigned(): ...;
                    getNumBitsAbs(): ...;
                    greaterThan(other): ...;
                    greaterThanOrEqual(other): ...;
                    gt(other): ...;
                    gte(other): ...;
                    isEven(): ...;
                    isNegative(): ...;
                    isOdd(): ...;
                    isPositive(): ...;
                    isZero(): ...;
                    le(other): ...;
                    lessThan(other): ...;
                    lessThanOrEqual(other): ...;
                    lt(other): ...;
                    lte(other): ...;
                    mod(other): ...;
                    modulo(other): ...;
                    mul(multiplier): ...;
                    multiply(multiplier): ...;
                    ne(other): ...;
                    neg(): ...;
                    negate(): ...;
                    neq(other): ...;
                    not(): ...;
                    notEquals(other): ...;
                    or(other): ...;
                    rem(other): ...;
                    rotateLeft(numBits): ...;
                    rotateRight(numBits): ...;
                    rotl(numBits): ...;
                    rotr(numBits): ...;
                    shiftLeft(numBits): ...;
                    shiftRight(numBits): ...;
                    shiftRightUnsigned(numBits): ...;
                    shl(numBits): ...;
                    shr(numBits): ...;
                    shr_u(numBits): ...;
                    shru(numBits): ...;
                    sub(subtrahend): ...;
                    subtract(subtrahend): ...;
                    toBytes(le?): ...;
                    toBytesBE(): ...;
                    toBytesLE(): ...;
                    toInt(): ...;
                    toNumber(): ...;
                    toSigned(): ...;
                    toString(radix?): ...;
                    toUnsigned(): ...;
                    xor(other): ...;
                } & {
                    [K in (...)]: (...)
                };
                unbondingTime?: Date;
            } & {
                [K in string | number | symbol]: never
            })[] & {
                [K in string | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • Optional base: I

      Returns HistoricalInfo

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

      • I extends {
            header?: {
                appHash?: Uint8Array;
                chainId?: string;
                consensusHash?: Uint8Array;
                dataHash?: Uint8Array;
                evidenceHash?: Uint8Array;
                height?: string | number | Long;
                lastBlockId?: {
                    hash?: Uint8Array;
                    partSetHeader?: {
                        hash?: Uint8Array;
                        total?: number;
                    };
                };
                lastCommitHash?: Uint8Array;
                lastResultsHash?: Uint8Array;
                nextValidatorsHash?: Uint8Array;
                proposerAddress?: Uint8Array;
                time?: Date;
                validatorsHash?: Uint8Array;
                version?: {
                    app?: string | number | Long;
                    block?: string | number | Long;
                };
            };
            valset?: {
                commission?: {
                    commissionRates?: {
                        maxChangeRate?: (...) | (...);
                        maxRate?: (...) | (...);
                        rate?: (...) | (...);
                    };
                    updateTime?: Date;
                };
                consensusPubkey?: {
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                delegatorShares?: string;
                description?: {
                    details?: string;
                    identity?: string;
                    moniker?: string;
                    securityContact?: string;
                    website?: string;
                };
                jailed?: boolean;
                minSelfDelegation?: string;
                operatorAddress?: string;
                status?: BondStatus;
                tokens?: string;
                unbondingHeight?: string | number | Long;
                unbondingTime?: Date;
            }[];
        } & {
            header?: {
                appHash?: Uint8Array;
                chainId?: string;
                consensusHash?: Uint8Array;
                dataHash?: Uint8Array;
                evidenceHash?: Uint8Array;
                height?: string | number | Long;
                lastBlockId?: {
                    hash?: Uint8Array;
                    partSetHeader?: {
                        hash?: (...) | (...);
                        total?: (...) | (...);
                    };
                };
                lastCommitHash?: Uint8Array;
                lastResultsHash?: Uint8Array;
                nextValidatorsHash?: Uint8Array;
                proposerAddress?: Uint8Array;
                time?: Date;
                validatorsHash?: Uint8Array;
                version?: {
                    app?: string | number | Long;
                    block?: string | number | Long;
                };
            } & {
                appHash?: Uint8Array;
                chainId?: string;
                consensusHash?: Uint8Array;
                dataHash?: Uint8Array;
                evidenceHash?: Uint8Array;
                height?: string | number | Long & {
                    high: number;
                    low: number;
                    unsigned: boolean;
                    add(addend): Long;
                    and(other): Long;
                    clz(): number;
                    comp(other): number;
                    compare(other): number;
                    countLeadingZeros(): number;
                    countTrailingZeros(): number;
                    ctz(): number;
                    div(divisor): Long;
                    divide(divisor): Long;
                    eq(other): boolean;
                    equals(other): boolean;
                    eqz(): boolean;
                    ge(other): boolean;
                    getHighBits(): number;
                    getHighBitsUnsigned(): number;
                    getLowBits(): number;
                    getLowBitsUnsigned(): number;
                    getNumBitsAbs(): number;
                    greaterThan(other): boolean;
                    greaterThanOrEqual(other): boolean;
                    gt(other): boolean;
                    gte(other): boolean;
                    isEven(): boolean;
                    isNegative(): boolean;
                    isOdd(): boolean;
                    isPositive(): boolean;
                    isZero(): boolean;
                    le(other): boolean;
                    lessThan(other): boolean;
                    lessThanOrEqual(other): boolean;
                    lt(other): boolean;
                    lte(other): boolean;
                    mod(other): Long;
                    modulo(other): Long;
                    mul(multiplier): Long;
                    multiply(multiplier): Long;
                    ne(other): boolean;
                    neg(): Long;
                    negate(): Long;
                    neq(other): boolean;
                    not(): Long;
                    notEquals(other): boolean;
                    or(other): Long;
                    rem(other): Long;
                    rotateLeft(numBits): Long;
                    rotateRight(numBits): Long;
                    rotl(numBits): Long;
                    rotr(numBits): Long;
                    shiftLeft(numBits): Long;
                    shiftRight(numBits): Long;
                    shiftRightUnsigned(numBits): Long;
                    shl(numBits): Long;
                    shr(numBits): Long;
                    shr_u(numBits): Long;
                    shru(numBits): Long;
                    sub(subtrahend): Long;
                    subtract(subtrahend): Long;
                    toBytes(le?): number[];
                    toBytesBE(): number[];
                    toBytesLE(): number[];
                    toInt(): number;
                    toNumber(): number;
                    toSigned(): Long;
                    toString(radix?): string;
                    toUnsigned(): Long;
                    xor(other): Long;
                } & {
                    [K in string | number | symbol]: never
                };
                lastBlockId?: {
                    hash?: Uint8Array;
                    partSetHeader?: {
                        hash?: ...;
                        total?: ...;
                    };
                } & {
                    hash?: Uint8Array;
                    partSetHeader?: (...) & (...) & (...);
                } & {
                    [K in string | number | symbol]: never
                };
                lastCommitHash?: Uint8Array;
                lastResultsHash?: Uint8Array;
                nextValidatorsHash?: Uint8Array;
                proposerAddress?: Uint8Array;
                time?: Date;
                validatorsHash?: Uint8Array;
                version?: {
                    app?: string | number | Long;
                    block?: string | number | Long;
                } & {
                    app?: string | number | (...) & (...) & (...);
                    block?: string | number | (...) & (...) & (...);
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K in string | number | symbol]: never
            };
            valset?: {
                commission?: {
                    commissionRates?: {
                        maxChangeRate?: ...;
                        maxRate?: ...;
                        rate?: ...;
                    };
                    updateTime?: Date;
                };
                consensusPubkey?: {
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                delegatorShares?: string;
                description?: {
                    details?: string;
                    identity?: string;
                    moniker?: string;
                    securityContact?: string;
                    website?: string;
                };
                jailed?: boolean;
                minSelfDelegation?: string;
                operatorAddress?: string;
                status?: BondStatus;
                tokens?: string;
                unbondingHeight?: string | number | Long;
                unbondingTime?: Date;
            }[] & ({
                commission?: {
                    commissionRates?: (...) | (...);
                    updateTime?: (...) | (...);
                };
                consensusPubkey?: {
                    typeUrl?: (...) | (...);
                    value?: (...) | (...);
                };
                delegatorShares?: string;
                description?: {
                    details?: (...) | (...);
                    identity?: (...) | (...);
                    moniker?: (...) | (...);
                    securityContact?: (...) | (...);
                    website?: (...) | (...);
                };
                jailed?: boolean;
                minSelfDelegation?: string;
                operatorAddress?: string;
                status?: BondStatus;
                tokens?: string;
                unbondingHeight?: string | number | Long;
                unbondingTime?: Date;
            } & {
                commission?: {
                    commissionRates?: ...;
                    updateTime?: ...;
                } & {
                    commissionRates?: ...;
                    updateTime?: ...;
                } & {
                    [K in (...)]: (...)
                };
                consensusPubkey?: {
                    typeUrl?: ...;
                    value?: ...;
                } & {
                    typeUrl?: ...;
                    value?: ...;
                } & {
                    [K in (...)]: (...)
                };
                delegatorShares?: string;
                description?: {
                    details?: ...;
                    identity?: ...;
                    moniker?: ...;
                    securityContact?: ...;
                    website?: ...;
                } & {
                    details?: ...;
                    identity?: ...;
                    moniker?: ...;
                    securityContact?: ...;
                    website?: ...;
                } & {
                    [K in (...)]: (...)
                };
                jailed?: boolean;
                minSelfDelegation?: string;
                operatorAddress?: string;
                status?: BondStatus;
                tokens?: string;
                unbondingHeight?: string | number | Long & {
                    high: ...;
                    low: ...;
                    unsigned: ...;
                    add(addend): ...;
                    and(other): ...;
                    clz(): ...;
                    comp(other): ...;
                    compare(other): ...;
                    countLeadingZeros(): ...;
                    countTrailingZeros(): ...;
                    ctz(): ...;
                    div(divisor): ...;
                    divide(divisor): ...;
                    eq(other): ...;
                    equals(other): ...;
                    eqz(): ...;
                    ge(other): ...;
                    getHighBits(): ...;
                    getHighBitsUnsigned(): ...;
                    getLowBits(): ...;
                    getLowBitsUnsigned(): ...;
                    getNumBitsAbs(): ...;
                    greaterThan(other): ...;
                    greaterThanOrEqual(other): ...;
                    gt(other): ...;
                    gte(other): ...;
                    isEven(): ...;
                    isNegative(): ...;
                    isOdd(): ...;
                    isPositive(): ...;
                    isZero(): ...;
                    le(other): ...;
                    lessThan(other): ...;
                    lessThanOrEqual(other): ...;
                    lt(other): ...;
                    lte(other): ...;
                    mod(other): ...;
                    modulo(other): ...;
                    mul(multiplier): ...;
                    multiply(multiplier): ...;
                    ne(other): ...;
                    neg(): ...;
                    negate(): ...;
                    neq(other): ...;
                    not(): ...;
                    notEquals(other): ...;
                    or(other): ...;
                    rem(other): ...;
                    rotateLeft(numBits): ...;
                    rotateRight(numBits): ...;
                    rotl(numBits): ...;
                    rotr(numBits): ...;
                    shiftLeft(numBits): ...;
                    shiftRight(numBits): ...;
                    shiftRightUnsigned(numBits): ...;
                    shl(numBits): ...;
                    shr(numBits): ...;
                    shr_u(numBits): ...;
                    shru(numBits): ...;
                    sub(subtrahend): ...;
                    subtract(subtrahend): ...;
                    toBytes(le?): ...;
                    toBytesBE(): ...;
                    toBytesLE(): ...;
                    toInt(): ...;
                    toNumber(): ...;
                    toSigned(): ...;
                    toString(radix?): ...;
                    toUnsigned(): ...;
                    xor(other): ...;
                } & {
                    [K in (...)]: (...)
                };
                unbondingTime?: Date;
            } & {
                [K in string | number | symbol]: never
            })[] & {
                [K in string | symbol]: never
            };
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • object: I

      Returns HistoricalInfo

  • toJSON:function

Generated using TypeDoc