TON
POST
GET
Last updated on January 1, 1970
1 min read
Method /getTokenData undefined ()
connect with JSON-RPC protocol
/getTokenData
Get NFT or Jetton information.
Parameters
address
- query
required, string
Identifier of target TON account in any form.
Request
curl --location --request GET 'https://ton.getblock.io/mainnet/getTokenData?address=EQAG2BH0JlmFkbMrLEnyn2bIITaOSssd4WdisE4BdFMkZbir'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
Response
{
"ok": true,
"result": {
"next_item_index": 10000,
"collection_content": {
"type": "offchain",
"data": "https://nft.ton.diamonds/diamonds.json"
},
"owner_address": "EQDsP4js-X1VVS7mBZAuoeXvKcvOYlkpsdELBHwJOez07ZTW",
"contract_type": "nft_collection"
}
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }