
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.
Send Token



1·Take
Take opens by declaring token as a caller parameter, naming the asset this run reads and later sends.
2·Get token balance
Using that token, the balance held by Your Wallet is read, capturing the holding before the transfer.
3·Bubble
Surfacing that measured balance as an output of this plug hands the pre-transfer holding back to the caller.
4·Get token balance
Reading the token balance held by Your Wallet a second time captures another snapshot of the holding.
5·Bubble
Bubbling that second balance out as an output of this plug returns it to the caller.
6·Take
Next, amount is declared as a caller parameter, sizing how much of the token this run sends.
7·Take
Following that, recipient is taken as a caller parameter, naming the address the transfer goes to.
8·Take
Also taken is frequency, a caller parameter supplying the interval that bounds how often this plug runs.
9·Repeat
Capping cadence, the rate limit permits at most one run every frequency, so the schedule advances no more than once per that interval.
10·Transfer tokens
Transferring amount of the token to recipient sends the asset from the socket to that address.
On other protocols · 2