FiyatlandırmaGitHubKontrol paneli

Bitcoin

utxoupdatepsbt30 kredi

Updates segwit inputs/outputs in a PSBT with UTXO set data

Ağ: bitcoin

Parametreler

AdTürAçıklama
psbtstringBase64-encoded PSBT.
descriptors(string | Object)[]Descriptors used to fill in scripts and keys: a descriptor string or { desc, range } where range (number or [begin, end], default 1000) limits the HD indexes explored. (isteğe bağlı)

Dönüş değeri

Tür

string

Base64-encoded PSBT with input UTXO data (and descriptor-derived data) filled in.

Kod örnekleri

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