Errors/Chain errors

BasketSwapBatchEmpty

Check the argument values against the operation schema

View as Markdown

swap_basket_many was submitted without any trade legs. Include at least one origin/destination/amount leg; one call accepts at most 128 legs.

Declared by the SubtensorModule pallet; it classifies to the semantic code invalid_argument.

Declared at pallets/subtensor/src/macros/errors.rs#L412.

Remediation

Check the argument values against the operation schema

The same explanation is available in the terminal: btcli explain BasketSwapBatchEmpty.