Function switchboard_on_demand::prelude::fetch_borsh_account
source · pub fn fetch_borsh_account<T: Discriminator + Owner + AccountDeserialize>(
client: &RpcClient,
pubkey: Pubkey
) -> Result<T, OnDemandError>