Skip to main content
GET
/
v1
/
coins
/
{id}
Get coin by ID
import { ParagraphAPI } from "@paragraph-com/sdk"

const api = new ParagraphAPI()
const coin = await api.coins.get({ id: "S2AlaNG5Hw0NdNptmLTw" }).single()
{
  "id": "<string>",
  "contractAddress": "<string>",
  "metadata": {
    "name": "<string>",
    "symbol": "<string>",
    "decimals": 123,
    "description": "<string>",
    "chainId": 123,
    "external_url": "<string>",
    "links": [
      {
        "name": "<string>",
        "url": "<string>"
      }
    ],
    "tags": [
      "<string>"
    ],
    "extensions": {
      "coinType": "<string>",
      "paragraph": {
        "blogId": "<string>",
        "blogUrl": "<string>",
        "authorName": "<string>",
        "noteId": "<string>",
        "postSlug": "<string>"
      }
    },
    "attributes": [
      {
        "trait_type": "<string>",
        "value": "<string>"
      }
    ],
    "image": "<string>",
    "logoURI": "<string>"
  }
}

Path Parameters

id
string
required

Paragraph-internal unique identifier for the coin

Response

Coin details retrieved successfully

id
string
required

Unique identifier for the coin

contractAddress
string
required

Base contract address for the coin

metadata
object
required