How can I get all the NFT contract address via opensea API? - ethereum

I just want to get all the contract address of all NFTs that are in the market, in particular I want to get the contract address for all ERC-721 tokens. From the opensea API documents, it seems that i can only get all the contract address of a specific owner..
Thank in advance!

You can query https://docs.opensea.io/reference/retrieving-collections to get all the collections by not passing in the asset_owner param. However, this API can only return 50K items and not more than that 😟.

Related

Is there a way to get the value of a crypto in another one with uniswap

Im a beginner in the blockchain/crypto world and I was wondering if there is a way to get the value of a crypto in another one on uniswap (like in the image where we can see that on uniswap 1 ETH = 2997 1INCH). , like using the SDK or the Router ecc.. If you have any suggestion please help me.
I tried using the uniswap sdk and the smart contracts periphery contracts but i couldn't find nothing that could help me
Yes. You can get the price of a cryptocurrency as it is traded in Uniswap.
For Uniswp v2 like exchanges, the price can be calculated as a ratio of reverse0 / reserve1
The related smart contract call is pair.getReserves
For more complete example, you can read the source code of get_current_mid_price() function here
For Uniswap v3, it is there are similar helper functions in Uniswap perihelia contracts

How to airdrop NFTs to specific wallet addresses on polygon chain eth?

I have problem how I can send airdrop from contract smart to list of addresses on polygon chain
and that after send will show like this:
pls any tutorial ?????

How can I get "Event Name & Method Name" via Polygonscan API?

Currently, the company which I am working in, they want to make a statistics system for P2E games which have (or will have) ERC-20 tokens based on Polygon.
I have to accumulate the logs came from blockchain networks and game servers to know how much tokens players earn/spend, and the productivity of each contents/activities.
So, I need to get "The event name & method name" from polygonscan API. unfortunately, Polygonscan API just offer "Transfer Logs" only instead of offering all of logs.
https://docs.polygonscan.com/api-endpoints/accounts#get-a-list-of-erc-20-token-transfer-events-by-address
I found this api will return results with "Input" column. but it has just "deprecated" as value. is there any way to get what I want?
I choose "ethereum" as tags instead of "polygon" if I disturb you, I apologize this. I think ethereum has similar system with polygon because Polygon is based on Ethereum. and, the "Polygon" tags, as you know, it is for "3D rendering" not for crypto coins.

Get Binance USDT trc-20 trades (ETH/USDT)?

I have a route in nodejs project that returns recent trades from public Binance api route - GET /api/v3/trades.
And my current task is - make this route to return trades from TRON network that were completed in Binance (ETH/TETHER USDT).
After some research I have come to the conclusion that isn't possible and trading pairs on Binance are "network-agnostic".
Am I right or could someone explain this to me?

Is there any way that i can retrieve account_id from google contact api v3 to make a get request to google people api?

I have retrieved all my contacts using Google Contact API. Now, i want to get the google profile info of all those contacts using the get request as mentioned in this People API GET link. But i do not see any id in the response to make a request.
The Contacts API and People API are separate API's not meant to interop with each other.
That said, the reverse engineered way to do this is to take the Contacts API contact ID, parse that hexadecimal value, convert it to decimal, and add a 'c' prefix to it, and that becomes the People API person resource ID.
e.g. if the Contacts API contact ID was 100, then the People API person ID would be c256. When you fetch contacts from the People API in this fashion, it'll have the joined profile information, if present.