All chains
    Preparing search index...

    Type Alias place_order_allow_death

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

    Create a single on demand core order. Will use the spot price for the current block and will reap the account if needed.

    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