{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendBundle",
"params": [
{
txs, // Array[String], A list of signed transactions to execute in an atomic bundle, list can be empty for bundle cancellations
blockNumber, // (Optional) String, a hex encoded block number for which this bundle is valid on. If nil or 0, blockNumber will default to the current pending block
minTimestamp, // (Optional) Number, the minimum timestamp for which this bundle is valid, in seconds since the unix epoch
maxTimestamp, // (Optional) Number, the maximum timestamp for which this bundle is valid, in seconds since the unix epoch
revertingTxHashes, // (Optional) Array[String], A list of tx hashes that are allowed to revert or be discarded
droppingTxHashes, // (Optional) Array[String], A list of tx hashes that are allowed to be discarded, but may not revert on chain
replacementUuid, // (Optional) String, a UUID v4 that can be used to replace or cancel this bundle
refundPercent, // (Optional) Number, the percentage (from 0 to 100) of the sum of the specified refundTxHashes ETH rewards that should be refunded back to the ‘refundRecipient’
refundRecipient, // (Optional) Address, the address that will receive the ETH refund. If refundPercent is set and refundRecipient is not, the whole bundle will be discarded
refundTxHashes, // (Optional) Array[String], A list of tx hashes from which the refund is calculated (Defaults to final transaction in the bundle if list is not specified/empty)
}
]
}
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_cancelBundle",
"params": [
{
replacementUuid, // UUID v4 to uniquely identify submission
}
]
}
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendPrivateRawTransaction",
"params": [
tx, // String, raw signed transaction
]
}