Skip to content

SuiSec/DryRunTransactionBlockResponsePlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Redesign DryRunTransactionBlockResponse interface, highlight SenderChange.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published