@sentio/sdk
Preparing search index...
move
ChainAdapter
Class ChainAdapter<ModuleType, StructType>
Abstract
Type Parameters
ModuleType
StructType
Index
Constructors
constructor
Methods
fetch
Module
fetch
Modules
get
All
Event
Structs
get
Chain
Id
get
Data
get
Meaningful
Function
Params
get
Type
to
Internal
Modules
Constructors
constructor
new
ChainAdapter
<
ModuleType
,
StructType
>
()
:
ChainAdapter
<
ModuleType
,
StructType
>
Type Parameters
ModuleType
StructType
Returns
ChainAdapter
<
ModuleType
,
StructType
>
Methods
Abstract
fetch
Module
fetchModule
(
account
:
string
,
module
:
string
)
:
Promise
<
ModuleType
>
Parameters
account
:
string
module
:
string
Returns
Promise
<
ModuleType
>
Abstract
fetch
Modules
fetchModules
(
account
:
string
)
:
Promise
<
ModuleType
[]
>
Parameters
account
:
string
Returns
Promise
<
ModuleType
[]
>
Abstract
get
All
Event
Structs
getAllEventStructs
(
module
:
InternalMoveModule
[]
,
)
:
Map
<
string
,
InternalMoveStruct
>
Parameters
module
:
InternalMoveModule
[]
Returns
Map
<
string
,
InternalMoveStruct
>
Abstract
get
Chain
Id
getChainId
()
:
Promise
<
string
>
Returns
Promise
<
string
>
Abstract
get
Data
getData
<
T
>
(
base
:
StructType
)
:
any
Type Parameters
T
Parameters
base
:
StructType
Returns
any
Abstract
get
Meaningful
Function
Params
getMeaningfulFunctionParams
(
params
:
TypeDescriptor
<
any
>
[]
,
)
:
TypeDescriptor
<
any
>
[]
Parameters
params
:
TypeDescriptor
<
any
>
[]
Returns
TypeDescriptor
<
any
>
[]
Abstract
get
Type
getType
(
base
:
StructType
)
:
string
Parameters
base
:
StructType
Returns
string
Abstract
to
Internal
Modules
toInternalModules
(
modules
:
ModuleType
[]
)
:
InternalMoveModule
[]
Parameters
modules
:
ModuleType
[]
Returns
InternalMoveModule
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
fetch
Module
fetch
Modules
get
All
Event
Structs
get
Chain
Id
get
Data
get
Meaningful
Function
Params
get
Type
to
Internal
Modules
@sentio/sdk
Loading...