Skip to main content

ProgramAccountReaderFn

Type Alias ProgramAccountReaderFn 

Source
pub type ProgramAccountReaderFn = Arc<dyn Fn(&str, &[u8]) -> Result<Value> + Send + Sync>;
Expand description

A generated account decoder bound to one program release.

Macro-generated readers accept trailing account bytes, matching live decoder behavior, but never expose those bytes in their JSON result.

Aliased Typeยง

pub struct ProgramAccountReaderFn { /* private fields */ }