gasPrice) { //code }); estimateGas(options) Return the estimate gas of transaction. Parameters: Name Type Description options TransactionOptions See: https://github.com/nebulasio/wiki/blob/master/rpc.md#estimategas Returns: Gas Example var api = new Neb().api; api.estimateGas({ chainID: 1, from: \"n1QZMXSZtW7BUerroSms4axNfyBGyFGkrh5\", to: \"n1SAeQRVn33bamxN4ehWUT7JGdxipwn8b17\", value: 10, nonce: 12, gasPrice: 1000000, gasLimit: 2000000 }).then(function(gas) { //code }); getEventsByHash(options) Return the