NFT 합성 수수료 조회
GET 속성을 지닌 API이지만 개발의 편의성을 위해 POST로 처리합니다.
POST https://{market-domain}/v1.0/nft/merge/fee
Headers
Name
Type
Description
Authorization*
String
Bearer eyJhbGciOiJIUzI1NiI...
Request Body
Name
Type
Description
merge_info*
object array
합성할 NFT 아이템 배열
nft_pack_id*
int64
NFT pack id
nft_id*
int64
NFT id
{
"return": 0,
"message": "success",
"value": {
"coin_id": 5,
"coin_symbol": "MATIC",
"total_nft_withdrawal_fee": 0.1273
}
}curl --location 'https://localhost:51071/v1.0/nft/merge/fee' \
--header 'Authorization: Bearer eyJhbGciOi...' \
--header 'Content-Type: application/json' \
--data '{
"merge_info": [
{
"nft_pack_id" : 200458,
"nft_id" : 2002504
},
{
"nft_pack_id" : 200458,
"nft_id" : 2002505
}
]
}'key
data type
desc.
coin_id
int64
수수료로 사용될 코인 아이디
coin_symbol
string
수수료로 사용될 코인 심볼
total_nft_withdrawal_fee
float64
합성에 필요한 수수료
return
message
desc.
0
success
성공
64102
Invalid Parameter 'pack_id'
유효하지 않은 nft_pack_id
64118
The coinid to merge is different.
합성재료들의 NFT의 coin id가 서로 다르다.
64119
The gradeID to merge is different.
합성 재료들의 grade id가 서로 다른다.
64035
Failed to load nft withdraw fee
합성 수수료 조회 실패
64210
No appid assigned to nftpack
NFTPack에 appID가 할당되어 있지 않다.
64211
Incorrect for The number of merge material information
합성 재료의 개수가 맞지 않다.
Last updated