Get address (deprecated)
URL Expired
The URL for this request expired after 30 days.
Request to get an address for the native asset.
| Parameter | Type | Status |
|---|---|---|
| MasterKey | string | required |
| Account | string | required |
| Symbol | string | required |
| Index | integer | Defaults to 0 |
| Testnet | boolean | required |
Response Codes
`` 200 The address
`` 400 Invalid input, validation error, or malformed request
`` 500 Internal server error. May include an
errorCode(M-prefixed) anddatafrom the MPA error code system. Seecwpapi/errors.gofor codes.
Example Request
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 '
{
"Index": 0,
"Testnet": true
}
'
Try It!
Choose an example:
application/json
200400500