Function useCoinbaseWallet

  • Hook to connect to the Coinbase wallet.

    const connect = useCoinbaseWallet('org.reactjs.native.example.test15://'); connect();

    Parameters

    • callbackURL: URL

      The Universal Link used by Coinbase Wallet to return responses to your application.

    Returns ((connectOptions?) => Promise<CoinbaseWallet>)

    connect function to connect to the Coinbase wallet

      • (connectOptions?): Promise<CoinbaseWallet>
      • Parameters

        • Optional connectOptions: {
              chainId?: number;
          }
          • Optional chainId?: number

        Returns Promise<CoinbaseWallet>

Generated using TypeDoc