Jump to Content
Alchemy Docs
HomeTutorialsRecipesAPI ReferenceChangelogDiscussions
Alchemy LoginAlchemy Docs
Alchemy Login
HomeTutorialsRecipesAPI ReferenceChangelogDiscussions

Discussions

Ask a Question
ANSWERED

Get chain for collection

Is there a way to get the chain that a collection (or an asset from a collection) belongs to? meaning i have the contract address of the collection, and i want an output like "Ethereum", or "Polygon" etc
alchemycoregetcodeeth_getcodechains
Posted by Andrei 16 days ago
  • FAQs
  • Recent
  • Popular
  • Unanswered
429 erroraccount supportaccount tieraccountsaddress activity webhookalchemyalchemy apialchemy composeralchemy mempoolalchemy sdkalchemy transactalchemy-sdkalchemy_getassettransfersarchive dataastar apicapacity limitschainscompute unitsconcurrent transactionscorecupsdefienhanced apierc-20 token tutorialerc2771erc721error 429eth transferseth_getcodeethereum apievents loggas estimationgetassettransfersgetblocknumbergetcodegetcontractmetadatagetfloorpricegetlogsgetnftgetnftsgetnftsalesgetnftsforcollectiongetnftsforcontractgetnftsforownergetnftsforowneriteratorgetownersforcollectiongetownersforcontractgetprogramaccountsgettransactiongettransactionreceiptinvalidatecontractipfs gatewayjson-rpcmeta transactionsnft apinft cdnnft metadatanoncenotify apipolygonpolygon apipricingrate limitsreinforced transactionsroad to web3sdk websockets endpointssmart contractssolana apisolana websocketspam nftssubscription apiteamthroughputtransaction receipt apitransactionstransfer apitransfers apivideo nftwebhookwebhookswebsocketwebsockets