Rpc: Add getConfirmedTransaction (#9381)
* Add blockstore method to return a complete transaction by signature * Plumb getConfirmedTransaction rpc * Add doc
This commit is contained in:
@@ -94,6 +94,14 @@ pub struct ConfirmedBlock {
|
||||
pub rewards: Rewards,
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ConfirmedTransaction {
|
||||
pub slot: Slot,
|
||||
#[serde(flatten)]
|
||||
pub transaction: TransactionWithStatusMeta,
|
||||
}
|
||||
|
||||
/// A duplicate representation of a Transaction for pretty JSON serialization
|
||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
|
Reference in New Issue
Block a user