REALBITS
  • 💛Welcome!
  • REALBITS
    • 🚎Solution
    • 🍜Sites
  • Ecosystem
    • 🇹🇰Ecosystem
    • 🇩🇰Rent Market
  • SERVICE
    • 🏈AVAME
    • 🎎DULLS
    • 🌅FICTURES
    • 💹MARKET
    • 👻PIXMON
    • 🧠THOTHY
  • CONTRACTS
    • MARKET
      • getAllRegisterData
      • getRegisterData
      • registerNFT
      • getAllRentData
      • getRentData
      • rentNFT
      • rentNFTByToken
    • NFT
      • safeMint
    • WAGMI
  • Coding
    • Connect wallet
    • Mint NFT
    • Fetch all registered NFT
    • Fetch all rented NFT
    • Fetch one rented NFT
    • Change the registered NFT metadata
    • Rent NFT by base coin
    • Rent NFT by ERC20 token
    • Fetch the metadata of NFT
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. CONTRACTS

WAGMI

Blockchain WEB3 JavaScript (TypeScript) library

Last updated 1 year ago

Was this helpful?

  • JavaScript (TypeScript) package library for blockchain

  • main libraries.

      • Hook for accessing account data and connection status.

      • Hook for fetching balance information for Ethereum or ERC-20 tokens.

      • Hook for connecting to account with connectors.

      • Hook for calling a read method on a Contract.

      • Hook for calling a write method on a Contract.

      • Hook for accessing network data, such as current connected chain and .

      • Hook for declaratively waiting until transaction is processed. Pairs well with [useContractWrite](<https://wagmi.sh/react/hooks/useContractWrite>) and [useSendTransaction](<https://wagmi.sh/react/hooks/useSendTransaction>).

React
useAccount
useBalance
useConnect
useContractRead
useContractWrite
useNetwork
connector chains
useWaitForTransaction