Skip to main content
Avok does not give you a useSend hook. Instead, createAvokClient announces an EIP-1193 provider over EIP-6963 and registers a Solana Wallet Standard wallet. You send and sign with the standard ecosystem tools (wagmi, viem, ethers, or @solana/wallet-adapter), which discover Avok like any other wallet.

Send with viem

Get the provider directly and hand it to viem:
client.getEip1193Provider() returns the provider for direct use. If you use a connector library such as wagmi, you don’t need it: wagmi discovers the announced provider through EIP-6963. To learn how the provider surface maps to your wallet lifecycle, read The provider, not hooks. To pay fees in a token instead of native gas, see Sponsor EVM sends.