Skip to content

/fetch/discount

GET
/fetch/discount

Fetch user fee discount.

Parameters

Query Parameters

network
required
string

Algorand “mainnet” or “testnet”.

userAddress
required
string

The Algorand address to do the swap with.

Responses

200

OK.

The discount on the fee the user is entitled to, e.g. 20 = 20%.

integer

400

Request validation error.

object
errors

Missing or malformed query params.

object

404

Request cannot be satisfied.

string