toJson method
Converts the request to JSON format.
Implementation
@override
List<dynamic> toJson() {
return [
pubkeys.map((e) => e.address).toList(),
SolanaRPCUtils.createConfig([
commitment?.toJson(),
minContextSlot?.toJson(),
dataSlice?.toJson(),
encoding?.toJson()
]),
];
}