Ethena action reference
This page is generated from the plugin registry. Do not edit it by hand.
Ethena Protocol: sUSDe staking vault (ERC-4626), USDe stablecoin, and ENA governance token on Ethereum
For guidance and examples see the Ethena 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 |
|---|---|
| Ethena: Vault Underlying Asset | ethena/vault-asset |
| Ethena: Vault Total Assets | ethena/vault-total-assets |
| Ethena: Vault Total Supply | ethena/vault-total-supply |
| Ethena: Vault Share Balance | ethena/vault-balance |
| Ethena: Convert Assets to Shares | ethena/vault-convert-to-shares |
| Ethena: Convert Shares to Assets | ethena/vault-convert-to-assets |
| Ethena: Max Vault Deposit | ethena/vault-max-deposit |
| Ethena: Preview Vault Deposit | ethena/vault-preview-deposit |
| Ethena: Vault Deposit | ethena/vault-deposit |
| Ethena: Max Vault Mint | ethena/vault-max-mint |
| Ethena: Preview Vault Mint | ethena/vault-preview-mint |
| Ethena: Vault Mint | ethena/vault-mint |
| Ethena: Max Vault Withdraw | ethena/vault-max-withdraw |
| Ethena: Preview Vault Withdraw | ethena/vault-preview-withdraw |
| Ethena: Vault Withdraw | ethena/vault-withdraw |
| Ethena: Max Vault Redeem | ethena/vault-max-redeem |
| Ethena: Preview Vault Redeem | ethena/vault-preview-redeem |
| Ethena: Vault Redeem | ethena/vault-redeem |
| Ethena: Cooldown Assets | ethena/cooldown-assets |
| Ethena: Cooldown Shares | ethena/cooldown-shares |
| Ethena: Get Cooldown Duration | ethena/get-cooldown-duration |
| Ethena: Get Cooldown Status | ethena/get-cooldown-status |
| Ethena: Unstake (Claim After Cooldown) | ethena/unstake |
| Ethena: Get USDe Balance | ethena/get-usde-balance |
| Ethena: Approve USDe Spending | ethena/approve-usde |
| Ethena: Get ENA Balance | ethena/get-ena-balance |
Ethena: Vault Underlying Asset
Action type: ethena/vault-asset. Connection: not required.
Get the address of the underlying asset token for this vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. |
Outputs
| Output | Description |
|---|---|
result | Underlying Asset Address |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Vault Total Assets
Action type: ethena/vault-total-assets. Connection: not required.
Get the total amount of underlying assets held by the vault
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. |
Outputs
| Output | Description |
|---|---|
result | Total Assets (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Vault Total Supply
Action type: ethena/vault-total-supply. Connection: not required.
Get the total supply of vault shares
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. |
Outputs
| Output | Description |
|---|---|
result | Total Shares (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Vault Share Balance
Action type: ethena/vault-balance. Connection: not required.
Get the vault share 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). |
Outputs
| Output | Description |
|---|---|
result | Share Balance (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Convert Assets to Shares
Action type: ethena/vault-convert-to-shares. Connection: not required.
Convert an asset amount to the equivalent vault shares at the current rate
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
assets | uint256 | Yes | Asset Amount (wei) (uint256). |
Outputs
| Output | Description |
|---|---|
result | Shares Amount (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Convert Shares to Assets
Action type: ethena/vault-convert-to-assets. Connection: not required.
Convert a vault share amount to its underlying asset value at the current rate
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
shares | uint256 | Yes | Shares Amount (wei) (uint256). |
Outputs
| Output | Description |
|---|---|
result | Asset Value (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Max Vault Deposit
Action type: ethena/vault-max-deposit. Connection: not required.
Get the maximum amount of assets that can be deposited for a receiver
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
receiver | address | Yes | Receiver Address (address). |
Outputs
| Output | Description |
|---|---|
result | Max Deposit (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Preview Vault Deposit
Action type: ethena/vault-preview-deposit. Connection: not required.
Preview how many shares a given asset deposit would yield
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
assets | uint256 | Yes | Asset Amount (wei) (uint256). |
Outputs
| Output | Description |
|---|---|
result | Shares Received (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Vault Deposit
Action type: ethena/vault-deposit. Connection: required (web3).
Deposit assets into the ERC-4626 vault and receive shares
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. | |
assets | uint256 | Yes | Asset Amount (wei) (uint256). | ||
receiver | address | Yes | Receiver Address (address). | ||
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. |
Ethena: Max Vault Mint
Action type: ethena/vault-max-mint. Connection: not required.
Get the maximum number of shares that can be minted for a receiver
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
receiver | address | Yes | Receiver Address (address). |
Outputs
| Output | Description |
|---|---|
result | Max Mint (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Preview Vault Mint
Action type: ethena/vault-preview-mint. Connection: not required.
Preview how many assets are needed to mint a given number of shares
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
shares | uint256 | Yes | Shares Amount (wei) (uint256). |
Outputs
| Output | Description |
|---|---|
result | Assets Required (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Vault Mint
Action type: ethena/vault-mint. Connection: required (web3).
Mint exact vault shares by depositing the required amount of assets
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. | |
shares | uint256 | Yes | Shares Amount (wei) (uint256). | ||
receiver | address | Yes | Receiver Address (address). | ||
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. |
Ethena: Max Vault Withdraw
Action type: ethena/vault-max-withdraw. Connection: not required.
Get the maximum amount of assets that can be withdrawn by an owner
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
owner | address | Yes | Owner Address (address). |
Outputs
| Output | Description |
|---|---|
result | Max Withdraw (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Preview Vault Withdraw
Action type: ethena/vault-preview-withdraw. Connection: not required.
Preview how many shares must be burned to withdraw a given asset amount
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
assets | uint256 | Yes | Asset Amount (wei) (uint256). |
Outputs
| Output | Description |
|---|---|
result | Shares Burned (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Vault Withdraw
Action type: ethena/vault-withdraw. Connection: required (web3).
Withdraw assets from the ERC-4626 vault by specifying asset amount
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. | |
assets | uint256 | Yes | Asset Amount (wei) (uint256). | ||
receiver | address | Yes | Receiver Address (address). | ||
owner | address | Yes | Share Owner Address (address). | ||
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. |
Ethena: Max Vault Redeem
Action type: ethena/vault-max-redeem. Connection: not required.
Get the maximum number of shares that can be redeemed by an owner
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
owner | address | Yes | Owner Address (address). |
Outputs
| Output | Description |
|---|---|
result | Max Redeem (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Preview Vault Redeem
Action type: ethena/vault-preview-redeem. Connection: not required.
Preview how many assets a given share redemption would yield
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
shares | uint256 | Yes | Shares Amount (wei) (uint256). |
Outputs
| Output | Description |
|---|---|
result | Assets Received (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Vault Redeem
Action type: ethena/vault-redeem. Connection: required (web3).
Redeem shares from the ERC-4626 vault for underlying assets
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. | |
shares | uint256 | Yes | Shares Amount (wei) (uint256). | ||
receiver | address | Yes | Receiver Address (address). | ||
owner | address | Yes | Share Owner Address (address). | ||
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. |
Ethena: Cooldown Assets
Action type: ethena/cooldown-assets. Connection: required (web3).
Initiate the cooldown period to unstake a specific amount of underlying USDe assets. After the cooldown duration (7 days), call unstake to claim.
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. | |
assets | uint256 | Yes | USDe Amount (wei) (uint256). | ||
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. |
Ethena: Cooldown Shares
Action type: ethena/cooldown-shares. Connection: required (web3).
Initiate the cooldown period to unstake a specific number of sUSDe shares. After the cooldown duration (7 days), call unstake to claim.
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. | |
shares | uint256 | Yes | sUSDe Shares (wei) (uint256). | ||
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. |
Ethena: Get Cooldown Duration
Action type: ethena/get-cooldown-duration. Connection: not required.
Get the current cooldown duration in seconds required before unstaking
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. |
Outputs
| Output | Description |
|---|---|
result | Cooldown Duration (seconds) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Get Cooldown Status
Action type: ethena/get-cooldown-status. Connection: not required.
Get the cooldown end timestamp and USDe amount pending for an address
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1 | Network. | |
account | address | Yes | Wallet Address (address). |
Outputs
| Output | Description |
|---|---|
result | The contract function return value |
result.cooldownEnd | Cooldown End Timestamp |
result.underlyingAmount | Pending USDe Amount (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Unstake (Claim After Cooldown)
Action type: ethena/unstake. Connection: required (web3).
Claim USDe after the cooldown period has elapsed. Must have previously called cooldownAssets or cooldownShares.
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. | |
receiver | address | Yes | Receiver Address (address). | ||
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. |
Ethena: Get USDe Balance
Action type: ethena/get-usde-balance. Connection: not required.
Check the USDe stablecoin 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). |
Outputs
| Output | Description |
|---|---|
result | USDe Balance (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Ethena: Approve USDe Spending
Action type: ethena/approve-usde. Connection: required (web3).
Approve a spender to transfer USDe on your behalf. Required before depositing into the sUSDe vault.
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. | |
spender | address | Yes | Spender Address (address). | ||
amount | uint256 | Yes | Approval Amount (wei) (uint256). | ||
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. |
Ethena: Get ENA Balance
Action type: ethena/get-ena-balance. Connection: not required.
Check the ENA governance token 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). |
Outputs
| Output | Description |
|---|---|
result | ENA Balance (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Contracts
| Contract | Chain ids |
|---|---|
| sUSDe (Staked USDe) | 1 |
| USDe Stablecoin | 1 |
| ENA Governance Token | 1 |