-unoffical-
Default Limit: 150 requests/ 30 seconds, 100k requests / day
If you find any issues please create an Issue and provide the following data:
Example: Fetching last 10 Blocks form Solana-Blockchain via SolscanAPI
```rust use solscanapi::enums::solscanerrors;
async fn main() -> Result<(), solscanerrors::SolscanError> { let solscanapi = solscanapi::solscan::SolscanAPI::new(); let result = solscanapi.getblocklast(Some(10)).await.unwrap();
println!("{:?}", result);
Ok(())
} ```
More examples can be found under /src/tests/test_endpoints in this repo.
BaseURL: https://public-api.solscan.io/
| State* | Type | Endpoint |
|--------|-------|------------------------|
| ✅ | GET | /block/last
|
| ✅ | GET | /block/transaction
|
| ✅ | GET | /block/{block}
|
| State* | Type | Endpoint |
|--------|-------|--------------------------------|
| ✅ | GET | /transaction/last
|
| ✅ | GET | /transaction/{signature}
|
| State* | Type | Endpoint |
|--------|-------|---------------------------------|
| ✅ | GET | /account/tokens
|
| ✅ | GET | /account/transactions
|
| ✅ | GET | /account/stakeAccounts
|
| ✅ | GET | /account/splTransfers
|
| ✅ | GET | /account/solTransfers
|
| ✅ | GET | /account/exportTransactions
|
| ⛔ | GET | /account/{account}
|
| State* | Type | Endpoint |
|--------|-------|---------------------|
| ✅ | GET | /token/holders
|
| ✅ | GET | /token/meta
|
| ⛔ | GET | /token/list
|
| State* | Type | Endpoint |
|--------|-------|-----------------------------------|
| ✅ | GET | /market/token/{tokenAddress}
|
| State* | Type | Endpoint |
|--------|-------|-------------------|
| ✅ | GET | /chaininfo/
|
| State* | Type | Endpoint |
|--------|-------|---------------|
| ⛔ | GET | /Tools/
|
If you want to get me a ☕ so I won't 😴
BSW9zp3iJUcemTVWN4EThcaF6FxBQqP2wgnapSt1Z5mt
coffeeplease.sol