pub trait ClientBlueprintApi<E> {
    // Required methods
    fn call_function(
        &mut self,
        package_address: PackageAddress,
        blueprint_name: &str,
        function_name: &str,
        args: Vec<u8>
    ) -> Result<Vec<u8>, E>;
    fn resolve_blueprint_type(
        &mut self,
        blueprint_type_id: &BlueprintTypeIdentifier
    ) -> Result<(Rc<VersionedSchema<ScryptoCustomSchema>>, ScopedTypeId), E>;
}

Required Methods§

source

fn call_function( &mut self, package_address: PackageAddress, blueprint_name: &str, function_name: &str, args: Vec<u8> ) -> Result<Vec<u8>, E>

Calls a function on a blueprint

source

fn resolve_blueprint_type( &mut self, blueprint_type_id: &BlueprintTypeIdentifier ) -> Result<(Rc<VersionedSchema<ScryptoCustomSchema>>, ScopedTypeId), E>

Implementors§