curl --request GET \
--url 'https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}'
import json
import requests
url = "https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}"
response = requests.request("GET", url)
print(response.text)
const response = await fetch('https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}', {
method: 'GET',
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}", nil)
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"id": "<string>",
"name": "<string>",
"symbol": "<string>",
"totalSupply": "<string>",
"totalSupplyAsOf": "2026-01-01T00:00:00Z",
"decimals": 10,
"paused": false,
"pauseInfo": {
"reason": "<string>",
"until": "2026-01-01T00:00:00Z"
},
"supportedApis": {},
"showAccountInputFields": false,
"accountInputFieldsToShow": [
"provider"
]
}
{
"error": "<string>"
}
{
"error": "<string>"
}
GET /v0/scan-proxy/registry/metadata/v1/instruments/:instrumentId
Retrieve an instrument’s metadata.
GET
/
api
/
validator
/
v0
/
scan-proxy
/
registry
/
metadata
/
v1
/
instruments
/
{instrumentId}
curl --request GET \
--url 'https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}'
import json
import requests
url = "https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}"
response = requests.request("GET", url)
print(response.text)
const response = await fetch('https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}', {
method: 'GET',
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}", nil)
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"id": "<string>",
"name": "<string>",
"symbol": "<string>",
"totalSupply": "<string>",
"totalSupplyAsOf": "2026-01-01T00:00:00Z",
"decimals": 10,
"paused": false,
"pauseInfo": {
"reason": "<string>",
"until": "2026-01-01T00:00:00Z"
},
"supportedApis": {},
"showAccountInputFields": false,
"accountInputFieldsToShow": [
"provider"
]
}
{
"error": "<string>"
}
{
"error": "<string>"
}
Retrieve an instrument’s metadata.
OpenAPIUpdated 0.6.12
curl --request GET \
--url 'https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}'
import json
import requests
url = "https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}"
response = requests.request("GET", url)
print(response.text)
const response = await fetch('https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}', {
method: 'GET',
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}", nil)
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://example.com/api/validator/v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId}')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"id": "<string>",
"name": "<string>",
"symbol": "<string>",
"totalSupply": "<string>",
"totalSupplyAsOf": "2026-01-01T00:00:00Z",
"decimals": 10,
"paused": false,
"pauseInfo": {
"reason": "<string>",
"until": "2026-01-01T00:00:00Z"
},
"supportedApis": {},
"showAccountInputFields": false,
"accountInputFieldsToShow": [
"provider"
]
}
{
"error": "<string>"
}
{
"error": "<string>"
}
Path parameters
Responses
200
okapplication/json
The display name for the instrument recommended by the instrument admin. This is not necessarily unique.
The symbol for the instrument recommended by the instrument admin. This is not necessarily unique.
The number of decimal places used by the instrument. Must be a number between 0 and 10, as the Daml interfaces represent holding amounts as
Decimal values, which use 10 decimal places and are precise for 38 digits. Setting this to 0 means that the instrument can only be held in whole units. This number SHOULD be used for display purposes in a wallet to decide how many decimal places to show and accept when displaying or entering amounts.Indicates whether the instrument is currently paused. A paused instrument cannot be transferred or allocated.
Map from token standard API name to the minor version of the API supported, e.g., splice-api-token-metadata-v1 -> 1 where the
1 corresponds to the minor version.Informs wallets whether the instrument supports non-basic accounts and the wallet should thus show input fields for both the account provider and the account id in input forms for transfers and allocations. Note that wallets should always show non-null account providers and account ids when displaying transfers and allocations. This property is deprecated in favor of the more fine-grained
accountInputFieldsToShow property.404
not foundapplication/json
500
Internal server errorapplication/json
History
Updated
0.6.12The GET /v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId} operation changed in this snapshot.
Updated
0.6.11The GET /v0/scan-proxy/registry/metadata/v1/instruments/{instrumentId} operation changed in this snapshot.