We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using cleos I am using command to call action and it works:
cleos push action groupsample erase '["user2"]' -p groupsample@active
groupsample is the account used for deploying a smart contract and authorization also.
I want to do this in .Net using eos-sharp. I am trying this:
public async Task pushaction() { try { var result = await eos.CreateTransaction(new EosSharp.Core.Api.v1.Transaction() { actions = new List<EosSharp.Core.Api.v1.Action>() { new EosSharp.Core.Api.v1.Action() { account = "groupsample", authorization = new List<PermissionLevel>() { new PermissionLevel() {actor = "groupsample", permission = "active" } }, name = "erase", data = new Dictionary<string, string>() { { "key", "user2" } } } } }); } catch(Exception ex) { } }
But this is throwing an exception:
Exception of type 'EosSharp.Core.Exceptions.ApiErrorException' was thrown.
The text was updated successfully, but these errors were encountered:
Sorry, it's my bad, wrong primary key was provided.
Sorry, something went wrong.
No branches or pull requests
Using cleos I am using command to call action and it works:
cleos push action groupsample erase '["user2"]' -p groupsample@active
groupsample is the account used for deploying a smart contract and authorization also.
I want to do this in .Net using eos-sharp. I am trying this:
But this is throwing an exception:
The text was updated successfully, but these errors were encountered: