Appearance
Get a fresh address of an account
| GET | /accounts/{id}/fresh-address |
Path parameters
| Name | Type | Description | Required |
|---|---|---|---|
id | string | Id of the target account | ✅ |
Response schema
{}
// Address
address: string;// Derivation path
derivationPath: string | null;Examples
bash
curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {jwt}" \
"$API_BASE_URL/accounts/{id}/fresh-address"ts
const url = "<base-url>/accounts/{id}/fresh-address";
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}/fresh-address"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer <jwt>"
}
print(requests.get(url, headers=headers))