Releases: pinax-network/subgraph-roundtable
Releases · pinax-network/subgraph-roundtable
v0.5.1
- Update param filter from
code:*
toreceiver:*
params: "receiver:bbsdailyrwrd || receiver:dwebregistry || receiver:bbseosbridge || receiver:bbsbbsbbseos || receiver:bbsengagemnt || receiver:deweb.eosn"
Deployment ID: QmWiivncZD2HHRKymf4ArQYQr7jRhZ6kWw2pFxD3nB8p8m
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
- Upgrade Antelope Transactions to v0.5.0 https://github.com/pinax-network/subgraph-antelope-transactions/releases/tag/v0.5.0
Subgraph Deployment
QmbVxVoGKEx4eH5MjacCUTXYeM2hfSzoMppHV3XTG7dP39
v0.1.2
Subgraph Deployment ID: QmZHo17bQbbh99pUWNPXmQ1Ao3JDnadhDNkP3Dw9ndVmcX
https://thegraph.com/explorer/subgraphs/BEPBdCakjSNmQFLy8RiSYpjnsKYN58VxJ41uz6qQHy2p?view=Indexers&chain=arbitrum-one
What's Changed
- add new fields to Action
- add
console
field - add
globalSequence
field
- add
- add new fields to Block
- replace
time
totimestamp
, now uses microseconds instead of seconds (ex: 1725116224000000)
Timestamp
schema used in Timeseries and aggregations https://github.com/graphprotocol/graph-node/blob/master/docs/aggregations.md- add
month
,year
fields
- replace
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
}
}
}