Hooks
wankmi provides hooks across three categories:
Wallet
| Hook | Description |
|---|---|
useWallet | Connect, disconnect, and access the active wallet |
useConnection | Access the underlying Connection object |
Data
| Hook | Description |
|---|---|
useSolBalance | Fetch the SOL balance of an address |
useTokenAccounts | Fetch all SPL token accounts for an address |
useMint | Fetch mint info for a token mint address |
Transactions
| Hook | Description |
|---|---|
useSendTransaction | Sign and send a transaction |
useSignMessage | Sign an arbitrary message with the connected wallet |