Logo
Core Blockchain's Public API Documentation

getHex

POST {{ENVIRONMENT}}

Returns binary data from the local database.

Note: This function is deprecated and will be removed in the future.

Parameters

String - Database name.

String - Key name.

params: [
  "testDB",
  "myKey",
]

Returns

DATA - The previously stored data.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'ENVIRONMENT' -d '{"jsonrpc":"2.0","method":"db_getHex","params":["testDB","testKey"],"id":1}'

ENDPOINTS