def METHOD_NAME(tx: Transaction) -> str:
    inner_dictionary = tx_to_dictionary_as_inner(tx)
    serialized = _dict_to_json(inner_dictionary)
    serialized_hex = serialized.hex()
    return f"relayedTx@{serialized_hex}"