FiyatlandırmaGitHubKontrol paneli

Dogecoin

createpsbt25 kredi

Creates a transaction in the Partially Signed Transaction format

Ağ: doge

Parametreler

AdTürAçıklama
inputsObject[]Inputs to spend, each { txid, vout, sequence? }.
outputsObject[]Outputs, each { "<address>": amount_in_BTC } or { "data": "<hex>" }. Addresses must not repeat; at most one data output.
locktimenumberRaw locktime. Default is 0. (isteğe bağlı)
replaceablebooleanMark the transaction as BIP 125 replaceable. Default is false. (isteğe bağlı)

Dönüş değeri

Tür

string

Base64-encoded PSBT.

Kod örnekleri

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": "createpsbt",
  "params": [
    [
      {
        "txid": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
        "vout": 0
      }
    ],
    [
      {
        "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq": 0.01
      }
    ],
    0,
    true
  ]
}'