Created
March 20, 2019 23:13
-
-
Save TrevorJTClarke/bd6e734c30abac71e3b450813b422f20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
axios({ | |
method:'get', | |
url: 'https://web3api.io/api/v1/transactions/gas/percentiles', | |
headers: { 'x-api-key': 'YOUR_API_KEY_HERE' } | |
}).then(res => { | |
// res data example: | |
// { | |
// "percentile_000": 0, | |
// "percentile_001": 0, | |
// "percentile_002": 0, | |
// "percentile_003": 120000000, | |
// "percentile_004": 194000000, | |
// "percentile_005": 215833258.75, | |
// "percentile_010": 500000000, | |
// "percentile_015": 760750000, | |
// "percentile_020": 1000000000, | |
// "percentile_025": 1000000000, | |
// "percentile_030": 1000000000, | |
// "percentile_035": 1000000000, | |
// "percentile_040": 1000000000, | |
// "percentile_045": 1000000000, | |
// "percentile_050": 1000000000, | |
// "percentile_055": 1000000001, | |
// "percentile_060": 2000000000, | |
// "percentile_065": 2000000000, | |
// "percentile_070": 2000000000, | |
// "percentile_075": 2000000000, | |
// "percentile_080": 2000000000, | |
// "percentile_085": 3000000000, | |
// "percentile_090": 3000000000, | |
// "percentile_095": 5125000001.75, | |
// "percentile_096": 10000000000, | |
// "percentile_097": 10000000000, | |
// "percentile_098": 20000000000, | |
// "percentile_099": 20000000000, | |
// "percentile_100": 20000000000 | |
// } | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment