Get address (deprecated)
URL Expired
The URL for this request expired after 30 days.
Request to get an address for the native asset.
| Field | Type | Requirement | Description |
|---|---|---|---|
| MasterKey | string | required | Master key name. |
| Account | string | required | Account name. |
| Symbol | string | required | Asset symbol (e.g., ETH, BTC). |
| Index | integer | Defaults to 0 | Address index. Default is 0. |
| Testnet | boolean | required | Whether to use test network. |
Responses
200 The address
400 Invalid input, validation error, or malformed request
500 Internal server error. May include an errorCode (M-prefixed) and data from the MPA error code system. See cwpapi/errors.go for codes.
Base URL
https://api.your-wallet.blockdaemon-wallet.com/api/cwp/address/get
curl --request POST \
--url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/address/get \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '\n{\n "Index": 0,\n "Testnet": true\n}\n'\n```
Click `Try It!` to start a request and see the response here! Or choose an example:
application/json