Fetch token balances from the ZapperService.supportedTokens list for a particular address.
Fetch token balances from the ZapperService.supportedTokens list for a list of addresses.
Fetch up to date gas prices in gwei
gas prices
Fetch all the tokens supported by the zapper protocol along with some basic metadata.
list of tokens supported by the zapper protocol.
Fetches vault token market data for the Yearn application
list of zapper supported vault addresses
Fetches the data needed to zap into a vault
the address that is depositing
the token to be sold to pay for the deposit
the amount of tokens to be sold
the vault to zap into
slippage as a decimal
provide the gasLimit in the response. Should be set to true when simulating a zap without approval
the protocol to use with zapper e.g. Yearn, Pickle
Fetches the data needed to check token ZapIn contract approval state
the address that is depositing
the token to be sold to pay for the deposit
the protocol to use with zapper e.g. Yearn, Pickle
Fetches the data needed to approve ZapIn Contract for a token
the address that is depositing
the token to be sold to pay for the deposit
the protocol to use with zapper e.g. Yearn, Pickle
Fetches the data needed to zap out of a vault
the address that is withdrawing
the token that'll be received
the amount of tokens to sell
the vault to zap out of
slippage as a decimal
provide the gasLimit in the response. Should be set to true when simulating a zap without approval
the protocol to use with zapper e.g. Yearn, Pickle
the account valid secp256k1 signature of Permit encoded from r, s, v. (https://eips.ethereum.org/EIPS/eip-2612)
Fetches the data needed to check token ZapOut contract approval state
the address that is withdrawing
the vault token to be withdrawn
the protocol to use with zapper e.g. Yearn, Pickle
Fetches the data needed to approve ZapOut Contract for a token
the address that is withdrawing
the vault token to be withdrawn
the protocol to use with zapper e.g. Yearn, Pickle
Generated using TypeDoc
ZapperService interacts with the zapper api to gather more insight for tokens and user positions.