Search
Preparing search index...
The search index is not available
Subsocial JS SDK
Options
All
Public
Public/Protected
All
Menu
Exports
API
DTO
Interfaces
Basic
Subsocial
Api
Subsocial
Api
Subsocial
Ipfs
Api
Subsocial
Substrate
Api
Substrate
Connect
constructor
api
connected
connect
disconnect
log
Chain
Info
Find
Structs
Fns
Subsocial
Api
Props
Subsocial
Ipfs
Props
Supported
Substrate
Id
Supported
Substrate
Result
Api
as
Account
Id
as
Ipfs
Cid
content
Filter
create
Resolve
Subsocial
Api
get
Api
get
Cids
OfStructs
get
Ipfs
Cid
OfSocial
Account
get
Ipfs
Cid
OfStruct
get
Post
IdFrom
Extension
get
Shared
Post
Id
get
Unique
Ids
is
Empty
Content
is
Empty
Ipfs
Content
is
Hidden
is
Ipfs
is
Public
is
Unlisted
is
Valid
Ipfs
Cid
is
Visible
load
And
Set
Post
Related
Structs
new
Subsocial
Api
not
Empty
Ipfs
Content
resolve
Cid
OfContent
visibility
Filter
Hierarchy
SubstrateConnect
Index
Constructors
constructor
Properties
api
connected
Methods
connect
disconnect
log
Chain
Info
Constructors
constructor
new
Substrate
Connect
(
)
:
SubstrateConnect
Returns
SubstrateConnect
Properties
Static
Protected
api
api
:
ApiPromise
Static
Protected
connected
connected
:
boolean
= false
Methods
Static
connect
connect
(
nodeUrl
?:
string
, metadata
?:
Record
<
string
,
string
>
)
:
Promise
<
ApiPromise
>
Parameters
Optional
nodeUrl:
string
Optional
metadata:
Record
<
string
,
string
>
Returns
Promise
<
ApiPromise
>
Static
disconnect
disconnect
(
)
:
void
Returns
void
Static
Protected
log
Chain
Info
log
Chain
Info
(
)
:
Promise
<
void
>
Retrieve the chain & node information via RPC calls and log into console.
Returns
Promise
<
void
>
Retrieve the chain & node information via RPC calls and log into console.