POST
/
v1
/
hosts
/
register
Register Host
curl --request POST \
  --url https://api.amm.flashnet.xyz/v1/hosts/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "feeRecipientPublicKey": "03abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567",
  "minFeeBps": 50,
  "namespace": "my-cool-exchange",
  "nonce": "550e8400-e29b-41d4-a716-446655440000",
  "signature": "3045022100a7e5d4f8b2c9a1e6f0d5b8c4a9e7f2d1c8b5a4e9f0d6c5b3a2e1d0c9b8a7f02201f2e3d4c5b6a7980e9f0a1b2c3d4e5f67889a0b1c2d3e4f5a6b7c8d9e0f1a2b3"
}'
{
"message": "Host 'my-cool-exchange' registered successfully.",
"namespace": "my-cool-exchange"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

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.

Response

Host registered successfully

Response returned after successfully registering a host.