[][src]Trait substrate_primitives::OffchainExt

pub trait OffchainExt {
    fn submit_extrinsic(&mut self, extrinsic: Vec<u8>);
}

An extended externalities for offchain workers.

Required methods

fn submit_extrinsic(&mut self, extrinsic: Vec<u8>)

Submits an extrinsics.

The extrinsic will either go to the pool (signed) or to the next produced block (inherent).

Loading content...

Implementations on Foreign Types

impl<T: OffchainExt + ?Sized> OffchainExt for Box<T>[src]

Loading content...

Implementors

Loading content...