Skip to main content

Documentation Index

Fetch the complete documentation index at: https://unevenlabs-ted-add-execute-bridge.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
txsAn array of either transaction objects (made up of a to, data and value properties) or viem request objects returned from viem’s simulateContract function.
walletA valid WalletClient from viem or an adapted wallet generated from an adapter that meets this interface.

Example

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

const { data: wallet } = useWalletClient()

const quote = await getClient()?.methods.getCallQuote({
  chainId,
  toChainId,
  txs: [request],
  wallet,
})