Trait ethcore::client::CallContract [−][src]
pub trait CallContract {
fn call_contract(
&self,
id: BlockId,
address: Address,
data: Bytes
) -> Result<Bytes, String>;
}Provides call_contract method
Required Methods
fn call_contract(
&self,
id: BlockId,
address: Address,
data: Bytes
) -> Result<Bytes, String>
&self,
id: BlockId,
address: Address,
data: Bytes
) -> Result<Bytes, String>
Like call, but with various defaults. Designed to be used for calling contracts.
Implementors
impl CallContract for Clientimpl CallContract for TestBlockChainClient