Activating a TRON Gas Pump can be achieved via activateWallet > gasPump.prepare.prepareGasPumpBatch
const prepareGasPumpBatch = async (body: any, tronWeb: ITronWeb, provider?: string, testnet?: boolean) => {
Reference: tron.gasPump.ts
import { ITronWeb } from './tron.web' import { tronTx } from './tron.tx' export const tronGasPump = (args: { tronWeb: ITronWeb }) => { return {
Good to Know
- TRON Gas Pump Github link.
- TRON
prepareGasPumpBatch
Github link
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article