> For the complete documentation index, see [llms.txt](https://docs.watchdata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.watchdata.io/blockchain-apis/tron-api/smart-contracts/getcontract.md).

# GetContract

Returns SmartContract object.

**Body params:**

* `value` - Contract address, converted to a hex string.
* `visible` - Optional, is address in visible format(base58check) or hex?

**Request**

```
curl --request POST \
     --url https://tron.api.watchdata.io/wallet/getcontract \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "value": "41a7837ce56da0cbb28f30bcd5bff01d4fe7e4c6e3",
     "visible": false
}
'
```

**Response**

```
{}
```
