curl --request POST \
--url https://api.caminotreasury.com/v1/wallets/track \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"address": "0x742d35cc6634c0532925a3b844bc454e4438f44e",
"label": "External Treasury"
}
'{
"wallet": {
"id": 123,
"address": "0x742d35cc6634c0532925a3b844bc454e4438f44e",
"label": "Main Treasury",
"type": "internal",
"createdAt": "2023-11-07T05:31:56Z"
}
}Tracks an existing external wallet address in the organization. The address must be a valid Ethereum address and unique within the organization. The wallet type is set to external.
curl --request POST \
--url https://api.caminotreasury.com/v1/wallets/track \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"address": "0x742d35cc6634c0532925a3b844bc454e4438f44e",
"label": "External Treasury"
}
'{
"wallet": {
"id": 123,
"address": "0x742d35cc6634c0532925a3b844bc454e4438f44e",
"label": "Main Treasury",
"type": "internal",
"createdAt": "2023-11-07T05:31:56Z"
}
}API key for authentication. Pass your key in the x-api-key header.
Wallet tracked successfully
Show child attributes