Skip to content

/bcmr Endpoints

Base URL: /bcmr

Available Endpoints

/token/<category>

Endpoint: GET /token/<category>

Status: Stable

Description: Fetches BCMR data for token from on-chain registry.

  • category: Token ID or symbol

Response Example:

{
"description" : "Cauldron socks",
"filemeta": {
"actual_hash":"c705cc90a56ac7ef9a15ef90ebbc8ba7e60e4c622e5464d52d8baf7887949fcc",
"expected_hash":"c705cc90a56ac7ef9a15ef90ebbc8ba7e60e4c622e5464d52d8baf7887949fcc"
"source":"onchain"
},
"name":"Cauldron Socks",
"token":{
"category":"b79bfc8246b5fc4707e7c7dedcb6619ef1ab91f494a790c20b0f4c422ed95b92",
"decimals":0,
"symbol":"SOCK"
},
"uris":{
"icon":"https://sock.cauldron.quest/sock.png",
"web":"https://cauldron.quest"
}
}

Example URI: /token/b79bfc8246b5fc4707e7c7dedcb6619ef1ab91f494a790c20b0f4c422ed95b92

/token/<category>/all

Endpoint: GET /token/<category>/all

Status: Unstable

Description: Fetches BCMR data for token from all registries (including OTR).

Return format is same as /token/<category> route; except it returns an array of BCMR entries.

Example URI: /token/b79bfc8246b5fc4707e7c7dedcb6619ef1ab91f494a790c20b0f4c422ed95b92/all


← Back to Index