Expand description
Cross-program invocation.
Solana programs may call other programs, termed cross-program
invocations (CPI), with the invoke
and invoke_signed
functions.
This crate does not support overwriting syscall stubs for offchain code.
If you want to overwrite syscall stubs, use the wrapper functions in
solana_program::program
.
Constants§
- Maximum size that can be set using
set_return_data
.
Functions§
- Get the return data from an invoked program.
- Invoke a cross-program instruction.
- Invoke a cross-program instruction with program signatures.
- Invoke a cross-program instruction with signatures but don’t enforce Rust’s aliasing rules.
- Invoke a cross-program instruction but don’t enforce Rust’s aliasing rules.
- Set the running program’s return data.