Creates an entry to the portfolio’s onchain address groups.
curl --request POST \
--url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/onchain_address_group \
--header 'Content-Type: application/json' \
--data '{
"address_group": {
"id": "<string>",
"name": "<string>",
"network_type": "NETWORK_TYPE_UNSPECIFIED",
"addresses": [
{
"name": "<string>",
"address": "<string>",
"chain_ids": [
"<string>"
]
}
],
"added_at": "2023-11-07T05:31:56Z"
}
}'
{
"activity_type": "ACTIVITY_TYPE_GOVERNANCE_VOTE",
"num_approvals_remaining": 123,
"activity_id": "<string>"
}
A successful response.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/onchain_address_group \
--header 'Content-Type: application/json' \
--data '{
"address_group": {
"id": "<string>",
"name": "<string>",
"network_type": "NETWORK_TYPE_UNSPECIFIED",
"addresses": [
{
"name": "<string>",
"address": "<string>",
"chain_ids": [
"<string>"
]
}
],
"added_at": "2023-11-07T05:31:56Z"
}
}'
{
"activity_type": "ACTIVITY_TYPE_GOVERNANCE_VOTE",
"num_approvals_remaining": 123,
"activity_id": "<string>"
}