Expand description
CPI return data retrieval and typed deserialization.
The Solana runtime supports return data from CPI calls (up to 1024 bytes). No framework provides a typed wrapper that combines invoke + deserialize in one step. Hopper does.
Structs§
- Return
Data - Return data from a previous CPI call.
Constants§
- MAX_
RETURN_ DATA - Maximum return data size (1 KiB), matching Solana runtime limit.
Functions§
- get_
return_ data - Retrieve return data from the most recent CPI call.
- invoke_
and_ read - Invoke a CPI and immediately read back typed return data.