Rocket Pool action reference
This page is generated from the plugin registry. Do not edit it by hand.
Decentralized Ethereum liquid staking: deposit ETH for rETH, monitor exchange rates, and manage staking positions
For guidance and examples see the Rocket Pool guide.
Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.
Read actions return the value under result: a single unnamed output is result, a named one is result.<name>, and several outputs are result.<name> each. Reference it as {{@nodeId:Label.result}}. Integer Solidity types are passed as decimal strings.
| Action | Action type |
|---|---|
| Rocket Pool: Get rETH Exchange Rate | rocket-pool/get-exchange-rate |
| Rocket Pool: Get rETH Balance | rocket-pool/balance-of |
| Rocket Pool: Get rETH Total Supply | rocket-pool/total-supply |
| Rocket Pool: Get Total ETH Collateral | rocket-pool/get-total-collateral |
| Rocket Pool: Burn rETH for ETH | rocket-pool/burn |
| Rocket Pool: Deposit ETH for rETH | rocket-pool/deposit |
Rocket Pool: Get rETH Exchange Rate
Action type: rocket-pool/get-exchange-rate. Connection: not required.
Get the current ETH value of 1 rETH (exchange rate from rETH to ETH)
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.rate | Exchange Rate (wei per rETH) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
External documentation: https://docs.rocketpool.net
Rocket Pool: Get rETH Balance
Action type: rocket-pool/balance-of. Connection: not required.
Check the rETH balance of an address
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
account | address | Yes | Wallet Address (address). Address whose rETH balance will be read from the contract. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.balance | rETH Balance (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
External documentation: https://docs.rocketpool.net
Rocket Pool: Get rETH Total Supply
Action type: rocket-pool/total-supply. Connection: not required.
Get the total supply of rETH tokens in circulation
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.totalSupply | Total rETH Supply (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
External documentation: https://docs.rocketpool.net
Rocket Pool: Get Total ETH Collateral
Action type: rocket-pool/get-total-collateral. Connection: not required.
Get the total amount of ETH collateral held by the rETH contract
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.totalCollateral | Total ETH Collateral (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
External documentation: https://docs.rocketpool.net
Rocket Pool: Burn rETH for ETH
Action type: rocket-pool/burn. Connection: required (web3).
Burn rETH tokens to receive the underlying ETH back at the current exchange rate
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
amount | uint256 | Yes | rETH Amount (wei) (uint256). Amount of rETH to burn, in wei. The contract returns ETH at the current exchange rate (see Get rETH Exchange Rate). | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
External documentation: https://docs.rocketpool.net
Rocket Pool: Deposit ETH for rETH
Action type: rocket-pool/deposit. Connection: required (web3).
Deposit ETH into Rocket Pool to receive rETH liquid staking tokens
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
sendMode | string | No | transaction, private-relay | Send as. How the transaction goes out. “transaction” (the default) sends it to the public mempool. “private-relay” sends it through the network’s private relay (Flashbots Protect on Ethereum), only on networks that have one, and is never gas-sponsored. A config with usePrivateMempool: true and no sendMode uses the private relay where the network has one and the public mempool elsewhere, never sponsored. | |
ethValue | string | Yes | ETH Value. | ||
gasLimitMultiplier | string | No | Gas Limit. | ||
sponsorGas | boolean | No | true | Sponsor gas. When on, the transaction goes through gas sponsorship first and falls back to your own wallet if sponsorship is unavailable on this network or your credits are spent. Turn it off to always pay gas from your own wallet. Sponsorship is never used when Send as is not Normal transaction or the node signs through a Safe, and on Write Contract when Simulate at is set to Next block. Shown when the network supports gas sponsorship. |
Outputs
| Output | Description |
|---|---|
success | Whether the operation succeeded |
error | Error message if the operation failed |
transactionHash | Transaction hash |
transactionLink | Explorer link to transaction |
route | How KeeperHub routed the send on an EVM network: public (the public mempool, through your RPC or the chain’s default RPC), private-relay (accepted by the private relay chosen in Send as), sponsored (gas-sponsored), bundle (Write Contract sent as a bundle to block builders), bundle-and-public (sent as a bundle and to the public mempool), skipped-in-flight (Write Contract with Send as Bundle sent nothing because this workflow’s earlier bundle could still land, or an earlier run’s public copy is not mined yet: KeeperHub checks it every few minutes and stops waiting after a day) or waiting (Write Contract with Send as Bundle sent nothing because its Not before time is still too far ahead, Max Fee held back the targets ahead, or KeeperHub had paused bundle sends, with paused true, or could not check whether they are on, with switchUnread true). Through a Safe, the route of the transaction your wallet sent to the Safe. Absent when nothing was sent (except skipped-in-flight and waiting), or when only the private relay was tried and it never confirmed taking the transaction; more values may be added. |
included | True when the transaction was seen in a block (one confirmation, not final); it may have reverted, so check error too. False when it was sent but is not in a block, and on a skipped-in-flight or waiting bundle step (a paused one included). Absent when route is absent. |
External documentation: https://docs.rocketpool.net
Contracts
| Contract | Chain ids |
|---|---|
| rETH Token | 1 |
| Rocket Deposit Pool | 1 |
Events
Events a workflow can listen for with an Event trigger.
| Event | Slug | Event name | Parameters |
|---|---|---|---|
| rETH Minted | tokens-minted | TokensMinted | address indexed to, uint256 amount, uint256 ethAmount, uint256 time |
| rETH Burned | tokens-burned | TokensBurned | address indexed from, uint256 amount, uint256 ethAmount, uint256 time |
| Deposit Received | deposit-received | DepositReceived | address indexed from, uint256 amount, uint256 time |