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

Dogecoin

gettxoutproof40クレジット

Returns a hex-encoded proof that one or more transactions were included in a block

ネットワーク: doge

パラメータ

名前型説明
txidsstring[]Transaction ids to prove.
blockhashstringBlock that contains the transactions. Without it the call only works for transactions with an unspent output (or when the node runs with -txindex). (任意)

戻り値

型

string

Hex-encoded merkle proof (serialized MerkleBlock) that the transactions are in the block.

コード例

curl https://holy-burned-sky-doge-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "gettxoutproof",
  "params": [
    [
      "a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
    ],
    "00000000152340ca42227603908689183edc47355204e7aca59383b0aaac1fd8"
  ]
}'