Skip to Content

Frax Ether V2 action reference

This page is generated from the plugin registry. Do not edit it by hand.

Liquid staking on Ethereum mainnet. Deposit ETH to mint frxETH (1:1 receipt) or sfrxETH (yield-bearing ERC4626 vault) in one transaction.

For guidance and examples see the Frax Ether V2 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.

ActionAction type
Frax Ether V2: Mint frxETHfrax-ether-v2/mint
Frax Ether V2: Mint frxETH to Recipientfrax-ether-v2/mint-and-give
Frax Ether V2: Mint and Stake into sfrxETHfrax-ether-v2/mint-and-stake
Frax Ether V2: Check Mint Pause Statusfrax-ether-v2/mint-paused

Frax Ether V2: Mint frxETH

Action type: frax-ether-v2/mint. Connection: required (web3).

Deposit native ETH and mint frxETH 1:1 to the sending address. Send ETH value with the transaction; the contract returns the same amount of frxETH.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1Network.
sendModestringNotransaction, private-relaySend 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.
ethValuestringYesETH Value.
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor 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

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow 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.
includedTrue 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.frax.finance/frax-ether/frxeth-and-sfrxeth 

Frax Ether V2: Mint frxETH to Recipient

Action type: frax-ether-v2/mint-and-give. Connection: required (web3).

Deposit native ETH and mint frxETH 1:1 to a different recipient address. Send ETH value with the transaction; the contract sends the minted frxETH to the recipient.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1Network.
sendModestringNotransaction, private-relaySend 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.
ethValuestringNoETH Value.
recipientaddressYesRecipient Address (address). Address that will receive the minted frxETH. The sender of the transaction pays the ETH and gas; only frxETH goes to this address.
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor 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

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow 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.
includedTrue 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.frax.finance/frax-ether/frxeth-and-sfrxeth 

Frax Ether V2: Mint and Stake into sfrxETH

Action type: frax-ether-v2/mint-and-stake. Connection: required (web3).

Mint frxETH and immediately deposit it into the sfrxETH ERC4626 vault in one transaction. Returns the amount of sfrxETH shares received by the recipient.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1Network.
sendModestringNotransaction, private-relaySend 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.
ethValuestringNoETH Value.
recipientaddressYesRecipient Address (address). Address that will receive the minted sfrxETH shares. The sender pays the ETH and gas; only sfrxETH shares go to this address.
gasLimitMultiplierstringNoGas Limit.
sponsorGasbooleanNotrueSponsor 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

OutputDescription
successWhether the operation succeeded
errorError message if the operation failed
transactionHashTransaction hash
transactionLinkExplorer link to transaction
routeHow 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.
includedTrue 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.frax.finance/frax-ether/frxeth-and-sfrxeth 

Frax Ether V2: Check Mint Pause Status

Action type: frax-ether-v2/mint-paused. Connection: not required.

Read whether minting is currently paused on the Frax Ether Minter V2. Useful as a gate in workflows to skip mint actions when the contract is paused.

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
networkstringYeschain ids 1Network.

Outputs

OutputDescription
resultMint Paused
successWhether the operation succeeded
errorError message if the operation failed

External documentation: https://docs.frax.finance/frax-ether/frxeth-and-sfrxeth 

Contracts

ContractChain ids
Frax Ether Minter V21