eosio-java icon indicating copy to clipboard operation
eosio-java copied to clipboard

How to set life-time of transaction

Open shamtroon opened this issue 6 years ago • 2 comments

Hi guys, I want to create an eos transaction with custom expiration time e.g 1 day, but when I set expiration time more than 3600 sec I got this error :

Transaction expiration is too far in the future relative to the reference time of 2019-09-02T09:13:09.000, expiration is 2019-09-03T09:12:24 and the maximum transaction lifetime is 3600 seconds

shamtroon avatar Sep 03 '19 08:09 shamtroon

hi @shamtroon. The maximum transaction lifetime is fixed on EOSIO chain so you can't set your transaction life-time exceed that amount.

anguyenqd avatar Oct 28 '19 15:10 anguyenqd

Thanks @DanteNguyen1008

shamtroon avatar Oct 29 '19 06:10 shamtroon