Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 3316
0 votes

Build the data bytes to query a contract with the api state_call

I found myself the answer and I put it there if it can help anyone else. I need to create the following struct: ContractCall { origin : AccountId, dest : AccountId, value : Balance, gas_limit : Option …
GuiGou's user avatar
  • 31
3 votes
1 answer
84 views

Build the data bytes to query a contract with the api state_call

I would like to use the rpc call to query a contract. I try to use the method "call" from the endpoint "state" with the first parameter "ContractsApi_call" but I am not able to fully build the second …
GuiGou's user avatar
  • 31