@berrywallet/core
Version:
Berrywallet main Core for work with common cryptocurrencies like Bitcoin, Ethereum, Dash, Litecoin
29 lines (28 loc) • 738 B
TypeScript
declare namespace ethereumBlockcypher {
type Transaction = {
tx_hash: string;
block_height: number;
tx_input_n: number;
tx_output_n: number;
value: number;
ref_balance: number;
confirmations: number;
confirmed: string;
double_spend: boolean;
};
type AddressInfo = {
address: string;
total_received: number;
total_sent: number;
balance: number;
unconfirmed_balance: number;
final_balance: number;
n_tx: number;
unconfirmed_n_tx: number;
final_n_tx: number;
txrefs: Transaction[];
hasMore: boolean;
tx_url: string;
};
}
export default ethereumBlockcypher;