testmempoolaccept RPC Method
Parameters
rawtxs
JSON array
REQUIRED
Loading...
maxfeerate
string/numeric
Loading...
Returns
txid
Loading...
wtxid
Loading...
package-error
Loading...
allowed
Loading...
vsize
Loading...
fees
Loading...
base
Loading...
reject-reason
Loading...
reject-details
Loading...
Request
1curl https://docs-demo.btc.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"id": 1, "jsonrpc": "2.0", "method": "testmempoolaccept", "params": ["rawtxs"]}'5
1curl https://docs-demo.btc.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"id": 1, "jsonrpc": "2.0", "method": "testmempoolaccept", "params": ["rawtxs"]}'5
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"txid": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2",7"wtxid": "c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4",8"allowed": true,9"vsize": 14110},11{12"txid": "e2d3c4b5a6f7e8d9c0b1a2f3e4d5c6b7a8f9e0d1c2b3a4f5e6d7c8b9a0f1e2",13"wtxid": "f3e4d5c6b7a8f9e0d1c2b3a4f5e6d7c8b9a0f1e2d3c4b5a6f7e8d9c0b1a2f3",14"allowed": false,15"vsize": 225,16"fees": {17"base": 0.000001518},19"reject-reason": "insufficient priority",20"reject-details": "insufficient fee, rejecting replacement 07d7a59a7bdad4c3a5070659ea04147c9b755ad9e173c52b6a38e017abf0f5b8; new feerate 0.00300000 BTC/kvB <= old feerate 0.00300000 BTC/kvB"21}22]23}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"txid": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2",7"wtxid": "c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4",8"allowed": true,9"vsize": 14110},11{12"txid": "e2d3c4b5a6f7e8d9c0b1a2f3e4d5c6b7a8f9e0d1c2b3a4f5e6d7c8b9a0f1e2",13"wtxid": "f3e4d5c6b7a8f9e0d1c2b3a4f5e6d7c8b9a0f1e2d3c4b5a6f7e8d9c0b1a2f3",14"allowed": false,15"vsize": 225,16"fees": {17"base": 0.000001518},19"reject-reason": "insufficient priority",20"reject-details": "insufficient fee, rejecting replacement 07d7a59a7bdad4c3a5070659ea04147c9b755ad9e173c52b6a38e017abf0f5b8; new feerate 0.00300000 BTC/kvB <= old feerate 0.00300000 BTC/kvB"21}22]23}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free