viem’s waitForTransactionReceipt), not just a hash.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Decode a DZap transaction receipt into a readable structure.
viem’s waitForTransactionReceipt), not just a hash.
const decoded = await dzap.decodeTxnData({
data: transactionReceipt, // a viem TransactionReceipt
service: 'trade', // 'trade' | 'dca' | 'zap'
chainId: 42161,
});
// => { swapFailPairs: string[], swapInfo: SwapInfo | SwapInfo[] }