Type alias CreateMarketTransaction

CreateMarketTransaction: {
    rollbackMetadata: Te.TaskEither<Error, void, []>;
    tx: SubmittableExtrinsic<"promise", ISubmittableResult>;
}

A transaction object encapsulating the raw transaction and a rollback function to remove metadata from storage if submission fails.

Note

its the consumers responsibility to call rollback if transaction fails.

Type declaration

  • rollbackMetadata: Te.TaskEither<Error, void, []>
  • tx: SubmittableExtrinsic<"promise", ISubmittableResult>

Generated using TypeDoc