oTokens Subgraph

oToken

OToken schema:

type OToken @entity(immutable: true) {
  id: Bytes!
  oToken: Bytes! # address
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

Example of OToken querying:

{
  otokens(first: 5) {
    id
    oToken
    blockNumber
    blockTimestamp
    transactionHash
  }
}

Last updated