Appearance
Get currency capabilities
| GET | /assets/currencies/{id}/capabilities |
Path parameters
| Name | Type | Description | Required |
|---|---|---|---|
id | string | Currency identifier | ✅ |
Response schema
{
SEND: boolean;
STAKE: boolean;
EXECUTE_CONTRACT: boolean;
SIGN_MESSAGE: boolean;
DEPLOY_CONTRACT: boolean;
ACTIVATE_TOKEN: boolean;
RECEIVE: boolean;
}Examples
bash
curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {jwt}" \
"$API_BASE_URL/assets/currencies/{id}/capabilities"ts
const url = "<base-url>/assets/currencies/{id}/capabilities";
const headers = {
"Content-Type": "application/json",
Authorization: "Bearer <jwt>"
};
fetch(url, { headers }).then(res => {
console.log(res)
});python
import requests
url = "<base-url>/assets/currencies/{id}/capabilities"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <jwt>"
}
print(requests.get(url, headers=headers))