Skip to content

Releases: pinax-network/subgraph-roundtable

v0.5.1

31 Oct 18:47
Compare
Choose a tag to compare
  • Update param filter from code:* to receiver:*
params: "receiver:bbsdailyrwrd || receiver:dwebregistry || receiver:bbseosbridge || receiver:bbsbbsbbseos || receiver:bbsengagemnt || receiver:deweb.eosn"

Deployment ID: QmWiivncZD2HHRKymf4ArQYQr7jRhZ6kWw2pFxD3nB8p8m

https://thegraph.com/explorer/subgraphs/BEPBdCakjSNmQFLy8RiSYpjnsKYN58VxJ41uz6qQHy2p?view=Query&chain=arbitrum-one

GraphQL

{
  actions(
    orderBy: globalSequence
    orderDirection: asc
    first:200
    where:{
      receiver: "deweb.eosn"
      name:"transfer"
      globalSequence_gt:362080497815
    }
  ) {
    block{
      number
      timestamp
    }
    transaction {
      id
    }
    account
    name
    jsonData
    globalSequence
    receiver
    dbOps {
      code
      tableName
      primaryKey
      newDataJson
    }
  }
}

v0.5.0

26 Sep 04:12
Compare
Choose a tag to compare

Subgraph Deployment

QmbVxVoGKEx4eH5MjacCUTXYeM2hfSzoMppHV3XTG7dP39

v0.1.2

12 Sep 17:34
Compare
Choose a tag to compare

Subgraph Deployment ID: QmZHo17bQbbh99pUWNPXmQ1Ao3JDnadhDNkP3Dw9ndVmcX
https://thegraph.com/explorer/subgraphs/BEPBdCakjSNmQFLy8RiSYpjnsKYN58VxJ41uz6qQHy2p?view=Indexers&chain=arbitrum-one

What's Changed

GraphQL Schema changes

type Action @entity {
  id:                       ID!
  account:                  String!
  name:                     String!
  jsonData:                 String!
  rawData:                  String!
  receiver:                 String!
  index:                    BigInt!
  globalSequence:           BigInt!
  isNotify:                 Boolean!
  isInput:                  Boolean!
  console:                  String!

  # derived fields
  block:                    Block!
  transaction:              Transaction!
  dbOps:                    [DbOp!]! @derivedFrom(field: "action")
  authorizations:           [Authorization!]! @derivedFrom(field: "action")
}


type Block @entity {
  id:                 ID!
  date:               String!
  month:              String!
  year:               String!
  timestamp:          Timestamp!
  number:             BigInt!
  previous:           String!
  producer:           String!
  transactions:       [Transaction!]! @derivedFrom(field: "block")
}

GraphQL Query

{
  actions(
    orderBy: globalSequence
    orderDirection: asc
    first:20
    where:{
      name:"ledgerprint"
      globalSequence_gt:361417757518
    }
  ) {
    block{
      number
      timestamp
    }
    transaction {
      id
    }
    account
    name
    jsonData
    globalSequence
    receiver
    dbOps {
      code
      tableName
      primaryKey
      newDataJson
    }
  }
}