Skip to main content

Documentation Index

Fetch the complete documentation index at: https://unevenlabs-ted-sdk-integration-docs.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Parameters

PropertyDescriptionRequired
chainIdThe chain id to deposit funds on
toChainIdThe chain id to execute the txs on
valueAmount in wei to bridge
walletA valid WalletClient from viem or an adapted wallet generated from an adapter that meets this interface.
toA valid address to send the funds to

Example

import { getClient } from '@reservoir0x/relay-sdk'
import { useWalletClient } from 'wagmi'

const { data: wallet } = useWalletClient()

const quote = await getClient()?.methods.getBridgeQuote({
  chainId,
  toChainId,
  value: '10000000000000000', // 0.01 ETH
  wallet,
})