ドキュメント
料金GitHubダッシュボード

Zcash

gettxout8クレジット

未使用のトランザクション出力に関する詳細を返します

ネットワーク: zcash

パラメータ

名前型説明
txidstringトランザクションID。
nnumber出力インデックス(vout)。
include_mempoolbooleanmempool を考慮するかどうか。デフォルトは true で、その場合、mempool 内のトランザクションに使用された出力は使用済みとして報告されます。 (任意)

戻り値

型

Object | null

出力が存在しない、または使用済みの場合は null。それ以外は bestblock, confirmations, value(BTC), scriptPubKey(asm, desc, hex, type、定義されている場合は address), coinbase。古い Core バージョンは address と desc の代わりに reqSigs と addresses を返します。

コード例

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": "gettxout",
  "params": [
    "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
    0,
    true
  ]
}'