RPC endpoint
Send signed transactions to our TRON RPC endpoint; we screen, delegate and broadcast.
Use a shared Luganodes TRON RPC endpoint, or one dedicated to your organisation, in place of your current node. For each signed transaction, we screen the sender and the recipient against sanctions lists, delegate the energy it needs to the sending address and broadcast it, within a single block, then reclaim the energy. No API integration is needed, and nothing changes in how transactions are built or signed.
At a glance
Endpoint
Shared, or dedicated on request
Integration
Point your system at our endpoint
Speed
Within a single block
Best for
Wallets and apps that want no new integration
Operated by
A TRON Super Representative since 2022
See Luganodes RPC for our wider RPC infrastructure.
Endpoint
POST $RPC_URL/wallet/broadcasttransaction$RPC_URL is the endpoint we share with you. The request body is the signed transaction in the standard TRON format. The same endpoint also serves standard TRON RPC calls, so your TRON client can use it as its node.
Sample request
Sample IDs and hashes are illustrative.
curl -X POST "$RPC_URL/wallet/broadcasttransaction" \
-H "Content-Type: application/json" \
-d @signed-transaction.jsonsigned-transaction.json holds the signed transaction: txID, raw_data, raw_data_hex and signature.
import { TronWeb } from "tronweb";
// Point TronWeb at your TRON Energy RPC endpoint instead of a public node.
const tronWeb = new TronWeb({ fullHost: process.env.RPC_URL });
// signedTx is the transaction you built and signed as you do today.
const result = await tronWeb.trx.sendRawTransaction(signedTx);
console.log(result.result, result.txid);import os
from tronpy import Tron
from tronpy.providers import HTTPProvider
# Point tronpy at your TRON Energy RPC endpoint instead of a public node.
client = Tron(HTTPProvider(endpoint_uri=os.environ["RPC_URL"]))
# signed_txn is the transaction you built and signed as you do today.
result = client.broadcast(signed_txn)
print(result)Response
"result": true means the transaction was accepted for broadcast. Use the txid to confirm it on chain.
Get access
Contact business@luganodes.com for endpoint access, shared or dedicated to your organisation. See Getting access.
Last updated