Skip to content

Instantly share code, notes, and snippets.

@svanas
Last active January 11, 2021 17:58
Embed
What would you like to do?
getNumber()
web3.eth.call(Client,
'0x94863b36b2d245cdeb3686837fb81ebd78a18086',
'getNumber()', [], procedure(qty: BigInteger; err: IError)
begin
TThread.Synchronize(nil, procedure
begin
if Assigned(err) then
MessageDlg(err.Message, TMsgDlgType.mtError, [TMsgDlgBtn.mbOK], 0)
else
ShowMessage(qty.ToString);
end);
end);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment