buildCheckoutSendTransactionSuccess function
Builds the reply sent back when the transaction was signed and broadcast
successfully. txId is the resulting transaction hash / signature.
Implementation
Map<String, Object?> buildCheckoutSendTransactionSuccess(String txId) {
return <String, Object?>{
'event': 'crypto:send-transaction:success',
'data': <String, Object?>{'txId': txId},
};
}