Assign an address to account
PUT
/api/v2/analytics/chains/{chain}/addresses/{address}/assign/{reference_id}
This endpoint facilitates the linking of an address to an account.
Path Parameters
Name
Type
Description
Required
chain
string
Blockchain network name. Example: bitcoin
True
address
string
Unique blockchain identifier. Example: 1JjYpRXfPntVEJqAjxsYmvFjjJBdJyaJ2k
True
reference_id
string
The reference id of the account. Example: orig-002
True
Sample Request
curl -X PUT https://sandbox.ospree.io/api/v2/analytics/chains/bitcoin/addresses/bc1qa5wkgaew2dkv56kfvj49j0av5nml45x9ek9hz6/assign/orig-002
-h 'Content-Type: application/json' \
-h 'Accept: application/json' \
-h 'Authorization: ••••••' \
{
"status": "success",
"data": {
"reference_id": "orig-002"
}
}
Last updated