Claim rewards
curl --request GET \
--url https://api.vaults.fyi/v2/transactions/rewards/claim/{userAddress} \
--header 'x-api-key: <api-key>'{
"mainnet": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"optimism": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"arbitrum": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"polygon": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"gnosis": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"base": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"unichain": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"swellchain": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"celo": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"worldchain": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"berachain": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"ink": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"bsc": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"hyperliquid": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"plasma": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"avalanche": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"katana": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"linea": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"mega-eth": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"monad": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"etherlink": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
}
}Transactions
Claim rewards
Generates a claim rewards transaction for a user, returning transaction payloads needed to claim rewards from protocols.
GET
/
v2
/
transactions
/
rewards
/
claim
/
{userAddress}
Claim rewards
curl --request GET \
--url https://api.vaults.fyi/v2/transactions/rewards/claim/{userAddress} \
--header 'x-api-key: <api-key>'{
"mainnet": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"optimism": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"arbitrum": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"polygon": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"gnosis": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"base": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"unichain": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"swellchain": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"celo": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"worldchain": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"berachain": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"ink": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"bsc": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"hyperliquid": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"plasma": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"avalanche": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"katana": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"linea": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"mega-eth": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"monad": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
},
"etherlink": {
"currentActionIndex": 123,
"actions": [
{
"name": "<string>",
"tx": {
"to": "<string>",
"chainId": 1,
"data": "<string>",
"value": "<string>"
},
"simulation": {
"url": "<string>",
"tokensReceived": {},
"tokensSpent": {}
}
}
]
}
}Authorizations
Path Parameters
User address to claim rewards for
Pattern:
^0x[a-fA-F0-9]{40}$Query Parameters
DEPRECATED: This parameter is deprecated and no longer functional
Array of claim IDs to be claimed
Minimum string length:
1Response
Default Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I

