testmempoolaccept (4.1.2 RPC) blockchain getbestblockhash getblock getblockchaininfo getblockcount getblockfilter getblockhash getblockheader getblockstats getchaintips getchaintxstats getdifficulty getmempoolancestors getmempooldescendants getmempoolentry getmempoolinfo getrawmempool gettxout gettxoutproof gettxoutsetinfo preciousblock pruneblockchain savemempool scantxoutset verifychain verifytxoutproof control getmemoryinfo getrpcinfo help logging stop uptime generating generate generatetoaddress generatetodescriptor governance getgovernanceinfo getsuperblockbudget masternodelist mnsync sentinelping spork voteraw governancewallet gobject masternode masternodebroadcast mining createauxblock getauxblock getblocktemplate getmininginfo getnetworkhashps prioritisetransaction submitauxblock submitblock submitheader network addnode clearbanned disconnectnode getaddednodeinfo getconnectioncount getnettotals getnetworkinfo getnodeaddresses getpeerinfo listbanned ping setban setnetworkactive rawtransactions analyzepsbt combinepsbt combinerawtransaction converttopsbt createpsbt createrawtransaction decodepsbt decoderawtransaction decodescript finalizepsbt fundrawtransaction getrawtransaction joinpsbts sendrawtransaction signrawtransactionwithkey testmempoolaccept utxoupdatepsbt syscoin addressbalance assetallocationbalance assetallocationbalances assetallocationinfo assetallocationverifyzdag assetinfo convertaddress getblockhashbytxid listassetallocationmempoolbalances listassetallocations listassetindex listassetindexallocations listassetindexassets listassets syscoincheckmint syscoinclearethheaders syscoindecoderawtransaction syscoingetspvproof syscoingettxroot syscoinsetethheaders syscoinsetethstatus syscoinstartgeth syscoinstopgeth tpstestadd tpstestinfo tpstestsetenabled syscoinwallet assetallocationburn assetallocationlock assetallocationmint assetallocationsend assetallocationsendmany assetnew assetsend assetsendmany assettransfer assetupdate convertaddresswallet sendfrom syscoinburntoassetallocation util createmultisig deriveaddresses estimatesmartfee getdescriptorinfo signmessagewithprivkey validateaddress verifymessage wallet abandontransaction abortrescan addmultisigaddress backupwallet bumpfee createwallet dumpprivkey dumpwallet encryptwallet getaddressesbylabel getaddressinfo getbalance getbalances getnewaddress getrawchangeaddress getreceivedbyaddress getreceivedbylabel gettransaction getunconfirmedbalance getwalletinfo importaddress importmulti importprivkey importprunedfunds importpubkey importwallet keypoolrefill listaddressgroupings listlabels listlockunspent listreceivedbyaddress listreceivedbylabel listsinceblock listtransactions listunspent listwalletdir listwallets loadwallet lockunspent removeprunedfunds rescanblockchain sendmany sendtoaddress sethdseed setlabel settxfee setwalletflag signmessage signrawtransactionwithwallet unloadwallet walletcreatefundedpsbt walletlock walletpassphrase walletpassphrasechange walletprocesspsbt zmq getzmqnotifications testmempoolaccept ["rawtx",...] ( maxfeerate ) Returns result of mempool acceptance tests indicating if raw transaction (serialized, hex-encoded) would be accepted by mempool. This checks if the transaction violates the consensus or policy rules. See sendrawtransaction call. Arguments: 1. rawtxs (json array, required) An array of hex strings of raw transactions. Length must be one for now. [ "rawtx", (string) ... ] 2. maxfeerate (numeric or string, optional, default=0.10) Reject transactions whose fee rate is higher than the specified value, expressed in SYS/kB Result: [ (array) The result of the mempool acceptance test for each raw transaction in the input array. Length is exactly one for now. { "txid" (string) The transaction hash in hex "allowed" (boolean) If the mempool allows this tx to be inserted "reject-reason" (string) Rejection string (only present when 'allowed' is false) } ] Examples: Create a transaction > syscoin-cli createrawtransaction "[{\"txid\" : \"mytxid\",\"vout\":0}]" "{\"myaddress\":0.01}" Sign the transaction, and get back the hex > syscoin-cli signrawtransactionwithwallet "myhex" Test acceptance of the transaction (signed hex) > syscoin-cli testmempoolaccept '["signedhex"]' As a JSON-RPC call > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "testmempoolaccept", "params": [["signedhex"]] }' -H 'content-type: text/plain;' http://127.0.0.1:8370/