logo
New RPC methods for fast data fetching

New RPC methods for fast data fetching

With the last node upgrade we also released a set of new RPC methods allow to fetch data from Subsocial blockchain storage in a fast and efficient way. These methods return data in JSON format and it means, that end clients (like web or mobile dapps) will not need to spend time for convertion of data from Substrate's SCALE format.

We are planning to start using these new RPC methods on Subsocial's web dapp in the near future to bring a smoother and more responsive experience to our users.

Here is a list of new RPC methods that have been included in the last node upgrade:

  • posts_getFeed
  • posts_getPostsByIds
  • posts_getPublicPostIdsBySpaceId
  • posts_getPublicPosts
  • posts_getPublicPostsBySpaceId
  • posts_getRepliesByParentId
  • posts_getRepliesByParentIds
  • posts_getReplyIdsByParentId
  • posts_getReplyIdsByParentIds
  • posts_getUnlistedPostIdsBySpaceId
  • posts_getUnlistedPostsBySpaceId
  • posts_nextPostId
  • profileFollows_filterFollowedAccounts
  • profiles_getSocialAccountsByIds
  • reactions_getReactionKindsByPostIdsAndReactor
  • reactions_getReactionsByIds
  • reactions_getReactionsByPostId
  • roles_getAccountsWithAnyRoleInSpace
  • roles_getSpaceIdsForAccountWithAnyRole
  • roles_getSpacePermissionsByAccount
  • spaceFollows_filterFollowedSpaceIds
  • spaceFollows_getSpaceIdsFollowedByAccount
  • spaces_getPublicSpaceIdsByOwner
  • spaces_getPublicSpaces
  • spaces_getSpaceByHandle
  • spaces_getSpaceIdByHandle
  • spaces_getSpaces
  • spaces_getSpacesByIds
  • spaces_getUnlistedSpaceIdsByOwner
  • spaces_getUnlistedSpaces
  • spaces_nextSpaceId

A full list of all available RPC methods by visiting Developer > RPC calls > rpc / methods on Polkadot.js Apps for Subsocial node.

New RPC methods for fast data fetching

Subsocial

10m SMN → 100m SUB: redenomination and a new token symbol

10m SMN → 100m SUB: redenomination and a new token symbol

We did a planned upgrade of the Subsocial's RPC and archive nodes at a block # 4,074,347. What's changed: Token symbol: SMN → SUB Token decimals: 12

Subsocial

We upgraded Subsocial node to Substrate v2.0.1

We upgraded Subsocial node to Substrate v2.0.1

Runtime upgrade happened at the block # 3,844,612. The exact code can be found at the tag v0.6.0: https://github.com/dappforce/subsocial-node/tree/v0

Subsocial