How to receive create block
The third-party module requires receiving block information from Block Management once block creation information is available. To achieve this, implement the INativeBlockOperator interface and invoke the CreateBlock method.
public class NativeBlockOperator : INativeBlockOperator
{
public async Task CreateBlock(BlockDetail blockDetail)
{
//blockDetail receives block information.
}
}
Once this method is successfully executed, the BlockManagement.Agent will automatically send the Active Block message to Block Management.
Information on the properties for the BlockDetail object can be found in the API Documentation.