---
updatedAt: 2026-05-13T16:18:27.000Z
---

Fetch the complete documentation index at: https://docs.blockdaemon.com/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Solidity Full Node Tron API

**Step 1**: To access <Glossary>Solidity</Glossary> Full Node Tron, use the following native access endpoints:

* **Network**: Tron Mainnet
* **Request Type**: POST

```
https://svc.blockdaemon.com/tron/mainnet/native/walletsolidity
```

* **Network**: Tron Nile Testnet
* **Request Type**: POST

```
https://svc.blockdaemon.com/tron/nile/native/walletsolidity
```

**Step 2:** Authenticate your request using your API key. You can include the API key using either of the following headers:

```curl Bearer Token
Authorization: Bearer YOUR_API_KEY
```

```curl X-API-Key
X-API-Key: YOUR_API_KEY
```

**Step 3**: Specify a Tron method at the end of the query:

> Learn more about Tron Solidty methods [here](https://docs.blockdaemon.com/reference/tron-solidity-rest-methods-rpc-api).

```json
https://svc.blockdaemon.com/tron/mainnet/native/walletsolidity/YOUR_METHOD
```

**Step 4**: Specify the available parameters of the method in the request body.

### Example Request

Here is a cURL example for using **`gettransactioncountbyblocknum`** to get transaction count in a block by block number.

```curl
curl --request POST \
  --url https://svc.blockdaemon.com/tron/mainnet/native/walletsolidity/gettransactioncountbyblocknum \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc",
    "visible": true
  }'
```

The following is a typical response you will get:

```json
{
    "count": 3
}
```

## 👋 Need Help?

Contact us through [email](mailto:support@blockdaemon.com) or our [support page](https://www.blockdaemon.com/support) for any issues, bugs, or assistance you may need.