
Ethereum Virtual Machine · Acts onchain
Sends a token from the socket to another address, native or ERC-20. The native token address sends ETH by value; any other address calls the token's transfer. To send the full balance, read the socket's balance of the token earlier in the plug and coil it in as the amount. Reach for it to pay out proceeds after a swap or withdrawal, to fund another account from a scheduled plug, or to move a balance read earlier in the transaction by coiling that exact amount.
Send Token



1·Take
Take opens by declaring token, a caller parameter naming the asset this run reads and sends at execution time.
2·Get token balance
Using that token, the balance held by Your Wallet is read, capturing the holding before any transfer.
3·Bubble
Surfacing that pre-transfer balance as an output of this plug returns the starting holding 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
Handing that second balance reading 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
Also taken is recipient, a caller parameter naming the address the tokens go to.
8·Take
Rounding out the inputs, frequency is declared as a caller parameter, the interval the rate limit below applies.
9·Repeat
Bounding cadence, this 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 caller-sized quantity from the socket to the named address.