FISCO-BCOS / FISCO-BCOS/spring-boot-starter

怎样根据交易哈希查询交易详情和n的明文值呢?

Open
#107 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
70
Forks
45
PR merge metrics
No merged PRs in 30d

Description

set示例:

curl http://127.0.0.1:8080/hello/set?n=hello
返回示例(表示交易哈希):

0x1c8b283daef12b38632e8a6b8fe4d798e053feb5128d9eaf2be77c324645763b
get示例:

curl http://127.0.0.1:8080/hello/get
返回示例:

["hello"]

这个hello好像是最后一次交易发送的值,如果要获取
0x1c8b283daef12b38632e8a6b8fe4d798e053feb5128d9eaf2be77c324645763b这个哈希的交易回执和 n=hello的明文信息,应该怎么写呢?

Contributor guide

Open the contributing guide

Research direction

The issue identifies the /hello/set and /hello/get endpoints and provides a transaction hash example. Start by tracing those endpoints and the Java SDK transaction-handling code, then determine whether the transaction receipt and the plaintext n value are available through the current API. Done means the requested lookup behavior is clearly implemented or documented, with a reproducible request and response.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain, java, spring-boot
Domain
backend-api-design, blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.