GET/trusted-contracts-registry/v1/contracts/:address
Gets the contract corresponding to the address.
Request
Path Parameters
The Ethereum address of the contract.
Responses
- 200
- 400
- 404
- 500
Success
- application/json
- Schema
- Contract
Schema
Deployer's Ethereum address
The deployer's DID
Deployment timestamp
Whether the contract is active or not
Template ID
{
"address": "0x61c36a8d610163660E21a8b7359e1Cac0C9133e1",
"deployer": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"deployerDID": "did:ebsi:zqz4ibiG9bWhPBiebPeeGVB",
"deploymentTimestamp": 1760600272,
"isActive": true,
"templateId": "0x957cef8a6ccfa45ea37ec9976fa2cdeb916d96039d6dac5bd68e37284bc187f4"
}
Bad Request
- application/problem+json
- Schema
- Invalid {address} Parameter
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400 and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Bad Request",
"status": 400,
"detail": "[\"address must be an Ethereum address\"]"
}
Not found
- application/problem+json
- Schema
- Contract Not Found
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400 and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
Internal Server Error
- application/json
- Schema
- Internal Server Error
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400 and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"title": "Internal error",
"status": 500,
"detail": "Internal error"
}