PreiseGitHubDashboard

Bitcoin Cash

analyzepsbt25 Credits

Analyzes and provides information about a PSBT

Netzwerk: bch

Parameter

NameTypBeschreibung
psbtstringBase64-encoded PSBT.

Rückgabewert

Typ

Object

inputs (array of has_utxo, is_final, optional missing and next), estimated_vsize, estimated_feerate (BTC/kvB), fee, next (the role the PSBT should go to next) and error.

Codebeispiele

curl https://holy-burned-sky-bch-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "analyzepsbt",
  "params": [
    "cHNidP8BAHUCAAAAASaBcTce3/KF6Tet7qSze3gADAVmy7OtZGQXE8pCFxv2AAAAAAD+////…"
  ]
}'