TarifsGitHubTableau de bord

Dogecoin

submitpackage80 crédits

Submit a package of raw transactions to local mempool

Réseau: doge

Paramètres

NomTypeDescription
packagestring[]Hex-encoded raw transactions: unconfirmed parents first and the child last. Parents must not depend on each other.
maxfeeratenumber | stringReject transactions paying more than this feerate, in BTC/kvB. Default is 0.10; 0 accepts any feerate. (facultatif)
maxburnamountnumber | stringReject if more than this many BTC go to provably unspendable outputs. Default is 0. (facultatif)

Valeur renvoyée

Type

Object

package_msg (success or a failure reason), tx-results (object keyed by wtxid with txid, vsize, fees { base, effective-feerate, effective-includes } or error, optional other-wtxid) and optional replaced-transactions (txids).

Exemples de code

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": "submitpackage",
  "params": [
    [
      "0200000001…",
      "0200000001…"
    ]
  ]
}'