Mempool

PushHighPriorityTransaction

Pushes a raw transaction with a high priority assigned into the mempool and broadcast it to the network.

const res = await fetch("http://127.0.0.1:8648", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
  jsonrpc: "2.0",
  method: "pushHighPriorityTransaction",
  params: ["rawTx"],
  id: 1
})
});
const data = await res.json();

Parameters

PropType / Default
rawTx
string

Returns

PropType / Default
returnValue
string

On this page