Yearn V3 action reference
This page is generated from the plugin registry. Do not edit it by hand.
Yearn V3 yield vaults: fully ERC-4626 compliant yield aggregators with automated strategy management
For guidance and examples see the Yearn V3 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 |
|---|---|
| Yearn V3: Vault Deposit | yearn/vault-deposit |
| Yearn V3: Vault Mint | yearn/vault-mint |
| Yearn V3: Vault Withdraw | yearn/vault-withdraw |
| Yearn V3: Vault Redeem | yearn/vault-redeem |
| Yearn V3: Vault Underlying Asset | yearn/vault-asset |
| Yearn V3: Vault Total Assets | yearn/vault-total-assets |
| Yearn V3: Vault Total Supply | yearn/vault-total-supply |
| Yearn V3: Vault Share Balance | yearn/vault-balance |
| Yearn V3: Convert Shares to Assets | yearn/vault-convert-to-assets |
| Yearn V3: Convert Assets to Shares | yearn/vault-convert-to-shares |
| Yearn V3: Preview Vault Deposit | yearn/vault-preview-deposit |
| Yearn V3: Preview Vault Mint | yearn/vault-preview-mint |
| Yearn V3: Preview Vault Withdraw | yearn/vault-preview-withdraw |
| Yearn V3: Preview Vault Redeem | yearn/vault-preview-redeem |
| Yearn V3: Max Vault Deposit | yearn/vault-max-deposit |
| Yearn V3: Max Vault Mint | yearn/vault-max-mint |
| Yearn V3: Max Vault Withdraw | yearn/vault-max-withdraw |
| Yearn V3: Max Vault Redeem | yearn/vault-max-redeem |
| Yearn V3: Price Per Share | yearn/get-price-per-share |
| Yearn V3: Total Idle Assets | yearn/get-total-idle |
| Yearn V3: Total Debt | yearn/get-total-debt |
| Yearn V3: Is Vault Shutdown | yearn/get-is-shutdown |
| Yearn V3: API Version | yearn/get-api-version |
| Yearn V3: Profit Max Unlock Time | yearn/get-profit-max-unlock-time |
| Yearn V3: Full Profit Unlock Date | yearn/get-full-profit-unlock-date |
| Yearn V3: Vault Accountant | yearn/get-accountant |
| Yearn V3: Deposit Limit | yearn/get-deposit-limit |
| Yearn V3: Role Manager | yearn/get-role-manager |
| Yearn V3: Use Default Queue | yearn/get-use-default-queue |
| Yearn V3: Minimum Total Idle | yearn/get-minimum-total-idle |
| Yearn V3: Vault Decimals | yearn/get-vault-decimals |
Yearn V3: Vault Deposit
Action type: yearn/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, 137, 42161 | 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. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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. |
Yearn V3: Vault Mint
Action type: yearn/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, 137, 42161 | 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. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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. |
Yearn V3: Vault Withdraw
Action type: yearn/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, 137, 42161 | 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. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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. |
Yearn V3: Vault Redeem
Action type: yearn/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, 137, 42161 | 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. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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. |
Yearn V3: Vault Underlying Asset
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Underlying Asset Address |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Vault Total Assets
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Total Assets (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Vault Total Supply
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Total Shares (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Vault Share Balance
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Convert Shares to Assets
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Convert Assets to Shares
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Preview Vault Deposit
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Preview Vault Mint
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Preview Vault Withdraw
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Preview Vault Redeem
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Max Vault Deposit
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Max Vault Mint
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Max Vault Withdraw
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Max Vault Redeem
Action type: yearn/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, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. | ||
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 |
Yearn V3: Price Per Share
Action type: yearn/get-price-per-share. Connection: not required.
Get the current price per vault share in underlying asset terms
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Price Per Share |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Total Idle Assets
Action type: yearn/get-total-idle. Connection: not required.
Get the total amount of underlying assets sitting idle in the vault (not deployed to strategies)
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Total Idle Assets |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Total Debt
Action type: yearn/get-total-debt. Connection: not required.
Get the total amount of underlying assets deployed to strategies
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Total Debt |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Is Vault Shutdown
Action type: yearn/get-is-shutdown. Connection: not required.
Check whether the vault has been shut down
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Shutdown Status |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: API Version
Action type: yearn/get-api-version. Connection: not required.
Get the Yearn vault API version string
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | API Version |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Profit Max Unlock Time
Action type: yearn/get-profit-max-unlock-time. Connection: not required.
Get the time in seconds over which profits are linearly unlocked
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Unlock Duration (seconds) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Full Profit Unlock Date
Action type: yearn/get-full-profit-unlock-date. Connection: not required.
Get the Unix timestamp when all current profits will be fully unlocked
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Unlock Timestamp |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Vault Accountant
Action type: yearn/get-accountant. Connection: not required.
Get the address of the vault accountant contract that manages fees and profit reporting
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Accountant Address |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Deposit Limit
Action type: yearn/get-deposit-limit. Connection: not required.
Get the maximum total deposit limit for the vault (0 means deposits are closed)
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Deposit Limit |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Role Manager
Action type: yearn/get-role-manager. Connection: not required.
Get the address of the vault role manager contract
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Role Manager Address |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Use Default Queue
Action type: yearn/get-use-default-queue. Connection: not required.
Check whether the vault uses the default withdrawal queue order
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Use Default Queue |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Minimum Total Idle
Action type: yearn/get-minimum-total-idle. Connection: not required.
Get the minimum amount of underlying assets the vault keeps liquid
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Minimum Total Idle (wei) |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Yearn V3: Vault Decimals
Action type: yearn/get-vault-decimals. Connection: not required.
Get the number of decimals for the vault share token
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 1, 137, 42161 | Network. | |
contractAddress | string | Yes | Yearn V3 Vault Address. |
Outputs
| Output | Description |
|---|---|
result | Decimals |
success | Whether the operation succeeded |
error | Error message if the operation failed |
Contracts
| Contract | Chain ids |
|---|---|
| Yearn V3 Vault | any (the address is set on the node) |