DASH
POST
GET
Last updated on January 1, 1970
1 min read
Method prioritisetransaction undefined ()
connect with JSON-RPC protocol
prioritisetransaction
Method not allowed
adds virtual priority or fee to a transaction, allowing it to beaccepted into blocks mined by this node (or miners which use this node)with a lower priority or fee.(It can also remove virtual priority or fee, requiring the transactionhave a higher priority or fee to be accepted into a locally-minedblock.)
Parameters
TXID
- string
The TXID of the transaction whose virtual priority or fee you want to modify, encoded as hex in RPC byte order.
fee
- number (int)
Warning: this value is in duffs, not Dash
If positive, the virtual fee to add to the actual fee paid by the transaction; if negative, the virtual fee to subtract from the actual fee paid by the transaction.
No change is made to the actual fee paid by the transaction.
Request
curl --location --request POST 'https://dash.getblock.io/mainnet/'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
--data-raw '{"jsonrpc": "2.0",
"method": "prioritisetransaction",
"params": [null, null],
"id": "getblock.io"}'
Response
{
"result": "null",
"id": "getblock.io",
"status_code": 405,
"message": "Method not allowed"
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }