pub fn run(
        &self,
        address: &TonAddress,
        abi: JsonValue,
        function_name: &str,
        header: Option<JsonValue>,
        input: JsonValue,
        keys: Option<&Ed25519KeyPair>,
    ) -> TonResult<ResultOfRun> {
        Interop::json_request(self.context, "contracts.run", ParamsOfRun {
            address: address.clone(),
            abi: abi.to_value()?,
            function_name: function_name.to_string(),
            header: option_params_to_value(header)?,
            input: input.to_value()?,
            key_pair: keys.cloned(),
            try_index: None,
        })
    }
/// Run the contract function with given parameters
Run the contract function with given parameters
Run the contract function with given parameters
pub fn run(
        &self,
        address: &TonAddress,
        abi: JsonValue,
        function_name: &str,
        header: Option<JsonValue>,
        input: JsonValue,
        keys: Option<&Ed25519KeyPair>,
    ) -> TonResult<ResultOfRun> {
        Interop::json_request(self.context, "contracts.run", ParamsOfRun {
            address: address.clone(),
            abi: abi.to_value()?,
            function_name: function_name.to_string(),
            header: option_params_to_value(header)?,
            input: input.to_value()?,
            key_pair: keys.cloned(),
            try_index: None,
        })
    }
pub fn run ( & self , address : & TonAddress , abi : JsonValue , function_name : & str , header : Option < JsonValue > , input : JsonValue , keys : Option < & Ed25519KeyPair > , ) -> TonResult < ResultOfRun > { Interop :: json_request ( self . context , " " , ParamsOfRun { address : address . clone ( ) , abi : abi . to_value ( ) ? , function_name : function_name . to_string ( ) , header : option_params_to_value ( header ) ? , input : input . to_value ( ) ? , key_pair : keys . cloned ( ) , try_index : None , } ) }
Run the contract function with given parameters
Run the contract function with given parameters
&self
address
&TonAddress
abi
JsonValue
function_name
&str
header
Option<JsonValue>
input
JsonValue
keys
Option<&Ed25519KeyPair>