Open LeTurt333 opened 1 year ago
I think there's a typo in the doc comments for getContractInfo
getContractInfo
/** * Returns null when contract was not found at this address. */ readonly getContractInfo: (address: string) => Promise<QueryContractInfoResponse>;
But if the contract doesn't exist, it throws instead of returning null
Error: Query failed with (6): address someaddr1: no such contract: unknown request
I think there's a typo in the doc comments for
getContractInfo
But if the contract doesn't exist, it throws instead of returning null