Skip to main content

πŸ”₯ Gas and Benchmarks

This section will list the gas costs for every operation based on it's inputs. The gas prices are a subject to change based on usage and performance.

tip

The current gas limit for a tranasaction is set to be 50 million

FHE.sol functionInputTime in Query (ms)Gas Units
addeuint8357,315
euint167315,275
euint3216334,067
asEuintinEuint449,196
euint51,045
uint51,045
sealOutput*232,507
decrypt*183,762
lteeuint8183,762
euint16296,061
euint32438,987
subeuint8357,315
euint167315,275
euint3216334,067
muleuint89419,646
euint1631164,999
euint321127235,543
lteuint8224,598
euint16367,524
euint326012,540
selecteuint821444,726
euint1631666,044
euint32549114,741
require*6513,585
diveuint844793,423
euint161310273,790
euint3248001,003,200
gteuint8214,389
euint16296,061
euint32459,405
gteeuint8214,389
euint16296,061
euint32459,405
remeuint844793,423
euint161310273,790
euint3248001,003,200
oreuint8132,717
euint16214,389
euint32387,942
xoreuint8132,717
euint16214,389
euint32387,942
eqeuint8183,762
euint16255,225
euint325010,450
neeuint8183,762
euint16255,225
euint325010,450
mineuint8418,569
euint167515,675
euint3213528,215
maxeuint8418,569
euint167515,675
euint3213528,215
shleuint88217,138
euint1619039,710
euint3242288,198
shreuint88217,138
euint1619039,710
euint3242288,198
noteuint8122,508
euint16224,598
euint32367,524