Add more API documentation for Rust RpcClient (#19021)
* Add doc links to Transaction API docs * Add more RpcClient API docs * Reflow some rpc_client docs * Update client/src/rpc_client.rs Co-authored-by: Tyera Eulberg <teulberg@gmail.com> * Update client/src/rpc_client.rs Co-authored-by: Tyera Eulberg <teulberg@gmail.com> * Update client/src/rpc_client.rs Co-authored-by: Tyera Eulberg <teulberg@gmail.com> * Update sdk/src/transaction.rs Co-authored-by: Tyera Eulberg <teulberg@gmail.com> * Update RpcClient docs per review Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
@ -113,9 +113,12 @@ impl From<SanitizeError> for TransactionError {
|
||||
#[frozen_abi(digest = "AAeVxvWiiotwxDLxKLxsfgkA6ndW74nVbaAEb6cwJYqR")]
|
||||
#[derive(Debug, PartialEq, Default, Eq, Clone, Serialize, Deserialize, AbiExample)]
|
||||
pub struct Transaction {
|
||||
/// A set of digital signatures of `account_keys`, `program_ids`, `recent_blockhash`, and `instructions`, signed by the first
|
||||
/// signatures.len() keys of account_keys
|
||||
/// NOTE: Serialization-related changes must be paired with the direct read at sigverify.
|
||||
/// A set of digital signatures of a serialized [`Message`], signed by the
|
||||
/// first `signatures.len()` keys of [`account_keys`].
|
||||
///
|
||||
/// [`account_keys`]: Message::account_keys
|
||||
///
|
||||
// NOTE: Serialization-related changes must be paired with the direct read at sigverify.
|
||||
#[serde(with = "short_vec")]
|
||||
pub signatures: Vec<Signature>,
|
||||
|
||||
|
Reference in New Issue
Block a user