Commit a03d161b authored by tom's avatar tom

add types

parent 206d2e9c
export interface AddressTag {
addressHash: string;
tagName: string;
visibilityLevel: boolean;
}
export type AddressTags = Array<AddressTag>
export interface ApiKey {
apiKey: string;
apiKeyName: string;
}
export type ApiKeys = Array<ApiKey>
export interface ModelError {
message: string;
}
export interface NotificationDirection {
incoming: boolean;
outcoming: boolean;
}
export interface NotificationSettings {
_native?: NotificationDirection;
erc20?: NotificationDirection;
erc7211155?: NotificationDirection;
}
export interface Transaction {
fromAddressHash?: string;
toAddressHash?: string;
createdContractAddressHash?: string;
}
export interface TransactionTag {
transactionHash: string;
tagName: string;
visibilityLevel: boolean;
}
export type TransactionTags = Array<TransactionTag>
export type Transactions = Array<Transaction>
export interface UserInfo {
name?: string;
nickname?: string;
email?: string;
}
export interface WatchlistAddress {
addressHash: string;
addressName: string;
addressBalance: number;
coinName: string;
exchangeRate?: number;
notificationSettings: NotificationSettings;
}
export interface WatchlistAddressNew {
addressName: string;
notificationSettings: NotificationSettings;
}
export type WatchlistAddresses = Array<WatchlistAddress>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment