UNPKG

@msquared/etherbase-client

Version:

React hooks for interacting with Etherbase smart contracts

8 lines (7 loc) 299 B
import type { UseEtherbaseContractProps } from "./types/etherbase"; export default function useEtherbaseContract({ contractAddress, }: UseEtherbaseContractProps): { execute: ({ methodName, args, }: { methodName: string; args: Record<string, unknown>; }) => Promise<void>; };