Skip to content

Method: addresses/getAddressFromPublic

GET /addresses
( https://services-api.dcore.io/blockchain/addresses )


Seeks an address linked to the provided public key. The address retrieved can be used with transfer and history methods.


Query Parameters

Name Description Type
blockchain
required
Which blockchain to use.
Values: "Bitcoin", "Ethereum", "DCore".
string
publicKey
required
Public Key of address being sought. string

Request Headers

1
2
accept: application/json
x-api-key: <your-api-key>

Request Body

Not Applicable

Responses for addresses/getAddressFromPublic

The following response codes could be returned:

200

Content Type: application/json

Response Body:

"string"

A single JSON string representing the address sought.

Error

Click the description for more detailed information on why the error was raised, and potential fixes.

Examples

Examples of using this endpoint method can be found here


  1. The blockchains supported are Bitcoin (BTC) Ethereum (ETH) and DCore (DCT)