Retrieves the complete transactional context for a user's interaction with a specific vault, including available deposit/redeem steps, current balances, and claimable rewards.
Authorizations
Path parameters
userAddressstringRequired
User address
Pattern: ^0x[a-fA-F0-9]{40}$
networkstring ยท enumRequired
Network name
Possible values:
vaultAddressstringRequired
Vault address
Pattern: ^0x[a-fA-F0-9]{40}$
Responses
200
Transaction context information for a user and vault
application/json
401
Default Response
application/json
403
Default Response
application/json
500
Default Response
application/json
get
GET //v2/transactions/context/{userAddress}/{network}/{vaultAddress} HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
Retrieves executable transaction payloads for specific actions (deposit, redeem, claim) for a user interacting with a vault, including ready-to-sign transaction data and optional simulation results.
Authorizations
Path parameters
actionstring ยท enumRequired
Action to be performed
Possible values:
userAddressstringRequired
User address to get returns for
Pattern: ^0x[a-fA-F0-9]{40}$
networkstring ยท enumRequired
Network to get returns for
Possible values:
vaultAddressstringRequired
Vault address to get returns for
Pattern: ^0x[a-fA-F0-9]{40}$
Query parameters
simulatebooleanOptional
Simulate the transaction
Default: false
assetAddressstringRequired
Address of the asset to be used in the transaction
Pattern: ^0x[a-fA-F0-9]{40}$
amountstringOptional
Only applicable to deposit, redeem, request-redeem, Amount of the asset to be used in the transaction
allbooleanOptional
Only applicable for redeem action. If true, all assets will be redeemed
Responses
200
Default Response
application/json
401
Default Response
application/json
403
Default Response
application/json
500
Default Response
application/json
get
GET //v2/transactions/{action}/{userAddress}/{network}/{vaultAddress} HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*