diff --git a/example/natspec_contract.html b/example/natspec_contract.html
index fd78762392..5a3c9e6c53 100644
--- a/example/natspec_contract.html
+++ b/example/natspec_contract.html
@@ -56,7 +56,7 @@
// transaction does not return any result, cause it's not synchronous and we don't know,
// when it will be processed
- contract.multiply(param).transact();
+ contract.transact().multiply(param);
document.getElementById('result').innerText = 'transaction made';
}