Function get_program_accounts_with_context

Source
pub async fn get_program_accounts_with_context(
    client: &RpcClient,
    program: &Pubkey,
    config: ProgramAccountsConfigForRpc,
) -> Result<WithContext<Vec<(Pubkey, Account)>>>
Expand description

Get program accounts with context.

ยงNote

This function only supports RPC Node versions >= 1.17.