Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no sale property on /nft/getitems response #76

Closed
hamedhajiloo opened this issue Apr 4, 2023 · 0 comments
Closed

There is no sale property on /nft/getitems response #76

hamedhajiloo opened this issue Apr 4, 2023 · 0 comments

Comments

@hamedhajiloo
Copy link

Bug Type

Functional

Reproduction steps

  1. Call https://tonapi.io/v1/nft/getItems?addresses=0%3A0b9ee0a208c769c420dc551b978235cec1851ddeb2c0eb52cd9125692ff3a3a0
  2. Get response
  3. There is no sale property on response!

Actual result

{
"nft_items": [
{
"address": "0:0b9ee0a208c769c420dc551b978235cec1851ddeb2c0eb52cd9125692ff3a3a0",
"approved_by": null,
"collection": {
"address": "0:0e41dc1dc3c9067ed24248580e12b3359818d83dee0304fabcf80845eafafdb2",
"name": "Anonymous Telegram Numbers"
},
"collection_address": "0:0e41dc1dc3c9067ed24248580e12b3359818d83dee0304fabcf80845eafafdb2",
"index": -2868099999230990000,
"metadata": {
"name": "+888 0682 5795",
"description": "The anonymous number +888 0682 5795 that can be used to create a Telegram account that is not tied to a SIM card.",
"image": "https://nft.fragment.com/number/88806825795.webp"
},
"owner": {
"address": "0:852cf2fc5aa158cc9b9fb520eb3be771b4ae4946dd7334ae8fce25ee0e71d575",
"icon": "",
"is_scam": false,
"name": "koton.t.me"
},
"previews": [
{
"resolution": "100x100",
"url": "https://cache.tonapi.io/imgproxy/jMLzr8YvulusAV-Tt0xqxvWoEdXSKu_-GzaLUFqIe_U/rs:fill:100:100:1/g:no/aHR0cHM6Ly9uZnQuZnJhZ21lbnQuY29tL251bWJlci84ODgwNjgyNTc5NS53ZWJw.webp"
},
{
"resolution": "500x500",
"url": "https://cache.tonapi.io/imgproxy/DrIIv7AtikOf6Rsp6hy_CTltDaO5FpOqLthQrJchbhc/rs:fill:500:500:1/g:no/aHR0cHM6Ly9uZnQuZnJhZ21lbnQuY29tL251bWJlci84ODgwNjgyNTc5NS53ZWJw.webp"
},
{
"resolution": "1500x1500",
"url": "https://cache.tonapi.io/imgproxy/k-ZCLyCUBsT61eFLm3vG_FAWOXHJjF7Llt5Hcn9fW7c/rs:fill:1500:1500:1/g:no/aHR0cHM6Ly9uZnQuZnJhZ21lbnQuY29tL251bWJlci84ODgwNjgyNTc5NS53ZWJw.webp"
}
],
"verified": true
}
]
}

Expected result

{
"nft_items": [
{
"address": "0:0b9ee0a208c769c420dc551b978235cec1851ddeb2c0eb52cd9125692ff3a3a0",
"approved_by": null,
"collection": {
"address": "0:0e41dc1dc3c9067ed24248580e12b3359818d83dee0304fabcf80845eafafdb2",
"name": "Anonymous Telegram Numbers"
},
"collection_address": "0:0e41dc1dc3c9067ed24248580e12b3359818d83dee0304fabcf80845eafafdb2",
"index": -2868099999230990000,
"metadata": {
"name": "+888 0682 5795",
"description": "The anonymous number +888 0682 5795 that can be used to create a Telegram account that is not tied to a SIM card.",
"image": "https://nft.fragment.com/number/88806825795.webp"
},
"owner": {
"address": "0:852cf2fc5aa158cc9b9fb520eb3be771b4ae4946dd7334ae8fce25ee0e71d575",
"icon": "",
"is_scam": false,
"name": "koton.t.me"
},
"previews": [
{
"resolution": "100x100",
"url": "https://cache.tonapi.io/imgproxy/jMLzr8YvulusAV-Tt0xqxvWoEdXSKu_-GzaLUFqIe_U/rs:fill:100:100:1/g:no/aHR0cHM6Ly9uZnQuZnJhZ21lbnQuY29tL251bWJlci84ODgwNjgyNTc5NS53ZWJw.webp"
},
{
"resolution": "500x500",
"url": "https://cache.tonapi.io/imgproxy/DrIIv7AtikOf6Rsp6hy_CTltDaO5FpOqLthQrJchbhc/rs:fill:500:500:1/g:no/aHR0cHM6Ly9uZnQuZnJhZ21lbnQuY29tL251bWJlci84ODgwNjgyNTc5NS53ZWJw.webp"
},
{
"resolution": "1500x1500",
"url": "https://cache.tonapi.io/imgproxy/k-ZCLyCUBsT61eFLm3vG_FAWOXHJjF7Llt5Hcn9fW7c/rs:fill:1500:1500:1/g:no/aHR0cHM6Ly9uZnQuZnJhZ21lbnQuY29tL251bWJlci84ODgwNjgyNTc5NS53ZWJw.webp"
}
],
"sale": {
"address": "",
"market": {
"address": "
",
"icon": "https://ton.org/logo.png",
"is_scam": true,
"name": "Ton foundation"
},
"owner": {
"address": "",
"icon": "https://ton.org/logo.png",
"is_scam": true,
"name": "Ton foundation"
},
"price": {
"token_name": "TON",
"value": "
"
}
},
"verified": true
}
]
}

Suggested Severity

Vulnerability

Device

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Microsoft Edge, Postman, ...

Additional Context

No response

@hamedhajiloo hamedhajiloo closed this as not planned Won't fix, can't repro, duplicate, stale Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant