Skip to main content

get_pretty_receipt_w_reason_attr

Function get_pretty_receipt_w_reason_attr 

Source
pub fn get_pretty_receipt_w_reason_attr<N>(
    receipt: &TransactionReceiptWithRevertReason<N>,
    attr: &str,
) -> Option<String>
where N: Network, N::ReceiptResponse: UIfmtReceiptExt,
Expand description

Returns the UiFmt::pretty() formatted attribute of the transaction receipt with revert reason