Readonly wasmwasm: { getAllContractState: any ; getCode: any ; getContractCodeHistory: any ; getContractInfo: any ; listCodeInfo: any ; listContractsByCodeId: any ; queryContractRaw: any ; queryContractSmart: any }
Type declaration get All Contract State: function get All Contract State( address: string , paginationKey?: Uint8Array ) : Promise < QueryAllContractStateResponse > Parameters address: string Optional paginationKey: Uint8Array Returns Promise < QueryAllContractStateResponse > get Code: function get Code( id: number ) : Promise < QueryCodeResponse > Parameters Returns Promise < QueryCodeResponse > get Contract Code History: function get Contract Code History( address: string , paginationKey?: Uint8Array ) : Promise < QueryContractHistoryResponse > Parameters address: string Optional paginationKey: Uint8Array Returns Promise < QueryContractHistoryResponse > get Contract Info: function get Contract Info( address: string ) : Promise < QueryContractInfoResponse > Parameters Returns Promise < QueryContractInfoResponse > list Code Info: function list Code Info( paginationKey?: Uint8Array ) : Promise < QueryCodesResponse > Parameters Optional paginationKey: Uint8Array Returns Promise < QueryCodesResponse > list Contracts By Code Id: function list Contracts By Code Id( id: number , paginationKey?: Uint8Array ) : Promise < QueryContractsByCodeResponse > Parameters id: number Optional paginationKey: Uint8Array Returns Promise < QueryContractsByCodeResponse > query Contract Raw: function query Contract Raw( address: string , key: Uint8Array ) : Promise < QueryRawContractStateResponse > Parameters address: string key: Uint8Array Returns Promise < QueryRawContractStateResponse > query Contract Smart: function query Contract Smart( address: string , query: any ) : Promise < any > Parameters address: string query: any Returns Promise < any >
Returns all contract state. This is an empty array if no such contract, or contract has no data.