Endpoint: https://graphql.mainnet.sui.io/graphql
curl -s https://graphql.mainnet.sui.io/graphql \
-H 'Content-Type: application/json' \
-d '{"query":"{ object(address: \"<PACKAGE_ID>\") { asMovePackage { address version modules { nodes { name friends { nodes { name } } } } linkage { originalId upgradedId version } typeOrigins { module struct definingId } } } }"}' | jq .data.object.asMovePackage