Last updated 10 months ago
Was this helpful?
Get the gas information for a given chain
/resource-worker/gasPrice/get
The chainId of the network
curl -L \ --url 'https://dev-api.thorswap.net/resource-worker/gasPrice/get?chainId=text'
No body
Get an array of all gas price information
/resource-worker/gasPrice/getAll
curl -L \ --url 'https://dev-api.thorswap.net/resource-worker/gasPrice/getAll'