Function solana_program::program::set_return_data
source · pub fn set_return_data(data: &[u8])
Expand description
Set the running program’s return data.
Return data is a dedicated per-transaction buffer for data passed from cross-program invoked programs back to their caller.
The maximum size of return data is MAX_RETURN_DATA
. Return data is
retrieved by the caller with get_return_data
.