EOSIO / eosio-java

EOSIO SDK for Java - API for integrating with EOSIO-based blockchains
https://eosio.github.io/eosio-java/
MIT License
127 stars 44 forks source link

How to set life-time of transaction #97

Open shamtroon opened 5 years ago

shamtroon commented 5 years ago

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

anguyenqd commented 5 years ago

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

shamtroon commented 5 years ago

Thanks @DanteNguyen1008