estimateRevoke method
Implementation
Future<BigInt> estimateRevoke(String fromAddress, String credDidToRevoke) {
var revokeFunction = _contract.function('revoke');
var tx = Transaction.callContract(
contract: _contract,
function: revokeFunction,
parameters: [_didToAddress(credDidToRevoke)]);
return web3Client.estimateGas(
sender: EthereumAddress.fromHex(fromAddress),
data: tx.data,
to: _contract.address);
}