Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.
The holder of the withdrawal credential, set during the initial deposit, can trigger partial or complete withdrawal of $BERA stake from a Validator. This process is demonstrated in the Docker Devnet’s final steps.
Withdrawing your $BERA stake will reduce the probability that your validator is selected to
produce a block and therefore reduce your Reward Vault emissions. Withdrawing all stake will exit
your validator from the Active Set.
Withdrawals occur at the end of the 256th epoch (~27 hours) after the epoch in which you perform the withdrawal.Every withdrawal requires a fee, which will increase if the withdrawal service experiences an unusual volume of requests.The withdrawal transaction must originate from the Withdrawal Credential Address for the validator to perform a withdrawal.The withdrawal API will silently adjust the withdrawal amount to maintain a minimum stake of 250,000 $BERA. For instance, a validator with 350,000 $BERA staked that requests a withdrawal of 300,000 $BERA will only withdraw 100,000 $BERA.To exit your validator from the Active Set and return the entire stake, use the special withdrawal amount of 0. Then, as described in the lifecycle overview, your validator will immediately be queued to exit the active set and no longer produce blocks. The stake will be returned by the consensus layer on the above schedule.
If you leave the Active Set, future deposits to your CometBFT public key will be refunded to the
withdrawal address. If you want to activate as a validator
again, you must do so with a new CometBFT identity.
Set up your environment. You will need the private key of your Withdrawal Credential Address, or to have it on an attached ledger. To obtain your CometBFT public key, you can invoke beacond --home path/to/beacond/data deposit validator-keys.
To ensure the withdrawal request succeeded, monitor the Beacon Kit Validator API to observe your stake’s change.
The beacon API must be enabled on your node (in app.toml: [beacon-kit.node-api]).
The beacon state is available from your node’s beacon API via:
curl http://localhost:3500/eth/v1/beacon/states/head/validators | jq '.[] | select(type == "object" and .validator? and .validator.pubkey == "$COMETBFT_PUB_KEY")'
This request should show your validator’s status.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Berachain","colors":{"primary":"#92400E","light":"#FBBF24","dark":"#D97706"},"logo":{"light":"https://mintcdn.com/berachain-422fce37/sVHHuWrozTnTMuyP/logo/light.svg?fit=max\u0026auto=format\u0026n=sVHHuWrozTnTMuyP\u0026q=85\u0026s=89a596c06b1db60f4506c32513e60cd3","dark":"https://mintcdn.com/berachain-422fce37/sVHHuWrozTnTMuyP/logo/dark.svg?fit=max\u0026auto=format\u0026n=sVHHuWrozTnTMuyP\u0026q=85\u0026s=8eb432aaac3acced0085cc6271e11280","href":"https://docs.berachain.com"},"favicon":{"light":"https://mintcdn.com/berachain-422fce37/EVzCtRIfTYlsSSCJ/favicon-core.svg?fit=max\u0026auto=format\u0026n=EVzCtRIfTYlsSSCJ\u0026q=85\u0026s=d153b670e1addfdb55539763d610a38e","dark":"https://mintcdn.com/berachain-422fce37/EVzCtRIfTYlsSSCJ/favicon-core.svg?fit=max\u0026auto=format\u0026n=EVzCtRIfTYlsSSCJ\u0026q=85\u0026s=d153b670e1addfdb55539763d610a38e"},"navbar":{"links":[{"href":"https://hub.berachain.com","label":"Bera Hub"},{"href":"https://busd.berachain.com","label":"BUSD Swap"},{"href":"https://bend.berachain.com/","label":"Bend"},{"icon":"discord","href":"https://discord.gg/berachain","label":""},{"icon":"github","href":"https://github.com/berachain/docs","label":""},{"icon":"x-twitter","href":"https://x.com/berachain","label":""},{"icon":"telegram","href":"https://t.me/berachain","label":""}]},"footer":{"socials":{"x":"https://x.com/berachain","github":"https://github.com/berachain/docs","discord":"https://discord.gg/berachain","telegram":"https://t.me/berachain"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"berachain-422fce37","hasAudioNarration":false,"actualSubdomain":"berachain-422fce37","customDomains":["docs.berachain.com"],"gitSource":{"type":"github","owner":"berachain","repo":"docs","deployBranch":"main","isPrivate":false,"contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a984bf3afddb22030d04896","collectionId":"64b7ab4c-cd68-4e4d-9baf-affa72532a08","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a984bf3afddb22030d04896"},"feedback":{"thumbs":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a984bf3afddb22030d04896","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Build","count":61},{"language":"default","tag":"BEX","count":33},{"language":"default","tag":"Getting Started","count":28},{"language":"default","tag":"Concepts","count":27},{"language":"default","tag":"Nodes","count":26},{"language":"default","tag":"Bend","count":23},{"language":"default","tag":"Community Guides","count":20},{"language":"default","tag":"General","count":20},{"language":"default","tag":"Proof of Liquidity","count":15},{"language":"default","tag":"User Guides","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar,[data-sidebar]{display:flex;flex-direction:column}.nav-anchors,#sidebar .nav-anchors,[data-sidebar] .nav-anchors{order:999;margin-top:auto;padding-top:1rem;border-top:1px solid rgba(128, 128, 128, 0.2)}[data-component-name=\"mermaid-container\"]{overflow-x:auto!important}[data-component-name=\"mermaid-container\"] svg{min-width:650px!important;max-width:none!important}#navbar .nav-logo img,[data-navbar] .nav-logo img{height:28px!important;width:auto!important;max-height:28px!important}"}],"page":{"pagePath":"nodes/guides/withdraw-stake","slug":"/nodes/guides/withdraw-stake","pageMetadata":{"title":"Withdraw Stake","description":"Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.","href":"/nodes/guides/withdraw-stake"},"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: \"Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The holder of the withdrawal credential, set during the initial deposit, can trigger partial or complete withdrawal of $BERA stake from a Validator. This process is demonstrated in the `,_jsx(_components.a,{href:`/nodes/guides/local-devnet-docker`,children:`Docker Devnet’s final steps`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Withdrawing your $BERA stake will reduce the probability that your validator is selected to\nproduce a block and therefore reduce your Reward Vault emissions. Withdrawing all stake will exit\nyour validator from the Active Set.`})}),`\n`,_jsx(Heading,{level:`2`,id:`requirements`,children:`Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A fully-synced full node`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://book.getfoundry.sh/getting-started/installation`,children:`Foundry`}),` v1.0.0 or greater`]}),`\n`,_jsx(_components.li,{children:`Validator Withdrawal Credential Address Private Key or Ledger`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`withdrawal-rules-and-process`,children:`Withdrawal rules and process`}),`\n`,_jsx(_components.p,{children:`Withdrawals occur at the end of the 256th epoch (~27 hours) after the epoch in which you perform the withdrawal.`}),`\n`,_jsx(_components.p,{children:`Every withdrawal requires a fee, which will increase if the withdrawal service experiences an unusual volume of requests.`}),`\n`,_jsx(_components.p,{children:`The withdrawal transaction must originate from the Withdrawal Credential Address for the validator to perform a withdrawal.`}),`\n`,_jsxs(_components.p,{children:[`The withdrawal API will silently adjust the withdrawal amount to `,_jsx(_components.strong,{children:`maintain a minimum stake of 250,000 $BERA`}),`. For instance, a validator with 350,000 $BERA staked that requests a withdrawal of 300,000 $BERA will only withdraw 100,000 $BERA.`]}),`\n`,_jsxs(_components.p,{children:[`To exit your validator from the Active Set and return the entire stake, use the special withdrawal amount of `,_jsx(_components.code,{children:`0`}),`. Then, as described in the `,_jsx(_components.a,{href:`/nodes/architecture/validator-lifecycle`,children:`lifecycle overview`}),`, your validator will immediately be queued to exit the active set and no longer produce blocks. The stake will be returned by the consensus layer on the above schedule.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If you leave the Active Set, `,_jsx(_components.strong,{children:`future deposits to your CometBFT public key will be refunded to the\nwithdrawal address`}),`. If you want to `,_jsx(_components.a,{href:`/nodes/guides/become-a-validator`,children:`activate as a validator`}),`\nagain, you must do so with a new CometBFT identity.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-withdraw-$bera-stake`,children:`How to withdraw $BERA stake`}),`\n`,_jsx(_components.p,{children:`The following walks you through how to withdraw a portion of a validator’s $BERA stake with the validator withdrawal credentials on Berachain Bepolia.`}),`\n`,_jsx(Heading,{level:`3`,id:`step-1-configurations`,children:`Step 1 - Configurations`}),`\n`,_jsxs(_components.p,{children:[`Set up your environment. You will need the private key of your Withdrawal Credential Address, or to have it on an attached ledger. To obtain your CometBFT public key, you can invoke `,_jsx(_components.code,{children:`beacond --home path/to/beacond/data deposit validator-keys`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` RPC_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`https`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`://`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bepolia`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`rpc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`berachain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`com`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` WITHDRAW_CONTRACT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0x00000961Ef480Eb55e80D19ad83579A64c007002`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` WITHDRAW_AMOUNT_ETH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Alternatively`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` WITHDRAW_AMOUNT_GWEI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`WITHDRAW_AMOUNT_ETH`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`000000000`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` COMETBFT_PUB_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`0xYOUR_COMETBFT_PUBLIC_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` WITHDRAW_CREDENTIAL_PRIVATE_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`YOUR_WITHDRAW_CREDENTIAL_PRIVATE_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use the special amount of `,_jsx(_components.code,{children:`0`}),` to withdraw the Validator’s entire stake.`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-2-determine-withdrawal-fee`,children:`Step 2 - Determine withdrawal fee`}),`\n`,_jsx(_components.p,{children:`In addition to the desired amount to withdraw, a withdrawal fee must be sent with the transaction.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`WITHDRAW_FEE_HEX`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` call`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $RPC_URL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $WITHDRAW_CONTRACT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`WITHDRAW_FEE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` to-dec`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $WITHDRAW_FEE_HEX`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $WITHDRAW_FEE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# [Typical Output, may vary]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 1`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`step-3-create-withdrawal-request`,children:`Step 3 - Create withdrawal request`}),`\n`,_jsx(_components.p,{children:`Package the desired withdrawal amount with the Validator’s identity as an encoded request.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`WITHDRAW_REQUEST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` abi-encode`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --packed`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '(bytes,uint64)'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $COMETBFT_PUB_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $WITHDRAW_AMOUNT_GWEI`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $WITHDRAW_REQUEST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# [Typical Output, will vary]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# 0xacaf2e8ec309513...0009184E72A000`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`step-4-send-withdrawal-request`,children:`Step 4 - Send withdrawal request`}),`\n`,_jsx(_components.p,{children:`Send the withdrawal request to the contract, from the Validator’s Withdraw Credential Address.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Remember to send it from the Withdrawal Credential Address, otherwise the transaction will fail.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cast`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` send`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $WITHDRAW_CONTRACT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $WITHDRAW_REQUEST`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --rpc-url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $RPC_URL`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --private-key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $WITHDRAW_CREDENTIAL_PRIVATE_KEY`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\" ${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`WITHDRAW_FEE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`wei`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Substitute `,_jsx(_components.code,{children:`--ledger`}),` for the `,_jsx(_components.code,{children:`--private-key`}),` if your key is kept on a hardware module.`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-5-monitor-beacon-kit-api`,children:`Step 5 - Monitor Beacon Kit API`}),`\n`,_jsx(_components.p,{children:`To ensure the withdrawal request succeeded, monitor the Beacon Kit Validator API to observe your stake’s change.`}),`\n`,_jsxs(Tip,{children:[`The beacon API must be enabled on your node (in `,_jsx(_components.code,{children:`app.toml`}),`: `,_jsx(_components.code,{children:`[beacon-kit.node-api]`}),`).`]}),`\n`,_jsx(_components.p,{children:`The beacon state is available from your node’s beacon API via:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:3500/eth/v1/beacon/states/head/validators`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.[] | select(type == \"object\" and .validator? and .validator.pubkey == \"$COMETBFT_PUB_KEY\")'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This request should show your validator’s status.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Withdraw Stake","description":"Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.","href":"/nodes/guides/withdraw-stake"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Requirements","slug":"requirements","depth":2,"children":[]},{"title":"Withdrawal rules and process","slug":"withdrawal-rules-and-process","depth":2,"children":[]},{"title":"How to withdraw $BERA stake","slug":"how-to-withdraw-$bera-stake","depth":2,"children":[{"title":"Step 1 - Configurations","slug":"step-1-configurations","depth":3,"children":[]},{"title":"Step 2 - Determine withdrawal fee","slug":"step-2-determine-withdrawal-fee","depth":3,"children":[]},{"title":"Step 3 - Create withdrawal request","slug":"step-3-create-withdrawal-request","depth":3,"children":[]},{"title":"Step 4 - Send withdrawal request","slug":"step-4-send-withdrawal-request","depth":3,"children":[]},{"title":"Step 5 - Monitor Beacon Kit API","slug":"step-5-monitor-beacon-kit-api","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"berachain-422fce37","siteName":"Berachain","title":"Withdraw Stake - Berachain","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-21T13:44:43.245Z","originalFileLocation":"nodes/guides/withdraw-stake.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=\"Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Berachain\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_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/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_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/berachain-422fce37/GhFtmoYvIj_GkgM5/_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/berachain-422fce37/GhFtmoYvIj_GkgM5/_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/berachain-422fce37/GhFtmoYvIj_GkgM5/_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/berachain-422fce37/GhFtmoYvIj_GkgM5/_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/berachain-422fce37/GhFtmoYvIj_GkgM5/_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/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Withdraw Stake - Berachain\">\u003cmeta data-mint-head property=\"og:description\" content=\"Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Berachain\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.berachain.com/nodes/guides/withdraw-stake\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://berachain-422fce37.mintlify.site/_mintlify/api/og/v2?division=Being+a+Validator\u0026amp;title=Withdraw+Stake\u0026amp;description=Partial+or+full+withdrawal+of+validator+BERA%3A+withdrawal+credentials%2C+fees%2C+minimum+stake%2C+and+finalization+delay.\u0026amp;theme=1e1bfcc71b52b8663f319473\u0026amp;signature=009b81d1a4b2c500fc01eb6d08f05f04be3ce51798ad19cab843e82f24bae87b\">\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=\"Withdraw Stake - Berachain\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://berachain-422fce37.mintlify.site/_mintlify/api/og/v2?division=Being+a+Validator\u0026amp;title=Withdraw+Stake\u0026amp;description=Partial+or+full+withdrawal+of+validator+BERA%3A+withdrawal+credentials%2C+fees%2C+minimum+stake%2C+and+finalization+delay.\u0026amp;theme=1e1bfcc71b52b8663f319473\u0026amp;signature=009b81d1a4b2c500fc01eb6d08f05f04be3ce51798ad19cab843e82f24bae87b\">\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/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Berachain\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#92400E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.berachain.com/nodes/guides/withdraw-stake\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/nodes/guides/withdraw-stake.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.berachain.com/#organization\",\"name\":\"Berachain\",\"url\":\"https://docs.berachain.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/berachain-422fce37/sVHHuWrozTnTMuyP/logo/light.svg?fit=max\u0026auto=format\u0026n=sVHHuWrozTnTMuyP\u0026q=85\u0026s=89a596c06b1db60f4506c32513e60cd3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.berachain.com#website\",\"name\":\"Berachain\",\"url\":\"https://docs.berachain.com\",\"publisher\":{\"@id\":\"https://docs.berachain.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.berachain.com/nodes/guides/withdraw-stake#webpage\",\"url\":\"https://docs.berachain.com/nodes/guides/withdraw-stake\",\"name\":\"Withdraw Stake\",\"description\":\"Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.\",\"dateModified\":\"2026-05-21T13:44:43.245Z\",\"isPartOf\":{\"@id\":\"https://docs.berachain.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.berachain.com/nodes/guides/withdraw-stake#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.berachain.com/nodes/guides/withdraw-stake#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Day-2 Operations\",\"item\":\"https://docs.berachain.com/nodes/operations/production-checklist\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Being a Validator\",\"item\":\"https://docs.berachain.com/nodes/guides/change-operator-address\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Withdraw Stake\",\"item\":\"https://docs.berachain.com/nodes/guides/withdraw-stake\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.berachain.com/nodes/guides/withdraw-stake#article\",\"headline\":\"Withdraw Stake\",\"name\":\"Withdraw Stake\",\"description\":\"Partial or full withdrawal of validator BERA: withdrawal credentials, fees, minimum stake, and finalization delay.\",\"url\":\"https://docs.berachain.com/nodes/guides/withdraw-stake\",\"mainEntityOfPage\":{\"@id\":\"https://docs.berachain.com/nodes/guides/withdraw-stake#webpage\"},\"dateModified\":\"2026-05-21T13:44:43.245Z\",\"publisher\":{\"@id\":\"https://docs.berachain.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.berachain.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Berachain\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Berachain","nav":{"global":null,"tabs":[{"tab":"General","pages":[{"title":"General","href":""}]},{"tab":"BEX","pages":[{"title":"BEX","href":"/bex/learn/overview"}]},{"tab":"Bend","pages":[{"title":"Bend","href":"/bend/learn/overview"}]},{"tab":"Build","pages":[{"title":"Build","href":"/build/getting-started/overview"}]},{"tab":"Nodes","groups":[{"group":"Concepts \u0026 Architecture","pages":[{"title":"Introduction","href":"/nodes/overview"},{"title":"Node Architecture","href":"/nodes/overview/node-architecture"},{"title":"Validator Lifecycle","href":"/nodes/architecture/validator-lifecycle"},{"title":"BeaconKit Consensus","href":"/nodes/architecture/beaconkit-consensus"},{"title":"EVM Execution","href":"/nodes/architecture/evm-execution"}]},{"group":"Setup \u0026 Deployment","pages":[{"title":"Quickstart: Run a Node","href":"/nodes/operations/quickstart"},{"title":"Self-Hosted RPC","href":"/nodes/operations/self-hosted-rpc"},{"title":"Local Devnet with Docker","href":"/nodes/guides/local-devnet-docker"},{"title":"Local Devnet with Kurtosis","href":"/nodes/guides/local-devnet-kurtosis"},{"group":"Staking Pools","root":{"title":"Staking Pools Overview","href":"/nodes/staking-pools/overview"},"pages":[{"title":"Staking Pool Installation","href":"/nodes/staking-pools/installation"},{"title":"Staking Pools Operator Guide","href":"/nodes/staking-pools/operators"},{"title":"Delegation Guide","href":"/nodes/staking-pools/delegators"},{"title":"Staking Pool Contracts","href":"/nodes/staking-pools/contracts"}]}]},{"group":"Day-2 Operations","pages":[{"title":"Production Checklist","href":"/nodes/operations/production-checklist"},{"title":"Monitoring","href":"/nodes/operations/monitoring"},{"title":"Becoming a Validator","href":"/nodes/guides/become-a-validator"},{"group":"Being a Validator","pages":[{"title":"Change Operator Address","href":"/nodes/guides/change-operator-address"},{"title":"Manage Reward Allocations","href":"/nodes/guides/manage-reward-allocations"},{"title":"Manage Incentives Commission","href":"/nodes/guides/manage-incentives-commission"},{"title":"Increase Stake","description":"Add BERA to an existing validator via the BeaconDeposit contract to improve position in the active set.","href":"/nodes/guides/increase-validator-stake"},{"title":"Withdraw Stake","href":"/nodes/guides/withdraw-stake"}]}]},{"group":"Reference","pages":[{"title":"What is BeaconKit?","description":"Modular consensus layer for Ethereum-based chains.","href":"/nodes/beaconkit/overview"},{"title":"BeaconKit API","href":"/nodes/beaconkit/api"},{"title":"BeaconKit CLI","href":"/nodes/beaconkit/cli"},{"title":"BeaconKit Configuration","href":"/nodes/beaconkit/configuration"}]},{"group":"Help","pages":[{"title":"Validator FAQ","href":"/nodes/help/faq"}]}]}]},"basePath":"","title":"Withdraw Stake - Berachain","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":[],"chunks":[]}