1 the runtime storage order
type as follow:
// Order storage
#[pallet::storage]
#[pallet::getter(fn order)]
pub type Orders<T: Config<I>, I: 'static = ()> = StorageMap<
_,
Blake2_128Concat,
(LaneId, MessageNonce),
Order<T::AccountId, T::BlockNumber, RingBalance<T, I>>,
OptionQuery,
>;
the auto-generated querying JS api as follow:
orders: AugmentedQuery<ApiType, (arg: ITuple<[LaneId, MessageNonce]> | [LaneId | string | Uint8Array, MessageNonce | AnyNumber | Uint8Array]) => Observable<Option<Order>>, [ITuple<[LaneId, MessageNonce]>]> & QueryableStorageEntry<ApiType, [ITuple<[LaneId, MessageNonce]>]>;
the client orders api can only query part of orders from parameters.
my question is that is there any way to query all orders from storage?