dryruntransactionblockresponseplus
v0.0.5
Published
Redesign DryRunTransactionBlockResponse interface, highlight SenderChange.
Downloads
9
Readme
DryRunTransactionBlockResponsePlus
Redesign DryRunTransactionBlockResponse
interface, highlight SenderChange
.
Install
npm install dryruntransactionblockresponseplus
Usage
import { type DryRunTransactionBlockResponsePlus, parseDryRunResult } from 'dryruntransactionblockresponseplus';
import { SuiClient } from "@mysten/sui/client";
const dataSentToFullnode = await tx.build({ client: client });
const res = await client.dryRunTransactionBlock({
transactionBlock: dataSentToFullnode,
});
const resPlus: DryRunTransactionBlockResponsePlus = parseDryRunResult(res);
console.log(resPlus);
重新设计DryRunTransactionBlockResponse
的数据接口,突出sender
的交易变化。