21 lines
436 B
TypeScript
21 lines
436 B
TypeScript
|
|
export interface WalletState {
|
||
|
|
seedPhrase: string[] | null
|
||
|
|
receiverId: string | null
|
||
|
|
viewKey: string | null
|
||
|
|
address: string | null
|
||
|
|
network: 'mainnet' | 'testnet'
|
||
|
|
balance: string | null
|
||
|
|
utxos: any[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface GenerateSeedResult {
|
||
|
|
seed_phrase: string[]
|
||
|
|
receiver_identifier: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ViewKeyResult {
|
||
|
|
receiver_identifier: string
|
||
|
|
view_key: string
|
||
|
|
address: string
|
||
|
|
}
|