toJson method
Converts the request to JSON format.
Implementation
@override
List<dynamic> toJson() {
return [
SolanaRPCUtils.createConfig([
commitment?.toJson(),
{"votePubkey": votePubkey?.address},
{"keepUnstakedDelinquents": keepUnstakedDelinquents},
{"delinquentSlotDistance": delinquentSlotDistance}
]),
];
}