Skip to content

useConnection

A hook that returns the current connection

Import

import { useConnection } from "@account-kit/react";

Returns

Connection the current connection