Skip to main content
GET
/
getLibraries
Get smart contract libraries
curl --request GET \
  --url https://toncenter.com/api/v2/getLibraries
{
  "ok": true,
  "result": {
    "@type": "smc.libraryResult",
    "result": [
      {
        "@type": "smc.libraryEntry",
        "hash": "RZuqu83SGYHpN7D/5z+dUoN/hO08EXrRJg1TXsFigAo=",
        "data": "te6ccgECDQEAA4kAART/APSkE/..."
      }
    ],
    "@extra": "1758735556.956807:1:0.731451399868406"
  }
}

Query Parameters

libraries
string[]
required

List of base64 encoded libraries hashes

Response

Successful Response

ok
boolean
required
result
object
required
I