v1beta1: {
    BroadcastMode: any;
    OrderBy: any;
    LCDQueryClient: any;
    ServiceClientImpl: any;
    AuthInfo: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): AuthInfo;
        encode(message: AuthInfo, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: AuthInfoAmino): AuthInfo;
        fromAminoMsg(object: AuthInfoAminoMsg): AuthInfo;
        fromPartial(object: {
            fee?: {
                amount?: {
                    amount?: string;
                    denom?: string;
                }[];
                gasLimit?: bigint;
                granter?: string;
                payer?: string;
            };
            signerInfos?: {
                modeInfo?: {
                    multi?: {
                        bitarray?: (...) | (...);
                        modeInfos?: (...) | (...);
                    };
                    single?: {
                        mode?: (...) | (...);
                    };
                };
                publicKey?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                sequence?: bigint;
            }[];
        }): AuthInfo;
        fromProtoMsg(message: AuthInfoProtoMsg): AuthInfo;
        toAmino(message: AuthInfo): AuthInfoAmino;
        toAminoMsg(message: AuthInfo): AuthInfoAminoMsg;
        toProto(message: AuthInfo): Uint8Array;
        toProtoMsg(message: AuthInfo): AuthInfoProtoMsg;
    };
    BroadcastModeAmino: typeof BroadcastMode;
    BroadcastModeSDKType: typeof BroadcastMode;
    BroadcastTxRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): BroadcastTxRequest;
        encode(message: BroadcastTxRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: BroadcastTxRequestAmino): BroadcastTxRequest;
        fromAminoMsg(object: BroadcastTxRequestAminoMsg): BroadcastTxRequest;
        fromPartial(object: {
            mode?: BroadcastMode;
            txBytes?: Uint8Array;
        }): BroadcastTxRequest;
        fromProtoMsg(message: BroadcastTxRequestProtoMsg): BroadcastTxRequest;
        toAmino(message: BroadcastTxRequest): BroadcastTxRequestAmino;
        toAminoMsg(message: BroadcastTxRequest): BroadcastTxRequestAminoMsg;
        toProto(message: BroadcastTxRequest): Uint8Array;
        toProtoMsg(message: BroadcastTxRequest): BroadcastTxRequestProtoMsg;
    };
    BroadcastTxResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): BroadcastTxResponse;
        encode(message: BroadcastTxResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: BroadcastTxResponseAmino): BroadcastTxResponse;
        fromAminoMsg(object: BroadcastTxResponseAminoMsg): BroadcastTxResponse;
        fromPartial(object: {
            txResponse?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: {
                        attributes?: ...;
                        type?: ...;
                    }[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            };
        }): BroadcastTxResponse;
        fromProtoMsg(message: BroadcastTxResponseProtoMsg): BroadcastTxResponse;
        toAmino(message: BroadcastTxResponse): BroadcastTxResponseAmino;
        toAminoMsg(message: BroadcastTxResponse): BroadcastTxResponseAminoMsg;
        toProto(message: BroadcastTxResponse): Uint8Array;
        toProtoMsg(message: BroadcastTxResponse): BroadcastTxResponseProtoMsg;
    };
    Fee: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Fee;
        encode(message: Fee, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: FeeAmino): Fee;
        fromAminoMsg(object: FeeAminoMsg): Fee;
        fromPartial(object: {
            amount?: {
                amount?: string;
                denom?: string;
            }[];
            gasLimit?: bigint;
            granter?: string;
            payer?: string;
        }): Fee;
        fromProtoMsg(message: FeeProtoMsg): Fee;
        toAmino(message: Fee): FeeAmino;
        toAminoMsg(message: Fee): FeeAminoMsg;
        toProto(message: Fee): Uint8Array;
        toProtoMsg(message: Fee): FeeProtoMsg;
    };
    GetBlockWithTxsRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetBlockWithTxsRequest;
        encode(message: GetBlockWithTxsRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetBlockWithTxsRequestAmino): GetBlockWithTxsRequest;
        fromAminoMsg(object: GetBlockWithTxsRequestAminoMsg): GetBlockWithTxsRequest;
        fromPartial(object: {
            height?: bigint;
            pagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            };
        }): GetBlockWithTxsRequest;
        fromProtoMsg(message: GetBlockWithTxsRequestProtoMsg): GetBlockWithTxsRequest;
        toAmino(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAmino;
        toAminoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAminoMsg;
        toProto(message: GetBlockWithTxsRequest): Uint8Array;
        toProtoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestProtoMsg;
    };
    GetBlockWithTxsResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetBlockWithTxsResponse;
        encode(message: GetBlockWithTxsResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetBlockWithTxsResponseAmino): GetBlockWithTxsResponse;
        fromAminoMsg(object: GetBlockWithTxsResponseAminoMsg): GetBlockWithTxsResponse;
        fromPartial(object: {
            block?: {
                data?: {
                    txs?: Uint8Array[];
                };
                evidence?: {
                    evidence?: {
                        duplicateVoteEvidence?: (...) | (...);
                        lightClientAttackEvidence?: (...) | (...);
                    }[];
                };
                header?: {
                    appHash?: Uint8Array;
                    chainId?: string;
                    consensusHash?: Uint8Array;
                    dataHash?: Uint8Array;
                    evidenceHash?: Uint8Array;
                    height?: bigint;
                    lastBlockId?: {
                        hash?: Uint8Array;
                        partSetHeader?: {
                            hash?: ...;
                            total?: ...;
                        };
                    };
                    lastCommitHash?: Uint8Array;
                    lastResultsHash?: Uint8Array;
                    nextValidatorsHash?: Uint8Array;
                    proposerAddress?: Uint8Array;
                    time?: Date;
                    validatorsHash?: Uint8Array;
                    version?: {
                        app?: bigint;
                        block?: bigint;
                    };
                };
                lastCommit?: {
                    blockId?: {
                        hash?: Uint8Array;
                        partSetHeader?: {
                            hash?: ...;
                            total?: ...;
                        };
                    };
                    height?: bigint;
                    round?: number;
                    signatures?: {
                        blockIdFlag?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...);
                        validatorAddress?: (...) | (...);
                    }[];
                };
            };
            blockId?: {
                hash?: Uint8Array;
                partSetHeader?: {
                    hash?: Uint8Array;
                    total?: number;
                };
            };
            pagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            };
            txs?: {
                authInfo?: {
                    fee?: {
                        amount?: (...) | (...);
                        gasLimit?: (...) | (...);
                        granter?: (...) | (...);
                        payer?: (...) | (...);
                    };
                    signerInfos?: {
                        modeInfo?: ...;
                        publicKey?: ...;
                        sequence?: ...;
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            }[];
        }): GetBlockWithTxsResponse;
        fromProtoMsg(message: GetBlockWithTxsResponseProtoMsg): GetBlockWithTxsResponse;
        toAmino(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAmino;
        toAminoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAminoMsg;
        toProto(message: GetBlockWithTxsResponse): Uint8Array;
        toProtoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseProtoMsg;
    };
    GetTxRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetTxRequest;
        encode(message: GetTxRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetTxRequestAmino): GetTxRequest;
        fromAminoMsg(object: GetTxRequestAminoMsg): GetTxRequest;
        fromPartial(object: {
            hash?: string;
        }): GetTxRequest;
        fromProtoMsg(message: GetTxRequestProtoMsg): GetTxRequest;
        toAmino(message: GetTxRequest): GetTxRequestAmino;
        toAminoMsg(message: GetTxRequest): GetTxRequestAminoMsg;
        toProto(message: GetTxRequest): Uint8Array;
        toProtoMsg(message: GetTxRequest): GetTxRequestProtoMsg;
    };
    GetTxResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetTxResponse;
        encode(message: GetTxResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetTxResponseAmino): GetTxResponse;
        fromAminoMsg(object: GetTxResponseAminoMsg): GetTxResponse;
        fromPartial(object: {
            tx?: {
                authInfo?: {
                    fee?: {
                        amount?: (...)[];
                        gasLimit?: bigint;
                        granter?: string;
                        payer?: string;
                    };
                    signerInfos?: {
                        modeInfo?: (...) | (...);
                        publicKey?: (...) | (...);
                        sequence?: (...) | (...);
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            };
            txResponse?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: {
                        attributes?: ...;
                        type?: ...;
                    }[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            };
        }): GetTxResponse;
        fromProtoMsg(message: GetTxResponseProtoMsg): GetTxResponse;
        toAmino(message: GetTxResponse): GetTxResponseAmino;
        toAminoMsg(message: GetTxResponse): GetTxResponseAminoMsg;
        toProto(message: GetTxResponse): Uint8Array;
        toProtoMsg(message: GetTxResponse): GetTxResponseProtoMsg;
    };
    GetTxsEventRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetTxsEventRequest;
        encode(message: GetTxsEventRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetTxsEventRequestAmino): GetTxsEventRequest;
        fromAminoMsg(object: GetTxsEventRequestAminoMsg): GetTxsEventRequest;
        fromPartial(object: {
            events?: string[];
            orderBy?: OrderBy;
            pagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            };
        }): GetTxsEventRequest;
        fromProtoMsg(message: GetTxsEventRequestProtoMsg): GetTxsEventRequest;
        toAmino(message: GetTxsEventRequest): GetTxsEventRequestAmino;
        toAminoMsg(message: GetTxsEventRequest): GetTxsEventRequestAminoMsg;
        toProto(message: GetTxsEventRequest): Uint8Array;
        toProtoMsg(message: GetTxsEventRequest): GetTxsEventRequestProtoMsg;
    };
    GetTxsEventResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetTxsEventResponse;
        encode(message: GetTxsEventResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetTxsEventResponseAmino): GetTxsEventResponse;
        fromAminoMsg(object: GetTxsEventResponseAminoMsg): GetTxsEventResponse;
        fromPartial(object: {
            pagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            };
            txResponses?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: (...)[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: (...)[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            }[];
            txs?: {
                authInfo?: {
                    fee?: {
                        amount?: (...) | (...);
                        gasLimit?: (...) | (...);
                        granter?: (...) | (...);
                        payer?: (...) | (...);
                    };
                    signerInfos?: {
                        modeInfo?: ...;
                        publicKey?: ...;
                        sequence?: ...;
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            }[];
        }): GetTxsEventResponse;
        fromProtoMsg(message: GetTxsEventResponseProtoMsg): GetTxsEventResponse;
        toAmino(message: GetTxsEventResponse): GetTxsEventResponseAmino;
        toAminoMsg(message: GetTxsEventResponse): GetTxsEventResponseAminoMsg;
        toProto(message: GetTxsEventResponse): Uint8Array;
        toProtoMsg(message: GetTxsEventResponse): GetTxsEventResponseProtoMsg;
    };
    ModeInfo: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ModeInfo;
        encode(message: ModeInfo, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ModeInfoAmino): ModeInfo;
        fromAminoMsg(object: ModeInfoAminoMsg): ModeInfo;
        fromPartial(object: {
            multi?: {
                bitarray?: {
                    elems?: Uint8Array;
                    extraBitsStored?: number;
                };
                modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
            };
            single?: {
                mode?: SignMode;
            };
        }): ModeInfo;
        fromProtoMsg(message: ModeInfoProtoMsg): ModeInfo;
        toAmino(message: ModeInfo): ModeInfoAmino;
        toAminoMsg(message: ModeInfo): ModeInfoAminoMsg;
        toProto(message: ModeInfo): Uint8Array;
        toProtoMsg(message: ModeInfo): ModeInfoProtoMsg;
    };
    ModeInfo_Multi: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ModeInfo_Multi;
        encode(message: ModeInfo_Multi, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ModeInfo_MultiAmino): ModeInfo_Multi;
        fromAminoMsg(object: ModeInfo_MultiAminoMsg): ModeInfo_Multi;
        fromPartial(object: {
            bitarray?: {
                elems?: Uint8Array;
                extraBitsStored?: number;
            };
            modeInfos?: {
                multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; };
                single?: {
                    mode?: SignMode;
                };
            }[];
        }): ModeInfo_Multi;
        fromProtoMsg(message: ModeInfo_MultiProtoMsg): ModeInfo_Multi;
        toAmino(message: ModeInfo_Multi): ModeInfo_MultiAmino;
        toAminoMsg(message: ModeInfo_Multi): ModeInfo_MultiAminoMsg;
        toProto(message: ModeInfo_Multi): Uint8Array;
        toProtoMsg(message: ModeInfo_Multi): ModeInfo_MultiProtoMsg;
    };
    ModeInfo_Single: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ModeInfo_Single;
        encode(message: ModeInfo_Single, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ModeInfo_SingleAmino): ModeInfo_Single;
        fromAminoMsg(object: ModeInfo_SingleAminoMsg): ModeInfo_Single;
        fromPartial(object: {
            mode?: SignMode;
        }): ModeInfo_Single;
        fromProtoMsg(message: ModeInfo_SingleProtoMsg): ModeInfo_Single;
        toAmino(message: ModeInfo_Single): ModeInfo_SingleAmino;
        toAminoMsg(message: ModeInfo_Single): ModeInfo_SingleAminoMsg;
        toProto(message: ModeInfo_Single): Uint8Array;
        toProtoMsg(message: ModeInfo_Single): ModeInfo_SingleProtoMsg;
    };
    OrderByAmino: typeof OrderBy;
    OrderBySDKType: typeof OrderBy;
    SignDoc: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SignDoc;
        encode(message: SignDoc, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SignDocAmino): SignDoc;
        fromAminoMsg(object: SignDocAminoMsg): SignDoc;
        fromPartial(object: {
            accountNumber?: bigint;
            authInfoBytes?: Uint8Array;
            bodyBytes?: Uint8Array;
            chainId?: string;
        }): SignDoc;
        fromProtoMsg(message: SignDocProtoMsg): SignDoc;
        toAmino(message: SignDoc): SignDocAmino;
        toAminoMsg(message: SignDoc): SignDocAminoMsg;
        toProto(message: SignDoc): Uint8Array;
        toProtoMsg(message: SignDoc): SignDocProtoMsg;
    };
    SignerInfo: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SignerInfo;
        encode(message: SignerInfo, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SignerInfoAmino): SignerInfo;
        fromAminoMsg(object: SignerInfoAminoMsg): SignerInfo;
        fromPartial(object: {
            modeInfo?: {
                multi?: {
                    bitarray?: {
                        elems?: Uint8Array;
                        extraBitsStored?: number;
                    };
                    modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
                };
                single?: {
                    mode?: SignMode;
                };
            };
            publicKey?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            };
            sequence?: bigint;
        }): SignerInfo;
        fromProtoMsg(message: SignerInfoProtoMsg): SignerInfo;
        toAmino(message: SignerInfo): SignerInfoAmino;
        toAminoMsg(message: SignerInfo): SignerInfoAminoMsg;
        toProto(message: SignerInfo): Uint8Array;
        toProtoMsg(message: SignerInfo): SignerInfoProtoMsg;
    };
    SimulateRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SimulateRequest;
        encode(message: SimulateRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SimulateRequestAmino): SimulateRequest;
        fromAminoMsg(object: SimulateRequestAminoMsg): SimulateRequest;
        fromPartial(object: {
            tx?: {
                authInfo?: {
                    fee?: {
                        amount?: (...)[];
                        gasLimit?: bigint;
                        granter?: string;
                        payer?: string;
                    };
                    signerInfos?: {
                        modeInfo?: (...) | (...);
                        publicKey?: (...) | (...);
                        sequence?: (...) | (...);
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            };
            txBytes?: Uint8Array;
        }): SimulateRequest;
        fromProtoMsg(message: SimulateRequestProtoMsg): SimulateRequest;
        toAmino(message: SimulateRequest): SimulateRequestAmino;
        toAminoMsg(message: SimulateRequest): SimulateRequestAminoMsg;
        toProto(message: SimulateRequest): Uint8Array;
        toProtoMsg(message: SimulateRequest): SimulateRequestProtoMsg;
    };
    SimulateResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SimulateResponse;
        encode(message: SimulateResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SimulateResponseAmino): SimulateResponse;
        fromAminoMsg(object: SimulateResponseAminoMsg): SimulateResponse;
        fromPartial(object: {
            gasInfo?: {
                gasUsed?: bigint;
                gasWanted?: bigint;
            };
            result?: {
                data?: Uint8Array;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                log?: string;
            };
        }): SimulateResponse;
        fromProtoMsg(message: SimulateResponseProtoMsg): SimulateResponse;
        toAmino(message: SimulateResponse): SimulateResponseAmino;
        toAminoMsg(message: SimulateResponse): SimulateResponseAminoMsg;
        toProto(message: SimulateResponse): Uint8Array;
        toProtoMsg(message: SimulateResponse): SimulateResponseProtoMsg;
    };
    Tx: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Tx;
        encode(message: Tx, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: TxAmino): Tx;
        fromAminoMsg(object: TxAminoMsg): Tx;
        fromPartial(object: {
            authInfo?: {
                fee?: {
                    amount?: {
                        amount?: (...) | (...);
                        denom?: (...) | (...);
                    }[];
                    gasLimit?: bigint;
                    granter?: string;
                    payer?: string;
                };
                signerInfos?: {
                    modeInfo?: {
                        multi?: (...) | (...);
                        single?: (...) | (...);
                    };
                    publicKey?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    };
                    sequence?: bigint;
                }[];
            };
            body?: {
                extensionOptions?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                memo?: string;
                messages?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                nonCriticalExtensionOptions?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                timeoutHeight?: bigint;
            };
            signatures?: Uint8Array[];
        }): Tx;
        fromProtoMsg(message: TxProtoMsg): Tx;
        toAmino(message: Tx): TxAmino;
        toAminoMsg(message: Tx): TxAminoMsg;
        toProto(message: Tx): Uint8Array;
        toProtoMsg(message: Tx): TxProtoMsg;
    };
    TxBody: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): TxBody;
        encode(message: TxBody, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: TxBodyAmino): TxBody;
        fromAminoMsg(object: TxBodyAminoMsg): TxBody;
        fromPartial(object: {
            extensionOptions?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[];
            memo?: string;
            messages?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[];
            nonCriticalExtensionOptions?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[];
            timeoutHeight?: bigint;
        }): TxBody;
        fromProtoMsg(message: TxBodyProtoMsg): TxBody;
        toAmino(message: TxBody): TxBodyAmino;
        toAminoMsg(message: TxBody): TxBodyAminoMsg;
        toProto(message: TxBody): Uint8Array;
        toProtoMsg(message: TxBody): TxBodyProtoMsg;
    };
    TxRaw: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): TxRaw;
        encode(message: TxRaw, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: TxRawAmino): TxRaw;
        fromAminoMsg(object: TxRawAminoMsg): TxRaw;
        fromPartial(object: {
            authInfoBytes?: Uint8Array;
            bodyBytes?: Uint8Array;
            signatures?: Uint8Array[];
        }): TxRaw;
        fromProtoMsg(message: TxRawProtoMsg): TxRaw;
        toAmino(message: TxRaw): TxRawAmino;
        toAminoMsg(message: TxRaw): TxRawAminoMsg;
        toProto(message: TxRaw): Uint8Array;
        toProtoMsg(message: TxRaw): TxRawProtoMsg;
    };
    createRpcQueryExtension: ((base: QueryClient) => {
        broadcastTx(request: BroadcastTxRequest): Promise<BroadcastTxResponse>;
        getBlockWithTxs(request: GetBlockWithTxsRequest): Promise<GetBlockWithTxsResponse>;
        getTx(request: GetTxRequest): Promise<GetTxResponse>;
        getTxsEvent(request: GetTxsEventRequest): Promise<GetTxsEventResponse>;
        simulate(request: SimulateRequest): Promise<SimulateResponse>;
    });
    broadcastModeFromJSON(object: any): BroadcastMode;
    broadcastModeToJSON(object: BroadcastMode): string;
    orderByFromJSON(object: any): OrderBy;
    orderByToJSON(object: OrderBy): string;
} = ...

Type declaration

  • AuthInfo: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): AuthInfo;
        encode(message: AuthInfo, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: AuthInfoAmino): AuthInfo;
        fromAminoMsg(object: AuthInfoAminoMsg): AuthInfo;
        fromPartial(object: {
            fee?: {
                amount?: {
                    amount?: string;
                    denom?: string;
                }[];
                gasLimit?: bigint;
                granter?: string;
                payer?: string;
            };
            signerInfos?: {
                modeInfo?: {
                    multi?: {
                        bitarray?: (...) | (...);
                        modeInfos?: (...) | (...);
                    };
                    single?: {
                        mode?: (...) | (...);
                    };
                };
                publicKey?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                sequence?: bigint;
            }[];
        }): AuthInfo;
        fromProtoMsg(message: AuthInfoProtoMsg): AuthInfo;
        toAmino(message: AuthInfo): AuthInfoAmino;
        toAminoMsg(message: AuthInfo): AuthInfoAminoMsg;
        toProto(message: AuthInfo): Uint8Array;
        toProtoMsg(message: AuthInfo): AuthInfoProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns AuthInfo

    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              fee?: {
                  amount?: {
                      amount?: string;
                      denom?: string;
                  }[];
                  gasLimit?: bigint;
                  granter?: string;
                  payer?: string;
              };
              signerInfos?: {
                  modeInfo?: {
                      multi?: {
                          bitarray?: (...) | (...);
                          modeInfos?: (...) | (...);
                      };
                      single?: {
                          mode?: (...) | (...);
                      };
                  };
                  publicKey?: {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  };
                  sequence?: bigint;
              }[];
          }
          • Optionalfee?: {
                amount?: {
                    amount?: string;
                    denom?: string;
                }[];
                gasLimit?: bigint;
                granter?: string;
                payer?: string;
            }

            Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.

            • Optionalamount?: {
                  amount?: string;
                  denom?: string;
              }[]

              amount is the amount of coins to be paid as a fee

            • OptionalgasLimit?: bigint

              gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs

            • Optionalgranter?: string

              if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail

            • Optionalpayer?: string

              if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does not change the ordering of required signers for the transaction.

          • OptionalsignerInfos?: {
                modeInfo?: {
                    multi?: {
                        bitarray?: (...) | (...);
                        modeInfos?: (...) | (...);
                    };
                    single?: {
                        mode?: (...) | (...);
                    };
                };
                publicKey?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                sequence?: bigint;
            }[]

            signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee.

        Returns AuthInfo

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • BroadcastModeAmino: typeof BroadcastMode
  • BroadcastModeSDKType: typeof BroadcastMode
  • BroadcastTxRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): BroadcastTxRequest;
        encode(message: BroadcastTxRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: BroadcastTxRequestAmino): BroadcastTxRequest;
        fromAminoMsg(object: BroadcastTxRequestAminoMsg): BroadcastTxRequest;
        fromPartial(object: {
            mode?: BroadcastMode;
            txBytes?: Uint8Array;
        }): BroadcastTxRequest;
        fromProtoMsg(message: BroadcastTxRequestProtoMsg): BroadcastTxRequest;
        toAmino(message: BroadcastTxRequest): BroadcastTxRequestAmino;
        toAminoMsg(message: BroadcastTxRequest): BroadcastTxRequestAminoMsg;
        toProto(message: BroadcastTxRequest): Uint8Array;
        toProtoMsg(message: BroadcastTxRequest): BroadcastTxRequestProtoMsg;
    }
  • BroadcastTxResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): BroadcastTxResponse;
        encode(message: BroadcastTxResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: BroadcastTxResponseAmino): BroadcastTxResponse;
        fromAminoMsg(object: BroadcastTxResponseAminoMsg): BroadcastTxResponse;
        fromPartial(object: {
            txResponse?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: {
                        attributes?: ...;
                        type?: ...;
                    }[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            };
        }): BroadcastTxResponse;
        fromProtoMsg(message: BroadcastTxResponseProtoMsg): BroadcastTxResponse;
        toAmino(message: BroadcastTxResponse): BroadcastTxResponseAmino;
        toAminoMsg(message: BroadcastTxResponse): BroadcastTxResponseAminoMsg;
        toProto(message: BroadcastTxResponse): Uint8Array;
        toProtoMsg(message: BroadcastTxResponse): BroadcastTxResponseProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              txResponse?: {
                  code?: number;
                  codespace?: string;
                  data?: string;
                  events?: {
                      attributes?: {
                          index?: ...;
                          key?: ...;
                          value?: ...;
                      }[];
                      type?: string;
                  }[];
                  gasUsed?: bigint;
                  gasWanted?: bigint;
                  height?: bigint;
                  info?: string;
                  logs?: {
                      events?: {
                          attributes?: ...;
                          type?: ...;
                      }[];
                      log?: string;
                      msgIndex?: number;
                  }[];
                  rawLog?: string;
                  timestamp?: string;
                  tx?: {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  };
                  txhash?: string;
              };
          }
          • OptionaltxResponse?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: {
                        attributes?: ...;
                        type?: ...;
                    }[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            }

            tx_response is the queried TxResponses.

            • Optionalcode?: number

              Response code.

            • Optionalcodespace?: string

              Namespace for the Code

            • Optionaldata?: string

              Result bytes, if any.

            • Optionalevents?: {
                  attributes?: {
                      index?: ...;
                      key?: ...;
                      value?: ...;
                  }[];
                  type?: string;
              }[]

              Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante handler. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages.

              Since: cosmos-sdk 0.42.11, 0.44.5, 0.45

            • OptionalgasUsed?: bigint

              Amount of gas consumed by transaction.

            • OptionalgasWanted?: bigint

              Amount of gas requested for transaction.

            • Optionalheight?: bigint

              The block height

            • Optionalinfo?: string

              Additional information. May be non-deterministic.

            • Optionallogs?: {
                  events?: {
                      attributes?: ...;
                      type?: ...;
                  }[];
                  log?: string;
                  msgIndex?: number;
              }[]

              The output of the application's logger (typed). May be non-deterministic.

            • OptionalrawLog?: string

              The output of the application's logger (raw string). May be non-deterministic.

            • Optionaltimestamp?: string

              Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time.

            • Optionaltx?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              }

              The request transaction bytes.

              • Optional$typeUrl?: string
              • OptionaltypeUrl?: string

                A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

                In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

                • If no scheme is provided, https is assumed.
                • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
                • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

                Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.

                Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

              • Optionalvalue?: Uint8Array

                Must be a valid serialized protocol buffer of the above specified type.

            • Optionaltxhash?: string

              The transaction hash.

        Returns BroadcastTxResponse

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • Fee: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Fee;
        encode(message: Fee, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: FeeAmino): Fee;
        fromAminoMsg(object: FeeAminoMsg): Fee;
        fromPartial(object: {
            amount?: {
                amount?: string;
                denom?: string;
            }[];
            gasLimit?: bigint;
            granter?: string;
            payer?: string;
        }): Fee;
        fromProtoMsg(message: FeeProtoMsg): Fee;
        toAmino(message: Fee): FeeAmino;
        toAminoMsg(message: Fee): FeeAminoMsg;
        toProto(message: Fee): Uint8Array;
        toProtoMsg(message: Fee): FeeProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns Fee

    • encode:function
    • fromAmino:function
      • Parameters

        Returns Fee

    • fromAminoMsg:function
      • Parameters

        Returns Fee

    • fromPartial:function
      • Parameters

        • object: {
              amount?: {
                  amount?: string;
                  denom?: string;
              }[];
              gasLimit?: bigint;
              granter?: string;
              payer?: string;
          }
          • Optionalamount?: {
                amount?: string;
                denom?: string;
            }[]

            amount is the amount of coins to be paid as a fee

          • OptionalgasLimit?: bigint

            gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs

          • Optionalgranter?: string

            if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail

          • Optionalpayer?: string

            if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does not change the ordering of required signers for the transaction.

        Returns Fee

    • fromProtoMsg:function
      • Parameters

        Returns Fee

    • toAmino:function
      • Parameters

        Returns FeeAmino

    • toAminoMsg:function
      • Parameters

        Returns FeeAminoMsg

    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
      • Parameters

        Returns FeeProtoMsg

  • GetBlockWithTxsRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetBlockWithTxsRequest;
        encode(message: GetBlockWithTxsRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetBlockWithTxsRequestAmino): GetBlockWithTxsRequest;
        fromAminoMsg(object: GetBlockWithTxsRequestAminoMsg): GetBlockWithTxsRequest;
        fromPartial(object: {
            height?: bigint;
            pagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            };
        }): GetBlockWithTxsRequest;
        fromProtoMsg(message: GetBlockWithTxsRequestProtoMsg): GetBlockWithTxsRequest;
        toAmino(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAmino;
        toAminoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAminoMsg;
        toProto(message: GetBlockWithTxsRequest): Uint8Array;
        toProtoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              height?: bigint;
              pagination?: {
                  countTotal?: boolean;
                  key?: Uint8Array;
                  limit?: bigint;
                  offset?: bigint;
                  reverse?: boolean;
              };
          }
          • Optionalheight?: bigint

            height is the height of the block to query.

          • Optionalpagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            }

            pagination defines a pagination for the request.

            • OptionalcountTotal?: boolean

              count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

            • Optionalkey?: Uint8Array

              key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

            • Optionallimit?: bigint

              limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

            • Optionaloffset?: bigint

              offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

            • Optionalreverse?: boolean

              reverse is set to true if results are to be returned in the descending order.

              Since: cosmos-sdk 0.43

        Returns GetBlockWithTxsRequest

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • GetBlockWithTxsResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetBlockWithTxsResponse;
        encode(message: GetBlockWithTxsResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetBlockWithTxsResponseAmino): GetBlockWithTxsResponse;
        fromAminoMsg(object: GetBlockWithTxsResponseAminoMsg): GetBlockWithTxsResponse;
        fromPartial(object: {
            block?: {
                data?: {
                    txs?: Uint8Array[];
                };
                evidence?: {
                    evidence?: {
                        duplicateVoteEvidence?: (...) | (...);
                        lightClientAttackEvidence?: (...) | (...);
                    }[];
                };
                header?: {
                    appHash?: Uint8Array;
                    chainId?: string;
                    consensusHash?: Uint8Array;
                    dataHash?: Uint8Array;
                    evidenceHash?: Uint8Array;
                    height?: bigint;
                    lastBlockId?: {
                        hash?: Uint8Array;
                        partSetHeader?: {
                            hash?: ...;
                            total?: ...;
                        };
                    };
                    lastCommitHash?: Uint8Array;
                    lastResultsHash?: Uint8Array;
                    nextValidatorsHash?: Uint8Array;
                    proposerAddress?: Uint8Array;
                    time?: Date;
                    validatorsHash?: Uint8Array;
                    version?: {
                        app?: bigint;
                        block?: bigint;
                    };
                };
                lastCommit?: {
                    blockId?: {
                        hash?: Uint8Array;
                        partSetHeader?: {
                            hash?: ...;
                            total?: ...;
                        };
                    };
                    height?: bigint;
                    round?: number;
                    signatures?: {
                        blockIdFlag?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...);
                        validatorAddress?: (...) | (...);
                    }[];
                };
            };
            blockId?: {
                hash?: Uint8Array;
                partSetHeader?: {
                    hash?: Uint8Array;
                    total?: number;
                };
            };
            pagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            };
            txs?: {
                authInfo?: {
                    fee?: {
                        amount?: (...) | (...);
                        gasLimit?: (...) | (...);
                        granter?: (...) | (...);
                        payer?: (...) | (...);
                    };
                    signerInfos?: {
                        modeInfo?: ...;
                        publicKey?: ...;
                        sequence?: ...;
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            }[];
        }): GetBlockWithTxsResponse;
        fromProtoMsg(message: GetBlockWithTxsResponseProtoMsg): GetBlockWithTxsResponse;
        toAmino(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAmino;
        toAminoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAminoMsg;
        toProto(message: GetBlockWithTxsResponse): Uint8Array;
        toProtoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              block?: {
                  data?: {
                      txs?: Uint8Array[];
                  };
                  evidence?: {
                      evidence?: {
                          duplicateVoteEvidence?: (...) | (...);
                          lightClientAttackEvidence?: (...) | (...);
                      }[];
                  };
                  header?: {
                      appHash?: Uint8Array;
                      chainId?: string;
                      consensusHash?: Uint8Array;
                      dataHash?: Uint8Array;
                      evidenceHash?: Uint8Array;
                      height?: bigint;
                      lastBlockId?: {
                          hash?: Uint8Array;
                          partSetHeader?: {
                              hash?: ...;
                              total?: ...;
                          };
                      };
                      lastCommitHash?: Uint8Array;
                      lastResultsHash?: Uint8Array;
                      nextValidatorsHash?: Uint8Array;
                      proposerAddress?: Uint8Array;
                      time?: Date;
                      validatorsHash?: Uint8Array;
                      version?: {
                          app?: bigint;
                          block?: bigint;
                      };
                  };
                  lastCommit?: {
                      blockId?: {
                          hash?: Uint8Array;
                          partSetHeader?: {
                              hash?: ...;
                              total?: ...;
                          };
                      };
                      height?: bigint;
                      round?: number;
                      signatures?: {
                          blockIdFlag?: (...) | (...);
                          signature?: (...) | (...);
                          timestamp?: (...) | (...);
                          validatorAddress?: (...) | (...);
                      }[];
                  };
              };
              blockId?: {
                  hash?: Uint8Array;
                  partSetHeader?: {
                      hash?: Uint8Array;
                      total?: number;
                  };
              };
              pagination?: {
                  nextKey?: Uint8Array;
                  total?: bigint;
              };
              txs?: {
                  authInfo?: {
                      fee?: {
                          amount?: (...) | (...);
                          gasLimit?: (...) | (...);
                          granter?: (...) | (...);
                          payer?: (...) | (...);
                      };
                      signerInfos?: {
                          modeInfo?: ...;
                          publicKey?: ...;
                          sequence?: ...;
                      }[];
                  };
                  body?: {
                      extensionOptions?: {
                          $typeUrl?: ...;
                          typeUrl?: ...;
                          value?: ...;
                      }[];
                      memo?: string;
                      messages?: {
                          $typeUrl?: ...;
                          typeUrl?: ...;
                          value?: ...;
                      }[];
                      nonCriticalExtensionOptions?: {
                          $typeUrl?: ...;
                          typeUrl?: ...;
                          value?: ...;
                      }[];
                      timeoutHeight?: bigint;
                  };
                  signatures?: Uint8Array[];
              }[];
          }
          • Optionalblock?: {
                data?: {
                    txs?: Uint8Array[];
                };
                evidence?: {
                    evidence?: {
                        duplicateVoteEvidence?: (...) | (...);
                        lightClientAttackEvidence?: (...) | (...);
                    }[];
                };
                header?: {
                    appHash?: Uint8Array;
                    chainId?: string;
                    consensusHash?: Uint8Array;
                    dataHash?: Uint8Array;
                    evidenceHash?: Uint8Array;
                    height?: bigint;
                    lastBlockId?: {
                        hash?: Uint8Array;
                        partSetHeader?: {
                            hash?: ...;
                            total?: ...;
                        };
                    };
                    lastCommitHash?: Uint8Array;
                    lastResultsHash?: Uint8Array;
                    nextValidatorsHash?: Uint8Array;
                    proposerAddress?: Uint8Array;
                    time?: Date;
                    validatorsHash?: Uint8Array;
                    version?: {
                        app?: bigint;
                        block?: bigint;
                    };
                };
                lastCommit?: {
                    blockId?: {
                        hash?: Uint8Array;
                        partSetHeader?: {
                            hash?: ...;
                            total?: ...;
                        };
                    };
                    height?: bigint;
                    round?: number;
                    signatures?: {
                        blockIdFlag?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...);
                        validatorAddress?: (...) | (...);
                    }[];
                };
            }
            • Optionaldata?: {
                  txs?: Uint8Array[];
              }
              • Optionaltxs?: Uint8Array[]

                Txs that will be applied by state @ block.Height+1. NOTE: not all txs here are valid. We're just agreeing on the order first. This means that block.AppHash does not include these txs.

            • Optionalevidence?: {
                  evidence?: {
                      duplicateVoteEvidence?: (...) | (...);
                      lightClientAttackEvidence?: (...) | (...);
                  }[];
              }
              • Optionalevidence?: {
                    duplicateVoteEvidence?: (...) | (...);
                    lightClientAttackEvidence?: (...) | (...);
                }[]
            • Optionalheader?: {
                  appHash?: Uint8Array;
                  chainId?: string;
                  consensusHash?: Uint8Array;
                  dataHash?: Uint8Array;
                  evidenceHash?: Uint8Array;
                  height?: bigint;
                  lastBlockId?: {
                      hash?: Uint8Array;
                      partSetHeader?: {
                          hash?: ...;
                          total?: ...;
                      };
                  };
                  lastCommitHash?: Uint8Array;
                  lastResultsHash?: Uint8Array;
                  nextValidatorsHash?: Uint8Array;
                  proposerAddress?: Uint8Array;
                  time?: Date;
                  validatorsHash?: Uint8Array;
                  version?: {
                      app?: bigint;
                      block?: bigint;
                  };
              }
              • OptionalappHash?: Uint8Array

                state after txs from the previous block

              • OptionalchainId?: string
              • OptionalconsensusHash?: Uint8Array

                consensus params for current block

              • OptionaldataHash?: Uint8Array
              • OptionalevidenceHash?: Uint8Array

                consensus info

              • Optionalheight?: bigint
              • OptionallastBlockId?: {
                    hash?: Uint8Array;
                    partSetHeader?: {
                        hash?: ...;
                        total?: ...;
                    };
                }

                prev block info

                • Optionalhash?: Uint8Array
                • OptionalpartSetHeader?: {
                      hash?: ...;
                      total?: ...;
                  }
                  • Optionalhash?: ...
                  • Optionaltotal?: ...
              • OptionallastCommitHash?: Uint8Array

                hashes of block data

              • OptionallastResultsHash?: Uint8Array
              • OptionalnextValidatorsHash?: Uint8Array

                validators for the next block

              • OptionalproposerAddress?: Uint8Array

                original proposer of the block

              • Optionaltime?: Date
              • OptionalvalidatorsHash?: Uint8Array

                hashes from the app output from the prev block

              • Optionalversion?: {
                    app?: bigint;
                    block?: bigint;
                }

                basic block info

                • Optionalapp?: bigint
                • Optionalblock?: bigint
            • OptionallastCommit?: {
                  blockId?: {
                      hash?: Uint8Array;
                      partSetHeader?: {
                          hash?: ...;
                          total?: ...;
                      };
                  };
                  height?: bigint;
                  round?: number;
                  signatures?: {
                      blockIdFlag?: (...) | (...);
                      signature?: (...) | (...);
                      timestamp?: (...) | (...);
                      validatorAddress?: (...) | (...);
                  }[];
              }
              • OptionalblockId?: {
                    hash?: Uint8Array;
                    partSetHeader?: {
                        hash?: ...;
                        total?: ...;
                    };
                }
                • Optionalhash?: Uint8Array
                • OptionalpartSetHeader?: {
                      hash?: ...;
                      total?: ...;
                  }
                  • Optionalhash?: ...
                  • Optionaltotal?: ...
              • Optionalheight?: bigint
              • Optionalround?: number
              • Optionalsignatures?: {
                    blockIdFlag?: (...) | (...);
                    signature?: (...) | (...);
                    timestamp?: (...) | (...);
                    validatorAddress?: (...) | (...);
                }[]
          • OptionalblockId?: {
                hash?: Uint8Array;
                partSetHeader?: {
                    hash?: Uint8Array;
                    total?: number;
                };
            }
            • Optionalhash?: Uint8Array
            • OptionalpartSetHeader?: {
                  hash?: Uint8Array;
                  total?: number;
              }
              • Optionalhash?: Uint8Array
              • Optionaltotal?: number
          • Optionalpagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            }

            pagination defines a pagination for the response.

            • OptionalnextKey?: Uint8Array

              next_key is the key to be passed to PageRequest.key to query the next page most efficiently

            • Optionaltotal?: bigint

              total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

          • Optionaltxs?: {
                authInfo?: {
                    fee?: {
                        amount?: (...) | (...);
                        gasLimit?: (...) | (...);
                        granter?: (...) | (...);
                        payer?: (...) | (...);
                    };
                    signerInfos?: {
                        modeInfo?: ...;
                        publicKey?: ...;
                        sequence?: ...;
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            }[]

            txs are the transactions in the block.

        Returns GetBlockWithTxsResponse

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • GetTxRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetTxRequest;
        encode(message: GetTxRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetTxRequestAmino): GetTxRequest;
        fromAminoMsg(object: GetTxRequestAminoMsg): GetTxRequest;
        fromPartial(object: {
            hash?: string;
        }): GetTxRequest;
        fromProtoMsg(message: GetTxRequestProtoMsg): GetTxRequest;
        toAmino(message: GetTxRequest): GetTxRequestAmino;
        toAminoMsg(message: GetTxRequest): GetTxRequestAminoMsg;
        toProto(message: GetTxRequest): Uint8Array;
        toProtoMsg(message: GetTxRequest): GetTxRequestProtoMsg;
    }
  • GetTxResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetTxResponse;
        encode(message: GetTxResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetTxResponseAmino): GetTxResponse;
        fromAminoMsg(object: GetTxResponseAminoMsg): GetTxResponse;
        fromPartial(object: {
            tx?: {
                authInfo?: {
                    fee?: {
                        amount?: (...)[];
                        gasLimit?: bigint;
                        granter?: string;
                        payer?: string;
                    };
                    signerInfos?: {
                        modeInfo?: (...) | (...);
                        publicKey?: (...) | (...);
                        sequence?: (...) | (...);
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            };
            txResponse?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: {
                        attributes?: ...;
                        type?: ...;
                    }[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            };
        }): GetTxResponse;
        fromProtoMsg(message: GetTxResponseProtoMsg): GetTxResponse;
        toAmino(message: GetTxResponse): GetTxResponseAmino;
        toAminoMsg(message: GetTxResponse): GetTxResponseAminoMsg;
        toProto(message: GetTxResponse): Uint8Array;
        toProtoMsg(message: GetTxResponse): GetTxResponseProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns GetTxResponse

    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              tx?: {
                  authInfo?: {
                      fee?: {
                          amount?: (...)[];
                          gasLimit?: bigint;
                          granter?: string;
                          payer?: string;
                      };
                      signerInfos?: {
                          modeInfo?: (...) | (...);
                          publicKey?: (...) | (...);
                          sequence?: (...) | (...);
                      }[];
                  };
                  body?: {
                      extensionOptions?: {
                          $typeUrl?: (...) | (...);
                          typeUrl?: (...) | (...);
                          value?: (...) | (...);
                      }[];
                      memo?: string;
                      messages?: {
                          $typeUrl?: (...) | (...);
                          typeUrl?: (...) | (...);
                          value?: (...) | (...);
                      }[];
                      nonCriticalExtensionOptions?: {
                          $typeUrl?: (...) | (...);
                          typeUrl?: (...) | (...);
                          value?: (...) | (...);
                      }[];
                      timeoutHeight?: bigint;
                  };
                  signatures?: Uint8Array[];
              };
              txResponse?: {
                  code?: number;
                  codespace?: string;
                  data?: string;
                  events?: {
                      attributes?: {
                          index?: ...;
                          key?: ...;
                          value?: ...;
                      }[];
                      type?: string;
                  }[];
                  gasUsed?: bigint;
                  gasWanted?: bigint;
                  height?: bigint;
                  info?: string;
                  logs?: {
                      events?: {
                          attributes?: ...;
                          type?: ...;
                      }[];
                      log?: string;
                      msgIndex?: number;
                  }[];
                  rawLog?: string;
                  timestamp?: string;
                  tx?: {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  };
                  txhash?: string;
              };
          }
          • Optionaltx?: {
                authInfo?: {
                    fee?: {
                        amount?: (...)[];
                        gasLimit?: bigint;
                        granter?: string;
                        payer?: string;
                    };
                    signerInfos?: {
                        modeInfo?: (...) | (...);
                        publicKey?: (...) | (...);
                        sequence?: (...) | (...);
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            }

            tx is the queried transaction.

            • OptionalauthInfo?: {
                  fee?: {
                      amount?: (...)[];
                      gasLimit?: bigint;
                      granter?: string;
                      payer?: string;
                  };
                  signerInfos?: {
                      modeInfo?: (...) | (...);
                      publicKey?: (...) | (...);
                      sequence?: (...) | (...);
                  }[];
              }

              auth_info is the authorization related content of the transaction, specifically signers, signer modes and fee

              • Optionalfee?: {
                    amount?: (...)[];
                    gasLimit?: bigint;
                    granter?: string;
                    payer?: string;
                }

                Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.

                • Optionalamount?: (...)[]

                  amount is the amount of coins to be paid as a fee

                • OptionalgasLimit?: bigint

                  gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs

                • Optionalgranter?: string

                  if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail

                • Optionalpayer?: string

                  if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does not change the ordering of required signers for the transaction.

              • OptionalsignerInfos?: {
                    modeInfo?: (...) | (...);
                    publicKey?: (...) | (...);
                    sequence?: (...) | (...);
                }[]

                signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee.

            • Optionalbody?: {
                  extensionOptions?: {
                      $typeUrl?: (...) | (...);
                      typeUrl?: (...) | (...);
                      value?: (...) | (...);
                  }[];
                  memo?: string;
                  messages?: {
                      $typeUrl?: (...) | (...);
                      typeUrl?: (...) | (...);
                      value?: (...) | (...);
                  }[];
                  nonCriticalExtensionOptions?: {
                      $typeUrl?: (...) | (...);
                      typeUrl?: (...) | (...);
                      value?: (...) | (...);
                  }[];
                  timeoutHeight?: bigint;
              }

              body is the processable content of the transaction

              • OptionalextensionOptions?: {
                    $typeUrl?: (...) | (...);
                    typeUrl?: (...) | (...);
                    value?: (...) | (...);
                }[]

                extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected

              • Optionalmemo?: string

                memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called note instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).

              • Optionalmessages?: {
                    $typeUrl?: (...) | (...);
                    typeUrl?: (...) | (...);
                    value?: (...) | (...);
                }[]

                messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction.

              • OptionalnonCriticalExtensionOptions?: {
                    $typeUrl?: (...) | (...);
                    typeUrl?: (...) | (...);
                    value?: (...) | (...);
                }[]

                extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored

              • OptionaltimeoutHeight?: bigint

                timeout is the block height after which this transaction will not be processed by the chain

            • Optionalsignatures?: Uint8Array[]

              signatures is a list of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position.

          • OptionaltxResponse?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: {
                        attributes?: ...;
                        type?: ...;
                    }[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            }

            tx_response is the queried TxResponses.

            • Optionalcode?: number

              Response code.

            • Optionalcodespace?: string

              Namespace for the Code

            • Optionaldata?: string

              Result bytes, if any.

            • Optionalevents?: {
                  attributes?: {
                      index?: ...;
                      key?: ...;
                      value?: ...;
                  }[];
                  type?: string;
              }[]

              Events defines all the events emitted by processing a transaction. Note, these events include those emitted by processing all the messages and those emitted from the ante handler. Whereas Logs contains the events, with additional metadata, emitted only by processing the messages.

              Since: cosmos-sdk 0.42.11, 0.44.5, 0.45

            • OptionalgasUsed?: bigint

              Amount of gas consumed by transaction.

            • OptionalgasWanted?: bigint

              Amount of gas requested for transaction.

            • Optionalheight?: bigint

              The block height

            • Optionalinfo?: string

              Additional information. May be non-deterministic.

            • Optionallogs?: {
                  events?: {
                      attributes?: ...;
                      type?: ...;
                  }[];
                  log?: string;
                  msgIndex?: number;
              }[]

              The output of the application's logger (typed). May be non-deterministic.

            • OptionalrawLog?: string

              The output of the application's logger (raw string). May be non-deterministic.

            • Optionaltimestamp?: string

              Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time.

            • Optionaltx?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              }

              The request transaction bytes.

              • Optional$typeUrl?: string
              • OptionaltypeUrl?: string

                A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

                In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

                • If no scheme is provided, https is assumed.
                • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
                • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

                Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.

                Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

              • Optionalvalue?: Uint8Array

                Must be a valid serialized protocol buffer of the above specified type.

            • Optionaltxhash?: string

              The transaction hash.

        Returns GetTxResponse

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • GetTxsEventRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetTxsEventRequest;
        encode(message: GetTxsEventRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetTxsEventRequestAmino): GetTxsEventRequest;
        fromAminoMsg(object: GetTxsEventRequestAminoMsg): GetTxsEventRequest;
        fromPartial(object: {
            events?: string[];
            orderBy?: OrderBy;
            pagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            };
        }): GetTxsEventRequest;
        fromProtoMsg(message: GetTxsEventRequestProtoMsg): GetTxsEventRequest;
        toAmino(message: GetTxsEventRequest): GetTxsEventRequestAmino;
        toAminoMsg(message: GetTxsEventRequest): GetTxsEventRequestAminoMsg;
        toProto(message: GetTxsEventRequest): Uint8Array;
        toProtoMsg(message: GetTxsEventRequest): GetTxsEventRequestProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              events?: string[];
              orderBy?: OrderBy;
              pagination?: {
                  countTotal?: boolean;
                  key?: Uint8Array;
                  limit?: bigint;
                  offset?: bigint;
                  reverse?: boolean;
              };
          }
          • Optionalevents?: string[]

            events is the list of transaction event type.

          • OptionalorderBy?: OrderBy
          • Optionalpagination?: {
                countTotal?: boolean;
                key?: Uint8Array;
                limit?: bigint;
                offset?: bigint;
                reverse?: boolean;
            }

            pagination defines a pagination for the request.

            • OptionalcountTotal?: boolean

              count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

            • Optionalkey?: Uint8Array

              key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

            • Optionallimit?: bigint

              limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

            • Optionaloffset?: bigint

              offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

            • Optionalreverse?: boolean

              reverse is set to true if results are to be returned in the descending order.

              Since: cosmos-sdk 0.43

        Returns GetTxsEventRequest

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • GetTxsEventResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): GetTxsEventResponse;
        encode(message: GetTxsEventResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: GetTxsEventResponseAmino): GetTxsEventResponse;
        fromAminoMsg(object: GetTxsEventResponseAminoMsg): GetTxsEventResponse;
        fromPartial(object: {
            pagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            };
            txResponses?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: (...)[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: (...)[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            }[];
            txs?: {
                authInfo?: {
                    fee?: {
                        amount?: (...) | (...);
                        gasLimit?: (...) | (...);
                        granter?: (...) | (...);
                        payer?: (...) | (...);
                    };
                    signerInfos?: {
                        modeInfo?: ...;
                        publicKey?: ...;
                        sequence?: ...;
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            }[];
        }): GetTxsEventResponse;
        fromProtoMsg(message: GetTxsEventResponseProtoMsg): GetTxsEventResponse;
        toAmino(message: GetTxsEventResponse): GetTxsEventResponseAmino;
        toAminoMsg(message: GetTxsEventResponse): GetTxsEventResponseAminoMsg;
        toProto(message: GetTxsEventResponse): Uint8Array;
        toProtoMsg(message: GetTxsEventResponse): GetTxsEventResponseProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              pagination?: {
                  nextKey?: Uint8Array;
                  total?: bigint;
              };
              txResponses?: {
                  code?: number;
                  codespace?: string;
                  data?: string;
                  events?: {
                      attributes?: (...)[];
                      type?: string;
                  }[];
                  gasUsed?: bigint;
                  gasWanted?: bigint;
                  height?: bigint;
                  info?: string;
                  logs?: {
                      events?: (...)[];
                      log?: string;
                      msgIndex?: number;
                  }[];
                  rawLog?: string;
                  timestamp?: string;
                  tx?: {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  };
                  txhash?: string;
              }[];
              txs?: {
                  authInfo?: {
                      fee?: {
                          amount?: (...) | (...);
                          gasLimit?: (...) | (...);
                          granter?: (...) | (...);
                          payer?: (...) | (...);
                      };
                      signerInfos?: {
                          modeInfo?: ...;
                          publicKey?: ...;
                          sequence?: ...;
                      }[];
                  };
                  body?: {
                      extensionOptions?: {
                          $typeUrl?: ...;
                          typeUrl?: ...;
                          value?: ...;
                      }[];
                      memo?: string;
                      messages?: {
                          $typeUrl?: ...;
                          typeUrl?: ...;
                          value?: ...;
                      }[];
                      nonCriticalExtensionOptions?: {
                          $typeUrl?: ...;
                          typeUrl?: ...;
                          value?: ...;
                      }[];
                      timeoutHeight?: bigint;
                  };
                  signatures?: Uint8Array[];
              }[];
          }
          • Optionalpagination?: {
                nextKey?: Uint8Array;
                total?: bigint;
            }

            pagination defines a pagination for the response.

            • OptionalnextKey?: Uint8Array

              next_key is the key to be passed to PageRequest.key to query the next page most efficiently

            • Optionaltotal?: bigint

              total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

          • OptionaltxResponses?: {
                code?: number;
                codespace?: string;
                data?: string;
                events?: {
                    attributes?: (...)[];
                    type?: string;
                }[];
                gasUsed?: bigint;
                gasWanted?: bigint;
                height?: bigint;
                info?: string;
                logs?: {
                    events?: (...)[];
                    log?: string;
                    msgIndex?: number;
                }[];
                rawLog?: string;
                timestamp?: string;
                tx?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                };
                txhash?: string;
            }[]

            tx_responses is the list of queried TxResponses.

          • Optionaltxs?: {
                authInfo?: {
                    fee?: {
                        amount?: (...) | (...);
                        gasLimit?: (...) | (...);
                        granter?: (...) | (...);
                        payer?: (...) | (...);
                    };
                    signerInfos?: {
                        modeInfo?: ...;
                        publicKey?: ...;
                        sequence?: ...;
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: ...;
                        typeUrl?: ...;
                        value?: ...;
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            }[]

            txs is the list of queried transactions.

        Returns GetTxsEventResponse

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • ModeInfo: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ModeInfo;
        encode(message: ModeInfo, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ModeInfoAmino): ModeInfo;
        fromAminoMsg(object: ModeInfoAminoMsg): ModeInfo;
        fromPartial(object: {
            multi?: {
                bitarray?: {
                    elems?: Uint8Array;
                    extraBitsStored?: number;
                };
                modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
            };
            single?: {
                mode?: SignMode;
            };
        }): ModeInfo;
        fromProtoMsg(message: ModeInfoProtoMsg): ModeInfo;
        toAmino(message: ModeInfo): ModeInfoAmino;
        toAminoMsg(message: ModeInfo): ModeInfoAminoMsg;
        toProto(message: ModeInfo): Uint8Array;
        toProtoMsg(message: ModeInfo): ModeInfoProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns ModeInfo

    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              multi?: {
                  bitarray?: {
                      elems?: Uint8Array;
                      extraBitsStored?: number;
                  };
                  modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
              };
              single?: {
                  mode?: SignMode;
              };
          }
          • Optionalmulti?: {
                bitarray?: {
                    elems?: Uint8Array;
                    extraBitsStored?: number;
                };
                modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
            }

            multi represents a nested multisig signer

            • Optionalbitarray?: {
                  elems?: Uint8Array;
                  extraBitsStored?: number;
              }

              bitarray specifies which keys within the multisig are signing

              • Optionalelems?: Uint8Array
              • OptionalextraBitsStored?: number
            • OptionalmodeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[]

              mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys

          • Optionalsingle?: {
                mode?: SignMode;
            }

            single represents a single signer

            • Optionalmode?: SignMode

              mode is the signing mode of the single signer

        Returns ModeInfo

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • ModeInfo_Multi: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ModeInfo_Multi;
        encode(message: ModeInfo_Multi, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ModeInfo_MultiAmino): ModeInfo_Multi;
        fromAminoMsg(object: ModeInfo_MultiAminoMsg): ModeInfo_Multi;
        fromPartial(object: {
            bitarray?: {
                elems?: Uint8Array;
                extraBitsStored?: number;
            };
            modeInfos?: {
                multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; };
                single?: {
                    mode?: SignMode;
                };
            }[];
        }): ModeInfo_Multi;
        fromProtoMsg(message: ModeInfo_MultiProtoMsg): ModeInfo_Multi;
        toAmino(message: ModeInfo_Multi): ModeInfo_MultiAmino;
        toAminoMsg(message: ModeInfo_Multi): ModeInfo_MultiAminoMsg;
        toProto(message: ModeInfo_Multi): Uint8Array;
        toProtoMsg(message: ModeInfo_Multi): ModeInfo_MultiProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              bitarray?: {
                  elems?: Uint8Array;
                  extraBitsStored?: number;
              };
              modeInfos?: {
                  multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; };
                  single?: {
                      mode?: SignMode;
                  };
              }[];
          }
          • Optionalbitarray?: {
                elems?: Uint8Array;
                extraBitsStored?: number;
            }

            bitarray specifies which keys within the multisig are signing

            • Optionalelems?: Uint8Array
            • OptionalextraBitsStored?: number
          • OptionalmodeInfos?: {
                multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; };
                single?: {
                    mode?: SignMode;
                };
            }[]

            mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys

        Returns ModeInfo_Multi

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • ModeInfo_Single: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): ModeInfo_Single;
        encode(message: ModeInfo_Single, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: ModeInfo_SingleAmino): ModeInfo_Single;
        fromAminoMsg(object: ModeInfo_SingleAminoMsg): ModeInfo_Single;
        fromPartial(object: {
            mode?: SignMode;
        }): ModeInfo_Single;
        fromProtoMsg(message: ModeInfo_SingleProtoMsg): ModeInfo_Single;
        toAmino(message: ModeInfo_Single): ModeInfo_SingleAmino;
        toAminoMsg(message: ModeInfo_Single): ModeInfo_SingleAminoMsg;
        toProto(message: ModeInfo_Single): Uint8Array;
        toProtoMsg(message: ModeInfo_Single): ModeInfo_SingleProtoMsg;
    }
  • OrderByAmino: typeof OrderBy
  • OrderBySDKType: typeof OrderBy
  • SignDoc: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SignDoc;
        encode(message: SignDoc, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SignDocAmino): SignDoc;
        fromAminoMsg(object: SignDocAminoMsg): SignDoc;
        fromPartial(object: {
            accountNumber?: bigint;
            authInfoBytes?: Uint8Array;
            bodyBytes?: Uint8Array;
            chainId?: string;
        }): SignDoc;
        fromProtoMsg(message: SignDocProtoMsg): SignDoc;
        toAmino(message: SignDoc): SignDocAmino;
        toAminoMsg(message: SignDoc): SignDocAminoMsg;
        toProto(message: SignDoc): Uint8Array;
        toProtoMsg(message: SignDoc): SignDocProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns SignDoc

    • encode:function
    • fromAmino:function
      • Parameters

        Returns SignDoc

    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              accountNumber?: bigint;
              authInfoBytes?: Uint8Array;
              bodyBytes?: Uint8Array;
              chainId?: string;
          }
          • OptionalaccountNumber?: bigint

            account_number is the account number of the account in state

          • OptionalauthInfoBytes?: Uint8Array

            auth_info_bytes is a protobuf serialization of an AuthInfo that matches the representation in TxRaw.

          • OptionalbodyBytes?: Uint8Array

            body_bytes is protobuf serialization of a TxBody that matches the representation in TxRaw.

          • OptionalchainId?: string

            chain_id is the unique identifier of the chain this transaction targets. It prevents signed transactions from being used on another chain by an attacker

        Returns SignDoc

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • SignerInfo: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SignerInfo;
        encode(message: SignerInfo, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SignerInfoAmino): SignerInfo;
        fromAminoMsg(object: SignerInfoAminoMsg): SignerInfo;
        fromPartial(object: {
            modeInfo?: {
                multi?: {
                    bitarray?: {
                        elems?: Uint8Array;
                        extraBitsStored?: number;
                    };
                    modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
                };
                single?: {
                    mode?: SignMode;
                };
            };
            publicKey?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            };
            sequence?: bigint;
        }): SignerInfo;
        fromProtoMsg(message: SignerInfoProtoMsg): SignerInfo;
        toAmino(message: SignerInfo): SignerInfoAmino;
        toAminoMsg(message: SignerInfo): SignerInfoAminoMsg;
        toProto(message: SignerInfo): Uint8Array;
        toProtoMsg(message: SignerInfo): SignerInfoProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns SignerInfo

    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              modeInfo?: {
                  multi?: {
                      bitarray?: {
                          elems?: Uint8Array;
                          extraBitsStored?: number;
                      };
                      modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
                  };
                  single?: {
                      mode?: SignMode;
                  };
              };
              publicKey?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              };
              sequence?: bigint;
          }
          • OptionalmodeInfo?: {
                multi?: {
                    bitarray?: {
                        elems?: Uint8Array;
                        extraBitsStored?: number;
                    };
                    modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
                };
                single?: {
                    mode?: SignMode;
                };
            }

            mode_info describes the signing mode of the signer and is a nested structure to support nested multisig pubkey's

            • Optionalmulti?: {
                  bitarray?: {
                      elems?: Uint8Array;
                      extraBitsStored?: number;
                  };
                  modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[];
              }

              multi represents a nested multisig signer

              • Optionalbitarray?: {
                    elems?: Uint8Array;
                    extraBitsStored?: number;
                }

                bitarray specifies which keys within the multisig are signing

                • Optionalelems?: Uint8Array
                • OptionalextraBitsStored?: number
              • OptionalmodeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[]

                mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys

            • Optionalsingle?: {
                  mode?: SignMode;
              }

              single represents a single signer

              • Optionalmode?: SignMode

                mode is the signing mode of the single signer

          • OptionalpublicKey?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }

            public_key is the public key of the signer. It is optional for accounts that already exist in state. If unset, the verifier can use the required
            signer address for this position and lookup the public key.

            • Optional$typeUrl?: string
            • OptionaltypeUrl?: string

              A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

              In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

              • If no scheme is provided, https is assumed.
              • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
              • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

              Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.

              Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

            • Optionalvalue?: Uint8Array

              Must be a valid serialized protocol buffer of the above specified type.

          • Optionalsequence?: bigint

            sequence is the sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks.

        Returns SignerInfo

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • SimulateRequest: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SimulateRequest;
        encode(message: SimulateRequest, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SimulateRequestAmino): SimulateRequest;
        fromAminoMsg(object: SimulateRequestAminoMsg): SimulateRequest;
        fromPartial(object: {
            tx?: {
                authInfo?: {
                    fee?: {
                        amount?: (...)[];
                        gasLimit?: bigint;
                        granter?: string;
                        payer?: string;
                    };
                    signerInfos?: {
                        modeInfo?: (...) | (...);
                        publicKey?: (...) | (...);
                        sequence?: (...) | (...);
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            };
            txBytes?: Uint8Array;
        }): SimulateRequest;
        fromProtoMsg(message: SimulateRequestProtoMsg): SimulateRequest;
        toAmino(message: SimulateRequest): SimulateRequestAmino;
        toAminoMsg(message: SimulateRequest): SimulateRequestAminoMsg;
        toProto(message: SimulateRequest): Uint8Array;
        toProtoMsg(message: SimulateRequest): SimulateRequestProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              tx?: {
                  authInfo?: {
                      fee?: {
                          amount?: (...)[];
                          gasLimit?: bigint;
                          granter?: string;
                          payer?: string;
                      };
                      signerInfos?: {
                          modeInfo?: (...) | (...);
                          publicKey?: (...) | (...);
                          sequence?: (...) | (...);
                      }[];
                  };
                  body?: {
                      extensionOptions?: {
                          $typeUrl?: (...) | (...);
                          typeUrl?: (...) | (...);
                          value?: (...) | (...);
                      }[];
                      memo?: string;
                      messages?: {
                          $typeUrl?: (...) | (...);
                          typeUrl?: (...) | (...);
                          value?: (...) | (...);
                      }[];
                      nonCriticalExtensionOptions?: {
                          $typeUrl?: (...) | (...);
                          typeUrl?: (...) | (...);
                          value?: (...) | (...);
                      }[];
                      timeoutHeight?: bigint;
                  };
                  signatures?: Uint8Array[];
              };
              txBytes?: Uint8Array;
          }
          • Optionaltx?: {
                authInfo?: {
                    fee?: {
                        amount?: (...)[];
                        gasLimit?: bigint;
                        granter?: string;
                        payer?: string;
                    };
                    signerInfos?: {
                        modeInfo?: (...) | (...);
                        publicKey?: (...) | (...);
                        sequence?: (...) | (...);
                    }[];
                };
                body?: {
                    extensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    memo?: string;
                    messages?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    nonCriticalExtensionOptions?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    }[];
                    timeoutHeight?: bigint;
                };
                signatures?: Uint8Array[];
            }
            • OptionalauthInfo?: {
                  fee?: {
                      amount?: (...)[];
                      gasLimit?: bigint;
                      granter?: string;
                      payer?: string;
                  };
                  signerInfos?: {
                      modeInfo?: (...) | (...);
                      publicKey?: (...) | (...);
                      sequence?: (...) | (...);
                  }[];
              }

              auth_info is the authorization related content of the transaction, specifically signers, signer modes and fee

              • Optionalfee?: {
                    amount?: (...)[];
                    gasLimit?: bigint;
                    granter?: string;
                    payer?: string;
                }

                Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.

                • Optionalamount?: (...)[]

                  amount is the amount of coins to be paid as a fee

                • OptionalgasLimit?: bigint

                  gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs

                • Optionalgranter?: string

                  if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail

                • Optionalpayer?: string

                  if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does not change the ordering of required signers for the transaction.

              • OptionalsignerInfos?: {
                    modeInfo?: (...) | (...);
                    publicKey?: (...) | (...);
                    sequence?: (...) | (...);
                }[]

                signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee.

            • Optionalbody?: {
                  extensionOptions?: {
                      $typeUrl?: (...) | (...);
                      typeUrl?: (...) | (...);
                      value?: (...) | (...);
                  }[];
                  memo?: string;
                  messages?: {
                      $typeUrl?: (...) | (...);
                      typeUrl?: (...) | (...);
                      value?: (...) | (...);
                  }[];
                  nonCriticalExtensionOptions?: {
                      $typeUrl?: (...) | (...);
                      typeUrl?: (...) | (...);
                      value?: (...) | (...);
                  }[];
                  timeoutHeight?: bigint;
              }

              body is the processable content of the transaction

              • OptionalextensionOptions?: {
                    $typeUrl?: (...) | (...);
                    typeUrl?: (...) | (...);
                    value?: (...) | (...);
                }[]

                extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected

              • Optionalmemo?: string

                memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called note instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).

              • Optionalmessages?: {
                    $typeUrl?: (...) | (...);
                    typeUrl?: (...) | (...);
                    value?: (...) | (...);
                }[]

                messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction.

              • OptionalnonCriticalExtensionOptions?: {
                    $typeUrl?: (...) | (...);
                    typeUrl?: (...) | (...);
                    value?: (...) | (...);
                }[]

                extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored

              • OptionaltimeoutHeight?: bigint

                timeout is the block height after which this transaction will not be processed by the chain

            • Optionalsignatures?: Uint8Array[]

              signatures is a list of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position.

          • OptionaltxBytes?: Uint8Array

            tx_bytes is the raw transaction.

            Since: cosmos-sdk 0.43

        Returns SimulateRequest

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • SimulateResponse: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): SimulateResponse;
        encode(message: SimulateResponse, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: SimulateResponseAmino): SimulateResponse;
        fromAminoMsg(object: SimulateResponseAminoMsg): SimulateResponse;
        fromPartial(object: {
            gasInfo?: {
                gasUsed?: bigint;
                gasWanted?: bigint;
            };
            result?: {
                data?: Uint8Array;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                log?: string;
            };
        }): SimulateResponse;
        fromProtoMsg(message: SimulateResponseProtoMsg): SimulateResponse;
        toAmino(message: SimulateResponse): SimulateResponseAmino;
        toAminoMsg(message: SimulateResponse): SimulateResponseAminoMsg;
        toProto(message: SimulateResponse): Uint8Array;
        toProtoMsg(message: SimulateResponse): SimulateResponseProtoMsg;
    }
    • typeUrl: string
    • decode:function
    • encode:function
    • fromAmino:function
    • fromAminoMsg:function
    • fromPartial:function
      • Parameters

        • object: {
              gasInfo?: {
                  gasUsed?: bigint;
                  gasWanted?: bigint;
              };
              result?: {
                  data?: Uint8Array;
                  events?: {
                      attributes?: {
                          index?: ...;
                          key?: ...;
                          value?: ...;
                      }[];
                      type?: string;
                  }[];
                  log?: string;
              };
          }
          • OptionalgasInfo?: {
                gasUsed?: bigint;
                gasWanted?: bigint;
            }

            gas_info is the information about gas used in the simulation.

            • OptionalgasUsed?: bigint

              GasUsed is the amount of gas actually consumed.

            • OptionalgasWanted?: bigint

              GasWanted is the maximum units of work we allow this tx to perform.

          • Optionalresult?: {
                data?: Uint8Array;
                events?: {
                    attributes?: {
                        index?: ...;
                        key?: ...;
                        value?: ...;
                    }[];
                    type?: string;
                }[];
                log?: string;
            }

            result is the result of the simulation.

            • Optionaldata?: Uint8Array

              Data is any data returned from message or handler execution. It MUST be length prefixed in order to separate data from multiple message executions.

            • Optionalevents?: {
                  attributes?: {
                      index?: ...;
                      key?: ...;
                      value?: ...;
                  }[];
                  type?: string;
              }[]

              Events contains a slice of Event objects that were emitted during message or handler execution.

            • Optionallog?: string

              Log contains the log information from message or handler execution.

        Returns SimulateResponse

    • fromProtoMsg:function
    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • Tx: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): Tx;
        encode(message: Tx, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: TxAmino): Tx;
        fromAminoMsg(object: TxAminoMsg): Tx;
        fromPartial(object: {
            authInfo?: {
                fee?: {
                    amount?: {
                        amount?: (...) | (...);
                        denom?: (...) | (...);
                    }[];
                    gasLimit?: bigint;
                    granter?: string;
                    payer?: string;
                };
                signerInfos?: {
                    modeInfo?: {
                        multi?: (...) | (...);
                        single?: (...) | (...);
                    };
                    publicKey?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    };
                    sequence?: bigint;
                }[];
            };
            body?: {
                extensionOptions?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                memo?: string;
                messages?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                nonCriticalExtensionOptions?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                timeoutHeight?: bigint;
            };
            signatures?: Uint8Array[];
        }): Tx;
        fromProtoMsg(message: TxProtoMsg): Tx;
        toAmino(message: Tx): TxAmino;
        toAminoMsg(message: Tx): TxAminoMsg;
        toProto(message: Tx): Uint8Array;
        toProtoMsg(message: Tx): TxProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns Tx

    • encode:function
    • fromAmino:function
      • Parameters

        Returns Tx

    • fromAminoMsg:function
      • Parameters

        Returns Tx

    • fromPartial:function
      • Parameters

        • object: {
              authInfo?: {
                  fee?: {
                      amount?: {
                          amount?: (...) | (...);
                          denom?: (...) | (...);
                      }[];
                      gasLimit?: bigint;
                      granter?: string;
                      payer?: string;
                  };
                  signerInfos?: {
                      modeInfo?: {
                          multi?: (...) | (...);
                          single?: (...) | (...);
                      };
                      publicKey?: {
                          $typeUrl?: (...) | (...);
                          typeUrl?: (...) | (...);
                          value?: (...) | (...);
                      };
                      sequence?: bigint;
                  }[];
              };
              body?: {
                  extensionOptions?: {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  }[];
                  memo?: string;
                  messages?: {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  }[];
                  nonCriticalExtensionOptions?: {
                      $typeUrl?: string;
                      typeUrl?: string;
                      value?: Uint8Array;
                  }[];
                  timeoutHeight?: bigint;
              };
              signatures?: Uint8Array[];
          }
          • OptionalauthInfo?: {
                fee?: {
                    amount?: {
                        amount?: (...) | (...);
                        denom?: (...) | (...);
                    }[];
                    gasLimit?: bigint;
                    granter?: string;
                    payer?: string;
                };
                signerInfos?: {
                    modeInfo?: {
                        multi?: (...) | (...);
                        single?: (...) | (...);
                    };
                    publicKey?: {
                        $typeUrl?: (...) | (...);
                        typeUrl?: (...) | (...);
                        value?: (...) | (...);
                    };
                    sequence?: bigint;
                }[];
            }

            auth_info is the authorization related content of the transaction, specifically signers, signer modes and fee

            • Optionalfee?: {
                  amount?: {
                      amount?: (...) | (...);
                      denom?: (...) | (...);
                  }[];
                  gasLimit?: bigint;
                  granter?: string;
                  payer?: string;
              }

              Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.

              • Optionalamount?: {
                    amount?: (...) | (...);
                    denom?: (...) | (...);
                }[]

                amount is the amount of coins to be paid as a fee

              • OptionalgasLimit?: bigint

                gas_limit is the maximum gas that can be used in transaction processing before an out of gas error occurs

              • Optionalgranter?: string

                if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does not support fee grants, this will fail

              • Optionalpayer?: string

                if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. the payer must be a tx signer (and thus have signed this field in AuthInfo). setting this field does not change the ordering of required signers for the transaction.

            • OptionalsignerInfos?: {
                  modeInfo?: {
                      multi?: (...) | (...);
                      single?: (...) | (...);
                  };
                  publicKey?: {
                      $typeUrl?: (...) | (...);
                      typeUrl?: (...) | (...);
                      value?: (...) | (...);
                  };
                  sequence?: bigint;
              }[]

              signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee.

          • Optionalbody?: {
                extensionOptions?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                memo?: string;
                messages?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                nonCriticalExtensionOptions?: {
                    $typeUrl?: string;
                    typeUrl?: string;
                    value?: Uint8Array;
                }[];
                timeoutHeight?: bigint;
            }

            body is the processable content of the transaction

            • OptionalextensionOptions?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              }[]

              extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected

            • Optionalmemo?: string

              memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called note instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).

            • Optionalmessages?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              }[]

              messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction.

            • OptionalnonCriticalExtensionOptions?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              }[]

              extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored

            • OptionaltimeoutHeight?: bigint

              timeout is the block height after which this transaction will not be processed by the chain

          • Optionalsignatures?: Uint8Array[]

            signatures is a list of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position.

        Returns Tx

    • fromProtoMsg:function
      • Parameters

        Returns Tx

    • toAmino:function
      • Parameters

        • message: Tx

        Returns TxAmino

    • toAminoMsg:function
      • Parameters

        • message: Tx

        Returns TxAminoMsg

    • toProto:function
      • Parameters

        • message: Tx

        Returns Uint8Array

    • toProtoMsg:function
      • Parameters

        • message: Tx

        Returns TxProtoMsg

  • TxBody: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): TxBody;
        encode(message: TxBody, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: TxBodyAmino): TxBody;
        fromAminoMsg(object: TxBodyAminoMsg): TxBody;
        fromPartial(object: {
            extensionOptions?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[];
            memo?: string;
            messages?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[];
            nonCriticalExtensionOptions?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[];
            timeoutHeight?: bigint;
        }): TxBody;
        fromProtoMsg(message: TxBodyProtoMsg): TxBody;
        toAmino(message: TxBody): TxBodyAmino;
        toAminoMsg(message: TxBody): TxBodyAminoMsg;
        toProto(message: TxBody): Uint8Array;
        toProtoMsg(message: TxBody): TxBodyProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns TxBody

    • encode:function
    • fromAmino:function
      • Parameters

        Returns TxBody

    • fromAminoMsg:function
      • Parameters

        Returns TxBody

    • fromPartial:function
      • Parameters

        • object: {
              extensionOptions?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              }[];
              memo?: string;
              messages?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              }[];
              nonCriticalExtensionOptions?: {
                  $typeUrl?: string;
                  typeUrl?: string;
                  value?: Uint8Array;
              }[];
              timeoutHeight?: bigint;
          }
          • OptionalextensionOptions?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[]

            extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected

          • Optionalmemo?: string

            memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called note instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).

          • Optionalmessages?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[]

            messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction.

          • OptionalnonCriticalExtensionOptions?: {
                $typeUrl?: string;
                typeUrl?: string;
                value?: Uint8Array;
            }[]

            extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored

          • OptionaltimeoutHeight?: bigint

            timeout is the block height after which this transaction will not be processed by the chain

        Returns TxBody

    • fromProtoMsg:function
      • Parameters

        Returns TxBody

    • toAmino:function
    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • TxRaw: {
        typeUrl: string;
        decode(input: Uint8Array | BinaryReader, length?: number): TxRaw;
        encode(message: TxRaw, writer?: BinaryWriter): BinaryWriter;
        fromAmino(object: TxRawAmino): TxRaw;
        fromAminoMsg(object: TxRawAminoMsg): TxRaw;
        fromPartial(object: {
            authInfoBytes?: Uint8Array;
            bodyBytes?: Uint8Array;
            signatures?: Uint8Array[];
        }): TxRaw;
        fromProtoMsg(message: TxRawProtoMsg): TxRaw;
        toAmino(message: TxRaw): TxRawAmino;
        toAminoMsg(message: TxRaw): TxRawAminoMsg;
        toProto(message: TxRaw): Uint8Array;
        toProtoMsg(message: TxRaw): TxRawProtoMsg;
    }
    • typeUrl: string
    • decode:function
      • Parameters

        Returns TxRaw

    • encode:function
    • fromAmino:function
      • Parameters

        Returns TxRaw

    • fromAminoMsg:function
      • Parameters

        Returns TxRaw

    • fromPartial:function
      • Parameters

        • object: {
              authInfoBytes?: Uint8Array;
              bodyBytes?: Uint8Array;
              signatures?: Uint8Array[];
          }
          • OptionalauthInfoBytes?: Uint8Array

            auth_info_bytes is a protobuf serialization of an AuthInfo that matches the representation in SignDoc.

          • OptionalbodyBytes?: Uint8Array

            body_bytes is a protobuf serialization of a TxBody that matches the representation in SignDoc.

          • Optionalsignatures?: Uint8Array[]

            signatures is a list of signatures that matches the length and order of AuthInfo's signer_infos to allow connecting signature meta information like public key and signing mode by position.

        Returns TxRaw

    • fromProtoMsg:function
      • Parameters

        Returns TxRaw

    • toAmino:function
      • Parameters

        Returns TxRawAmino

    • toAminoMsg:function
    • toProto:function
      • Parameters

        Returns Uint8Array

    • toProtoMsg:function
  • createRpcQueryExtension: ((base: QueryClient) => {
        broadcastTx(request: BroadcastTxRequest): Promise<BroadcastTxResponse>;
        getBlockWithTxs(request: GetBlockWithTxsRequest): Promise<GetBlockWithTxsResponse>;
        getTx(request: GetTxRequest): Promise<GetTxResponse>;
        getTxsEvent(request: GetTxsEventRequest): Promise<GetTxsEventResponse>;
        simulate(request: SimulateRequest): Promise<SimulateResponse>;
    })
  • broadcastModeFromJSON:function
    • Parameters

      • object: any

      Returns BroadcastMode

  • broadcastModeToJSON:function
    • Parameters

      Returns string

  • orderByFromJSON:function
    • Parameters

      • object: any

      Returns OrderBy

  • orderByToJSON:function
    • Parameters

      Returns string