An overview of this course.
useAccount
hook to show the user’s address, connection state, network, and balanceisMounted
hook to prevent hydration errorsuseReadContract
hook to fetch data from a smart contractwatch
feature of useReadContract
to automatically fetch updates from the blockchainwatch
feature, and methods to reduce those costspure
or view
smart contract functionuseReadContract
on demandisLoading
and isFetching
to improve user experienceuseWriteContract
hook to send transactions to a smart contractuseWriteContract
usePrepareContractWrite
and useWriteContract
to send transactions to a smart contractuseSimulateContract
and useWriteContract
useWriteContract
, with arguments and a value