요금GitHub대시보드

Zcash

getmempoolentry8 크레딧

멤풀 트랜잭션의 상세 정보를 반환합니다.

네트워크: zcash

매개변수

이름타입설명
txidstring트랜잭션 ID. 멤풀에 있어야 합니다.

반환값

타입

Object

vsize, weight, time(진입 시각, Unix), height(진입 시점의 체인 높이), descendantcount, descendantsize, ancestorcount, ancestorsize, wtxid, fees(BTC 단위의 base, modified, ancestor, descendant), depends와 spentby(txid 배열), bip125-replaceable, unbroadcast. 이전의 fee, modifiedfee, descendantfees, ancestorfees 필드는 더 이상 권장되지 않습니다.

코드 예제

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