Private
_apiFind and load data about the number of account followed by an account from Subsocial blockchain and IPFS by a given accountId
.
Number of account followers of a given accountId
aggregated from Subsocial blockchain in BN.
An account id.
Find and load domain by a given accountId
and spaceId
from Subsocial blockchain.
Data about domain name (in string) retrieved from Subsocial blockchain by a given accountId
and spaceId
.
If no corresponding domain name to given accountId
and spaceId
, undefined is returned.
Id of a desired account.
Id of desired space.
Find and load an array of information about domains by a given accountId
from Subsocial blockchain.
An array of information about domains retrieved from Subsocial blockchain by an owner accountId
.
If no corresponding domain to given owner accountId
, an empty array is returned.
Id of owner of domains.
Find and load information about a post from Subsocial blockchain and IPFS by a given id
, content
and visibility
filter.
Data about desired post from Subsocial blockchain and IPFS. If no corresponding post to given id
, content
and
visibility
filter, undefined
is returned.
An object containing a post id
, visibility filter (hidden
field), and content
filter.
Find and load an array of information about posts from Subsocial blockchain and IPFS by a given array of ids
, content
and
visibility
filter.
An array of data about desired posts from Subsocial blockchain and IPFS. If no corresponding posts to given array
of ids
, content
and visibility
filter, an empty array is returned.
An object containing an array of space ids
, visibility filter (hidden
field), and content
filter.
Find and load information about a reaction from Subsocial blockchain by a given reaction id
.
Data about desired reaction from Subsocial blockchain. If no corresponding reaction to given reaction id
,
undefined
is returned.
Id of desired reaction.
Find and load an array of information about reactions from Subsocial blockchain by a given array of reaction ids
.
An array of data about desired reactions from Subsocial blockchain. If no corresponding reactions to given
array of ids
, an empty array is returned.
An array of ids of desired reactions.
Find and load information about a space from Subsocial blockchain and IPFS by a given id
, content
and visibility
filter.
Data about desired space from Subsocial blockchain and IPFS. If no corresponding space to given id
, content
and
visibility
filter, undefined
is returned.
An object containing a space id
, visibility filter (hidden
field), and content
filter.
Find and load an array of information about spaces from Subsocial blockchain and IPFS by a given array of ids
,
visibility
filter, and content
filter.
An array of data about desired spaces from Subsocial blockchain and IPFS. If no corresponding spaces to given array
of ids
, content
and visibility
filter, an empty array is returned.
An object containing an array of space ids
, visibility filter (hidden
field), and content
filter.
Private
findFind and load an array of account ids with any role from Subsocial blockchain by a given spaceId
.
An array of string representing accounts in any role retrieved from Subsocial blockchain by a given spaceId
.
If no corresponding account with any role to a given spaceId
, an empty array is returned.
Id of desired space.
Find and load an array of domain names by key pairs [Owner, SpaceId] from Subsocial blockchain.
An array of domain names retrieved from Subsocial blockchain by a given array of key pairs [Owner, SpaceId]. If no corresponding domain name to given key pairs, an empty array is returned.
An array of keypairs [Owner, SpaceId].
Private
getFind and load data about a reaction id from Subsocial blockchain and IPFS by a given accountId
and
and postId
.
Data of reaction id aggregated from Subsocial blockchain. If no corresponding reaction id to given
accountId
and postId
, undefined is returned.
Id of desired account.
Id of desired post.
Find and load an array of information about reaction ids from Subsocial blockchain and IPFS by a given accountId
and
and an array of postIds
.
An array of reaction id aggregated from Subsocial blockchain. If no corresponding reaction id to given
accountId
and and array of postIds
, an empty array is returned.
Id of desired account.
An array of ids of desired posts.
Private
getFind and load data about reaction ids from Subsocial blockchain and IPFS by a given accountId
and
an array of structIds
.
An array of reaction ids aggregated from Subsocial blockchain. If no corresponding reaction ids to given
accountId
and structIds
, an empty array is returned.
An account id of desired reaction ids.
An array of post ids of desired reaction ids.
Find and load an array of reply ids from Subsocial blockchain by a given post id
.
An array of reply id aggregated from Subsocial blockchain. If no corresponding reply id to given
post id
, an empty array is returned.
Id of desired post.
Find and load an array of role ids owned by a given accountId
from Subsocial blockchain within a given space.
An array of role ids retrieved from Subsocial blockchain by a given accountId
within a space.
If no corresponding role id to a given accountId
, an empty array is returned.
Id of desired account.
Find and load an array of space permissions owned by a given accountId
from Subsocial blockchain within a given spaceId
.
An array of space permissions retrieved from Subsocial blockchain by a given accountId
within a spaceId
.
If no corresponding space permissions to a given accountId
within a spaceId
, an empty array is returned.
Id of desired account.
Id of desired space.
Private
getFind and load boolean value from Subsocial blockchain by a given myAddress
and followedAddress
.
A boolean value whether myAddress
is following followedAddress
or not, retrieved from Subsocial blockchain.
Id of own account.
Id of followedAccount.
Private
isFind and load boolean value from Subsocial blockchain by a given myAddress
and spaceId
.
A boolean value whether myAddress
is following a given spaceId
or not, retrieved from Subsocial blockchain.
Id of own account.
Id of desired space.
Find and load an array of post ids from Subsocial blockchain by a given space id
.
An array of post id aggregated from Subsocial blockchain. If no corresponding post id to given
space id
, an empty array is returned.
Id of desired space.
Find and load data about the number of posts of a space from Subsocial blockchain and IPFS by a given space id spaceId
.
Number of posts of a given space id spaceId
aggregated from Subsocial blockchain in BN.
A space id.
Find and load an array of profile space ids from Subsocial blockchain by a given array of accountIds
.
An array of profile space ids aggregated from Subsocial blockchain. If no corresponding space id to given
array of accountIds
, an empty array is returned.
An array of desired account ids.
Private
queryPrivate
queryPrivate
queryPrivate
queryPrivate
queryFind and load information about domain structs of registered domain by a given domainName
from Subsocial blockchain.
Data about domain structs of a registered domain retrieved from Subsocial blockchain
by a given domainName
.
A string of desired domain name.
Find and load an array of domain structs of registered domains by a given array of domainNames
from Subsocial blockchain.
An array of information about domain structs of registered domains retrieved from Subsocial blockchain
by a given array of domainNames
. If no corresponding domain structs to given array of domainNames
, an empty array is returned.
An array of desired domain names.
Find and load data about the number of replies of a post from Subsocial blockchain and IPFS by a given postId
.
Number of replies of a given postId
aggregated from Subsocial blockchain in BN.
A post id.
Find and load data about the number of shares of a post from Subsocial blockchain and IPFS by a given postId
.
Number of shares of a given postId
aggregated from Subsocial blockchain in BN.
A post id.
Find and load an array of space ids from Subsocial blockchain of an owner by a given account id
.
An array of space id aggregated from Subsocial blockchain. If no corresponding space id to given
account id
, an empty array is returned.
Id of desired account as spaces owner.
Find and load an array of space ids from Subsocial blockchain followed by a given account id
.
An array of space id aggregated from Subsocial blockchain. If no corresponding space id followed by a given
account id
, an empty array is returned.
Id of desired account as spaces follower.
Static
create
Find and load data about the number of account followers of an account from Subsocial blockchain and IPFS by a given
accountId
.Returns
Number of account followers of a given
accountId
aggregated from Subsocial blockchain in BN.