GetDataFromArweave

Get data stored on Arweave

Description

This query will allow one to search arweave directly for data in bulk. It queries both the Arweave GraphQL API and the Arweave Gateway to be able to return data in one call instead of having to first search for the transaction id and then querying the gateway

Arguments

Response Details

Sample Query

query {
  GetDataFromArweave(
    targetWalletAddress: "FWh7-V_t6BHFNwoTLpQOj3w62TxXE7teHW9opgrCMqE"
    metadata: [{ name: "category", value: "general" }]
    sort: ASC
    limit: 3
  ) {
    providerId
    provider
    data
    url
    metadata {
      name
      value
    }
    creationTimestamp
  }
}

Sample Response

{
  "data": {
    "GetDataFromArweave": [
      {
        "providerId": "-Hs6t54QWPBi8ICvnQlArymBt03oOdsdBNpYqPgb6CE",
        "provider": "ARWEAVE",
        "data": "{\"Content-Type\":\"application/json\",\"term\":\"whale\",\"description\":\"A term for an individual holding a large amount of cryptocurrency.\",\"locale\":\"en\",\"source\":\"GLOSSETA\",\"category\":\"general\"}",
        "url": "https://www.arweave.net/-Hs6t54QWPBi8ICvnQlArymBt03oOdsdBNpYqPgb6CE",
        "metadata": [
          {
            "name": "Content-Type",
            "value": "application/json"
          },
          {
            "name": "term",
            "value": "whale"
          },
          {
            "name": "description",
            "value": "A term for an individual holding a large amount of cryptocurrency."
          },
          {
            "name": "locale",
            "value": "en"
          },
          {
            "name": "source",
            "value": "GLOSSETA"
          },
          {
            "name": "category",
            "value": "general"
          }
        ],
        "creationTimestamp": "2021-10-24T05:08:07+00:00"
      },
      {
        "providerId": "rEgp75_wUWe-B-wsfsWIZqjxPRsnJlDOuWU9Qh-2qzc",
        "provider": "ARWEAVE",
        "data": "{\"Content-Type\":\"application/json\",\"term\":\"hodl\",\"description\":\"An acronym for hold on for dear life (equivalent to HOLD) often used to encourage people not to sell cryptocurrency impulsively on huge swings in price.\",\"locale\":\"en\",\"source\":\"GLOSSETA\",\"category\":\"general\"}",
        "url": "https://www.arweave.net/rEgp75_wUWe-B-wsfsWIZqjxPRsnJlDOuWU9Qh-2qzc",
        "metadata": [
          {
            "name": "Content-Type",
            "value": "application/json"
          },
          {
            "name": "term",
            "value": "hodl"
          },
          {
            "name": "description",
            "value": "An acronym for hold on for dear life (equivalent to HOLD) often used to encourage people not to sell cryptocurrency impulsively on huge swings in price."
          },
          {
            "name": "locale",
            "value": "en"
          },
          {
            "name": "source",
            "value": "GLOSSETA"
          },
          {
            "name": "category",
            "value": "general"
          }
        ],
        "creationTimestamp": "2021-10-24T05:08:07+00:00"
      },
      {
        "providerId": "rJV_2_Lp3sMZPjjNW6LAbiowSk0MDQRPadJ33JTPwrw",
        "provider": "ARWEAVE",
        "data": "{\"Content-Type\":\"application/json\",\"term\":\"blockchain\",\"description\":\"A publicly-accessible digital ledger used to store and transfer information without the need for a central authority. Blockchains are the core technology on which cryptocurrency protocols like Bitcoin and Ethereum are built.\",\"locale\":\"en\",\"source\":\"GLOSSETA\",\"category\":\"general\"}",
        "url": "https://www.arweave.net/rJV_2_Lp3sMZPjjNW6LAbiowSk0MDQRPadJ33JTPwrw",
        "metadata": [
          {
            "name": "Content-Type",
            "value": "application/json"
          },
          {
            "name": "term",
            "value": "blockchain"
          },
          {
            "name": "description",
            "value": "A publicly-accessible digital ledger used to store and transfer information without the need for a central authority. Blockchains are the core technology on which cryptocurrency protocols like Bitcoin and Ethereum are built."
          },
          {
            "name": "locale",
            "value": "en"
          },
          {
            "name": "source",
            "value": "GLOSSETA"
          },
          {
            "name": "category",
            "value": "general"
          }
        ],
        "creationTimestamp": "2021-10-24T05:08:07+00:00"
      }
    ]
  }
}

Last updated