GasAPI

GasEstimateFeeCap

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{
    "jsonrpc": "2.0",
    "method": "Filecoin.GasEstimateFeeCap",
    "id": 1,
    "params": [
        {
            "To": "t1hvuzpfdycc6z6mjgbiyaiojikd6wk2vwy7muuei",
            "From": "t3wsspmzh7rbetvblpe6opqnz2bomubibuygg234xdpnb7eqdokrnhy4yto2cl4x5czezc3mz5xl4gz524vh7a",
            "Nonce": 0,
            "Value": "1000",
            "Method": 0,
            "Params": []
        },
        0,
        null
    ]
}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "124",
    "id": 1
}

Last updated