QuickNode Token API: Instantly Access ERC20 Data
No need to query multiple ERC20 contracts for token data. With QuickNode Token API get ERC20 data with a single method call.
QuickNode API suite makes the lives of web3 developers easy, NFT API makes building an NFT application breezy. Today we are thrilled to share our brand new Token API, which makes working with ERC20 tokens super easy. Sign up now!
What is Token API?
QuickNode Token API is a new RPC API that lets users get ERC20 token data from the Ethereum Mainnet. With Token API, a user can get token metadata, balances, and transfer histories of ERC20 tokens for a wallet; no need for querying smart contracts and/or writing specialized scripts! With Token API, these operations are possible with a single line of code. In the next section, we will see the specific Token API methods and how they work.
Token API Methods
- Get Metadata of a specific ERC20 token (qn_getTokenMetadataByContractAddress)
Using this method, a user can get metadata of a specific ERC20 token using its contract address. - Look up ERC20 Tokens by symbol (qn_getTokenMetadataBySymbol)
Using this method, a user can get ERC-20 token metadata by the token symbol (SHIB, USDT, etc) - Get tokens and their balances for a wallet (qn_getWalletTokenBalance)
Using this method, a user can get all the tokens a wallet holds - along with balances. - Get the transfer history of a token for a wallet (qn_getWalletTokenTransactions)
Using this method, a user can get transfer histories of a token within a wallet
Why is Token API helpful?
Working with token data can be hectic. There are so many tokens! To get information about each token, one would have to interact with smart contracts, scrape data from the blockchain, and then parse the raw data manually. This process is very much doable, but is very time-consuming and requires processing millions (even billions!) of rows of parsed data given the number of tokens and blocks. Instead, one can use QuickNode Token API for immediate access to this data, with no indexing required!
Ready to get started?
Token API is available & included with all new Ethereum Mainnet endpoints, created after July 25th, 2022 (read more about our new plans here).
For existing Ethereum Mainnet accounts (created before July 25th, 2022), go to the Billing section of your endpoint, locate 'Token API' and click on the blue button saying 'Add to endpoint'.
Ready to set up a node? Try QuickNode for free --> Sign Up!
Looking for developer guides on Web3? Check out our guides and docs!
Why QuickNode?
We make running Blockchain nodes easy so developers can focus on the dApps they’re building instead of worrying about DevOps/NodeOps, uptime, scaling, security, etc.
We save you valuable time getting to market while taking away the headache of node maintenance and synchronization. QuickNode is a valuable tool in every dApp developer’s arsenal that was created by developers for developers. Visit our guides section for more information.
Today, our network processes 100s of Billions requests per month, from over 10 regions worldwide!
Need help with your project or have questions? Contact us via this form, on Twitter @QuickNode, or ping us on Discord!
About QuickNode
QuickNode is building infrastructure to support the future of Web3. Since 2017, we’ve worked with hundreds of developers and companies, helping scale dApps and providing high-performance access to 16+ blockchains. Subscribe to our newsletter for more content like this and stay in the loop with what’s happening in Web3! 😃