TronFeeBreakdown
Defined in: wallet-tron/src/types.ts:106
What a transaction will cost, resource by resource. All sun values are what the SENDER burns.
Properties
Section titled “Properties”accountCreationFee
Section titled “accountCreationFee”accountCreationFee:
bigint
Defined in: wallet-tron/src/types.ts:123
sun burned to create the recipient account: getCreateNewAccountFeeInSystemContract (1 TRX)
plus getCreateAccountFee (0.1 TRX) when staked bandwidth cannot cover the creation; 0 when it exists.
bandwidthBurn
Section titled “bandwidthBurn”bandwidthBurn:
bigint
Defined in: wallet-tron/src/types.ts:125
sun burned for bandwidth not covered by staked/free allowance.
bandwidthFree
Section titled “bandwidthFree”bandwidthFree:
number
Defined in: wallet-tron/src/types.ts:108
Free bandwidth points left on the account (freeNetLimit − freeNetUsed).
bandwidthPrice
Section titled “bandwidthPrice”bandwidthPrice:
bigint
Defined in: wallet-tron/src/types.ts:116
sun per bandwidth byte (getTransactionFee).
bandwidthStaked
Section titled “bandwidthStaked”bandwidthStaked:
number
Defined in: wallet-tron/src/types.ts:110
Staked bandwidth points left (NetLimit − NetUsed).
energyBurn
Section titled “energyBurn”energyBurn:
bigint
Defined in: wallet-tron/src/types.ts:127
sun burned for energy not covered by staked energy.
energyPrice
Section titled “energyPrice”energyPrice:
bigint
Defined in: wallet-tron/src/types.ts:114
sun per energy unit (getEnergyFee).
energyStaked
Section titled “energyStaked”energyStaked:
number
Defined in: wallet-tron/src/types.ts:112
Staked energy left (EnergyLimit − EnergyUsed).
memoFee
Section titled “memoFee”memoFee:
bigint
Defined in: wallet-tron/src/types.ts:118
sun burned for a memo (getMemoFee), 0 without one.