dryruntransactionblockresponseplus
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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的交易变化。

Readme

Keywords

none

Package Sidebar

Install

npm i dryruntransactionblockresponseplus

Weekly Downloads

3

Version

0.0.5

License

MIT

Unpacked Size

15.1 kB

Total Files

10

Last publish

Collaborators

  • pikasui