如何在 bsc 网络上获取新创建的 bep20 代币

时间:2021-05-29 11:55:42

标签: graphql solidity binance-smart-chain bep20

我正在尝试制作一个可以扫描 bsc 网络以查找新 BEP20 令牌的机器人。我在 https://graphql.bitquery.io/ide 中尝试了以下代码。但这并没有给我任何 BEP20 代币。这里是否有任何参数可以指定 tokenType 进行过滤?

'''坚固

{
smartContractCalls(
  options: {desc: "block.height", limit: 100,}
  smartContractMethod: {is: "Contract Creation"}
  smartContractType: {is: Token}
)
{
  block {
    height
    timestamp {
      time
    }
  }
  smartContract {
    contractType
    address {
      address
      annotation
    }
    currency {
      name
      symbol
      decimals
      tokenType
    }
  }
}

} } '''

0 个答案:

没有答案