Type Alias place_order_keep_alive

place_order_keep_alive: TxDescriptor<{
    max_amount: bigint;
    para_id: number;
}>

Same as the place_order_allow_death call , but with a check that placing the order will not reap the account.

Parameters:

  • origin: The sender of the call, funds will be withdrawn from this account.
  • max_amount: The maximum balance to withdraw from the origin to place an order.
  • para_id: A ParaId the origin wants to provide blockspace for.

Errors:

  • InsufficientBalance: from the Currency implementation
  • QueueFull
  • SpotPriceHigherThanMaxAmount

Events:

  • OnDemandOrderPlaced