Last updated 25 days ago
rawtxs - json array, required
rawtxs
An array of hex strings of raw transactions. Length must be one for now.
maxfeerate - numeric or string, optional, default=0.10
maxfeerate
Reject transactions whose fee rate is higher than the specified value, expressed in BTC/kB
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "testmempoolaccept", "params": [["rawtxs"], null], "id": "getblock.io"}'
null
Example code for the testmempoolaccept json-rpc method. Сomplete guide on how to use testmempoolaccept json-rpc in GetBlock.io Web3 documentation.