Download OpenAPI specification:Download
CancelTransaction is called by the provider to cancel a transaction sent from this wallet.
| txHash required | string Hex string encoding of the hash of the transaction that the bidder wants to cancel. |
{- "txHash": "71c1348f2d7ff7e814f9c3617983703435ea7446de420aeac488bf1de35737e8"
}GetPendingTxns is called by the provider to get the pending transactions for the wallet.
{- "pendingTxns": [
- {
- "created": "2009-11-10 23:00:00 +0000 UTC m=+0.000000001",
- "nonce": 1234,
- "txHash": "71c1348f2d7ff7e814f9c3617983703435ea7446de420aeac488bf1de35737e8"
}
]
}ReceiveBids is called by the provider to receive bids from the mev-commit node. The mev-commit node will stream bids to the provider as the response.
{- "result": {
- "amount": "1000000000000000000",
- "bidDigest": "9dJinwL+FZ6B1xsIQQo8t8B0ZXJubJwY86l/Yu7yAH159QrPHU0qj2P+YFj+llbuI1ZygdxGsX8+P3byMEA5ig==",
- "blockNumber": 123456,
- "txHashes": [
- "fe4cb47db3630551beedfbd02a71ecc69fd59758e2ba699606e2d5c74284ffa7",
- "71c1348f2d7ff7e814f9c3617983703435ea7446de420aeac488bf1de35737e8"
]
}, - "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}SendProcessedBids is called by the provider to send processed bids to the mev-commit node. The provider will stream processed bids to the mev-commit node.
Response sent by the provider with the decision on the bid received. (streaming inputs)
| bidDigest required | string <byte> Digest of the bid message signed by the bidder. |
| status required | string (v1BidResponseStatus) Enum: "STATUS_ACCEPTED" "STATUS_REJECTED" |
{- "bidDigest": "9dJinwL+FZ6B1xsIQQo8t8B0ZXJubJwY86l/Yu7yAH159QrPHU0qj2P+YFj+llbuI1ZygdxGsX8+P3byMEA5ig==",
- "status": "STATUS_ACCEPTED"
}{ }