GetSellPriceAfterFee

API

API/token/profile/v1/calculate/sell_price/after_fee

Title

GetSellPriceAfterFee

Description

Get sell price after fee of the Key based on amount

Authorization

Not required

Method

GET

Request Parameters

NameTypeRequiredDescription

creatorId

int

YES

The Farcaster FID of creator

amount

int

YES

The amount of Key to be purchased

ecosystem

string

YES

Only suppports "farcaster"

Request and Response Example

Request

cURL Code

curl -X 'GET' \
  'https://api.tako.so/token/profile/v1/calculate/sell_price/after_fee?creatorId=10001&amount=1&ecosystem=farcaster' \
  -H 'accept: application/json'

Request URL

https://api.tako.so/token/profile/v1/calculate/sell_price/after_fee?creatorId=10001&amount=1&ecosystem=farcaster

Response

{
  "code": 0,
  "ts": "2023-12-22 04:11:09.11329",
  "msg": "OK",
  "data": 70833333333334
}

Last updated