pub trait TransactionProcessingCallback: InvokeContextCallback {
// Required method
fn get_account_shared_data(
&self,
pubkey: &Pubkey,
) -> Option<(AccountSharedData, Slot)>;
// Provided method
fn inspect_account(
&self,
_address: &Pubkey,
_account_state: AccountState<'_>,
_is_writable: bool,
) { ... }
}๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Expand description
Runtime callbacks for transaction processing.
Required Methodsยง
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Provided Methodsยง
fn inspect_account( &self, _address: &Pubkey, _account_state: AccountState<'_>, _is_writable: bool, )
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.