toJson method
Converts the request parameters to a JSON representation.
Implementation
@override
List<dynamic> toJson() {
return [
encodedTransaction,
SolanaRequestUtils.createConfig([
encoding?.toJson(),
{'skipPreflight': skipPreflight},
commitment?.toJson(true),
{'maxRetries': maxRetries},
minContextSlot?.toJson()
]),
];
}