db_getString
ローカルデータベースの文字列を返します。
注意
この機能は非推奨で取り除かれる予定です。
パラメータ
1. String
データベース名
2. String
キー名
code:params.js
params: [
"testDB",
"myKey",
]
戻り値
String
保存されていた文字列
サンプル
code:example.sh
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"db_getString","params":"testDB","myKey","id":73}'
// Result
{
"id":1,
"jsonrpc":"2.0",
"result": "myString"
}
参考
https://github.com/ethereum/wiki/wiki/JSON-RPC#db_getstring
#JSON_RPC_API
Ethereum JSON RPC API 日本語リファレンス