[−][src]Trait oasis_client::gateway::Gateway
Required methods
fn deploy(&self, initcode: &[u8]) -> Result<Address, RpcError>
Deploys a new service with the provided initcode.
initcode
is expected to be the Wasm bytecode concatenated with the the constructor stdin.
Upon success, returns the address of the new service.
fn rpc(&self, address: Address, payload: &[u8]) -> Result<Vec<u8>, RpcError>
Returns the output of calling the service at address
with data
as stdin.