Coinbase cbETH action reference
This page is generated from the plugin registry. Do not edit it by hand.
Coinbase Wrapped Staked ETH (cbETH), a non-rebasing liquid staking token. Read the on-chain exchange rate, a balance, and the total supply to value or monitor a cbETH position.
For guidance and examples see the Coinbase cbETH 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 |
|---|---|
| Coinbase cbETH: Get cbETH Exchange Rate | coinbase-cbeth/exchange-rate |
| Coinbase cbETH: Get cbETH Balance | coinbase-cbeth/balance-of |
| Coinbase cbETH: Get cbETH Total Supply | coinbase-cbeth/total-supply |
Coinbase cbETH: Get cbETH Exchange Rate
Action type: coinbase-cbeth/exchange-rate. Connection: not required.
Read the current ETH value of one cbETH. Only ratchets up as staking rewards accrue; useful to value a position or gate a workflow on the rate.
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 of ETH per cbETH) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
External documentation: https://help.coinbase.com/en/coinbase/trading-and-funding/staking-rewards/cbeth
Coinbase cbETH: Get cbETH Balance
Action type: coinbase-cbeth/balance-of. Connection: not required.
Check the cbETH 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 cbETH balance will be read. |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.balance | cbETH Balance (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
External documentation: https://help.coinbase.com/en/coinbase/trading-and-funding/staking-rewards/cbeth
Coinbase cbETH: Get cbETH Total Supply
Action type: coinbase-cbeth/total-supply. Connection: not required.
Get the total supply of cbETH 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 cbETH Supply (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
External documentation: https://help.coinbase.com/en/coinbase/trading-and-funding/staking-rewards/cbeth
Contracts
| Contract | Chain ids |
|---|---|
| cbETH Token | 1 |