chore: enhance .gitignore and remove obsolete documentation files - Reorganize .gitignore with categorized sections for better maintainability - Add comprehensive ignore patterns for Python, Node.js, databases, logs, and build artifacts - Add project-specific ignore rules for coordinator, explorer, and deployment files - Remove outdated documentation: BITCOIN-WALLET-SETUP.md, LOCAL_ASSETS_SUMMARY.md, README-CONTAINER-DEPLOYMENT.md, README-DOMAIN-DEPLOYMENT.md ```
71 lines
1.4 KiB
TypeScript
71 lines
1.4 KiB
TypeScript
export interface BlockSummary {
|
|
height: number;
|
|
hash: string;
|
|
timestamp: string;
|
|
txCount: number;
|
|
proposer: string;
|
|
}
|
|
|
|
export interface BlockListResponse {
|
|
items: BlockSummary[];
|
|
next_offset?: number | string | null;
|
|
}
|
|
|
|
export interface TransactionSummary {
|
|
hash: string;
|
|
block: number | string;
|
|
from: string;
|
|
to: string | null;
|
|
value: string;
|
|
status: string;
|
|
}
|
|
|
|
export interface TransactionListResponse {
|
|
items: TransactionSummary[];
|
|
next_offset?: number | string | null;
|
|
}
|
|
|
|
export interface AddressSummary {
|
|
address: string;
|
|
balance: string;
|
|
txCount: number;
|
|
lastActive: string;
|
|
recentTransactions?: string[];
|
|
}
|
|
|
|
export interface AddressDetailResponse extends AddressSummary {}
|
|
export interface AddressListResponse {
|
|
items: AddressSummary[];
|
|
next_offset?: number | string | null;
|
|
}
|
|
|
|
export interface ReceiptSummary {
|
|
receiptId: string;
|
|
jobId?: string;
|
|
miner: string;
|
|
coordinator: string;
|
|
issuedAt: string;
|
|
status: string;
|
|
payload?: {
|
|
job_id?: string;
|
|
provider?: string;
|
|
client?: string;
|
|
units?: number;
|
|
unit_type?: string;
|
|
unit_price?: number;
|
|
price?: number;
|
|
minerSignature?: string;
|
|
coordinatorSignature?: string;
|
|
signature?: {
|
|
alg?: string;
|
|
key_id?: string;
|
|
sig?: string;
|
|
};
|
|
};
|
|
}
|
|
|
|
export interface ReceiptListResponse {
|
|
jobId: string;
|
|
items: ReceiptSummary[];
|
|
}
|