Redesign DryRunTransactionBlockResponse interface, highlight SenderChange.

Install

npm install dryruntransactionblockresponseplus

Usage

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);