Returns binary data from the local database.
Note this function is deprecated and will be removed in the future.
String
- Database name.String
- Key name.params: [
"testDB",
"myKey",
]
DATA
- The previously stored data.
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"db_getHex","params":["testDB","myKey"],"id":73}'
// Result
{
"id":1,
"jsonrpc":"2.0",
"result": "0x68656c6c6f20776f726c64"
}