UNPKG

@reservoir0x/relay-sdk

Version:

Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.

6 lines 463 B
import type { paths } from '../types/index.js'; import type { SimulateContractParameters } from 'viem'; type CallBody = NonNullable<paths['/execute/call']['post']['requestBody']['content']['application/json']>; export default function prepareCallTransaction(request: Pick<SimulateContractParameters, 'abi' | 'functionName' | 'args' | 'address' | 'value'>): Required<NonNullable<CallBody['txs']>[0]>; export {}; //# sourceMappingURL=prepareCallTransaction.d.ts.map