MCPcopy Create free account
hub / github.com/solana-program/system / try_to_vec

Method try_to_vec

clients/rust/src/generated/instructions/transfer_sol.rs:61–63  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

59 }
60
61 pub(crate) fn try_to_vec(&self) -> Result<Vec<u8>, std::io::Error> {
62 borsh::to_vec(self)
63 }
64}
65
66impl Default for TransferSolInstructionData {

Calls

no outgoing calls

Tested by

no test coverage detected