chainline-contracts / chainline.contracts / HubContract / travels_getAt

travels_getAt

private fun TravelList.travels_getAt(index: Int): Travel (source)

Gets the Travel at the given index in a TravelList.

Parameters

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

Return
the Travel, or an empty array if not found