Yearn Finance
/getbalance
Get balance of the user in a given Vault.
Query Parameters
Name
Type
Description
With tokenAddress:
https://api.expand.network/yieldaggregator/getbalance?address=0xC7565379C190014449eE83CF9FD7475206E59f9e&tokenAddress=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&yieldAggregatorId=5000With VaultAddress:
https://api.expand.network/yieldaggregator/getbalance?address=0x6Fb447Ae94F5180254D436A693907a1f57696900&yieldAggregatorId=5000&vaultAddress=0xa9fE4601811213c340e850ea305481afF02f5b28{
"status": 200,
"msg": "success",
"data": {
"vaultBalance": "0"
}
}/getvaults
Get the number of the vaults along with the respective vault APY.
Query Parameters
Name
Type
Description
/depositvault
Trigger the deposit transaction for the given vault.
Request Body
Name
Type
Description
/withdrawvault
Trigger the withdraw transaction for the given vault.
Request Body
Name
Type
Description
Last updated

