Add a flag to simulateTransaction to use most recent blockhash

This commit is contained in:
Justin Starry
2021-05-25 13:01:21 -07:00
committed by Michael Vines
parent 4eb6deee2d
commit 96cef5260c
3 changed files with 7 additions and 1 deletions

View File

@ -3206,6 +3206,7 @@ Simulate sending a transaction
- `sigVerify: <bool>` - if true the transaction signatures will be verified (default: false)
- `commitment: <string>` - (optional) [Commitment](jsonrpc-api.md#configuring-state-commitment) level to simulate the transaction at (default: `"finalized"`).
- `encoding: <string>` - (optional) Encoding used for the transaction data. Either `"base58"` (*slow*, **DEPRECATED**), or `"base64"`. (default: `"base58"`).
- `useMostRecentBlockhash: <bool>` - (optional) if true the transaction recent blockhash will be ignored and overridden with the most recent blockhash. (default: false)
#### Results: