Skip to content

Instantly share code, notes, and snippets.

@baydakovss
Forked from buddies2705/NewlyCreatedTokenQuery.ql
Created December 10, 2021 06:32
Show Gist options
  • Save baydakovss/3e420a33d30a428ac9265b72fff2e1f8 to your computer and use it in GitHub Desktop.
Save baydakovss/3e420a33d30a428ac9265b72fff2e1f8 to your computer and use it in GitHub Desktop.
GraphQL API to get the newly created Ethereum Tokens
{
ethereum {
smartContractCalls(options: {desc: "block.height", limit: 10}, smartContractMethod: {is: "Contract Creation"}, smartContractType: {is: Token}) {
block {
height
timestamp {
time
}
}
smartContract {
contractType
address {
address
annotation
}
currency {
name
symbol
decimals
tokenType
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment