Preparing search index...
The search index is not available
Aleph Indexer Framework for Solana/Ethereum/BSC
Aleph Indexer Framework for Solana/Ethereum/BSC
Ethereum Indexer Framework
EthereumFetcher
Class EthereumFetcher
Hierarchy
BaseFetcher
EthereumFetcher
Implements
BlockchainFetcherI
Index
Constructors
constructor
Properties
block
History
Fetcher
blockchain
Fetcher
Client
blockchain
Id
entity
Fetchers
fetcher
Client
Methods
add
Account
Entity
Fetcher
del
Account
Entity
Fetcher
del
Entity
Cache
fetch
Account
Entities
By
Date
fetch
Entities
By
Id
get
Account
Entity
Fetcher
State
get
Entity
Fetcher
Instance
get
Entity
State
get
Fetcher
Id
get
Fetcher
State
map
Account
map
Entity
Ids
start
stop
Constructors
constructor
new
Ethereum
Fetcher
(
fetcherClient
:
FetcherMsClient
, blockHistoryFetcher
:
EthereumBlockHistoryFetcher
, entityFetchers
:
Partial
<
Record
<
IndexableEntityType
,
BaseEntityFetcherMain
<
any
,
any
,
any
>
>
>
, blockchainId
?:
Blockchain
)
:
EthereumFetcher
Parameters
fetcherClient:
FetcherMsClient
blockHistoryFetcher:
EthereumBlockHistoryFetcher
entityFetchers:
Partial
<
Record
<
IndexableEntityType
,
BaseEntityFetcherMain
<
any
,
any
,
any
>
>
>
blockchainId:
Blockchain
= Blockchain.Ethereum
Returns
EthereumFetcher
Properties
Protected
block
History
Fetcher
block
History
Fetcher
:
EthereumBlockHistoryFetcher
Protected
blockchain
Fetcher
Client
blockchain
Fetcher
Client
:
FetcherClientI
Protected
blockchain
Id
blockchain
Id
:
Blockchain
= Blockchain.Ethereum
Protected
entity
Fetchers
entity
Fetchers
:
Partial
<
Record
<
IndexableEntityType
,
BaseEntityFetcherMain
<
any
,
any
,
any
>
>
>
Protected
fetcher
Client
fetcher
Client
:
FetcherMsClient
Methods
add
Account
Entity
Fetcher
add
Account
Entity
Fetcher
(
args
:
AddAccountEntityRequestArgs
)
:
Promise
<
void
>
Parameters
args:
AddAccountEntityRequestArgs
Returns
Promise
<
void
>
del
Account
Entity
Fetcher
del
Account
Entity
Fetcher
(
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
Entity
Fetcher
State
get
Account
Entity
Fetcher
State
(
args
:
GetAccountEntityStateRequestArgs
)
:
Promise
<
undefined
|
AccountEntityHistoryState
<
any
>
>
Parameters
args:
GetAccountEntityStateRequestArgs
Returns
Promise
<
undefined
|
AccountEntityHistoryState
<
any
>
>
Protected
get
Entity
Fetcher
Instance
get
Entity
Fetcher
Instance
(
type
:
IndexableEntityType
)
:
BaseEntityFetcherMain
<
unknown
,
AccountEntityHistoryStorageEntity
,
RawEntity
>
Parameters
type:
IndexableEntityType
Returns
BaseEntityFetcherMain
<
unknown
,
AccountEntityHistoryStorageEntity
,
RawEntity
>
get
Entity
State
get
Entity
State
(
args
:
CheckEntityRequestArgs
)
:
Promise
<
EntityState
[]
>
Parameters
args:
CheckEntityRequestArgs
Returns
Promise
<
EntityState
[]
>
Protected
get
Fetcher
Id
get
Fetcher
Id
(
)
:
string
Returns
string
get
Fetcher
State
get
Fetcher
State
(
args
:
FetcherStateRequestArgs
)
:
Promise
<
EthereumFetcherState
>
Parameters
args:
FetcherStateRequestArgs
Returns
Promise
<
EthereumFetcherState
>
Protected
map
Account
map
Account
(
args
:
{
account
:
string
;
}
)
:
string
Parameters
args:
{
account
:
string
;
}
account
:
string
Returns
string
Protected
map
Entity
Ids
map
Entity
Ids
(
args
:
{
ids
:
string
[]
;
type
:
IndexableEntityType
;
}
)
:
string
[]
Parameters
args:
{
ids
:
string
[]
;
type
:
IndexableEntityType
;
}
ids
:
string
[]
type
:
IndexableEntityType
Returns
string
[]
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
Ethereum
Fetcher
constructor
block
History
Fetcher
blockchain
Fetcher
Client
blockchain
Id
entity
Fetchers
fetcher
Client
add
Account
Entity
Fetcher
del
Account
Entity
Fetcher
del
Entity
Cache
fetch
Account
Entities
By
Date
fetch
Entities
By
Id
get
Account
Entity
Fetcher
State
get
Entity
Fetcher
Instance
get
Entity
State
get
Fetcher
Id
get
Fetcher
State
map
Account
map
Entity
Ids
start
stop
Generated using
TypeDoc