submit_statement

Function submit_statement 

Source
pub fn submit_statement(
    statement: <PassFatPointerAndDecode<Statement> as RIType>::Inner,
) -> <ReturnAs<SubmitResult, u8> as RIType>::Inner
Expand description

Submit a new new statement. The statement will be broadcast to the network. This is meant to be used by the offchain worker.