get https://api.solana.fm/v0/tokens/
Parameters
hash
- the token hash to query for
Results
Valid Response
<object>
- a JSON object containing the following fields:
tokenHash:
<String>, the token hashdata:
<object>, the token data object that contains the following field:
{
"status": "Success",
"message": "Retrieved Token Info from Token Hash",
"result": {
"tokenHash": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"data": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"tokenName": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"description": "",
"logo": "https://s3.coinmarketcap.com/static-gravity/image/5a8229787b5e4c809b5914eef709b59a.png",
"tags": [
"stablecoin",
"saber-mkt-usd"
],
"verified": "true",
"network": [
"mainnet"
],
"metadataToken": ""
}
}
}
Invalid Response
<object>
- a JSON object containing the following fields if the requested account doesn't exist
code:
<integer>, The error codemessage:
<String>, An error message to indicate which part of the query went wrongstatus:
<String>, The response status following the error code- 400 = Bad Request (client side)
- 500 = Internal Server Error (server side)