Create a single on demand core order with credits. Will charge the owner's on-demand credit account the spot price for the current block.
Parameters:
origin
max_amount
para_id
ParaId
Errors:
InsufficientCredits
QueueFull
SpotPriceHigherThanMaxAmount
Events:
OnDemandOrderPlaced
Create a single on demand core order with credits. Will charge the owner's on-demand credit account the spot price for the current block.
Parameters:
origin: The sender of the call, on-demand credits will be withdrawn from this account.max_amount: The maximum number of credits to spend from the origin to place an order.para_id: AParaIdthe origin wants to provide blockspace for.Errors:
InsufficientCreditsQueueFullSpotPriceHigherThanMaxAmountEvents:
OnDemandOrderPlaced