Preparing search index...
The search index is not available
@superfluid-finance/sdk-redux
@superfluid-finance/sdk-redux
_sdkCore
IndexQueryHandler
Class IndexQueryHandler
A base class to handle common Subgraph query logic.
Hierarchy (
view full
)
SubgraphQueryHandler
<
Index
,
IndexListQuery
,
IndexesQuery
,
IndexesQueryVariables
>
IndexQueryHandler
Index
Constructors
constructor
Properties
get
Address
Field
Keys
From
Filter
get
Relevant
Addresses
From
Result
Core
map
From
Subgraph
Response
request
Document
Methods
get
get
Relevant
Addresses
From
Filter
get
Relevant
Addresses
From
Result
list
query
Subgraph
Constructors
constructor
new
Index
Query
Handler
(
)
:
IndexQueryHandler
Returns
IndexQueryHandler
Properties
get
Address
Field
Keys
From
Filter
get
Address
Field
Keys
From
Filter
:
(
(
)
=>
{
accountKeys
:
(
keyof
Index_Filter
)
[]
;
tokenKeys
:
(
keyof
Index_Filter
)
[]
;
}
)
Type declaration
(
)
:
{
accountKeys
:
(
keyof
Index_Filter
)
[]
;
tokenKeys
:
(
keyof
Index_Filter
)
[]
;
}
Returns
{
accountKeys
:
(
keyof
Index_Filter
)
[]
;
tokenKeys
:
(
keyof
Index_Filter
)
[]
;
}
account
Keys
:
(
keyof
Index_Filter
)
[]
token
Keys
:
(
keyof
Index_Filter
)
[]
get
Relevant
Addresses
From
Result
Core
get
Relevant
Addresses
From
Result
Core
:
(
(
result
)
=>
RelevantAddressesIntermediate
)
Type declaration
(
result
)
:
RelevantAddressesIntermediate
Parameters
result
:
Index
Returns
RelevantAddressesIntermediate
map
From
Subgraph
Response
map
From
Subgraph
Response
:
(
(
response
)
=>
Index
[]
)
Type declaration
(
response
)
:
Index
[]
Parameters
response
:
IndexesQuery
Returns
Index
[]
request
Document
request
Document
:
TypedDocumentNode
<
IndexesQuery
,
Exact
<
{
block
?:
InputMaybe
<
Block_Height
>
;
first
?:
InputMaybe
<
number
>
;
orderBy
?:
InputMaybe
<
Index_OrderBy
>
;
orderDirection
?:
InputMaybe
<
OrderDirection
>
;
skip
?:
InputMaybe
<
number
>
;
where
?:
InputMaybe
<
Index_Filter
>
;
}
>
>
Methods
get
get
(
subgraphClient
,
query
)
:
Promise
<
null
|
Index
>
Parameters
subgraphClient
:
SubgraphClient
query
:
SubgraphGetQuery
Returns
Promise
<
null
|
Index
>
get
Relevant
Addresses
From
Filter
get
Relevant
Addresses
From
Filter
(
filter
?
)
:
RelevantAddresses
Parameters
Optional
filter
:
Index_Filter
Returns
RelevantAddresses
get
Relevant
Addresses
From
Result
get
Relevant
Addresses
From
Result
(
result
?
)
:
RelevantAddresses
Parameters
Optional
result
:
null
|
Index
Returns
RelevantAddresses
list
list
(
subgraphClient
,
query
)
:
Promise
<
PagedResult
<
Index
>
>
Parameters
subgraphClient
:
SubgraphClient
query
:
SubgraphListQuery
<
Index_Filter
,
Index_OrderBy
>
Returns
Promise
<
PagedResult
<
Index
>
>
Protected
query
Subgraph
query
Subgraph
(
subgraphClient
,
variables
)
:
Promise
<
IndexesQuery
>
Parameters
subgraphClient
:
SubgraphClient
variables
:
Exact
<
{
block
?:
InputMaybe
<
Block_Height
>
;
first
?:
InputMaybe
<
number
>
;
orderBy
?:
InputMaybe
<
Index_OrderBy
>
;
orderDirection
?:
InputMaybe
<
OrderDirection
>
;
skip
?:
InputMaybe
<
number
>
;
where
?:
InputMaybe
<
Index_Filter
>
;
}
>
Returns
Promise
<
IndexesQuery
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
get
Address
Field
Keys
From
Filter
get
Relevant
Addresses
From
Result
Core
map
From
Subgraph
Response
request
Document
get
get
Relevant
Addresses
From
Filter
get
Relevant
Addresses
From
Result
list
query
Subgraph
@superfluid-finance/sdk-redux
_sdkCore
AccountQuery
AccountTokenSnapshotLogQuery
AccountTokenSnapshotLogsQuery
AccountTokenSnapshotQuery
AccountTokenSnapshotsQuery
AccountsQuery
BasePaginatedQuery
BaseQuery
BaseSuperTokenMutation
CustomSubgraphQuery
EventQuery
EventsQuery
FlowCreateMutation
FlowDeleteMutation
FlowOperatorQuery
FlowOperatorsQuery
FlowUpdateMutation
FlowUpdatedEventQuery
FlowUpdatedEventsQuery
IndexCreateMutation
Loading...
Generated using
TypeDoc
A base class to handle common Subgraph query logic.