Skip to main content
GET
/
v1
/
coins
/
contract
/
{contractAddress}
Get coin by contract address
import { ParagraphAPI } from "@paragraph_xyz/sdk"

const api = new ParagraphAPI()
const coin = await api.getCoinByContract("0xe9bb3166ff5f96381e257d509a801303b68e5d34")
{
  "id": "<string>",
  "contractAddress": "<string>",
  "symbol": "<string>",
  "postId": "<string>"
}

Path Parameters

contractAddress
string
required

Contract address

Response

Coin details retrieved successfully

id
string
required

Unique identifier for the coin

contractAddress
string
required

Base contract address for the coin

symbol
string
required

Token symbol

postId
string
required

ID of the post this token is associated with

I