-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
On Web3 php_ send_ tokens_ For example, there is a variable "$factortomultipliygasestimate" in this project. When I trade the BSC chain, I am always troubled by the size of this value. The situation is as follows:
Example 1: if my BSC chain wallet has a BNB worth $25, I can only set it at 150000 - 200000. If it exceeds that, the transaction will fail. And get an error prompt "insufficient funds for gas * price + value"
Example 2: if my BSC chain wallet has a BNB worth $1000, I must set it above 250000, otherwise I will fail again. And get a new error prompt "replacement transaction underpriced"
How can I handle the correct setting of this "price" variable. Sincerely ask you!
Metadata
Metadata
Assignees
Labels
No labels