@exodus/blockchain-metadata
Version: 0.0.0
Interfaces
AccountStateChange
AccountStateClass
AccountStatesAtomValue
AddressAssetSource
Analytics
AssetsModule
AssetSource
Batch
BatchingChanges
BatchingReducerContext
BlockchainMetadata
BlockchainMetadataApi
BlockchainMetadataAtomValue
BlockchainMetadataDependencies
BlockchainMetadataReportValue
BlockchainMetadataValue
BlockchainQuery
BlockchainQueryDependencies
DeferredPromiseWithState
ErrorTracking
EventPort
JsonObject
LifecycleEvent
LoadedWalletAccountsPayload
OverwriteTxsParams
ReduxWalletAssetState
ReportExportParams
ReportNode
SanitizedTxLog
StorageNamespace
StoragePort
TxLogChange
TxLogsAtomValue
TxParams
TxWatcher
TxWatcherDependencies
UpdateAccountStateParams
AccountState
AccountStateChange
AccountStateClass
AccountStatesAtomValue
AddressAssetSource
Analytics
AssetsModule
AssetSource
Batch
BatchingChanges
BatchingReducerContext
BlockchainMetadata
BlockchainMetadataApi
BlockchainMetadataAtomValue
BlockchainMetadataDependencies
BlockchainMetadataReportValue
BlockchainMetadataValue
BlockchainQuery
BlockchainQueryDependencies
DeferredPromiseWithState
ErrorTracking
EventPort
JsonObject
LifecycleEvent
LoadedWalletAccountsPayload
OverwriteTxsParams
ReduxWalletAssetState
ReportExportParams
ReportNode
SanitizedTxLog
StorageNamespace
StoragePort
Tx
TxLogChange
TxLogsAtomValue
TxParams
TxSet
TxWatcher
TxWatcherDependencies
UpdateAccountStateParams
Functions
Type Aliases
AccountStateData
AccountStateMap
AccountStatesAtom
AccountStatesReduxState
Asset
AssetName
AssetsByName
BatchAction
BatchingReducer
BlockchainMetadataAtom
EarliestTxDateAtom
EnabledAssetsAtom
EnabledWalletAccountsAtom
Fusion
ISODate
JsonValue
NewlyReceivedTxLogs
ObserveTxLogs
OnCommit
SanitizedAccountStates
SanitizedTxLogs
SerializedAccountState
SerializedTx
TxInput
TxJson
TxLogMap
TxLogsAtom
TxLogsReduxState
WalletAccountName
WalletAccountsRecord
AccountStateData
AccountStateMap
AccountStatesAtom
AccountStatesReduxState
Asset
AssetName
AssetsByName
BatchAction
BatchingReducer
BlockchainMetadataAtom
EarliestTxDateAtom
EnabledAssetsAtom
EnabledWalletAccountsAtom
Fusion
ISODate
JsonValue
Logger
NewlyReceivedTxLogs
ObserveTxLogs
OnCommit
SanitizedAccountStates
SanitizedTxLogs
SerializedAccountState
SerializedTx
TxInput
TxJson
TxLogMap
TxLogsAtom
TxLogsReduxState
WalletAccountName
WalletAccountsRecord
Variables
blockchainMetadata
variable
Type
const blockchainMetadata: () => { ... }Signature
__type(): any
Returns:
anyProperties
definitions
any | any | any | any | any | any | any | any | any | any | any | any[]
AccountStateChange
interface
AccountStateClass
interface
Methods
create
fromJSON
serialize
Parameters:
value: AccountState
options (optional): any
Returns:
JsonObjectAccountStatesAtomValue
interface
AddressAssetSource
interface
Properties
address
string
assetName
string
walletAccount
string
Analytics
interface
Methods
requireDefaultEventProperties
requireDefaultEventProperties(properties: any): void
Parameters:
properties: any
Returns:
voidsetDefaultEventProperties
setDefaultEventProperties(payload: any): void
Parameters:
payload: any
Returns:
voidAssetsModule
interface
Methods
getAssets
getAssets(): AssetsByName
Returns:
AssetsByNameAssetSource
interface
Properties
assetName
string
walletAccount
string
Batch
interface
Methods
clearTxs
commit
commit(): Promise
Returns:
PromiseoverwriteTxs
removeAccountState
updateAccountState
updateAccountState(params: UpdateAccountStateParams): Batch
Parameters:
params: UpdateAccountStateParams
Returns:
BatchBatchingChanges
interface
BatchingReducerContext
interface
Methods
getAssets
getAssets(): AssetsByName
Returns:
AssetsByNamegetCachedAccountState
getCachedAccountState(assetSource: AssetSource): undefined | AccountState
Parameters:
assetSource: AssetSource
Returns:
undefined | AccountStategetCachedTxLog
getCachedTxLog(assetSource: AssetSource): undefined | TxSet
Parameters:
assetSource: AssetSource
Returns:
undefined | TxSetBlockchainMetadata
interface
Methods
clear
clear(): Promise
Returns:
PromiseclearTxs
getAccountState
getLoadedAccountStates
getLoadedAccountStates(): Promise
Returns:
PromisegetLoadedTxLogs
getLoadedTxLogs(): Promise
Returns:
PromisegetTxLog
load
load(): Promise
Returns:
Promiseon
on(eventName: string, listener: any): void
Parameters:
eventName: string
listener: any
Returns:
voidonce
once(eventName: string, listener: any): void
Parameters:
eventName: string
listener: any
Returns:
voidoverwriteTxs
overwriteTxs(params: OverwriteTxsParams): Promise
Parameters:
params: OverwriteTxsParams
Returns:
PromiseremoveAccountState
serializePayload
serializePayload(params: any): any
Parameters:
params: any
Returns:
anystop
stop(): void
Returns:
voidsync
sync(): void
Returns:
voidupdateAccountState
updateAccountState(params: UpdateAccountStateParams): Promise
Parameters:
params: UpdateAccountStateParams
Returns:
PromiseBlockchainMetadataApi
interface
Properties
blockchainMetadata
any
BlockchainMetadataAtomValue
interface
Properties
accountStateChanges?
newlyReceivedTxLogs?
txLogChanges?
BlockchainMetadataDependencies
interface
Properties
assetsModule
blockchainMetadataAtom
enabledWalletAccountsAtom
errorTracking
logger
storage
BlockchainMetadataReportValue
interface
BlockchainMetadataValue
interface
BlockchainQuery
interface
Methods
isUsedRecipientAddress
isUsedRecipientAddress(params: AddressAssetSource): Promise
Parameters:
params: AddressAssetSource
Returns:
PromiseBlockchainQueryDependencies
interface
Properties
blockchainMetadata
DeferredPromiseWithState
interface
Properties
promise
Promise
resolved?
boolean
started?
boolean
Methods
reject
reject(reason?: string | Error): void
Parameters:
reason (optional): string | Error
Returns:
voidresolve
resolve(value: T | PromiseLike): void
Parameters:
value: T | PromiseLike
Returns:
voidErrorTracking
interface
Methods
track
track(payload: any): void
Parameters:
payload: any
Returns:
voidEventPort
interface
Methods
emit
emit(eventName: "txLogs" | "accountStates", payload: any | any | any | any): void
Parameters:
eventName: "txLogs" | "accountStates"
payload: any | any | any | any
Returns:
voidJsonObject
interface
LifecycleEvent
interface
Properties
isLocked
boolean
LoadedWalletAccountsPayload
interface
Properties
walletAccounts
string[]
OverwriteTxsParams
interface
Properties
assetName
string
notifyReceivedTxs?
boolean
txs
any
walletAccount
string
ReduxWalletAssetState
interface
Properties
data
Record
error
null | string
loaded
boolean
ReportExportParams
interface
Properties
isLocked?
boolean
walletExists?
boolean
ReportNode
interface
Properties
namespace
"blockchainMetadata"
Methods
export
export(params?: ReportExportParams): Promise
Parameters:
params (optional): ReportExportParams
Returns:
PromisegetSchema
getSchema(): any
Returns:
anySanitizedTxLog
interface
Properties
coinName?
null | string
send?
null | boolean
StorageNamespace
interface
Methods
batchGet
batchGet(keys: any): Promise
Parameters:
keys: any
Returns:
Promiseclear
clear(): Promise
Returns:
Promiseset
set(key: string, value: Value): Promise
Parameters:
key: string
value: Value
Returns:
PromiseStoragePort
interface
Methods
namespace
TxLogChange
interface
TxLogsAtomValue
TxParams
interface
Properties
assetName
string
txs
any
walletAccount
string
TxWatcher
interface
Methods
watch
watch(params: any): Promise
Parameters:
params: any
Returns:
PromiseTxWatcherDependencies
interface
Properties
txLogsAtom
UpdateAccountStateParams
interface
AccountStateData
type
AccountStateMap
type
AccountStatesAtom
type
AccountStatesReduxState
type
Asset
type
AssetName
type
AssetsByName
type
BatchAction
type
BatchingReducer
type
BlockchainMetadataAtom
type
EarliestTxDateAtom
type
EnabledAssetsAtom
type
EnabledWalletAccountsAtom
type
Fusion
type
ISODate
type
JsonValue
type
NewlyReceivedTxLogs
type
ObserveTxLogs
type
OnCommit
type
SanitizedAccountStates
type
SanitizedTxLogs
type
SerializedAccountState
type
SerializedTx
type
TxInput
type
TxJson
type
TxLogMap
type
TxLogsAtom
type
TxLogsReduxState
type
WalletAccountName
type
WalletAccountsRecord
type
blockchainMetadata
function
Signature
blockchainMetadata(): any
Returns:
anyAccountState
interface
Properties
_version?
number
Methods
equals
Parameters:
other: AccountState
opts (optional): any
Returns:
booleantoJSON
toJSON(opts?: any): any
Parameters:
opts (optional): any
Returns:
anytoRedactedJSON
toRedactedJSON(): any
Returns:
anyAccountStateChange
interface
AccountStateClass
interface
Methods
create
fromJSON
serialize
Parameters:
value: AccountState
options (optional): any
Returns:
JsonObjectAccountStatesAtomValue
interface
AddressAssetSource
interface
Properties
address
string
assetName
string
walletAccount
string
Analytics
interface
Methods
requireDefaultEventProperties
requireDefaultEventProperties(properties: any): void
Parameters:
properties: any
Returns:
voidsetDefaultEventProperties
setDefaultEventProperties(payload: any): void
Parameters:
payload: any
Returns:
voidAssetsModule
interface
Methods
getAssets
getAssets(): AssetsByName
Returns:
AssetsByNameAssetSource
interface
Properties
assetName
string
walletAccount
string
Batch
interface
Methods
clearTxs
commit
commit(): Promise
Returns:
PromiseoverwriteTxs
removeAccountState
updateAccountState
updateAccountState(params: UpdateAccountStateParams): Batch
Parameters:
params: UpdateAccountStateParams
Returns:
BatchBatchingChanges
interface
BatchingReducerContext
interface
Methods
getAssets
getAssets(): AssetsByName
Returns:
AssetsByNamegetCachedAccountState
getCachedAccountState(assetSource: AssetSource): undefined | AccountState
Parameters:
assetSource: AssetSource
Returns:
undefined | AccountStategetCachedTxLog
getCachedTxLog(assetSource: AssetSource): undefined | TxSet
Parameters:
assetSource: AssetSource
Returns:
undefined | TxSetBlockchainMetadata
interface
Methods
clear
clear(): Promise
Returns:
PromiseclearTxs
getAccountState
getLoadedAccountStates
getLoadedAccountStates(): Promise
Returns:
PromisegetLoadedTxLogs
getLoadedTxLogs(): Promise
Returns:
PromisegetTxLog
load
load(): Promise
Returns:
Promiseon
on(eventName: string, listener: any): void
Parameters:
eventName: string
listener: any
Returns:
voidonce
once(eventName: string, listener: any): void
Parameters:
eventName: string
listener: any
Returns:
voidoverwriteTxs
overwriteTxs(params: OverwriteTxsParams): Promise
Parameters:
params: OverwriteTxsParams
Returns:
PromiseremoveAccountState
serializePayload
serializePayload(params: any): any
Parameters:
params: any
Returns:
anystop
stop(): void
Returns:
voidsync
sync(): void
Returns:
voidupdateAccountState
updateAccountState(params: UpdateAccountStateParams): Promise
Parameters:
params: UpdateAccountStateParams
Returns:
PromiseBlockchainMetadataApi
interface
Properties
blockchainMetadata
any
BlockchainMetadataAtomValue
interface
Properties
accountStateChanges?
newlyReceivedTxLogs?
txLogChanges?
BlockchainMetadataDependencies
interface
Properties
assetsModule
blockchainMetadataAtom
enabledWalletAccountsAtom
errorTracking
logger
storage
BlockchainMetadataReportValue
interface
BlockchainMetadataValue
interface
BlockchainQuery
interface
Methods
isUsedRecipientAddress
isUsedRecipientAddress(params: AddressAssetSource): Promise
Parameters:
params: AddressAssetSource
Returns:
PromiseBlockchainQueryDependencies
interface
Properties
blockchainMetadata
DeferredPromiseWithState
interface
Properties
promise
Promise
resolved?
boolean
started?
boolean
Methods
reject
reject(reason?: string | Error): void
Parameters:
reason (optional): string | Error
Returns:
voidresolve
resolve(value: T | PromiseLike): void
Parameters:
value: T | PromiseLike
Returns:
voidErrorTracking
interface
Methods
track
track(payload: any): void
Parameters:
payload: any
Returns:
voidEventPort
interface
Methods
emit
emit(eventName: "txLogs" | "accountStates", payload: any | any | any | any): void
Parameters:
eventName: "txLogs" | "accountStates"
payload: any | any | any | any
Returns:
voidJsonObject
interface
LifecycleEvent
interface
Properties
isLocked
boolean
LoadedWalletAccountsPayload
interface
Properties
walletAccounts
string[]
OverwriteTxsParams
interface
Properties
assetName
string
notifyReceivedTxs?
boolean
txs
any
walletAccount
string
ReduxWalletAssetState
interface
Properties
data
Record
error
null | string
loaded
boolean
ReportExportParams
interface
Properties
isLocked?
boolean
walletExists?
boolean
ReportNode
interface
Properties
namespace
"blockchainMetadata"
Methods
export
export(params?: ReportExportParams): Promise
Parameters:
params (optional): ReportExportParams
Returns:
PromisegetSchema
getSchema(): any
Returns:
anySanitizedTxLog
interface
Properties
coinName?
null | string
send?
null | boolean
StorageNamespace
interface
Methods
batchGet
batchGet(keys: any): Promise
Parameters:
keys: any
Returns:
Promiseclear
clear(): Promise
Returns:
Promiseset
set(key: string, value: Value): Promise
Parameters:
key: string
value: Value
Returns:
PromiseStoragePort
interface
Methods
namespace
Tx
interface
Properties
addresses
coinAmount?
coinName?
string
confirmations
number
currencies
Record
data
Record
date
Date
dropped?
boolean
error?
null | string
feeAmount?
feeCoinName?
string
from
string[]
meta
Record
selfSend
boolean
to?
string
tokens
string[]
txId?
string
version
number
Methods
clone
clone(): any
Returns:
anytoRedactedJSON
toRedactedJSON(): Partial
Returns:
PartialtoString
toString(): string
Returns:
stringAccessors
accepted
confirmed
failed
pending
received
sent
token
TxLogChange
interface
TxLogsAtomValue
TxParams
interface
Properties
assetName
string
txs
any
walletAccount
string
TxSet
interface
Methods
[iterator]
[iterator](): MapIterator
Returns:
MapIteratorgetMutations
getMutations(): any[]
Returns:
any[]reverse
reverse(): any
Returns:
anytoRedactedJSON
toRedactedJSON(): Partial[]
Returns:
Partial[]Accessors
size
TxWatcher
interface
Methods
watch
watch(params: any): Promise
Parameters:
params: any
Returns:
PromiseTxWatcherDependencies
interface
Properties
txLogsAtom
UpdateAccountStateParams
interface
AccountStateData
type
AccountStateMap
type
AccountStatesAtom
type
AccountStatesReduxState
type
Asset
type
AssetName
type
AssetsByName
type
BatchAction
type
BatchingReducer
type
BlockchainMetadataAtom
type
EarliestTxDateAtom
type
EnabledAssetsAtom
type
EnabledWalletAccountsAtom
type
Fusion
type
ISODate
type
JsonValue
type
Logger
type
NewlyReceivedTxLogs
type
ObserveTxLogs
type
OnCommit
type
SanitizedAccountStates
type
SanitizedTxLogs
type
SerializedAccountState
type
SerializedTx
type
TxInput
type
TxJson
type
TxLogMap
type
TxLogsAtom
type
TxLogsReduxState
type
WalletAccountName
type
WalletAccountsRecord
type
