import requests
url = "https://api.example.com/api/v1/wallets/{wallet_uuid}/addresses"
payload = {
"chain_id": "<string>",
"chain_type": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.example.com/api/v1/wallets/{wallet_uuid}/addresses \
--header 'Content-Type: application/json' \
--data '
{
"chain_id": "<string>",
"chain_type": "<string>"
}
'{
"result": {
"wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"chain_type": "",
"compatible_chains": [
"<string>"
]
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"result": {
"wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"chain_type": "",
"compatible_chains": [
"<string>"
]
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Create wallet address
This operation derives a new on-chain address for the specified wallet and chain. The wallet ID can be retrieved by calling the List all wallets operation. Provide chain_id (Cobo metadata id, e.g. SETH) and/or chain_type (WaaS id such as ETH/SOL, or a resolvable Cobo id). If only chain_id is set, the server resolves the WaaS chain type. If only chain_type is set, behavior matches the previous API. If both are set, chain_id is used.
import requests
url = "https://api.example.com/api/v1/wallets/{wallet_uuid}/addresses"
payload = {
"chain_id": "<string>",
"chain_type": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.example.com/api/v1/wallets/{wallet_uuid}/addresses \
--header 'Content-Type: application/json' \
--data '
{
"chain_id": "<string>",
"chain_type": "<string>"
}
'{
"result": {
"wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"chain_type": "",
"compatible_chains": [
"<string>"
]
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"result": {
"wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"chain_type": "",
"compatible_chains": [
"<string>"
]
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Headers
Path Parameters
Body
Request payload for creating wallet address.
Cobo chain_id from chain metadata (for example, SETH, BASE_ETH). When both chain_id and chain_type are set, chain_id is used.
1 - 100WaaS chain identifier (for example, ETH, SOL) or a Cobo chain_id that resolves to one (for example, SETH). Ignored when chain_id is set.
1 - 100Response
Already exists (idempotent). Successful Response
Wallet address response payload.
Show child attributes
Show child attributes
Pagination metadata for list responses.
Supports both legacy offset-based and cursor-based pagination.
Cursor fields (has_more, after, before) are populated for
cursor-paginated endpoints. Legacy fields (offset, limit) are
populated when the caller uses the deprecated offset parameter.
Show child attributes
Show child attributes