GET
/
v1
/
referral
/
{address}
/
list
curl --request GET \
  --url https://backend.swap.coffee/v1/referral/{address}/list \
  --header 'x-verify: <x-verify>'
[
  {
    "address": "<string>",
    "transactions_count": 123,
    "rewards": {
      "volume": 123,
      "fees": 123
    }
  }
]

Authorizations

X-Api-Key
string
header
required

Headers

x-verify
string
required

TON proof for the given address

Path Parameters

address
string
required
Example:

"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"

Query Parameters

size
integer
default:10
Required range: 1 <= x <= 100
page
integer
default:1
Required range: x >= 1

Response

200
application/json
Account's list of referrals
address
string
required
transactions_count
integer
required
rewards
object
required