Simulator 类用于模拟交易。有关按步骤的演示,请参见 模拟交易教程。要运行模拟,请在 tenderly 实例上调用 simulator 命名空间中的 simulateTransaction 方法:
example.js
simulateBundle 方法模拟一组交易:
example.js
使用这些代码片段示例,通过 Tenderly SDK 执行单笔和捆绑交易。
Simulator 类用于模拟交易。有关按步骤的演示,请参见 模拟交易教程。要运行模拟,请在 tenderly 实例上调用 simulator 命名空间中的 simulateTransaction 方法:
simulateBundle 方法模拟一组交易: