For the complete documentation index, see llms.txt. This page is also available as Markdown.

userDexAbstraction

Returns whether per-DEX abstraction is enabled for a user. This is the per-DEX counterpart to userAbstraction.

Field
Type
Description

type

string

Must be "userDexAbstraction"

user

string

User Ethereum address (required)

Request

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "userDexAbstraction",
    "user": "0xd38809cc442fe4f10937c5988d2b723a15a89e5b"
  }'
import requests
import os
import json

response = requests.post(
    'https://api.hydromancer.xyz/info',
    json={
        'type': 'userDexAbstraction',
        'user': '0xd38809cc442fe4f10937c5988d2b723a15a89e5b'
    },
    headers={
        'Authorization': f'Bearer {os.environ["HYDROMANCER_API_KEY"]}',
        'Content-Type': 'application/json'
    }
)
print(json.dumps(response.json(), indent=2))

Response Fields

Field
Type
Description

(root)

bool

true if per-DEX abstraction is enabled for the user, otherwise false

Response
false

Last updated