feat: upgrade to v3.3.4 with improved error handling and transaction details
- Add TradeError struct with code, message, and instruction fields - Enhance poll_transaction_confirmation to extract detailed error info from logs - Change buy/sell return type from Option<anyhow::Error> to Option<TradeError> - Add solana-transaction-status-client-types dependency - Remove unused parallel.rs module
This commit is contained in:
@@ -87,14 +87,14 @@ Add the dependency to your `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
# Add to your Cargo.toml
|
||||
sol-trade-sdk = { path = "./sol-trade-sdk", version = "3.3.3" }
|
||||
sol-trade-sdk = { path = "./sol-trade-sdk", version = "3.3.4" }
|
||||
```
|
||||
|
||||
### Use crates.io
|
||||
|
||||
```toml
|
||||
# Add to your Cargo.toml
|
||||
sol-trade-sdk = "3.3.3"
|
||||
sol-trade-sdk = "3.3.4"
|
||||
```
|
||||
|
||||
## 🛠️ Usage Examples
|
||||
|
||||
Reference in New Issue
Block a user