We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9f2723 commit d8cae4aCopy full SHA for d8cae4a
src/index.js
@@ -9,7 +9,7 @@ const getTokenMetadata = async (address, options) => {
9
const provider = new ethers.providers.JsonRpcProvider(options.rpcEndpoint);
10
const contract = new ethers.Contract(address, abi, provider);
11
const handleError = () => {
12
- return null;
+ return undefined;
13
};
14
15
const [name, symbol, decimals] = await Promise.all([
0 commit comments