Get token balance
Get token balance

Ethereum Virtual Machine · Reads onchain state

Reads a token balance held by an address, native or ERC-20. The native token address routes to the holder's ETH balance; any other address calls the token's balanceOf. The result carries the token's decimals. Reach for it to size an amount at what is actually held, to require a minimum balance before a step runs, or to measure a balance before and after a solver's route so a predicate confirms the outcome.

Transfer Token on a Schedule

plug
evm
time
9actions
  1. 1·Take

    A named parameter token is declared here for the caller to supply at execution time, naming the asset this plug moves.

  2. 2·Get token balance

    Reading the balance of that token held by Your Wallet captures the current holding for the wallet.

  3. 3·Bubble

    Surfacing that measured balance as an output of this plug hands the figure back to the caller.

  4. 4·Take

    Next a parameter amount is declared for the caller to supply, sizing how much of the token to send.

  5. 5·Take

    A parameter recipient_address is declared for the caller to supply, naming where the transfer lands.

  6. 6·Take

    Following that, times_per_interval is declared as a caller parameter, setting the run cap within each interval.

  7. 7·Take

    Also taken is interval, a caller parameter defining the length of the window the cap applies to.

  8. 8·Repeat

    Capping runs at up to the times_per_interval count every interval, this rate limit governs how often the transfer can fire.

  9. 9·Transfer tokens

    Transferring the amount of token to recipient_address sends the asset from the socket to that address.

Take
Get balance of held by
Bubble
Take
Take
Take
Take
Repeat up to x every
Transfer to
  • Unstake From Lido, Claim It When It Clears, Restake It

    plug
    database
    boolean
  • Transfer Token on a Schedule

    plug
    evm
    time
  • Approve Spending

    plug
    evm
  • Unwrap WETH to ETH

    evm
    plug
  • Wrap ETH to WETH

    evm
    plug
  • Rebalance Holdings to Target

    plug
    values
    evm
  • Get Holding Value

    plug
    evm
    math
  • Swap at Floor

    plug
    evm
    values
  • Swap

    plug
    values
    evm
  • Morpho Pendle Expiry Deleveraging

    pendle
    time
    boolean
  • Aave: Wind or Unwind Position

    plug
    boolean
    aave
  • Wind

    plug
    aave
    evm
  • Unwind

    plug
    aave
    evm
  • Strategy: Loop WETH/USDC at Target HF + Stop Loss

    boolean
    aave
    evm
  • Supply if a Token Balance Is 0

    plug
    aave
    evm
  • Supply Idle Balance Weekly

    time
    evm
    boolean
  • Borrow + Weekly Repayments

    time
    aave
    evm
  • Borrow Rate Exit Guard (WETH/USDC Loop)

    boolean
    aave
    evm
  • Take Profit (WETH/USDC Loop)

    boolean
    aave
    evm
  • Loop WETH/USDC at Target HF

    aave
    evm
    boolean
  • Borrow + Term Repayment Schedule

    time
    database
    boolean
  • Trailing Stop Loss (WETH/USDC Loop)

    boolean
    aave
    evm
  • Loop at Target HF + Borrow Rate Exit Guard

    database
    boolean
    aave
  • Loop at Target HF + Borrow Rate Entry & Exit Guard

    aave
    boolean
    evm
  • Loop at Target HF + Trailing Stop Loss

    database
    boolean
    aave
  • Swarm: Loop WETH/USDC at Target HF

    boolean
    aave
    evm
  • Stop Loss (WETH/USDC Loop)

    boolean
    aave
    evm

On other protocols · 2