GET NFT Order Fee

get NFT order fee

EndPoint

GET api/v3/nft/info/orderUserRateAmount

minAmount is the minFee under the basic feeRate of the user, tradeCosts is the cost of L2 trade settlement, also it returns the market order requirements: the min/max order amount. So a valid order should meet these 3 requirements:.

  1. order.maxFeeBips >= feeRate.rate and order.amount >= minAmounts.

  2. order.amount * order.maxFeeBips > tradeCosts if order.amount < minAmounts.

  3. marketOrderInfo.min <= order.amount <= marketOrderInfo.max.

These amounts change according to ETH gas price and are refreshed every 15 mins.

FieldDescriptionExample

X-API-KEY

ApiKey

"HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrAGxzEdulXQvOKLrRWZLnN"

Request

FieldDescriptionExample

accountId

Account ID

10010

nftTokenAddress

NFT token address

"0xbbbbca6a901c926f240b89eacb641d8aec 7aeafd"

feeTokenSymbol

Fee token symbol

"ETH"

Response

FieldDescriptionExample

nftTokenAddress

NFT token address

"0xbbbbca6a901c926f240b89eacb641d8aec7aeafd"

feeRate

fee rate

20

amounts

/

gasPrice

gas price

"10000000000"

cacheOverdueAt

Cached price data overdue time

1632365568

Model

FeeTokenAmount

The result of query NFT market minimum fee tokens amount

FieldDescriptionExample

feeTokenSymbol

Fee token symbol

"ETH"

minAmount

The minimum quote token amount to place an NFT order

/

tradeCost

The base cost of trade settlement. Can use this tradeCost/buyAmount to calculate taker maxFeeBips

/

marketOrderInfo

OrderAmount, the market info of the NFT market include min/max/dust order amount limitations.

/

OrderAmounts

Contains information about the order amounts that are valid for usage with the token in order-related APIs.

FieldDescriptionExample

minimum

The minimum amount enforced when submitting orders for the token.

"100000000000 00000"

maximum

The maximum amount enforced when submitting orders for the token.

"100000000000 0000000"

dust

The dust amount enforced when submitting orders for the token.

"100000000000 0000"

Last updated