Rpc: add getLargestAccounts endpoint (#9869)

automerge
This commit is contained in:
Tyera Eulberg
2020-05-04 17:46:10 -06:00
committed by GitHub
parent 3aedb81d48
commit f5b0d13f08
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,
}