dAppBooster
    Preparing search index...
    HashInput: FC<HashInputProps> = ...

    HashInput component for entering and detecting blockchain addresses, transaction hashes, or ENS names.

    This component provides an input field that processes user input to detect its type (address, transaction hash, or ENS name) on a specified blockchain network. It uses debounced search to prevent excessive requests and can be customized with a custom input renderer.

    The props for the HashInput component.

    The blockchain network to use for detection (from viem chains).

    Delay in milliseconds before triggering search after input changes.

    Callback fired when loading state changes.

    Callback fired with detection results.

    Custom input renderer function.

    Controlled input value.

    Additional props inherited from Chakra UI InputProps.

    <HashInput
    chain={mainnet}
    onSearch={(result) => console.log(result)}
    debounceTime={300}
    placeholder="Enter address, ENS name or transaction hash"
    />