public String setScript ( PrivateKeyAccount from , String script , byte chainId , long fee ) throws IOException { return send ( Transactions . makeScriptTx ( from , compileScript ( script ) , chainId , fee ) ) ; }
Sets a validating script for an account .