Features
- Cross-chain quote aggregation
- Full TypeScript support
- React hooks integration
- Viem compatibility
Looking for a pre-built UI? If you want to execute bridge transactions with a ready-made interface, consider using the Metalayer Widget instead. The Widget uses this SDK under the hood and provides a production-ready UI with built-in theming, wallet integration, and automatic transaction handling.
Installation
If you plan to use the SDK’s React hooks, you’ll need to install React Query as a peer dependency.
Installing React Query
API Key Setup
Contact our team to get your API key.Requirements
- Node.js 20+
- TypeScript 5.0+ (recommended)
- React 16+ (for hooks)
- Viem 2.0+ (peer dependency)