paragraph-xyz / docs

docs.paragraph.xyz
Other
17 stars 4 forks source link

Add Arweave querying instructions #14

Closed seeARMS closed 1 year ago

seeARMS commented 1 year ago

Example to query via Arweave GraphQL playground:

query GetTx($wallet: String!) {
  transactions(tags:[
    {
      name:"AppName",
      values:["Paragraph"],
    },
    {
      name:"Contributor",
      values:[$wallet]
    }
  ], sort:HEIGHT_DESC){
    edges {
      node {
        id, tags {
            name, value
        }
      }
    }
  }
}

Query variables:

{
  "wallet": "0x2DBF911D78815D995B05bc8FA42e378f78D7CC7b"
}
seeARMS commented 1 year ago

Closing as a result of #20