Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider
with the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider
for including the transaction in the block. The bid also includes the block number that the bidder
wants to include the transaction in, the start and end timestamps for the bid decay. The bidder can
optionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Documentation","colors":{"primary":"#E97D25","light":"#E97D25","dark":"#E97D25"},"logo":{"light":"https://mintcdn.com/primev-24/vCvd1KJjwKE40BBt/logo/light.svg?fit=max\u0026auto=format\u0026n=vCvd1KJjwKE40BBt\u0026q=85\u0026s=9328e283852e060d9fd99dc9f92b7803","dark":"https://mintcdn.com/primev-24/vCvd1KJjwKE40BBt/logo/dark.svg?fit=max\u0026auto=format\u0026n=vCvd1KJjwKE40BBt\u0026q=85\u0026s=3ad707c866922e72a7ac26aaa16badee"},"favicon":"https://mintcdn.com/primev-24/vCvd1KJjwKE40BBt/favicon.svg?fit=max\u0026auto=format\u0026n=vCvd1KJjwKE40BBt\u0026q=85\u0026s=9df046f9631bbbd08673df25e8bf75a5","footer":{"socials":{"twitter":"https://twitter.com/primev_xyz","github":"https://github.com/primev/mev-commit","linkedin":"https://www.linkedin.com/company/primevxyz"}},"integrations":{"ga4":{"measurementId":"G-H7MFKTB1FS"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"primev-24","hasAudioNarration":false,"actualSubdomain":"primev-24","customDomains":["docs.primev.xyz"],"gitSource":{"type":"github","owner":"primev","repo":"mev-commit-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a8361fd78a17a5e20fa8dd6","collectionId":"04e72c7e-c96f-4f41-b0ec-183fadb8a218","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a8361fd78a17a5e20fa8dd6"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae91ed5b06fa73e673c71bd:success","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Documentation","count":105},{"language":"default","tag":"API Reference","count":104},{"language":"default","tag":"Concepts","count":49},{"language":"default","tag":"Knowledge Base","count":39},{"language":"default","tag":"Developers","count":28},{"language":"default","tag":"Get Started","count":28},{"language":"default","tag":"Bidder","count":24},{"language":"default","tag":"Provider","count":20},{"language":"default","tag":"Products","count":17},{"language":"default","tag":"mev-commit chain and p2p","count":13}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"div.min-w-full>pre.language-shell{white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word}.inline-card-header>a{height:100%}.inline-card-header>a>div{padding-left:1.25rem;padding-right:1.25rem}.inline-card-header>a>div>div{display:inline-block;vertical-align:middle}.inline-card-header>a>div>h2{display:inline-block;vertical-align:middle;margin:auto 0 auto 10px}.inline-card-header div a{text-decoration:none;font-weight:600;border-bottom:1px solid rgb(var(--primary-light))!important}#content.mdx-content[data-page-title=\"Welcome to Primev\"]{margin-top:0.75rem}#content.mdx-content[data-page-title=\"Welcome to Primev\"]>h3:first-child{margin-top:0}"}],"page":{"pagePath":"v1.2.x/api-reference/bidder/sendbid","slug":"/v1.2.x/api-reference/bidder/sendbid","pageMetadata":{"title":"SendBid","description":"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider \nwith the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider\nfor including the transaction in the block. The bid also includes the block number that the bidder\nwants to include the transaction in, the start and end timestamps for the bid decay. The bidder can\noptionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/bid","href":"/v1.2.x/api-reference/bidder/sendbid","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider\\nwith the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider\\nfor including the transaction in the block. The bid also includes the block number that the bidder\\nwants to include the transaction in, the start and end timestamps for the bid decay. The bidder can\\noptionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"SendBid","description":"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider \nwith the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider\nfor including the transaction in the block. The bid also includes the block number that the bidder\nwants to include the transaction in, the start and end timestamps for the bid decay. The bidder can\noptionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/bid","href":"/v1.2.x/api-reference/bidder/sendbid","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"SendBid","description":"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider \nwith the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider\nfor including the transaction in the block. The bid also includes the block number that the bidder\nwants to include the transaction in, the start and end timestamps for the bid decay. The bidder can\noptionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.","operationId":"Bidder_SendBid","responses":{"200":"ff68ba4f-5d60-4287-9e85-49c8cb722aa6","default":"8869b88b-5f2e-415e-a581-41ab041696f9"},"requestBody":"0419a8a4-ddea-43b8-8607-19c7f8ec8e21","method":"post","type":"path","servers":[],"security":[],"path":"/v1/bidder/bid","baseUrlOptions":[],"title":"SendBid","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","example":{"amount":"1000000000000000000","block_number":123456,"decay_end_timestamp":1630000000,"decay_start_timestamp":1630000000,"reverting_tx_hashes":["fe4cb47db3630551beedfbd02a71ecc69fd59758e2ba699606e2d5c74284ffa7"],"slash_amount":"500000000000000000","tx_hashes":["fe4cb47db3630551beedfbd02a71ecc69fd59758e2ba699606e2d5c74284ffa7","71c1348f2d7ff7e814f9c3617983703435ea7446de420aeac488bf1de35737e8"]},"properties":{"amount":{"type":"string","description":"Amount of ETH that the bidder is willing to pay to the provider for including the transaction in the block.","pattern":"[0-9]+","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"blockNumber":{"type":"string","format":"int64","description":"Max block number that the bidder wants to include the transaction in.","isRequired":true,"uniqueKey":"blockNumber","typeLabel":"string\u003cint64>"},"decayStartTimestamp":{"type":"string","format":"int64","description":"Timestamp at which the bid starts decaying.","isRequired":true,"uniqueKey":"decayStartTimestamp","typeLabel":"string\u003cint64>"},"decayEndTimestamp":{"type":"string","format":"int64","description":"Timestamp at which the bid ends decaying.","isRequired":true,"uniqueKey":"decayEndTimestamp","typeLabel":"string\u003cint64>"},"txHashes":{"type":"array","items":{"type":"string","pattern":"[a-fA-F0-9]{64}","uniqueKey":"txHashes.items.[INDEX]","typeLabel":"string"},"description":"Hex string encoding of the hashes of the transactions that the bidder wants to include in the block.","uniqueKey":"txHashes","typeLabel":"string[]"},"revertingTxHashes":{"type":"array","items":{"type":"string","uniqueKey":"revertingTxHashes.items.[INDEX]","typeLabel":"string"},"description":"Optional array of tx hashes that are allowed to revert or be discarded.","uniqueKey":"revertingTxHashes","typeLabel":"string[]"},"rawTransactions":{"type":"array","items":{"type":"string","uniqueKey":"rawTransactions.items.[INDEX]","typeLabel":"string"},"description":"Optional array of RLP encoded raw signed transaction payloads that the bidder wants to include in the block.","uniqueKey":"rawTransactions","typeLabel":"string[]"},"slashAmount":{"type":"string","description":"Amount of ETH that will be slashed from the provider if they fail to include the transaction. If zero, the decayed bid amount is used for slashing.","pattern":"[0-9]+","uniqueKey":"slashAmount","typeLabel":"string"},"bidOptions":{"type":"object","properties":{"options":{"type":"array","items":{"type":"object","properties":{"positionConstraint":{"type":"object","properties":{"anchor":{"type":"string","enum":["ANCHOR_TOP","ANCHOR_BOTTOM"],"title":"- ANCHOR_TOP: Position is at the top of the block\n - ANCHOR_BOTTOM: Position is at the bottom of the block","uniqueKey":"bidOptions.options.items.[INDEX].positionConstraint.anchor","typeLabel":"enum\u003cstring>"},"basis":{"type":"string","enum":["BASIS_PERCENTILE","BASIS_ABSOLUTE","BASIS_GAS_PERCENTILE"],"title":"- BASIS_PERCENTILE: Position is a percentile of the block size\n - BASIS_ABSOLUTE: Position is an absolute position in the block\n - BASIS_GAS_PERCENTILE: Position is a percentile of the gas used in the block","uniqueKey":"bidOptions.options.items.[INDEX].positionConstraint.basis","typeLabel":"enum\u003cstring>"},"value":{"type":"integer","format":"int32","description":"Value of the position constraint. If anchor is TOP, this is the position from the top of the block. If anchor is BOTTOM, this is the position from the bottom of the block.","uniqueKey":"bidOptions.options.items.[INDEX].positionConstraint.value","typeLabel":"integer\u003cint32>"}},"description":"Constraint on the position of the transaction in the block.","title":"Position Constraint","uniqueKey":"bidOptions.options.items.[INDEX].positionConstraint","typeLabel":"Position Constraint · object"}},"uniqueKey":"bidOptions.options.items.[INDEX]","typeLabel":"object"},"description":"List of bid options for the transaction.","uniqueKey":"bidOptions.options","typeLabel":"object[]"}},"uniqueKey":"bidOptions","typeLabel":"object"}},"description":"Unsigned bid message from bidders to the bidder mev-commit node.","title":"Bid message","required":["amount","blockNumber","decayStartTimestamp","decayEndTimestamp"],"uniqueKey":"","typeLabel":"Bid message · object"},"examples":{"Example":{"title":"Example","value":{"amount":"1000000000000000000","block_number":123456,"decay_end_timestamp":1630000000,"decay_start_timestamp":1630000000,"reverting_tx_hashes":["fe4cb47db3630551beedfbd02a71ecc69fd59758e2ba699606e2d5c74284ffa7"],"slash_amount":"500000000000000000","tx_hashes":["fe4cb47db3630551beedfbd02a71ecc69fd59758e2ba699606e2d5c74284ffa7","71c1348f2d7ff7e814f9c3617983703435ea7446de420aeac488bf1de35737e8"]}}},"exampleType":"generated"}},"description":"Unsigned bid message from bidders to the bidder mev-commit node.","required":true,"exampleType":"generated"},"responses":{"ff68ba4f-5d60-4287-9e85-49c8cb722aa6":{"description":"A successful response.(streaming responses)","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"txHashes":{"type":"array","items":{"type":"string","pattern":"[a-fA-F0-9]{64}","uniqueKey":"result.txHashes.items.[INDEX]","typeLabel":"string"},"description":"Hex string encoding of the hash of the transaction that the bidder wants to include in the block.","uniqueKey":"result.txHashes","typeLabel":"string[]"},"bidAmount":{"type":"string","description":"Amount of ETH that the bidder has agreed to pay to the provider for including the transaction in the block.","uniqueKey":"result.bidAmount","typeLabel":"string"},"blockNumber":{"type":"string","format":"int64","description":"Max block number that the bidder wants to include the transaction in.","uniqueKey":"result.blockNumber","typeLabel":"string\u003cint64>"},"receivedBidDigest":{"type":"string","description":"Hex string encoding of digest of the bid message signed by the bidder.","uniqueKey":"result.receivedBidDigest","typeLabel":"string"},"receivedBidSignature":{"type":"string","description":"Hex string encoding of signature of the bidder that sent this bid.","uniqueKey":"result.receivedBidSignature","typeLabel":"string"},"commitmentDigest":{"type":"string","description":"Hex string encoding of digest of the commitment.","uniqueKey":"result.commitmentDigest","typeLabel":"string"},"commitmentSignature":{"type":"string","description":"Hex string encoding of signature of the commitment signed by the provider confirming this transaction.","uniqueKey":"result.commitmentSignature","typeLabel":"string"},"providerAddress":{"type":"string","description":"Hex string encoding of the address of the provider that signed the commitment signature.","uniqueKey":"result.providerAddress","typeLabel":"string"},"decayStartTimestamp":{"type":"string","format":"int64","description":"Timestamp at which the bid starts decaying.","uniqueKey":"result.decayStartTimestamp","typeLabel":"string\u003cint64>"},"decayEndTimestamp":{"type":"string","format":"int64","description":"Timestamp at which the bid ends decaying.","uniqueKey":"result.decayEndTimestamp","typeLabel":"string\u003cint64>"},"dispatchTimestamp":{"type":"string","format":"int64","description":"Timestamp at which the commitment is published.","uniqueKey":"result.dispatchTimestamp","typeLabel":"string\u003cint64>"},"revertingTxHashes":{"type":"array","items":{"type":"string","uniqueKey":"result.revertingTxHashes.items.[INDEX]","typeLabel":"string"},"description":"Optional array of tx hashes that are allowed to revert or be discarded.","uniqueKey":"result.revertingTxHashes","typeLabel":"string[]"},"slashAmount":{"type":"string","description":"Amount of ETH that will be slashed from the provider if they fail to include the transaction.","uniqueKey":"result.slashAmount","typeLabel":"string"},"bidOptions":{"type":"object","properties":{"options":{"type":"array","items":{"type":"object","properties":{"positionConstraint":{"type":"object","properties":{"anchor":{"type":"string","enum":["ANCHOR_TOP","ANCHOR_BOTTOM"],"title":"- ANCHOR_TOP: Position is at the top of the block\n - ANCHOR_BOTTOM: Position is at the bottom of the block","uniqueKey":"result.bidOptions.options.items.[INDEX].positionConstraint.anchor","typeLabel":"enum\u003cstring>"},"basis":{"type":"string","enum":["BASIS_PERCENTILE","BASIS_ABSOLUTE","BASIS_GAS_PERCENTILE"],"title":"- BASIS_PERCENTILE: Position is a percentile of the block size\n - BASIS_ABSOLUTE: Position is an absolute position in the block\n - BASIS_GAS_PERCENTILE: Position is a percentile of the gas used in the block","uniqueKey":"result.bidOptions.options.items.[INDEX].positionConstraint.basis","typeLabel":"enum\u003cstring>"},"value":{"type":"integer","format":"int32","description":"Value of the position constraint. If anchor is TOP, this is the position from the top of the block. If anchor is BOTTOM, this is the position from the bottom of the block.","uniqueKey":"result.bidOptions.options.items.[INDEX].positionConstraint.value","typeLabel":"integer\u003cint32>"}},"description":"Constraint on the position of the transaction in the block.","title":"Position Constraint","uniqueKey":"result.bidOptions.options.items.[INDEX].positionConstraint","typeLabel":"Position Constraint · object"}},"uniqueKey":"result.bidOptions.options.items.[INDEX]","typeLabel":"object"},"description":"List of bid options for the transaction.","uniqueKey":"result.bidOptions.options","typeLabel":"object[]"}},"uniqueKey":"result.bidOptions","typeLabel":"object"}},"description":"Commitment message from the provider to the bidder mev-commit node.","title":"Commitment message","uniqueKey":"result","typeLabel":"Commitment message · object"},"error":{"type":"object","properties":{"code":{"type":"integer","format":"int32","uniqueKey":"error.code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","uniqueKey":"error.details.items.[INDEX].@type","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"title":"Stream result of bidderapiv1Commitment","uniqueKey":"","typeLabel":"Stream result of bidderapiv1Commitment · object"},"examples":{"Example":{"title":"Example","value":{"result":{"txHashes":["\u003cstring>"],"bidAmount":"\u003cstring>","blockNumber":"\u003cstring>","receivedBidDigest":"\u003cstring>","receivedBidSignature":"\u003cstring>","commitmentDigest":"\u003cstring>","commitmentSignature":"\u003cstring>","providerAddress":"\u003cstring>","decayStartTimestamp":"\u003cstring>","decayEndTimestamp":"\u003cstring>","dispatchTimestamp":"\u003cstring>","revertingTxHashes":["\u003cstring>"],"slashAmount":"\u003cstring>","bidOptions":{"options":[{"positionConstraint":{"anchor":"ANCHOR_TOP","basis":"BASIS_PERCENTILE","value":123}}]}},"error":{"code":123,"message":"\u003cstring>","details":[{"@type":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"8869b88b-5f2e-415e-a581-41ab041696f9":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","uniqueKey":"details.items.[INDEX].@type","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"v1.2.x/api-reference/bidder-openapi-spec.json"},"subdomain":"primev-24","siteName":"Documentation","title":"SendBid - Documentation","navMaps":{"firstHrefInVersion":{"v1.2.x":{"href":"/v1.2.x/api-reference/bidder/sendbid","matchLevel":0},"v1.1.0":{"href":"/api-reference/autodeposit","matchLevel":2}},"firstHrefInLanguage":{}},"originalFileLocation":"v1.2.x/api-reference/bidder/sendbid.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider with the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider for including the transaction in the block. The bid also includes the block number that the bidder wants to include the transaction in, the start and end timestamps for the bid decay. The bidder can optionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"SendBid - Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider with the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider for including the transaction in the block. The bid also includes the block number that the bidder wants to include the transaction in, the start and end timestamps for the bid decay. The bidder can optionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://primev-24.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=SendBid\u0026amp;description=Send+a+bid+to+the+bidder+mev-commit+node.+The+bid+is+a+message+from+the+bidder+to+the+provider+%0Awith+the+transaction+hashes+and+the+amount+of+ETH+that+the+bidde\u0026amp;theme=ef5fd9abf3635cb59735d8a5\u0026amp;signature=1ad623bad3edb0af7241726e7cc6f82c792700bf3a4b1d2477bb5d9131336c60\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"SendBid - Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider with the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider for including the transaction in the block. The bid also includes the block number that the bidder wants to include the transaction in, the start and end timestamps for the bid decay. The bidder can optionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://primev-24.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=SendBid\u0026amp;description=Send+a+bid+to+the+bidder+mev-commit+node.+The+bid+is+a+message+from+the+bidder+to+the+provider+%0Awith+the+transaction+hashes+and+the+amount+of+ETH+that+the+bidde\u0026amp;theme=ef5fd9abf3635cb59735d8a5\u0026amp;signature=1ad623bad3edb0af7241726e7cc6f82c792700bf3a4b1d2477bb5d9131336c60\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/primev-24/brCCNTodP4-GXx45/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E97D25\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v1.2.x/api-reference/bidder/sendbid.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.primev.xyz/#organization\",\"name\":\"Documentation\",\"url\":\"https://docs.primev.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/primev-24/vCvd1KJjwKE40BBt/logo/light.svg?fit=max\u0026auto=format\u0026n=vCvd1KJjwKE40BBt\u0026q=85\u0026s=9328e283852e060d9fd99dc9f92b7803\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.primev.xyz#website\",\"name\":\"Documentation\",\"url\":\"https://docs.primev.xyz\",\"publisher\":{\"@id\":\"https://docs.primev.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid#webpage\",\"url\":\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid\",\"name\":\"SendBid\",\"description\":\"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider with the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider for including the transaction in the block. The bid also includes the block number that the bidder wants to include the transaction in, the start and end timestamps for the bid decay. The bidder can optionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.\",\"isPartOf\":{\"@id\":\"https://docs.primev.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Documentation\",\"item\":\"https://docs.primev.xyz\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SendBid\",\"item\":\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid#apireference\",\"headline\":\"SendBid\",\"name\":\"SendBid\",\"description\":\"Send a bid to the bidder mev-commit node. The bid is a message from the bidder to the provider with the transaction hashes and the amount of ETH that the bidder is willing to pay to the provider for including the transaction in the block. The bid also includes the block number that the bidder wants to include the transaction in, the start and end timestamps for the bid decay. The bidder can optionally include the raw transaction payloads (hex encoded RLP) instead of transaction hashes.\",\"url\":\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid\",\"mainEntityOfPage\":{\"@id\":\"https://docs.primev.xyz/v1.2.x/api-reference/bidder/sendbid#webpage\"},\"publisher\":{\"@id\":\"https://docs.primev.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.primev.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Documentation","nav":{"global":null,"versions":[{"version":"v1.2.x","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/v1.2.x/get-started/welcome-to-primev"}]},{"tab":"API Reference","groups":[{"group":"Provider","pages":[{"group":"API Reference","pages":[{"title":"GetCommitmentInfo","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json get /v1/provider/get_commitment_info","href":"/v1.2.x/api-reference/provider/getcommitmentinfo"},{"title":"GetMinStake","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json get /v1/provider/get_min_stake","href":"/v1.2.x/api-reference/provider/getminstake"},{"title":"GetProviderReward","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json get /v1/provider/get_provider_reward","href":"/v1.2.x/api-reference/provider/getproviderreward"},{"title":"GetStake","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json get /v1/provider/get_stake","href":"/v1.2.x/api-reference/provider/getstake"},{"title":"ReceiveBids","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json get /v1/provider/receive_bids","href":"/v1.2.x/api-reference/provider/receivebids"},{"title":"SendProcessedBids","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json post /v1/provider/send_processed_bids","href":"/v1.2.x/api-reference/provider/sendprocessedbids"},{"title":"Stake","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json post /v1/provider/stake/{amount}","href":"/v1.2.x/api-reference/provider/stake"},{"title":"Unstake","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json post /v1/provider/unstake","href":"/v1.2.x/api-reference/provider/unstake"},{"title":"WithdrawProviderReward","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json post /v1/provider/withdraw_provider_reward","href":"/v1.2.x/api-reference/provider/withdrawproviderreward"},{"title":"WithdrawStake","description":"WithdrawStake is called by the provider to withdraw its stake from the provider registry.","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/provider-openapi-spec.json post /v1/provider/withdraw_stake","href":"/v1.2.x/api-reference/provider/withdrawstake"}]}]},{"group":"Bidder","pages":[{"group":"API Reference","pages":[{"title":"SendBid","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/bid","href":"/v1.2.x/api-reference/bidder/sendbid"},{"title":"ClaimSlashedFunds","description":"ClaimSlashedFunds is called by the bidder to claim slashed funds from the provider. The response\nwill show the amount claimed if any in wei.","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/claim_slashed_funds","href":"/v1.2.x/api-reference/bidder/claimslashedfunds"},{"title":"Deposit","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/deposit/{amount}","href":"/v1.2.x/api-reference/bidder/deposit"},{"title":"DepositEvenly","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/deposit_evenly","href":"/v1.2.x/api-reference/bidder/depositevenly"},{"title":"DepositManagerStatus","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json get /v1/bidder/deposit_manager_status","href":"/v1.2.x/api-reference/bidder/depositmanagerstatus"},{"title":"DisableDepositManager","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/disable_deposit_manager","href":"/v1.2.x/api-reference/bidder/disabledepositmanager"},{"title":"EnableDepositManager","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/enable_deposit_manager","href":"/v1.2.x/api-reference/bidder/enabledepositmanager"},{"title":"GetAllDeposits","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json get /v1/bidder/get_all_deposits","href":"/v1.2.x/api-reference/bidder/getalldeposits"},{"title":"GetBidInfo","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json get /v1/bidder/get_bid_info","href":"/v1.2.x/api-reference/bidder/getbidinfo"},{"title":"GetDeposit","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json get /v1/bidder/get_deposit","href":"/v1.2.x/api-reference/bidder/getdeposit"},{"title":"GetValidProviders","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json get /v1/bidder/get_valid_providers","href":"/v1.2.x/api-reference/bidder/getvalidproviders"},{"title":"RequestWithdrawals","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/request_withdrawals","href":"/v1.2.x/api-reference/bidder/requestwithdrawals"},{"title":"SetTargetDeposits","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/set_target_deposits","href":"/v1.2.x/api-reference/bidder/settargetdeposits"},{"title":"Withdraw","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/bidder-openapi-spec.json post /v1/bidder/withdraw","href":"/v1.2.x/api-reference/bidder/withdraw"}]}]},{"group":"Notifications","pages":[{"group":"API Reference","pages":[{"title":"Subscribe","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/notifications-openapi-spec.json post /v1/subscribe","href":"/v1.2.x/api-reference/notifications/subscribe"}]}]},{"group":"Debug","pages":[{"group":"API Reference","pages":[{"title":"CancelTransaction","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/debug-openapi-spec.json post /v1/debug/cancel_transaction/{txHash}","href":"/v1.2.x/api-reference/debug/canceltransaction"},{"title":"GetPendingTransactions","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/debug-openapi-spec.json get /v1/debug/pending_transactions","href":"/v1.2.x/api-reference/debug/getpendingtransactions"},{"title":"GetTopology","deprecated":null,"version":null,"openapi":"/v1.2.x/api-reference/debug-openapi-spec.json get /v1/debug/topology","href":"/v1.2.x/api-reference/debug/gettopology"}]}]}]},{"tab":"Knowledge Base","pages":[{"title":"Knowledge Base","href":"/v1.2.x/knowledge-base/introduction"}]}]},{"version":"v1.1.0","pages":[{"title":"v1.1.0","href":"/api-reference/autodeposit"}]}]},"basePath":"","title":"SendBid - Documentation","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}