Add get_minimum_balance_for_rent_excemption to Client (#14048) (#14052)

(cherry picked from commit 7abd8084b6)

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-12-11 02:03:18 +00:00
committed by GitHub
parent 1ea1a70d2b
commit bfc9932b17
3 changed files with 12 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ pub trait SyncClient {
commitment_config: CommitmentConfig,
) -> Result<u64>;
fn get_minimum_balance_for_rent_exemption(&self, data_len: usize) -> Result<u64>;
/// Get recent blockhash
fn get_recent_blockhash(&self) -> Result<(Hash, FeeCalculator)>;