please tell me how to set extra default block parameter

kenmazsymakenmazsyma tokyoMember Posts: 13
I'm trying to call a contract via JSON RPC.
A target contract is written in Solidity(following).

contract {
 uint8 v;
 function set( uint8 x) {‎
function get() returns(uint8 v){
 return v;

It succeeded which to call get function with following json parameters.

data:[ { data: "0x...(method id + parameters)"} ]

However, following is failure.

data:[ {data: "0x...(method id + parameters)"}, "latest" ]

I'd like to call a function with extra default block parameter.‎
How should I set extra default block parameter?‎


Sign In or Register to comment.