publicFeed

Get the publicFeed of Nabi Protocol's

Interface

GraphQL Schema

Operation

query PublicFeed {
  publicFeed {
    __typename
    ... on Post {
      id
      postId
      contractPublicationId
      createdAt
      profileId
      contentUri
      contentS3Uri
      metadataUri
      metadataS3Uri
      referenceReturnData
      isRelatedToPost
      # ... other Post fields
      stats {
        totalComments
        totalMirrors
        totalCollects
      }
      profile {
        id
        profileId
        handle
        profileUri
        ownedBy
        # ... other Profile fields
      }
      comments {
        id
        commentId
        contractPublicationId
        createdAt
        profileId
        contentUri
        contentS3Uri
        contractAddress
        collectNftAddress
        referenceImplementation
        # ... other Comment fields
        profile {
          id
          profileId
          handle
          profileUri
          ownedBy
          # ... other Profile fields
        }
        stats {
          totalComments
          totalMirrors
          totalCollects
        }
      }
    }
    ... on Mirror {
      id
      mirrorId
      contractPublicationId
      createdAt
      profileId
      contentUri
      contentS3Uri
      contractAddress
      # ... other Mirror fields
      post {
        id
        postId
        contractPublicationId
        createdAt
        profileId
        contentUri
        contentS3Uri
        metadataUri
        metadataS3Uri
        # ... other Post fields
        profile {
          id
          profileId
          handle
          profileUri
          coverPictureS3Url
          ownedBy
          # ... other Profile fields
        }
      }
      stats {
        totalComments
        totalMirrors
        totalCollects
      }
    }
  }
}

Response

