Redesign DryRunTransactionBlockResponse
interface, highlight SenderChange
.
npm install dryruntransactionblockresponseplus
import { type DryRunTransactionBlockResponsePlus, parseDryRunResult } from 'dryruntransactionblockresponseplus';
import { SuiClient } from "@mysten/sui.js/client";
const dataSentToFullnode = await txb.build({ client: client });
const res = await client.dryRunTransactionBlock({
transactionBlock: dataSentToFullnode,
});
const resPlus: DryRunTransactionBlockResponsePlus = parseDryRunResult(res);
console.log(resPlus);