serialize method

  1. @override
Map<String, dynamic> serialize()
override

Serializes the program.

Implementation

@override
Map<String, dynamic> serialize() {
  return {
    "lamports": lamports,
    "sourceTransientStakeSeed": sourceTransientStakeSeed,
    "ephemeralStakeSeed": ephemeralStakeSeed,
    "destinationTransientStakeSeed": destinationTransientStakeSeed
  };
}