pub fn submit_extrinsic<T: codec::Encode>(data: &T) {
	let encoded_data = codec::Encode::encode(data);
	unsafe {
		ext_submit_extrinsic.get()(encoded_data.as_ptr(), encoded_data.len() as u32)
	}
}
/// Submit extrinsic from the runtime.
///
/// Depending on the kind of extrinsic it will either be:
/// 1. scheduled to be included in the next produced block (inherent)
/// 2. added to the pool and propagated (transaction)
Submit extrinsic from the runtime.
Depending on the kind of extrinsic it will either be:
1. scheduled to be included in the next produced block (inherent)
2. added to the pool and propagated (transaction)
Submit extrinsic from the runtime . Depending on the kind of extrinsic it will either be : 1 . scheduled to be included in the next produced block ( inherent ) 2 . added to the pool and propagated ( transaction )
pub fn submit_extrinsic<T: codec::Encode>(data: &T) {
	let encoded_data = codec::Encode::encode(data);
	unsafe {
		ext_submit_extrinsic.get()(encoded_data.as_ptr(), encoded_data.len() as u32)
	}
}
pub fn submit_extrinsic < T : codec :: Encode > ( data : & T ) { let encoded_data = codec :: Encode :: encode ( data ) ; unsafe { ext_submit_extrinsic . get ( ) ( encoded_data . as_ptr ( ) , encoded_data . len ( ) as u32 ) } }
Submit extrinsic from the runtime.
Submit extrinsic from the runtime .
data
&T
data
&T