v1
latestOpenAPI 3.1.02026-07-17373221.0 KB(Deprecated) Repository
Get all files of a contract (full and partial match)
Returns all files for the desired contract with the address and chain. Searches both full and partial matches.
get/files/any/{chain}/{address}
Path parameters
chainstring sourcify-chainId required
addressstring address required
Response
Contract is available
Example response
{
"status": "full",
"files": [
{
"name": "metadata.json",
"path": "/home/data/repository/contracts/full_match/3/0x0000A906D248Cc99FB8CB296C8Ad8C6Df05431c9/metadata.json"
}
]
}