Preparing search index...
The search index is not available
Aleph Indexer Framework for Solana/Ethereum/BSC
Aleph Indexer Framework for Solana/Ethereum/BSC
Indexer Framework
BaseEntityFetcherMain
Class BaseEntityFetcherMain<CU, HE, RE>
Type Parameters
CU
HE
extends
AccountEntityHistoryStorageEntity
=
AccountEntityHistoryStorageEntity
RE
extends
RawEntity
=
RawEntity
Hierarchy
BaseEntityFetcherMain
Index
Constructors
constructor
Properties
entity
Fetcher
entity
History
Fetcher
type
Methods
add
Account
del
Account
del
Entity
Cache
fetch
Account
Entities
By
Date
fetch
Entities
By
Id
get
Account
State
get
Entity
State
get
State
start
stop
Constructors
constructor
new
Base
Entity
Fetcher
Main
<
CU
,
HE
,
RE
>
(
type
:
IndexableEntityType
, entityFetcher
:
BaseEntityFetcher
<
RE
>
, entityHistoryFetcher
:
BaseEntityHistoryFetcher
<
CU
,
HE
>
)
:
BaseEntityFetcherMain
<
CU
,
HE
,
RE
>
Type Parameters
CU
HE
extends
AccountEntityHistoryStorageEntity
=
AccountEntityHistoryStorageEntity
RE
extends
RawEntity
=
RawEntity
Parameters
type:
IndexableEntityType
entityFetcher:
BaseEntityFetcher
<
RE
>
entityHistoryFetcher:
BaseEntityHistoryFetcher
<
CU
,
HE
>
Returns
BaseEntityFetcherMain
<
CU
,
HE
,
RE
>
Properties
Protected
entity
Fetcher
entity
Fetcher
:
BaseEntityFetcher
<
RE
>
Protected
entity
History
Fetcher
entity
History
Fetcher
:
BaseEntityHistoryFetcher
<
CU
,
HE
>
Protected
type
type
:
IndexableEntityType
Methods
add
Account
add
Account
(
args
:
AddAccountEntityRequestArgs
)
:
Promise
<
void
>
Parameters
args:
AddAccountEntityRequestArgs
Returns
Promise
<
void
>
del
Account
del
Account
(
args
:
DelAccountEntityRequestArgs
)
:
Promise
<
void
>
Parameters
args:
DelAccountEntityRequestArgs
Returns
Promise
<
void
>
del
Entity
Cache
del
Entity
Cache
(
args
:
DelEntityRequestArgs
)
:
Promise
<
void
>
Parameters
args:
DelEntityRequestArgs
Returns
Promise
<
void
>
fetch
Account
Entities
By
Date
fetch
Account
Entities
By
Date
(
args
:
FetchAccountEntitiesByDateRequestArgs
)
:
Promise
<
void
|
AsyncIterable
<
string
[]
>
>
Parameters
args:
FetchAccountEntitiesByDateRequestArgs
Returns
Promise
<
void
|
AsyncIterable
<
string
[]
>
>
fetch
Entities
By
Id
fetch
Entities
By
Id
(
args
:
FetchEntitiesByIdRequestArgs
)
:
Promise
<
void
>
Parameters
args:
FetchEntitiesByIdRequestArgs
Returns
Promise
<
void
>
get
Account
State
get
Account
State
(
args
:
GetAccountEntityStateRequestArgs
)
:
Promise
<
undefined
|
AccountEntityHistoryState
<
CU
>
>
Parameters
args:
GetAccountEntityStateRequestArgs
Returns
Promise
<
undefined
|
AccountEntityHistoryState
<
CU
>
>
get
Entity
State
get
Entity
State
(
args
:
CheckEntityRequestArgs
)
:
Promise
<
EntityState
[]
>
Parameters
args:
CheckEntityRequestArgs
Returns
Promise
<
EntityState
[]
>
get
State
get
State
(
)
:
Promise
<
AccountEntityFetcherMainState
>
Returns
Promise
<
AccountEntityFetcherMainState
>
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
Aleph
Indexer
Framework for
Solana/
Ethereum/BSC
Bsc
Indexer
Framework
Ethereum
Indexer
Framework
Indexer
Core
Utils
Indexer
Framework
Solana
Indexer
Framework
buffer
Layouts
Base
Entity
Fetcher
Main
constructor
entity
Fetcher
entity
History
Fetcher
type
add
Account
del
Account
del
Entity
Cache
fetch
Account
Entities
By
Date
fetch
Entities
By
Id
get
Account
State
get
Entity
State
get
State
start
stop
Generated using
TypeDoc