seredat / karbowanec

Karbo (Karbovanets) - Digital Exchange Medium - cryptocurrency made in Ukraine, CryptoNote protocol implementation.
https://karbo.io/
Other
104 stars 66 forks source link

Add walletd RPC method hasAddress #224

Closed aivve closed 6 months ago

aivve commented 6 months ago

Returns bool isOurs.

Example Request:

{
  "jsonrpc": "2.0",
  "id": "test",
  "method": "hasAddress",
  "params": {
     "address":"Kdev1L9V5ow3cdKNqDpLcFFxZCqu5W2GE9xMKewsB2pUXWxcXvJaUWHcSrHuZw91eYfQFzRtGfTemReSSMN4kE445i6Etb31"
  }
}

Response:

{
    "id": "test",
    "jsonrpc": "2.0",
    "result": {
        "isOurs": true
    }
}