Rpc: add getLargestAccounts endpoint (#9869) (#9876)

automerge
This commit is contained in:
mergify[bot]
2020-05-04 19:12:18 -07:00
committed by GitHub
parent f951d7d33f
commit 2acf4d874d
5 changed files with 174 additions and 4 deletions

View File

@@ -192,3 +192,10 @@ pub struct RpcStorageTurn {
pub blockhash: String,
pub slot: Slot,
}
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct RpcAccountBalance {
pub address: String,
pub lamports: u64,
}