CityOfZion / neo-lux

.NET SDK to interact with the NEO blockchain and invoke smart contracts
MIT License
37 stars 24 forks source link

Any sample or demo for api.CallContract() ? #28

Open coolcode opened 6 years ago

coolcode commented 6 years ago

How to use api.CallContract?

public Transaction CallContract (KeyPair key, UInt160 scriptHash, string operation, object[] args, string attachSymbol = null, IEnumerable attachTargets = null);

Relfos commented 6 years ago

Check the NEP5 class, it uses CallContract: https://github.com/CityOfZion/neo-lux/blob/master/Neo.Lux/Core/NEP5.cs

jmseigneur commented 5 years ago

Is it possible to retrieve the contract call response result stack trace because I only see outputs in the received transaction response?