By TxPipe

Gather Fuel

Updates the fuel datum field of the ShipState UTxO by adding the amount of fuel tokens available in the PelletState UTxO. The ship coordinates must match the pellet coordinates for this operation to be valid.

gatherFuel diagram

Lucid Example

You can use the following Lucid script to gather fuel for your ship. The supporting files are available here.