Skip to main content

/api/v2/getLibraries RPC Method

Resolve TVM library cells stored in the masterchain by their hashes.

Updated on
Jun 02, 2026

Query Parameters

library_list
string
REQUIRED

Comma-separated list of library hashes to look up. Each hash should be 256-bit, encoded in hex or base64

Returns

ok
boolean

Indicates whether the request was successful

result
object

The result object which contains the following fields:

@type
string

Specifies the type of the result, set to smc.libraryResult

result
array

An array of resolved libraries. Each entry is an object containing the library hash and its serialized cell data. Empty when none of the requested hashes are present in the masterchain library state

hash
string

The base64 hash that identifies the library

data
string

The serialized library cell as a base64 BoC string

@extra
string

Additional metadata used internally for tracing and debugging

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free