op:usdt --bridge--> hyper:usdt0 --deposit--> hyper:altv --bridge--> op:altv
curl -X 'POST' \
'https://api.enso.finance/api/v1/shortcuts/bundle?chainId=10&fromAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&referralCode=0123456789ABCDEF&routingStrategy=router&receiver=0xd8da6bf26964af9d7eed9e03e53415d37aa96045' \
-H 'accept: application/json' \
-H 'Authorization: Bearer 1e02632d-6feb-4a75-a157-documentation' \
-H 'Content-Type: application/json' \
-d '[
{
"protocol": "enso",
"action": "route",
"args": {
"slippage": "100",
"tokenIn": "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
"tokenOut": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"amountIn": "1000000000",
"destinationChainId": 999,
"refundReceiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
},
{
"protocol": "altura-avlt",
"action": "deposit",
"args": {
"primaryAddress": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenIn": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"tokenOut": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"amountIn": {
"useOutputOfCallAt": 0
},
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
},
{
"protocol": "stargate",
"action": "bridge",
"args": {
"primaryAddress": "0x74db7a52773a52699dbc0c01b1254e5301e3e119",
"destinationChainId": "10",
"tokenIn": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"amountIn": {
"useOutputOfCallAt": 1
},
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
}
]'{
"createdAt": 147515067,
"tx": {
"data": "0xf52e33f5000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004000000000000000000000000094b008aa00579c1307b0ef2c499ad98a8ce58e58000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000274e6434343c00000000000000000000000000000000000000000000000000000000000010e495352c9fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a50332e0f21f3c4750ad8bc23dc791cca430313233343536373839414243444546000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000008095ea7b3010001ffffffffff94b008aa00579c1307b0ef2c499ad98a8ce58e58346387bf4100000000000008bedfac7488dccaafdd66d1d7d56349780fe0477e02020304010506078889ffffffffffffffffffffffffffffffffffffffffffff6e7a43a301080affffffff0a7e7d64d987cab6eed08a191c4c2459daf2f8ed0b241c5912010affffffffffff7e7d64d987cab6eed08a191c4c2459daf2f8ed0b095ea7b3010b08ffffffffff01bff41798a0bcf287b996046ca68b395dbc1071c7c7f5b3c3000000000000fff03b4d9ac1d5d1e7c4cef54c2a313b9fe051a0ad0cfc0d0e080f909189fb0c0912ffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000006e00000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000076000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000000000000000000000000000007e00000000000000000000000000000000000000000000000000000000000000820000000000000000000000000000000000000000000000000000000000000086000000000000000000000000000000000000000000000000000000000000008e00000000000000000000000000000000000000000000000000000000000000ee00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000bedfac7488dccaafdd66d1d7d56349780fe0477e0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000ca423977156bb05b13a2ba3b76bc5419e2fe9680000000000000000000000000000000000000000000000000000000000000002000000000000000000000000094b008aa00579c1307b0ef2c499ad98a8ce58e58000000000000000000000000000000000000000000000000000000000000002000000000000000000000000001bff41798a0bcf287b996046ca68b395dbc10710000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000003b99a38f00000000000000000000000000000000000000000000000000000000000000200000000000000000000000004fe93ebc4ce6ae4f81601cc7ce7139023919e003000000000000000000000000000000000000000000000000000000000000002000000000000000000000000069afa05352b3797b8d08ce3b5edf27eb0585d560000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000001e43b635ce400000000000000000000000094b008aa00579c1307b0ef2c499ad98a8ce58e58000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000b8fc6bf89e16e66b5fa9aa44b8393a588cf1e77c00000000000000000000000001bff41798a0bcf287b996046ca68b395dbc1071000000000000000000000000000000000000000000000000000000003b99a391000000000000000000000000000000000000000000000000000000003b4d59c9000000000000000000000000bedfac7488dccaafdd66d1d7d56349780fe0477e0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000b8fc6bf89e16e66b5fa9aa44b8393a588cf1e77c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007c02020401c259538e0c01010102000007010102038ce93cf0ac66f2a22a19a9ac2631d83068481469000200000000000000000170ff00000000000000000000004da46c6afe7322b66efefda1f702605cbe08e0bd94b008aa00579c1307b0ef2c499ad98a8ce58e5801bff41798a0bcf287b996046ca68b395dbc10710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000003b4d59c70000000000000000000000000000000000000000000000000000000000000020000000000000000000000000f03b4d9ac1d5d1e7c4cef54c2a313b9fe051a0ad00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000274e6434343c0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000769f00000000000000000000000000000000000000000000000000000000000000200000000000000000000000008e51ad2a14bcf3dda90c77343392739e25a6a94c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003c000301001101000000000000000000000000000493e0010023030000000000000000000000000000000ba3ab00000000000000000005a9d2d41d87210000000000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000054495352c9fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a50332e0f21f3c4750ad8bc23dc791cca43031323334353637383941424344454600000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000670a082310100ffffffffff09b8ce59fc3717ada4c02eadf9682a9e934f625ebb095ea7b3010109ffffffffffb8ce59fc3717ada4c02eadf9682a9e934f625ebb6e553f65010900ffffffff09d0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29095ea7b3010209ffffffffffd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29c7c7f5b3c3000000000000ff74db7a52773a52699dbc0c01b1254e5301e3e11903fc04050906878888fb030805ffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000004fe93ebc4ce6ae4f81601cc7ce7139023919e0030000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29000000000000000000000000000000000000000000000000000000000000002000000000000000000000000074db7a52773a52699dbc0c01b1254e5301e3e1190000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000564c8ca03bda60000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000759f0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000016000301001101000000000000000000000000000493e000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa9604500000000000000000000000000000000000000000000000000000000",
"to": "0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf",
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"value": "43217642075196"
},
"bundle": [
{
"protocol": "enso",
"action": "route",
"args": {
"slippage": "100",
"tokenIn": [
"0x94b008aa00579c1307b0ef2c499ad98a8ce58e58"
],
"tokenOut": [
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb"
],
"amountIn": "1000000000",
"destinationChainId": 999,
"refundReceiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
},
{
"protocol": "altura-avlt",
"action": "deposit",
"args": {
"primaryAddress": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenIn": [
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb"
],
"tokenOut": [
"0xd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29"
],
"amountIn": {
"useOutputOfCallAt": 0
},
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
},
{
"protocol": "stargate",
"action": "bridge",
"args": {
"primaryAddress": "0x74db7a52773a52699dbc0c01b1254e5301e3e119",
"destinationChainId": "10",
"tokenIn": [
"0xd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29"
],
"amountIn": {
"useOutputOfCallAt": 1
},
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
}
],
"route": [
{
"action": "swap",
"protocol": "odos",
"tokenIn": [
"0x94b008aa00579c1307b0ef2c499ad98a8ce58e58"
],
"tokenOut": [
"0x01bff41798a0bcf287b996046ca68b395dbc1071"
],
"chainId": 10
},
{
"action": "bridge",
"protocol": "stargate",
"tokenIn": [
"0x01bff41798a0bcf287b996046ca68b395dbc1071"
],
"tokenOut": [
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb"
],
"sourceChainId": 10,
"destinationChainId": 999
},
{
"action": "deposit",
"protocol": "altura-avlt",
"tokenIn": [
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb"
],
"tokenOut": [
"0xd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29"
],
"chainId": 999
},
{
"action": "bridge",
"protocol": "stargate",
"tokenIn": [
"0xd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29"
],
"tokenOut": [
"0x74db7a52773a52699dbc0c01b1254e5301e3e119"
],
"sourceChainId": 999,
"destinationChainId": 10
}
],
"feeAmount": {},
"bridgingEstimates": [
{
"fromChainId": 10,
"toChainId": 999,
"token": "0x01bff41798a0bcf287b996046ca68b395dbc1071",
"estimatedSeconds": 40,
"sendConfirmations": 20,
"receiveConfirmations": 1,
"sendBlockTimeSeconds": 2,
"receiveBlockTimeSeconds": 2,
"bridge": "stargate",
"source": "defaults"
},
{
"fromChainId": 999,
"toChainId": 10,
"token": "0xd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29",
"estimatedSeconds": 2,
"sendConfirmations": 1,
"receiveConfirmations": 20,
"sendBlockTimeSeconds": 2,
"receiveBlockTimeSeconds": 2,
"bridge": "stargate",
"source": "defaults"
}
],
"amountsOut": {
"0x74db7a52773a52699dbc0c01b1254e5301e3e119": "972765023000000000000"
},
"minAmountsOut": {
"0x74db7a52773a52699dbc0c01b1254e5301e3e119": "972765023000000000000"
},
"gas": "952753",
"priceImpact": null
}hyper:hype --swap--> hyper:usdt0 --deposit--> hyper:altv --bridge--> op:altv
curl -X 'POST' \
'https://api.enso.finance/api/v1/shortcuts/bundle?chainId=999&fromAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&referralCode=0123456789ABCDEF&routingStrategy=router&receiver=0xd8da6bf26964af9d7eed9e03e53415d37aa96045' \
-H 'accept: application/json' \
-H 'Authorization: Bearer 1e02632d-6feb-4a75-a157-documentation' \
-H 'Content-Type: application/json' \
-d '[
{
"protocol": "enso",
"action": "route",
"args": {
"slippage": "100",
"tokenIn": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"tokenOut": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"amountIn": "1000000000000000000"
}
},
{
"protocol": "altura-avlt",
"action": "deposit",
"args": {
"primaryAddress": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenIn": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"tokenOut": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"amountIn": {
"useOutputOfCallAt": 0
},
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
},
{
"protocol": "stargate",
"action": "bridge",
"args": {
"primaryAddress": "0x74db7a52773a52699dbc0c01b1254e5301e3e119",
"destinationChainId": "10",
"tokenIn": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"amountIn": {
"useOutputOfCallAt": 1
},
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
}
]'hyper:usdc --swap--> hyper:usdt0 --deposit--> hyper:altv --bridge--> op:altv
curl -X 'POST' \
'https://api.enso.finance/api/v1/shortcuts/bundle?chainId=999&fromAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&referralCode=0123456789ABCDEF&routingStrategy=router&receiver=0xd8da6bf26964af9d7eed9e03e53415d37aa96045' \
-H 'accept: application/json' \
-H 'Authorization: Bearer 1e02632d-6feb-4a75-a157-documentation' \
-H 'Content-Type: application/json' \
-d '[
{
"protocol": "enso",
"action": "route",
"args": {
"slippage": "100",
"tokenIn": "0xb88339CB7199b77E23DB6E890353E22632Ba630f",
"tokenOut": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"amountIn": "100000000"
}
},
{
"protocol": "altura-avlt",
"action": "deposit",
"args": {
"primaryAddress": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenIn": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"tokenOut": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"amountIn": {
"useOutputOfCallAt": 0
},
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
},
{
"protocol": "stargate",
"action": "bridge",
"args": {
"primaryAddress": "0x74db7a52773a52699dbc0c01b1254e5301e3e119",
"destinationChainId": "10",
"tokenIn": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"amountIn": {
"useOutputOfCallAt": 1
},
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
}
]'curl -X 'POST' \
'https://api.enso.finance/api/v1/shortcuts/bundle?chainId=999&fromAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&referralCode=0123456789ABCDEF&routingStrategy=router&receiver=0xd8da6bf26964af9d7eed9e03e53415d37aa96045' \
-H 'accept: application/json' \
-H 'Authorization: Bearer 1e02632d-6feb-4a75-a157-documentation' \
-H 'Content-Type: application/json' \
-d '[
{
"protocol":"altura-avlt",
"action":"redeem",
"args":{
"primaryAddress":"0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenIn":"0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenOut":"0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"amountIn": "1000000",
"receiver":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
}
]'{
"createdAt": 26817813,
"tx": {
"data": "0xb94c3609000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000d0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f2900000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000020495352c9fad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5074e9204646e4c71b58b8549257d036730313233343536373839414243444546000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001ba08765201000102ffffffffd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f290000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa9604500000000000000000000000000000000000000000000000000000000000000200000000000000000000000004fe93ebc4ce6ae4f81601cc7ce7139023919e00300000000000000000000000000000000000000000000000000000000",
"to": "0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf",
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"value": "0"
},
"bundle": [
{
"protocol": "altura-avlt",
"action": "redeem",
"args": {
"primaryAddress": "0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenIn": [
"0xd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29"
],
"tokenOut": [
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb"
],
"amountIn": "1000000",
"receiver": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
}
],
"route": [
{
"action": "redeem",
"protocol": "altura-avlt",
"tokenIn": [
"0xd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29"
],
"tokenOut": [
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb"
],
"chainId": 999
}
],
"feeAmount": {},
"amountsOut": {
"0xb8ce59fc3717ada4c02eadf9682a9e934f625ebb": "1026913"
},
"minAmountsOut": {},
"gas": "163342",
"priceImpact": 11
}op:altv --bridge--> hyper:altv --redeem--> hyper:usdt0 --bridge--> op:usdt
NOTE: this flow can't currently succeed due to:
- OFTs have
0limit set. - Bridgning USDT0 out from HyperEVM is currently disabled (it takes ~12h using Stargate as of today).
curl -X 'POST' \
'https://api.enso.finance/api/v1/shortcuts/bundle?chainId=10&fromAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&referralCode=0123456789ABCDEF&routingStrategy=router&receiver=0xd8da6bf26964af9d7eed9e03e53415d37aa96045' \
-H 'accept: application/json' \
-H 'Authorization: Bearer 1e02632d-6feb-4a75-a157-documentation' \
-H 'Content-Type: application/json' \
-d '[
{
"protocol":"stargate",
"action":"bridge",
"args":{
"primaryAddress":"0x74db7a52773a52699dbc0c01b1254e5301e3e119",
"destinationChainId":"999",
"tokenIn":"0x74db7a52773a52699dbc0c01b1254e5301e3e119",
"amountIn":"10000000000000000000",
"receiver":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
},
"callback":[
{
"protocol":"enso",
"action":"balance",
"args":{
"token":"0xd0ee0cf300dfb598270cd7f4d0c6e0d8f6e13f29"
}
},
{
"protocol":"altura-avlt",
"action":"redeem",
"args":{
"primaryAddress":"0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenIn":"0xd0Ee0CF300DFB598270cd7F4D0c6E0D8F6e13f29",
"tokenOut":"0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"amountIn":{
"useOutputOfCallAt":0
},
"receiver":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
},
{
"protocol":"enso",
"action":"route",
"args":{
"slippage":"100",
"tokenIn":"0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
"tokenOut":"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
"amountIn":{
"useOutputOfCallAt":1
},
"destinationChainId":10,
"refundReceiver":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}
}
]
}
]'