TokenAllowance
Approve the token amount that spender is allowed to spend on behalf of owner
TransactionResponse
Fetch token balance for a particular account and token addresses.
user wallet address
list of token addresses
list of balances for the supported tokens
TODO: Should get a single token directly instead of filtering
then token address
the token
Fetches supported zap tokens and sets their icon
zap tokens with icons
Returns the populated transaction to approve the token amount that spender is allowed to spend on behalf of owner
PopulatedTransaction
Get exchange rate between two tokens.
exchange rate
Get the suggested Usdc exchange rate for an token.
Usdc exchange rate (6 decimals)
Get the suggested Usdc exchange rate for list of tokens.
Usdc exchange rate map (6 decimals)
Fetch all the tokens supported along with some basic metadata.
list of tokens supported.
Generated using TypeDoc
Fetch the token amount that spender is allowed to spend on behalf of owner