Join AWS, Dust Labs & OrangeDAO at QuickPitch. Win $80k — Apply Today.


qn_getTokenMetadataByContractAddress RPC Method

The API credit value for this method is 4 . To learn more about API credits and each method's value, visit the API Credits page.

Please note that this RPC method requires the Token API add-on enabled on your QuickNode endpoint. Also, it supports ERC-20 compliant contracts (on Ethereum mainnet).


  1. object - The custom object with the following fields:

    contract - string - The ERC-20 contract address you'd like to get token details for


  1. object - The custom response object, or null if no token details found:

    name - The name of this token

    symbol - The symbol for this token

    decimals - The number of decimals this token utilizes

    genesisBlock - The block number in which this contract was deployed

    genesisTransaction - The hash of the transaction in which this contract was deployed

Code Examples:

curl \
  -X POST \
  -H "Content-Type: application/json" \
  -H "x-qn-api-version: 1" \
  --data '{
      "contract": "0x4d224452801ACEd8B2F0aebE155379bb5D594381"
Ready to get started? Create a free account