Expand description
CPI return-data helpers.
Solana return data is a 1 KiB byte channel from the most recent CPI. Hopper
keeps it stack-backed and exposes typed reads by value for Pod types.
Structs§
- Return
Data - Stack-backed snapshot of CPI return data.
Constants§
- MAX_
RETURN_ DATA - Maximum Solana return-data payload length.
Functions§
- get_
return_ data - Read return data from the most recent CPI.
- set_
return_ data - Set return data for this instruction.
- try_
set_ return_ data - Set return data, rejecting payloads larger than Solana’s 1 KiB limit.