Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
66
impl Default for TransferSolInstructionData {
Callers
2
instruction_with_remaining_accounts
Method · 0.45
invoke_signed_with_remaining_accounts
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected