Crate additional_accounts_request

Source
Expand description

This library provides a way for Solana programs to request additional accounts for an instruction, according to sRFC 21.

Structs§

AdditionalAccounts
IAccountMeta

Constants§

MAX_ACCOUNTS

Traits§

InterfaceInstruction

Functions§

call
Calls an instruction on a program that complies with the additional accounts interface
call_interface_function
This calls the main function on the target program, and passes along the requested account_metas from the preflight function
call_interface_function_raw
call_preflight_interface_function
This calls the preflight function on the target program (defined on the ctx)
forward_return_data
get_delimiter
identify_additional_accounts
Returns the additional accounts needed to execute the instruction Will only return up to MAX_ACCOUNTS accounts.
resolve_additional_accounts
Resolves the page of accounts for a particular instruction