toJson method
Implementation
Map<String, dynamic> toJson({bool includeAll = false}) => {
'rpcMethods': rpcMethods,
'chainId': chainId,
'contractAddresses': contractAddresses,
// requestParams is not included in this method because this is used to add tvf data to the publish method
if (includeAll) 'txHashes': txHashes,
};