sol-shred-sdk 3.0.1

Multi-source Solana shred decoding and multi-DEX event parsing SDK.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug, thiserror::Error)]
pub enum ClientError {
    #[error("Parse error: {0} - {1}")]
    Parse(String, String),
    #[error("Invalid data: {0}")]
    InvalidData(String), // 添加这一行
    #[error("Other error: {0}")]
    Other(String),
}

pub type ClientResult<T> = Result<T, ClientError>;