Dogecoin
submitpackage80 crédits
Submit a package of raw transactions to local mempool
Paramètres
| Nom | Type | Description |
|---|---|---|
| package | string[] | Hex-encoded raw transactions: unconfirmed parents first and the child last. Parents must not depend on each other. |
| maxfeerate | number | string | Reject transactions paying more than this feerate, in BTC/kvB. Default is 0.10; 0 accepts any feerate. (facultatif) |
| maxburnamount | number | string | Reject 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…"
]
]
}'