-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Milestone
Description
See #2756 that adds it to the legacy web3js 1.x code
Motivation
innerInstructionsis available as an optional param onsimulateTransactionRPC calls from 1.18- There's an open PR adding support for the 1.x
connection.simulateTransactioncode - We should also add it to the 2.x
simulateTransactionRPC type
Details
- New
innerInstructions: booleanoptional input config field - If this is true, then a new
innerInstructionsfield is included. The docs say that this is jsonParsed when possible, otherwise json. I think this means it doesn't involve the encoding param. - We'll be able to re-use type structures from feat(simulated_transaction): Add Inner Instructions #2756
- This is only available on 1.18 RPCs, and is ignored by earlier versions.