GET
/
v1
/
hosts
/
{namespace}
Get Host
curl --request GET \
  --url https://api.amm.flashnet.xyz/v1/hosts/{namespace}
{
  "createdAt": "2024-01-15T10:30:00Z",
  "feeRecipientPublicKey": "03abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567",
  "flashnetSplitPercentage": 0.6,
  "minFeeBps": 50,
  "namespace": "my-cool-exchange"
}

Path Parameters

namespace
string
required

The unique namespace identifier of the host

Response

Host information retrieved successfully

Response returned when querying host information.

namespace
string
required

The host's unique namespace identifier.

Example:

"my-cool-exchange"

feeRecipientPublicKey
string
required

Public key that receives the host's share of trading fees.

Example:

"03abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567"

minFeeBps
integer
required

Minimum host fee in basis points. Flashnet receives a configurable percentage of any host fee charged.

Example:

50

flashnetSplitPercentage
number
required

Percentage of host fees that goes to Flashnet (0.00-1.00).

Example:

0.6

createdAt
string
required

Date when the host was registered.

Example:

"2024-01-15T10:30:00Z"