Requires Bearer token authentication. Include Authorization: Bearer YOUR_API_KEY in the request header.
Path Parameters
idintegerrequiredThe unique ID of the wallet
Request Body
namestringGive a new name to the wallet
gap_limitintegerThe number of unused addresses to check before considering the wallet as inactive. Do not touch this unless you know what you are doing.
Responses
idpath · integerrequiredThe unique ID of the wallet
namebody · stringGive a new name to the wallet
gap_limitbody · integerThe number of unused addresses to check before considering the wallet as inactive. Do not touch this unless you know what you are doing.
Response will appear here
Request
curl -X POST \
"https://www.blockonomics.co/api/v2/wallets/{id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"const response = await fetch('https://www.blockonomics.co/api/v2/wallets/{id}', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
const data = await response.json()
console.log(data)import requests
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.post(
"https://www.blockonomics.co/api/v2/wallets/{id}",
headers=headers
)
print(response.json())