get_tx_notes - 返回交易备注
get_tx_notes
返回交易备注。
输入参数
- txids:交易ID字符串数组
输出结果
- notes:交易备注字符串数组
示例代码
curl请求:
$ curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_tx_notes","params":{"txids":["3292e83ad28fc1cc7bc26dbd38862308f4588680fbf93eae3e803cddd1bd614f"]}}' -H 'Content-Type: application/json'
响应结果:
{
"id": "0",
"jsonrpc": "2.0",
"result": {
"notes": ["This is an example"]
}
}