Get token

Get token on Vesper

Base
Base

Reads onchain state

Reads the token of a Vesper pool: the token it takes on deposit and pays out on withdrawal. The pool reports its collateral token, tagged as a token. Reach for it when the pool is chosen at runtime and a following approve, swap, deposit, or balance read needs the concrete token.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Vesper · 5

On other protocols · 1