Social Graph

JavaScript Social Graph APIs

Query Social Graph

NameParameters DescriptionResponse

querySocialGraph()

N/A

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

  • message: signed message

Backup Social Graph

NameParameters Descriptionresponse

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

NameParameters DescriptionResponse

restoreSocialGraph(data)

  • data

    • signature:wallet signature

N/A

Last updated