toncenter / ton-http-api

HTTP API for TON (The Open Network)
https://toncenter.com
GNU General Public License v3.0
201 stars 36 forks source link

Accept hash parameter of getTransactions in base64 as well as in hex. #8

Closed dungeon-master-666 closed 2 years ago

dungeon-master-666 commented 2 years ago

Detect hash encoding based on the length and convert to hex if base64 is received. Converting to hex is required since tonlib accepts only hex hashes. Fixes issue #7

tvorogme commented 2 years ago

Really needed feature :)