{
  "data": {
    "publicFeed": [
      {
        "__typename": "Mirror",
        "id": "5",
        "mirrorId": null,
        "contractPublicationId": null,
        "createdAt": "2023-08-17T09:01:49.189Z",
        "profileId": "0x15",
        "contentUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/ff474acc-3c45-4126-8a67-768f4b72e7b7.json",
        "contentS3Uri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/ff474acc-3c45-4126-8a67-768f4b72e7b7.json",
        "contractAddress": null,
        "collectNftAddress": null,
        "referenceImplementation": null,
        "referenceReturnData": null,
        "isRelatedToPost": "0x10-0x0",
        "isRelatedToComment": null,
        "publicationContext": null,
        "primaryContentType": "TEXT_ONLY",
        "txHash": null,
        "timeoutRequest": null,
        "appId": null,
        "blockTimestamp": null,
        "createdBlockHash": null,
        "metadataVersion": null,
        "language": "SG",
        "region": "",
        "contentWarning": null,
        "tagsVector": null,
        "customFiltersFlagged": null,
        "content": null,
        "post": {
          "id": "53",
          "postId": "0x10-0x0",
          "contractPublicationId": "0x0",
          "createdAt": "2023-08-15T07:05:02.148Z",
          "profileId": "0x10",
          "contentUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/ff474acc-3c45-4126-8a67-768f4b72e7b7.json",
          "contentS3Uri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/ff474acc-3c45-4126-8a67-768f4b72e7b7.json",
          "metadataUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/b7b473c2-c073-49ef-9e1f-904d67fb9cf2.json",
          "metadataS3Uri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/b7b473c2-c073-49ef-9e1f-904d67fb9cf2.json",
          "contractAddress": "EQA_aI6Es49z_37rZX6qN208odwhp6ZpT-ScEZIEte3kWVw0",
          "collectNftAddress": null,
          "referenceImplementation": null,
          "referenceReturnData": null,
          "isRelatedToPost": null,
          "isRelatedToComment": null,
          "publicationContext": null,
          "primaryContentType": "IMAGE",
          "txHash": null,
          "timeoutRequest": null,
          "appId": "Posted via TONfeed Telegram Bot",
          "blockTimestamp": "2023-08-15T07:05:36.000Z",
          "createdBlockHash": "2uA8YQjFZ+yli67hAsp2Z40Fo4q9y01V/sHHu980Sxs=",
          "metadataVersion": null,
          "language": "SG",
          "region": "",
          "contentWarning": null,
          "tagsVector": null,
          "customFiltersFlagged": null,
          "content": "Meow everyone! \nI'm hosting an NFT giveaway! \nFollow me and RT this post to enter. \n#Web3 #NFTs #Crypto",
          "profile": {
            "id": "50",
            "profileId": "0x10",
            "handle": "TommiLuvsJelly",
            "profileUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/189e9d64-c2a7-4201-96ff-dbcf52b28650.json",
            "coverPictureS3Url": null,
            "isProfilePictureOnchain": null,
            "ownedBy": "kQBnOR5KxsedQArOtQFTjzIUUFMcWCD0PHYv34dadd6JkgHd",
            "isBurnt": null,
            "nftContract": "EQDoG7JyiT-IQ8gQS5btKTQgGObySiwJsnOCRN-pd6nswuWj",
            "nftTokenId": "16",
            "nftChainId": null,
            "metadataUrl": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/eae8a7c3-64ae-430b-afa3-7bdba1e7b3ba.json",
            "metadataS3Url": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/eae8a7c3-64ae-430b-afa3-7bdba1e7b3ba.json",
            "metadataErrorReason": null,
            "appId": null,
            "blockTimestamp": "2023-08-10T07:43:21.000Z",
            "createdBlockHash": "80fzHDz6J+Nf/joSFsd35H2uBPuNih+w+dt8cMOAU+Q="
          }
        },
        "stats": {
          "totalComments": 0,
          "totalMirrors": 0,
          "totalCollects": 0
        }
      },
      {
        "__typename": "Post",
        "id": "63",
        "postId": "0x12-0x2",
        "contractPublicationId": "0x2",
        "createdAt": "2023-08-16T10:45:08.825Z",
        "profileId": "0x12",
        "contentUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/23b369fe-7756-4890-9e9e-2b31efbf09cb.json",
        "contentS3Uri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/23b369fe-7756-4890-9e9e-2b31efbf09cb.json",
        "metadataUri": null,
        "metadataS3Uri": null,
        "contractAddress": "EQCAM9ShcQvb3aq9kb0jaz9eE9EVlY6Arj_ygc3naIuX06Jr",
        "collectNftAddress": null,
        "referenceImplementation": null,
        "referenceReturnData": null,
        "isRelatedToPost": null,
        "isRelatedToComment": null,
        "publicationContext": null,
        "primaryContentType": "ARTICLE",
        "txHash": null,
        "timeoutRequest": null,
        "appId": "Nabibot",
        "blockTimestamp": "2023-08-16T10:45:35.000Z",
        "createdBlockHash": "COB/Z/DrRzdiDjDJU13ClhEU3oFCVYrlX0IQ32e6O5s=",
        "metadataVersion": null,
        "language": "SG",
        "region": "",
        "contentWarning": null,
        "tagsVector": null,
        "customFiltersFlagged": null,
        "content": "Teach Yourself Computer Science\nhttps://teachyourselfcs.com/#programming",
        "stats": {
          "totalComments": 0,
          "totalMirrors": 0,
          "totalCollects": 0
        },
        "profile": {
          "id": "52",
          "profileId": "0x12",
          "handle": "bbceebies",
          "profileUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/589d9c32-d17d-4d5f-b527-49e886d8c657.json",
          "coverPictureS3Url": null,
          "isProfilePictureOnchain": null,
          "ownedBy": "0QDdMsv8NrvZd2Hxx38jQzUqwoUWzi-Z5nEKcOKdbc7Jw5qT",
          "isBurnt": null,
          "nftContract": "EQDX7A3ff4_mjVif5nvUSN4NQjb3cILIswdZG1yhXp9YoG4e",
          "nftTokenId": "18",
          "nftChainId": null,
          "metadataUrl": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/7b84a60f-9831-4be2-b681-5e9a56520075.json",
          "metadataS3Url": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/7b84a60f-9831-4be2-b681-5e9a56520075.json",
          "metadataErrorReason": null,
          "appId": null,
          "blockTimestamp": "2023-08-10T09:06:16.000Z",
          "createdBlockHash": "DnftU96Uz4MfgteGWfohp3Etx4IqmPCUjwJCQajLaCg="
        },
        "comments": []
      },
      {
        "__typename": "Post",
        "id": "62",
        "postId": "0xd-0x2",
        "contractPublicationId": "0x2",
        "createdAt": "2023-08-16T10:27:33.077Z",
        "profileId": "0xd",
        "contentUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/d37a2ce4-0776-4715-945a-4095a577a7f5.json",
        "contentS3Uri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/d37a2ce4-0776-4715-945a-4095a577a7f5.json",
        "metadataUri": null,
        "metadataS3Uri": null,
        "contractAddress": "EQCBLoMD0HiJNisy-_Qf2Qla05sN9bx8X7-VPtdnmIEm72bE",
        "collectNftAddress": null,
        "referenceImplementation": null,
        "referenceReturnData": null,
        "isRelatedToPost": null,
        "isRelatedToComment": null,
        "publicationContext": null,
        "primaryContentType": "TEXT_ONLY",
        "txHash": null,
        "timeoutRequest": null,
        "appId": "Telegram",
        "blockTimestamp": "2023-08-16T10:28:34.000Z",
        "createdBlockHash": "T4A4kTtcw17TkYF93aFwei4umAEqwbgYbwtxBg+UKfc=",
        "metadataVersion": null,
        "language": "SG",
        "region": "",
        "contentWarning": null,
        "tagsVector": null,
        "customFiltersFlagged": null,
        "content": "Who else is on Punk City? Let's play!!! unkcity #gamefi #web #web3games",
        "stats": {
          "totalComments": 1,
          "totalMirrors": 0,
          "totalCollects": 0
        },
        "profile": {
          "id": "47",
          "profileId": "0xd",
          "handle": "XXProGamer69XX",
          "profileUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/70b645fe-08f5-4e06-ae00-91c2926dd40c.json",
          "coverPictureS3Url": null,
          "isProfilePictureOnchain": null,
          "ownedBy": "kQBWq4_EWJoF9syhCDyEg1IZ7wVroxOdFky3jtnVnN-pk5SE",
          "isBurnt": null,
          "nftContract": "EQCcREqlpaYvnwcjxyXO213lEvYBdytZdReof6q06AtIGxLP",
          "nftTokenId": "13",
          "nftChainId": null,
          "metadataUrl": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/911172fe-78bc-457c-bb36-2c22deb4b9f0.json",
          "metadataS3Url": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/911172fe-78bc-457c-bb36-2c22deb4b9f0.json",
          "metadataErrorReason": null,
          "appId": null,
          "blockTimestamp": "2023-08-10T07:41:51.000Z",
          "createdBlockHash": "WfpOwJOz0w8lS+fMiQcytkf44zN0jF41yFQXbTvdLOM="
        },
        "comments": [
          {
            "id": "39",
            "commentId": null,
            "contractPublicationId": null,
            "createdAt": "2023-08-16T10:38:25.185Z",
            "profileId": "0xb",
            "contentUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/3ef2edd0-a5dc-4f4b-88c9-7d2de4604761.json",
            "contentS3Uri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/3ef2edd0-a5dc-4f4b-88c9-7d2de4604761.json",
            "contractAddress": null,
            "collectNftAddress": null,
            "referenceImplementation": null,
            "referenceReturnData": null,
            "isRelatedToPost": "0xd-0x2",
            "isRelatedToComment": null,
            "publicationContext": null,
            "primaryContentType": "TEXT_ONLY",
            "txHash": null,
            "timeoutRequest": null,
            "appId": null,
            "blockTimestamp": null,
            "createdBlockHash": null,
            "metadataVersion": null,
            "language": "SG",
            "region": "",
            "contentWarning": null,
            "tagsVector": null,
            "customFiltersFlagged": null,
            "content": "Really? I should totally check it out 🤔web3gamefi",
            "profile": {
              "id": "45",
              "profileId": "0xb",
              "handle": "MiaCyptoNormad",
              "profileUri": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/34bf857a-5934-4dce-ad6d-1b33ccd81d57.json",
              "coverPictureS3Url": null,
              "isProfilePictureOnchain": null,
              "ownedBy": "kQB_5rMpsyVJXwSaKYZfqSRk-qjjbzjWL7lAsDz0X-jQEHPR",
              "isBurnt": null,
              "nftContract": "EQD10qP0TdP-JaVLlQe1hhJqUXpH6WwEyF8diEqn5dD23B5J",
              "nftTokenId": "11",
              "nftChainId": null,
              "metadataUrl": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/a070b4c8-fef1-4d74-903d-fa7b40de80ea.json",
              "metadataS3Url": "https://nabi-protocol-profile-nft-meta.s3.amazonaws.com/a070b4c8-fef1-4d74-903d-fa7b40de80ea.json",
              "metadataErrorReason": null,
              "appId": null,
              "blockTimestamp": "2023-08-10T07:41:00.000Z",
              "createdBlockHash": "FeKhjgqBGKjtdPoc8VAxj6/QpS7dNYM7DuyTy7ZaRi8="
            },
            "stats": {
              "totalComments": 0,
              "totalMirrors": 0,
              "totalCollects": 0
            }
          },
          // ... shows up to 30 latest publications
    ]
  }
}

Last updated