Zcash
decoderawtransaction8 额度
将序列化的交易 hex 解码为 JSON。
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| hexstring | string | 原始交易 hex。 |
| iswitness | boolean | 是否为见证序列化。 (可选) |
返回值
类型
Object
解码后的交易。
代码示例
curl https://holy-burned-sky-zcash-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "decoderawtransaction",
"params": [
"01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff…"
]
}'