UNPKG

@sky-mavis/tanto-widget

Version:
21 lines (20 loc) 693 B
import { Address } from 'viem'; export interface UseRnsNameParameters { address?: Address; chainId?: number; } export declare function useRnsName({ address, chainId: targetChainId }: UseRnsNameParameters): import("wagmi").UseReadContractReturnType<readonly [{ readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "node"; readonly type: "bytes32"; }]; readonly name: "name"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }], "name", [`0x${string}`], string>;