/v1/transaction
A transaction clauses, value, gas and VTHO paid
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/vechain-api/v1/transaction" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vechain-api/v1/transaction", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vechain-api/v1/transaction");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/vechain-api/v1/transaction",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"gas": 324966,
"size": 1506,
"txid": "0x9372643acdda521e7ec30de971dda3f4561ca5a7109414326b08735bf1caf206",
"nonce": "0xcdbf4",
"origin": "0xdec03b1419446f11cec897c9d3e0e909755562b7",
"source": "VeChain",
"block_id": "0x017e513c8b8dbc97ac5f123ae7affa4058395bfb460c74a3576f0c8e079a04d2",
"gas_used": 190885,
"reverted": false,
"delegator": "0xf4dcbacd10890172d48c42720c0d8aa97fe21d39",
"total_vet": 0,
"vtho_paid": 2.867018,
"block_time": "2026-06-10T10:17:40.000Z",
"vtho_reward": 0.958168,
"block_number": 25055548,
"clause_count": 1,
"gas_price_coef": 128
},
"meta": {
"timestamp": "2026-06-10T14:01:38.671Z",
"request_id": "b61d2c67-f17b-45c2-9fa1-95c9506a9ca6"
},
"status": "ok",
"message": "Transaction retrieved successfully",
"success": true
}