Last updated 6 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/
POST /user HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 13 { "tweetId": 1 }
Successful Response
{ "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" ] }
POST /tweet HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 13 { "tweetId": 1 }
{ "tweet": { "id": "binary", "userId": "text", "createdAt": 1, "conversationId": "text", "fullText": "text", "inReplyToStatusId": "text", "inReplyToUserId": "text", "isQuote": true, "mentions": [ { "id": "binary", "screenName": "text", "startIndex": 1, "endIndex": 1 } ] }, "signatures": [ "text" ] }