This endpoint retrieves configuration and registration details for a host identified by their unique namespace. Hosts are entities that can integrate with the Flashnet Stack and earn fees from trades.
Hosts in the Flashnet AMM ecosystem are integrators who:
The new simplified fee structure:
minFeeBps: The minimum total host fee that must be charged (10-100 BPS)Example: If a host registers with minFeeBps=50 (0.5%) and default 60% Flashnet split:
namespace - The unique namespace identifier of the host (e.g., “my-cool-exchange”)Returns host information including:
namespace - The unique namespace of the host to retrieve200 OK with host configuration details404 Not Found if no host exists with the specified namespace500 Internal Server Error if database operation failsThe unique namespace identifier of the host
Host information retrieved successfully
Response returned when querying host information.
The host's unique namespace identifier.
"my-cool-exchange"
Public key that receives the host's share of trading fees.
"03abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567"
Minimum host fee in basis points. Flashnet receives a configurable percentage of any host fee charged.
50
Percentage of host fees that goes to Flashnet (0.00-1.00).
0.6
Date when the host was registered.
"2024-01-15T10:30:00Z"