[−][src]Trait sp_api::ProvideRuntimeApi
Something that provides a runtime api.
Associated Types
Loading content...Required methods
pub fn runtime_api<'a>(&'a self) -> ApiRef<'a, Self::Api>
[src]
Returns the runtime api.
The returned instance will keep track of modifications to the storage. Any successful
call to an api function, will commit
its changes to an internal buffer. Otherwise,
the modifications will be discarded
. The modifications will not be applied to the
storage, even on a commit
.