tron-php icon indicating copy to clipboard operation
tron-php copied to clipboard

error in transform

Open majid66zare opened this issue 3 years ago • 7 comments

Hi fenguoz, i faced an error using your Trc20 wallet library I get wallet inventory accurately, but my problem is in transfer, I created origin address by ((privateKeyToAddress)) method. the destination address created by this method: new \Tron\Address( $To_address, '', $trc20Wallet->tron->address2HexString($To_address)); after running my code this error occured : "Transfer Fail" and error message is "Contract validate error : account does not exist" while account is exist. please help me. kindly.

majid66zare avatar May 07 '22 12:05 majid66zare

Try transferring money from other wallets to this address

Fenguoz avatar May 09 '22 00:05 Fenguoz

Hi, Sorry I cannot understand what do you mean exactly, Can you explain more clearly? I made the origin address by your library. I could get the inventory from it correctly and I could transfer money from other addresses to this address. All these two work correctly and fine but I have face up an error. Bellow, I described the error: I have 5 dollars in my wallet and I want to transfer my money from this address to another address but an error occurred while transferring. The error is: "Transfer Fail" I insert all data correctly and I have 5 dollars in my wallet. Can you please help me? Thanks in advance.

majid66zare avatar May 09 '22 08:05 majid66zare

Whether the address has enough trx as a fee,or Is the bandwidth of the address sufficient?

Fenguoz avatar May 09 '22 14:05 Fenguoz

Sorry bothering you I have another question How much trx (minimum trx) do I need for a transaction to transfer successfully? Does fee change (increase) by changing in the amount of usdt which I want to transfer? For instance, for transferring 5 dollars, how much trx do I need to have in my wallet? Tnx in advance.

‫‪Fenguoz‬‏ @.***‬‏> در تاریخ دوشنبه ۹ مه ۲۰۲۲ ساعت ۱۹:۱۵ نوشت:‬

Whether the address has enough trx as a fee

— Reply to this email directly, view it on GitHub https://github.com/Fenguoz/tron-php/issues/28#issuecomment-1121199577, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRNVVMXW6UGU377BWEPMZ3VJEQKHANCNFSM5VKKW7TQ . You are receiving this because you authored the thread.Message ID: @.***>

majid66zare avatar May 10 '22 09:05 majid66zare

Hi I transfer 5 Trons in my wallet for transition fee and try to transfer 2 dollars to another address but it gives me an error: here is the error: ((Account resource insufficient error.16:12))

I should rememorize that I have 5 dollars in my wallet and try to transfer several times with different price 5, 2, 1 but in every time it returns the error above. Please guide me. Thanks.

‫‪Majid Zare‬‏ @.***‬‏> در تاریخ سه‌شنبه ۱۰ مه ۲۰۲۲ ساعت ۱۳:۵۴ نوشت:‬

Sorry bothering you I have another question How much trx (minimum trx) do I need for a transaction to transfer successfully? Does fee change (increase) by changing in the amount of usdt which I want to transfer? For instance, for transferring 5 dollars, how much trx do I need to have in my wallet? Tnx in advance.

‫‪Fenguoz‬‏ @.***‬‏> در تاریخ دوشنبه ۹ مه ۲۰۲۲ ساعت ۱۹:۱۵ نوشت:‬

Whether the address has enough trx as a fee

— Reply to this email directly, view it on GitHub https://github.com/Fenguoz/tron-php/issues/28#issuecomment-1121199577, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRNVVMXW6UGU377BWEPMZ3VJEQKHANCNFSM5VKKW7TQ . You are receiving this because you authored the thread.Message ID: @.***>

majid66zare avatar May 11 '22 12:05 majid66zare

Hi I transfer 5 Trons in my wallet for transition fee and try to transfer 2 dollars to another address but it gives me an error: here is the error: ((Account resource insufficient error.16:12))

I should rememorize that I have 5 dollars in my wallet and try to transfer several times with different price 5, 2, 1 but in every time it returns the error above. Please guide me. Thanks.

majid66zare avatar May 11 '22 12:05 majid66zare

Hi, Sorry I cannot understand what do you mean exactly, Can you explain more clearly? I made the origin address by your library. I could get the inventory from it correctly and I could transfer money from other addresses to this address. All these two work correctly and fine but I have face up an error. Bellow, I described the error: I have 5 dollars in my wallet and I want to transfer my money from this address to another address but an error occurred while transferring. The error is: "Transfer Fail" I insert all data correctly and I have 5 dollars in my wallet. Can you please help me? Thanks in advance.

‫‪Fenguoz‬‏ @.***‬‏> در تاریخ دوشنبه ۹ مه ۲۰۲۲ ساعت ۵:۱۷ نوشت:‬

Try transferring money from other wallets to this address

— Reply to this email directly, view it on GitHub https://github.com/Fenguoz/tron-php/issues/28#issuecomment-1120524178, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRNVVKD733DWDXVQXENWCLVJBOC7ANCNFSM5VKKW7TQ . You are receiving this because you authored the thread.Message ID: @.***>

majid66zare avatar Oct 11 '22 08:10 majid66zare