Skip to content

Instantly share code, notes, and snippets.

@svanas
Last active October 1, 2023 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svanas/02a6f9355e74158ead8107c3df576f14 to your computer and use it in GitHub Desktop.
Save svanas/02a6f9355e74158ead8107c3df576f14 to your computer and use it in GitHub Desktop.
getNumber()
web3.eth.call(Client,
'0x1a306890df22c0965b0b1515a8082f8301d3d18e',
'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