Skip to content

Commit d1b7df0

Browse files
committed
fix: detectMethod docs
1 parent 480fb4e commit d1b7df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/thirdweb/src/utils/bytecode/detectExtension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ type DetectExtensionOptions = {
1515
* ```ts
1616
* import { detectMethod } from "thirdweb/utils/extensions/detect.js";
1717
* const hasDecimals = await detectMethod({
18-
* contract,
1918
* method: "function decimals() view returns (uint8)",
19+
* availableSelectors: ["0x313ce567"],
2020
* });
2121
* ```
2222
* @contract

0 commit comments

Comments
 (0)