FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
⚡ We welcome businesses to test our enterprise-grade service
Method: POST transaction_entry
transaction_entry 方法从特定分类帐版本中检索有关单个交易的信息。
(相比之下,tx 方法搜索指定交易的所有分类帐。我们建议改用该方法。)
ledger_hash
- 细绳
(可选)供分类帐版本使用的 20 字节十六进制字符串。
ledger_index
- 字符串或无符号整数
(可选)要使用的分类帐的分类帐索引,或用于自动选择分类帐的快捷字符串。
tx_hash
- 细绳
您正在查找的交易的唯一哈希
curl --location --request POST 'https://xrp.getblock.io/mainnet/' --header 'x-api-key: YOUR-API-KEY' --header 'Content-Type: application/json' --data-raw '{"jsonrpc": "2.0", "method": "transaction_entry", "params": [{"tx_hash": "C53ECF838647FA5A4C780377025FEC7999AB4182590510CA461444B207AB74A9"}], "id": "getblock.io"}'
{ "result": { "error": "notYetImplemented", "ledger_current_index": 63632463, "request": { "command": "transaction_entry", "tx_hash": "C53ECF838647FA5A4C780377025FEC7999AB4182590510CA461444B207AB74A9" }, "status": "error", "validated": false } }