Get address

URL Expired

The URL for this request expired after 30 days.

Request to get an address for the native asset of a chain identified by CAIP-2.

MasterKey
string
required
Master key name.

CAIP2
string
required
Chain identifier in CAIP-2 format (e.g., eip155:1, eip155:17000).

Account
string
required
Account name.

Index
integer
Defaults to 0
Address index. Default 0.

`` 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.


ShellNodeRubyPHPPython

Base URL
https://api.your-wallet.blockdaemon-wallet.com/api/cwp/addresses/get

xxxxxxxxxx

curl --request POST \
     --url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/addresses/get \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"Index":0}'

Click Try It! to start a request and see the response here! Or choose an example:

application/json

200400``500