Pact Swap

Get public key hash


Gets the hash of a public key using the SHA-256 algorithm.

GET
/pactswap_cm/getPubkeyHash

Query Parameters

publicKeystring

The public key to hash.

Response Body

curl -X GET "https://cwap-api-dev.coinhq.store/pactswap_cm/getPubkeyHash?publicKey=020a89e0698443aaf4ecd613317d2fdf90ef73b99244182fc7bb3c6b85f375b876"
{
  "pubkeyHash": "6c349adc240a919c2c23980aafefea0300000000000000000000000000000000"
}

Was this documentation helpful? Any suggestions?

Last updated on