Social Graph

JavaScript Social Graph APIs

Query Social Graph

Name
Parameters Description
Response

querySocialGraph()

N/A

  • exist: return 0 if social graph doesn't exit, otherwise return 1.

  • message: signed message

Backup Social Graph

Name
Parameters Description
response

backupSocialGraph(data)

  • data:

    • message: signed message

    • signature: wallet signature

transactions: transaction data on the blockchain. The backup will be completed when the transaction is confirmed on the blockchain.

Restore Social Graph

Name
Parameters Description
Response

restoreSocialGraph(data)

  • data

    • signature:wallet signature

N/A

Last updated