toJson method
override
Implementation
@override
Map<String, dynamic> toJson() {
return {
'hash': hash,
'block': block,
'confirmations': confirmations,
'timeMilli': timeMilli,
'amount': amount.toJson(),
'fee': fee?.toJson(),
'sender': sender,
'gas': gas,
'gasUsed': gasUsed,
'gasPrice': gasPrice?.toJson(),
'recipient': recipient,
'transferMethod': transferMethod.index,
'status': status.index,
'input': input.toHex,
'token': token.toJson(),
'decodedInput': decodedInput?.toJson(),
};
}