This endpoint allows integrators to register as hosts. Hosts earn a configurable fee amount from trades executed in pools deployed in their namespace.
min_fee_bps)min_fee_bps = 50 (0.5%)Requires a valid JWT bearer token. The host’s public key must match the
fee_recipient_public_key in the request, the same key should sign the intent
to register the host.
fee_recipient_public_keynonce to prevent replay attacksnamespace - Unique identifier for the host (3-32 characters)min_fee_bps - Minimum host fee in basis points (at least 10 BPS)fee_recipient_public_key - Public key for receiving host feesnonce - Unique value for replay protectionsignature - Signature of the request200 OK if host is registered successfully400 Bad Request if validation fails or namespace is already taken401 Unauthorized if authentication fails500 Internal Server Error if registration cannot be completedBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Host registration details including namespace, minimum fee, and authentication
Request body for registering a new host on the Flashnet AMM platform.
Hosts are integrators who can create and manage AMM pools, earning fees from trades. Registration requires configuring a minimum fee that the host will accept.
Unique namespace identifier for the host. Must be between 3-32 characters and globally unique.
"my-cool-exchange"
Minimum host fee in basis points (BPS). This is the minimum fee that must be charged when using this host's namespace. Must be between 10-100 BPS (0.1% - 1%). Flashnet receives a configurable percentage of any host fee charged (default 60%). 1 BPS = 0.01%, so 100 BPS = 1%.
50
Public key that will receive the host's share of trading fees. Must be a valid secp256k1 public key.
"03abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567"
Unique nonce for replay protection.
Each request must use a unique nonce.
"550e8400-e29b-41d4-a716-446655440000"
Hex-encoded secp256k1 signature of the request.
Must be signed by the private key corresponding to fee_recipient_public_key.
"3045022100a7e5d4f8b2c9a1e6f0d5b8c4a9e7f2d1c8b5a4e9f0d6c5b3a2e1d0c9b8a7f02201f2e3d4c5b6a7980e9f0a1b2c3d4e5f67889a0b1c2d3e4f5a6b7c8d9e0f1a2b3"