Add a flag to simulateTransaction to use most recent blockhash
This commit is contained in:
committed by
Michael Vines
parent
4eb6deee2d
commit
96cef5260c
@ -28,6 +28,8 @@ pub struct RpcSendTransactionConfig {
|
||||
pub struct RpcSimulateTransactionConfig {
|
||||
#[serde(default)]
|
||||
pub sig_verify: bool,
|
||||
#[serde(default)]
|
||||
pub use_most_recent_blockhash: bool,
|
||||
#[serde(flatten)]
|
||||
pub commitment: Option<CommitmentConfig>,
|
||||
pub encoding: Option<UiTransactionEncoding>,
|
||||
|
Reference in New Issue
Block a user