xmr

Monero (XMR)

Method: POST flush_txpool

dropdown
POST

flush_txpool

方法不允许

从交易池中刷新 tx id

Parameters

txids - 字符串数组

可选,要从池中刷新的交易 ID 列表(如果为空,则刷新所有交易 ID)。

Request

curl --location --request POST 'https://xmr.getblock.io/mainnet/json_rpc' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "flush_txpool",
"params": {"txids": "dc16fa8eaffe1484ca9014ea050e13131d3acf23b419f33bb4cc0b32b6c49308"},
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}