toJson method
Implementation
Map<String, String> toJson() {
return {
'sender': '0x${sender.toHex()}',
'nonce': '0x${nonce.toRadixString(16)}',
'initCode': '0x${hexEncode(initCode)}',
'callData': '0x${hexEncode(callData)}',
'callGasLimit': '0x${callGasLimit.toRadixString(16)}',
'verificationGasLimit': '0x${verificationGasLimit.toRadixString(16)}',
'preVerificationGas': '0x${preVerificationGas.toRadixString(16)}',
'maxFeePerGas': '0x${maxFeePerGas.toRadixString(16)}',
'maxPriorityFeePerGas': '0x${maxPriorityFeePerGas.toRadixString(16)}',
'paymasterAndData': '0x${hexEncode(paymasterAndData)}',
'signature': '0x${hexEncode(signature)}',
};
}