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