Skip to main content

AppController_getGasPrice

GET 

https://api.socket.tech/v2/gas-price

AppController_getGasPrice

Request​

Query Parameters

    chainId stringrequired

    ID of chain, e.g Ethereum Mainnet = 1

    Example: 1

Responses​

Current gas prices for a chain

Schema

    success booleanrequired

    result

    object

    required

    chainId number
    txType number

    fast

    object

    gasPrice number
    estimatedSeconds number

    normal

    object

    gasPrice number
    estimatedSeconds number

    slow

    object

    gasPrice number
    estimatedSeconds number
Loading...