chainline-contracts / chainline.contracts / HubContract / demands_getAt

demands_getAt

private fun DemandList.demands_getAt(index: Int): Travel (source)

Gets the Demand at the given index in a DemandList.

Parameters

index - the zero-based index of the Demand to retrieve

Return
the Demand, or an empty array if not found