subquery / developer-guild

A repository of all SubQuery Grants
15 stars 4 forks source link

Build Agoric starter project #38

Open seandotau opened 1 year ago

seandotau commented 1 year ago

Schema

Example schema indexing transfers.

type Transaction @entity {
  id: ID! # Transaction hash
  txHash: String
  blockHeight: BigInt
  to: String!
  from: String!
  value: BigInt!
  contractAddress: String!
}

type Approval @entity {
  id: ID! # Transaction hash
  value: BigInt!
  owner: String!
  spender: String!
  contractAddress: String!
}

RPC

ref: https://docs.meter.io/developer-documentation/introduction#mainnet

Explorer

web3cdnservices commented 1 year ago

https://github.com/subquery/cosmos-subql-starter/pull/37