Last updated 3 months ago
The offchain API provides a way for builders to fetch Existential Attestation in the format necessary to be pushed onchain. The ApI can be accessed via https://fairwitness.empyrealsdk.com/
/user
Successful Response
Validation Error
curl -L \ --request POST \ --url '/user' \ --header 'Content-Type: application/json' \ --data '{"tweetId":1}'
{ "username": { "id": 1, "created_at": "text", "favourites_count": 1, "followers_count": 1, "following_count": 1, "media_count": 1, "name": "text", "pinned_tweet_ids": [ "text" ], "screen_name": "text", "statuses_count": 1, "is_blue_verified": true }, "signatures": [ "text" ] }
/tweet
curl -L \ --request POST \ --url '/tweet' \ --header 'Content-Type: application/json' \ --data '{"tweetId":1}'
{ "tweet": { "id": "text", "userId": "text", "createdAt": 1, "conversationId": "text", "fullText": "text", "inReplyToStatusId": "text", "inReplyToUserId": "text", "isQuote": true, "mentions": [ { "id": "text", "screenName": "text", "startIndex": 1, "endIndex": 1 } ] }, "signatures": [ "text" ] }