- when getting asset, where can i find the price ?
What is the output that you have?
- animation_original_url: null
- animation_url: null
- asset_contract: {address: ‘0x86357a19e5537a8fba9a004e555713bc943a66c0’, asset_contract_type: ‘non-fungible’, created_date: ‘2021-10-03T08:04:56.598515’, name: ‘Neo Tokyo: Identities’, nft_version: ‘3.0’, …}
- background_color: null
- collection: {banner_image_url: ‘https://lh3.googleusercontent.com/_GM8f8ete5DWjl55…11OipMS8ROYZF549DIQYCm53nC0hIvvANXQEiR6ikvC=s2500’, chat_url: null, created_date: ‘2021-10-04T15:14:32.376341’, default_to_fiat: false, description: ‘Ciphers decoding…\r\nPreparing bytestream headers…ry linked list unpacked\r\nWelcome to the New World’, …}
- creator: {user: {…}, profile_img_url: ‘https://storage.googleapis.com/opensea-static/opensea-profile/22.png’, address: ‘0xa8da6166cbd2876ccde424ee2a717c355be4702b’, config: ‘verified’}
- decimals: 0
- description: “Welcome to Neo Tokyo, citizen. Are you prepared to fulfill your destiny?”
- external_link: null
- id: 65909438
- image_original_url: null
- image_preview_url: “https://storage.opensea.io/files/ece31a3adc329fc2b8f4497521f5236c.svg”
- image_thumbnail_url: “https://storage.opensea.io/files/ece31a3adc329fc2b8f4497521f5236c.svg”
- image_url: “https://storage.opensea.io/files/ece31a3adc329fc2b8f4497521f5236c.svg”
- is_presale: false
- last_sale: null
- listing_date: null
- name: “Character #2254”
- num_sales: 0
- owner: {user: {…}, profile_img_url: ‘https://storage.googleapis.com/opensea-static/opensea-profile/24.png’, address: ‘0xd573b7165b4f0e07d413b40247eb3eeeb6506cee’, config: ‘’}
- permalink: “https://opensea.io/assets/0x86357a19e5537a8fba9a004e555713bc943a66c0/2254”
- sell_orders: null
- token_id: “2254”
- token_metadata: "data:application/json;base64,eyJuYW1lIjogIkNoYXJh
- top_bid: null
- traits: (13) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
- transfer_fee: null
- transfer_fee_payment_token: null
- [[Prototype]]: Object
Maybe it doesn’t have a price this one in particular, it says that it was no sale or listing
but all of Rinkeby assets have the price 0
Mr. @cryptokid ,
now i m in the testnet , response doesn’t have a price
befor migrating to the mainnet i want to locate the price
thank you
The price is returned by OpenSea, therefore if the price shown is 0 probably means that the NFT was never sold on Opensea.
befor migrating to the mainnet i want to locate the price
You can use ‘mainnet’ as network and fetch an asset that you are sure has been already sold on OpenSea.
Try this: https://opensea.io/assets/0x2a281305a50627a22ec3e7d82ae656adfee6d964/308
The price returned is correct
that’s what i didn’t understand ( 50000000000000 ) is not the not the correct price
Mr. @dani please can you explain to me ?
but is 0.05ETH = 500000000000000000 ?
how can be
that prices is in WEI, and 1 ETH = 1000000000000000000 WEI (18 decimal places)
ah you’re right ,thank you !