TypeScript
import { ParagraphAPI } from "@paragraph-com/sdk" const api = new ParagraphAPI() const coin = await api.coins.get({ contract: "0xe9bb3166ff5f96381e257d509a801303b68e5d34" }).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>" } }
Retrieve information about a tokenized post using its contract address
Contract address
^0x[a-fA-F0-9]{40}$
Coin details retrieved successfully
Unique identifier for the coin
Base contract address for the coin
Show child attributes