Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions crates/sage-api/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
"get_minter_did_ids": true,
"get_pending_transactions": true,
"get_transactions": true,
"get_transactions_by_item_id": true,
"get_transaction": true,
"get_nft_collections": true,
"get_nft_collection": true,
"get_nfts": true,
Expand Down
28 changes: 0 additions & 28 deletions crates/sage-api/src/requests/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,34 +215,6 @@ pub struct GetTransactionsResponse {
pub total: u32,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "tauri", derive(specta::Type))]
pub struct GetTransactionsByItemId {
pub offset: u32,
pub limit: u32,
pub ascending: bool,
pub id: Option<String>,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "tauri", derive(specta::Type))]
pub struct GetTransactionsByItemIdResponse {
pub transactions: Vec<TransactionRecord>,
pub total: u32,
}

#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
#[cfg_attr(feature = "tauri", derive(specta::Type))]
pub struct GetTransaction {
pub height: u32,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "tauri", derive(specta::Type))]
pub struct GetTransactionResponse {
pub transaction: TransactionRecord,
}

#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
#[cfg_attr(feature = "tauri", derive(specta::Type))]
pub struct GetNftCollections {
Expand Down
Loading
Loading