--- title: getUnconfirmedReward description: "Queries the unconfirmed staking or voting reward, in SUN, for a given account address in hex or base58 format." keywords: ["getunconfirmedreward", "trx", "unconfirmed reward", "staking reward", "voting reward"] --- # getUnconfirmedReward Query unconfirmed reward ## Usage ```js tronWeb.trx.getUnconfirmedReward(address) ``` ## Parameters Address string(in either HexString or Base58 format) ## Return Number - The unconfirmed reward of the address. ## Example ```js //Parameter Base58 await tronWeb.trx.getUnconfirmedReward("TTSFjEG3Lu9WkHdp4JrWYhbGP6K1REqnGQ"); // output-start 0 // output-end //Parameter HexString await tronWeb.trx.getUnconfirmedReward("41BF97A54F4B829C4E9253B26024B1829E1A3B1120"); // output-start 0 // output-end ```