Appearance
Securely get a verified address for an UTXO based account
| GET | /accounts/{id}/addresses/{index} |
Path parameters
| Name | Type | Description | Required |
|---|---|---|---|
id | string | Id of the target account | ✅ |
index | number | Index of the address to retrieve min: 0, max: 9007199254740991 | ✅ |
Response schema
string
Examples
bash
curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {jwt}" \
"$API_BASE_URL/accounts/{id}/addresses/{index}"ts
const url = "<base-url>/accounts/{id}/addresses/{index}";
const headers = {
"Content-Type": "application/json",
Authorization: "Bearer <jwt>"
};
fetch(url, { headers }).then(res => {
console.log(res)
});python
import requests
url = "<base-url>/accounts/{id}/addresses/{index}"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <jwt>"
}
print(requests.get(url, headers=headers))