---
title: "Estimate the gas needed for a VeChain transaction"
method: POST
path: "/v3/vet/transaction/gas"
tags: ["Fee Estimation API"]
---

# Estimate the gas needed for a VeChain transaction

`POST /v3/vet/transaction/gas`

**5 credits per API call**

Get an estimated amount of gas needed for a VeChain transaction.

## Request body

- VetEstimateGas
  - `from` string, required — Sender account address.
  - `to` string, required — Recipient account address.
  - `value` string, required — Amount to send.
  - `data` string — Data to send to Smart Contract
  - `nonce` number — Nonce

## Response `200`

OK

- number

## Other responses

- `403` — Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
- `500` — Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.net/tatum/apis/blockchain-data.md) · [All operations](https://skmtc.net/tatum/apis/blockchain-data/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tatum/blockchain-data/revisions/8622ee4b8fae/schema)
