January 2020
Intermediate to advanced
530 pages
11h 11m
English
Next, let's look at the method that will fetch the details of the LCs issued by the bank on the blockchain. To do so, we'll fetch the LC details from the LC Master smart contract by invoking the smart contract viewLC method, as follows:
let app = this; var lastLC; var contract = new this.web3.eth.Contract(this.LCMaster.abi,this.LCMaster.address);
contract.methods.lengthLC().call().then(function(response){ ...Read now
Unlock full access