Appearance
@props-labs/fuels • Docs
@props-labs/fuels / PropsSDK
Class: PropsSDK
Props
Classdesc
Props is the core class for the Props SDK, providing essential functionalities to interact with the Fuel network.
Constructors
new PropsSDK()
new PropsSDK(
options
):PropsSDK
Creates an instance of Props SDK.
Parameters
• options: PropsConfigurationOptions
The configuration options for Props SDK.
Returns
Defined in
core/core.ts:25
Properties
collections
collections:
CollectionManager
Defined in
core/core.ts:14
editions
editions:
EditionManager
Defined in
core/core.ts:13
events
events:
PropsEvents
Defined in
core/core.ts:15
utils
utils:
PropsUtilities
Defined in
core/core.ts:16
Methods
getHealth()
getHealth():
Promise
<any
>
Checks the health of the currently connected Fuel network API.
Returns
Promise
<any
>
A promise that resolves to the health status of the network.
Throws
If the GraphQL URL is not available for the current network.
Defined in
core/core.ts:88
getNetwork()
getNetwork():
Network
Returns the network configuration.
Returns
The network configuration.
Defined in
core/core.ts:79