Harvest Finance
/getbalance
Get balance of the user in a given Vault or Pool
Query Parameters
Name
Type
Description
With tokenAddress:
https://api.expand.network/yieldaggregator/getbalance?address=0xC7565379C190014449eE83CF9FD7475206E59f9e&tokenAddress=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&yieldAggregatorId=5100With vaultAddress and poolAddress:
https://api.expand.network/yieldaggregator/getbalance?address=0xC7565379C190014449eE83CF9FD7475206E59f9e&vaultAddress=0xFE09e53A81Fe2808bc493ea64319109B5bAa573e&yieldAggregatorId=5100&poolAddress=0x3DA9D911301f8144bdF5c3c67886e5373DCdff8e{
"status": 200,
"msg": "success",
"data": {
"vaultBalance": "0",
"poolBalance": "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
/depositpool
Trigger the deposit transaction for the given pool.
Request Body
Name
Type
Description
/withdrawpool
Trigger the withdraw transaction for the given pool.
Request Body
Name
Type
Description
Last updated

