suix_getCoinMetadata RPC Method
Parameters
coinType
string
REQUIRED
The type names for the coin
Returns
result
object
The metadata of the specified coin
decimals
integer
The number of decimal places used by the coin
name
string
The name of the coin
symbol
string
The ticker symbol of the coin
description
string
A description of the coin (if available)
iconUrl
string
(Optional) A URL pointing to the token logo (if available)
id
string
(Optional) The unique identifier of the coin's metadata object
Request
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_getCoinMetadata",7"params": [8"0x2::sui::SUI"9]10}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free